Skip to content

Commit f336c9e

Browse files
committed
feat(352 | typesync.v2): add icons from Nate
1 parent 65b4d79 commit f336c9e

File tree

6 files changed

+525
-65
lines changed

6 files changed

+525
-65
lines changed

packages/hypergraph/src/cli/services/Model.ts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,16 @@ import { Schema } from 'effect';
33
import * as Mapping from '../../mapping/Mapping.js';
44
import * as Utils from '../../mapping/Utils.js';
55

6-
export const TypesyncHypergraphSchemaStatus = Schema.NullOr(Schema.Literal('published', 'synced'));
6+
export const TypesyncHypergraphSchemaStatus = Schema.NullOr(
7+
Schema.Literal(
8+
// the type/property has been synced to the schema file and published to the Knowledge Graph
9+
'published',
10+
// the type/property has been synced to the schema file, but requires publishing to the Knowledge Graph
11+
'synced',
12+
// the type/property exists in the Knowledge Graph, has been added to the users schema through the Typesync UI, but requires syncing to the schema file
13+
'published_not_synced',
14+
),
15+
);
716
export type TypesyncHypergraphSchemaStatus = typeof TypesyncHypergraphSchemaStatus.Type;
817

918
export const TypesyncHypergraphSchemaTypeProperty = Schema.Union(

0 commit comments

Comments
 (0)