Skip to content

Commit 1faa55e

Browse files
committed
prepare for publishing
1 parent 0af6aa6 commit 1faa55e

3 files changed

Lines changed: 13 additions & 10 deletions

File tree

apps/events/src/components/create-properties-and-types-event.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,13 +102,15 @@ export const CreatePropertiesAndTypesEvent = ({ space }: { space: string }) => {
102102
name: Id.Id('a126ca53-0c8e-48d5-b888-82c734c38935'),
103103
},
104104
relations: {
105-
sponsors: Id.Id('${sponsorsRelationTypeId}'),
105+
sponsors: Id.Id('${sponsorsRelationTypeId}'),
106106
},
107107
},
108108
Company: {
109109
typeIds: [Id.Id('${companyTypeId}')],
110110
properties: {
111111
name: Id.Id('a126ca53-0c8e-48d5-b888-82c734c38935'),
112+
},
113+
relations: {
112114
jobOffers: Id.Id('${jobOffersRelationTypeId}'),
113115
},
114116
},

apps/events/src/mapping.ts

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,30 +3,31 @@ import type { Mapping } from '@graphprotocol/hypergraph';
33

44
export const mapping: Mapping = {
55
Event: {
6-
typeIds: [Id.Id('6b8dbe76-389f-4bde-acdd-db9d5e387882')],
6+
typeIds: [Id.Id('407d9e8a-c703-4fb4-830d-98c758c8564e')],
77
properties: {
88
name: Id.Id('a126ca53-0c8e-48d5-b888-82c734c38935'),
99
},
1010
relations: {
11-
sponsors: Id.Id('d8e4ea54-cb8c-4dca-9c2b-64dbbbe78397'),
11+
sponsors: Id.Id('a7ac80a6-d3d9-4b04-9b9f-ead1723af09f'),
1212
},
1313
},
1414
Company: {
15-
typeIds: [Id.Id('e8932986-67a9-4fff-89a6-07f03973014c')],
15+
typeIds: [Id.Id('b0220a78-9205-4e5e-9bf1-c03ee0791e23')],
1616
properties: {
1717
name: Id.Id('a126ca53-0c8e-48d5-b888-82c734c38935'),
1818
},
1919
relations: {
20-
jobOffers: Id.Id('96beadca-0846-4e56-9628-c196f7f3c4cd'),
20+
jobOffers: Id.Id('7ca8063c-3664-479b-912d-1b3b86af2bf4'),
2121
},
2222
},
2323
JobOffer: {
24-
typeIds: [Id.Id('a107c081-3089-4a94-8208-6a10775557d2')],
24+
typeIds: [Id.Id('99e1733b-661d-4edb-a253-98ff4b7747d0')],
2525
properties: {
2626
name: Id.Id('a126ca53-0c8e-48d5-b888-82c734c38935'),
27-
salary: Id.Id('20d18713-5352-4e1f-987c-d853bf9f8831'),
27+
salary: Id.Id('5ecfb4e5-09eb-437d-9c3c-e9e7395d52aa'),
2828
},
2929
},
30+
3031
// Todo2: {
3132
// typeIds: [Id.Id('LJuM8ju67mCv78FhAiK9k9')],
3233
// properties: {

apps/events/src/routes/playground.lazy.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ export const Route = createLazyFileRoute('/playground')({
1010

1111
function RouteComponent() {
1212
return (
13-
<HypergraphSpaceProvider space="1c954768-7e14-4f0f-9396-0fe9dcd55fe8">
13+
<HypergraphSpaceProvider space="d9814a82-8dab-4d02-86d2-9d413f7dc336">
1414
<div className="flex flex-col gap-4 max-w-(--breakpoint-sm) mx-auto py-8">
1515
<h1 className="text-2xl font-bold">Playground</h1>
1616
<Playground />
17-
<CreatePropertiesAndTypesEvent space="1c954768-7e14-4f0f-9396-0fe9dcd55fe8" />
18-
<CreateEvents space="1c954768-7e14-4f0f-9396-0fe9dcd55fe8" />
17+
<CreatePropertiesAndTypesEvent space="d9814a82-8dab-4d02-86d2-9d413f7dc336" />
18+
<CreateEvents space="d9814a82-8dab-4d02-86d2-9d413f7dc336" />
1919
</div>
2020
</HypergraphSpaceProvider>
2121
);

0 commit comments

Comments
 (0)