Skip to content

Commit 9a5962b

Browse files
working through property options
1 parent cb15123 commit 9a5962b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/core/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@graphdl/core",
33
"description": "GraphDL Core",
4-
"version": "0.1.5",
4+
"version": "0.1.6",
55
"type": "module",
66
"main": "index.js",
77
"types": "index.ts",

packages/core/properties.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export type PropertyReference<G extends Graph<G>, N extends keyof G['nouns'], P
1212
keyof G['nouns'] extends string ? (keyof G['nouns'] | `${keyof G['nouns']}.${P extends string ? P : never}` | `[${keyof G['nouns']}]`) : never
1313

1414
export type Properties<G extends Graph<G>, N extends keyof G['nouns']> = {
15-
[P in keyof G['properties'][N]]: Property<G,N,P> | `${Property<G,N,P>}!` | { type: Property<G,N,P> | `${Property<G,N,P>}!` }
15+
[P in keyof G['properties'][N]]: Property<G,N,P> | `${Property<G,N,P>}!` | { type: Property<G,N,P> | `${Property<G,N,P>}!`, options?: Array<string> } | Array<string>
1616
}
1717

1818
export type Property<G extends Graph<G>, N extends keyof G['nouns'], P extends keyof G['properties'][N]> =

0 commit comments

Comments
 (0)