Fix new front end configuration

This commit is contained in:
Jonathan
2025-06-13 23:31:25 +02:00
committed by Bryan Frimin
parent 3cb48a2144
commit 789e2826ae
3 changed files with 28 additions and 60 deletions

View File

@@ -1,5 +1,5 @@
/** /**
* @generated SignedSource<<9e4a2879379ca7f3999937db340c18f3>> * @generated SignedSource<<cb9d58af641e9b44e2b6632843e1ba68>>
* @lightSyntaxTransform * @lightSyntaxTransform
* @nogrep * @nogrep
*/ */
@@ -38,14 +38,6 @@ export type DatumGraphListQuery$data = {
}; };
}>; }>;
}; };
readonly peoples?: {
readonly edges: ReadonlyArray<{
readonly node: {
readonly fullName: string;
readonly id: string;
};
}>;
};
}; };
}; };
export type DatumGraphListQuery = { export type DatumGraphListQuery = {
@@ -208,42 +200,7 @@ v12 = [
"name": "first", "name": "first",
"value": 100 "value": 100
} }
], ];
v13 = {
"alias": null,
"args": (v12/*: any*/),
"concreteType": "PeopleConnection",
"kind": "LinkedField",
"name": "peoples",
"plural": false,
"selections": [
{
"alias": null,
"args": null,
"concreteType": "PeopleEdge",
"kind": "LinkedField",
"name": "edges",
"plural": true,
"selections": [
{
"alias": null,
"args": null,
"concreteType": "People",
"kind": "LinkedField",
"name": "node",
"plural": false,
"selections": [
(v2/*: any*/),
(v5/*: any*/)
],
"storageKey": null
}
],
"storageKey": null
}
],
"storageKey": "peoples(first:100)"
};
return { return {
"fragment": { "fragment": {
"argumentDefinitions": (v0/*: any*/), "argumentDefinitions": (v0/*: any*/),
@@ -315,8 +272,7 @@ return {
(v11/*: any*/) (v11/*: any*/)
], ],
"storageKey": null "storageKey": null
}, }
(v13/*: any*/)
], ],
"type": "Organization", "type": "Organization",
"abstractKey": null "abstractKey": null
@@ -409,8 +365,7 @@ return {
"key": "DataPage_data", "key": "DataPage_data",
"kind": "LinkedHandle", "kind": "LinkedHandle",
"name": "data" "name": "data"
}, }
(v13/*: any*/)
], ],
"type": "Organization", "type": "Organization",
"abstractKey": null "abstractKey": null
@@ -422,7 +377,7 @@ return {
] ]
}, },
"params": { "params": {
"cacheID": "d4e47a72e0f7585fe7d74ffac75a0f06", "cacheID": "a9d2d911138e13ea75c85f64f310c41d",
"id": null, "id": null,
"metadata": { "metadata": {
"connection": [ "connection": [
@@ -439,11 +394,11 @@ return {
}, },
"name": "DatumGraphListQuery", "name": "DatumGraphListQuery",
"operationKind": "query", "operationKind": "query",
"text": "query DatumGraphListQuery(\n $organizationId: ID!\n) {\n node(id: $organizationId) {\n __typename\n ... on Organization {\n data(first: 100) {\n edges {\n node {\n id\n name\n dataClassification\n owner {\n fullName\n id\n }\n vendors(first: 50) {\n edges {\n node {\n id\n name\n websiteUrl\n }\n }\n }\n createdAt\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n peoples(first: 100) {\n edges {\n node {\n id\n fullName\n }\n }\n }\n }\n id\n }\n}\n" "text": "query DatumGraphListQuery(\n $organizationId: ID!\n) {\n node(id: $organizationId) {\n __typename\n ... on Organization {\n data(first: 100) {\n edges {\n node {\n id\n name\n dataClassification\n owner {\n fullName\n id\n }\n vendors(first: 50) {\n edges {\n node {\n id\n name\n websiteUrl\n }\n }\n }\n createdAt\n __typename\n }\n cursor\n }\n pageInfo {\n endCursor\n hasNextPage\n }\n }\n }\n id\n }\n}\n"
} }
}; };
})(); })();
(node as any).hash = "2104705ef9537afe6c45469cf35f4f2c"; (node as any).hash = "525bc7b05c73f821c23f8694d1ba2981";
export default node; export default node;

View File

@@ -1,7 +1,7 @@
probod: probod:
api: api:
cors: cors:
allowed-origins: ["http://localhost:8080"] allowed-origins: ["http://localhost:8080", "http://localhost:5173"]
aws: aws:
access-key-id: "probod" access-key-id: "probod"
secret-access-key: "thisisnotasecret" secret-access-key: "thisisnotasecret"

View File

@@ -1,10 +1,23 @@
import type {IconProps} from "./type.ts"; import type { IconProps } from "./type.ts";
// https://lucide.dev/icons/box // https://lucide.dev/icons/box
export function IconBox({size = 24, className}: IconProps) { export function IconBox({ size = 24, className }: IconProps) {
return <svg width={size} height={size} viewBox="0 0 24 24" className={className} fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" xmlns="http://www.w3.org/2000/svg"> return (
<path d="M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z"/> <svg
width={size}
height={size}
viewBox="0 0 24 24"
className={className}
fill="none"
stroke="currentColor"
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round"
xmlns="http://www.w3.org/2000/svg"
>
<path d="M21 8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16Z" />
<path d="m3.3 7 8.7 5 8.7-5"></path> <path d="m3.3 7 8.7 5 8.7-5"></path>
<path d="M12 22V12"></path> <path d="M12 22V12"></path>
</svg> </svg>
);
} }