@kubun/graphql 0.17.1 → 0.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/context.d.ts +219 -9
- package/lib/context.js +11 -9
- package/lib/index.d.ts +1 -1
- package/lib/schema.d.ts +1 -0
- package/lib/schema.js +773 -16
- package/lib/types.d.ts +3 -26
- package/package.json +26 -17
package/lib/types.d.ts
CHANGED
|
@@ -1,35 +1,12 @@
|
|
|
1
|
-
import type { DocumentData, DocumentFilter, DocumentOrderBy } from '@kubun/protocol';
|
|
1
|
+
import type { DocumentData, DocumentFilter, DocumentOrderBy, PatchOperation } from '@kubun/protocol';
|
|
2
2
|
import type { ConnectionArguments } from './relay.js';
|
|
3
|
-
export type PatchAddOperation
|
|
4
|
-
op: 'add';
|
|
5
|
-
path: string;
|
|
6
|
-
value: unknown;
|
|
7
|
-
};
|
|
8
|
-
export type PatchRemoveOperation = {
|
|
9
|
-
op: 'remove';
|
|
10
|
-
path: string;
|
|
11
|
-
};
|
|
12
|
-
export type PatchReplaceOperation = {
|
|
13
|
-
op: 'replace';
|
|
14
|
-
path: string;
|
|
15
|
-
value: unknown;
|
|
16
|
-
};
|
|
17
|
-
export type PatchMoveOperation = {
|
|
18
|
-
op: 'move';
|
|
19
|
-
from: string;
|
|
20
|
-
path: string;
|
|
21
|
-
};
|
|
22
|
-
export type PatchCopyOperation = {
|
|
23
|
-
op: 'copy';
|
|
24
|
-
from: string;
|
|
25
|
-
path: string;
|
|
26
|
-
};
|
|
27
|
-
export type PatchOperation = PatchAddOperation | PatchCopyOperation | PatchMoveOperation | PatchRemoveOperation | PatchReplaceOperation;
|
|
3
|
+
export type { PatchAddOperation, PatchCopyOperation, PatchMoveOperation, PatchOperation, PatchRemoveOperation, PatchReplaceOperation, } from '@kubun/protocol';
|
|
28
4
|
export type AllConnectionArguments = ConnectionArguments & {
|
|
29
5
|
filter?: DocumentFilter;
|
|
30
6
|
orderBy?: DocumentOrderBy;
|
|
31
7
|
search?: string;
|
|
32
8
|
owner?: string;
|
|
9
|
+
catalogID?: string;
|
|
33
10
|
};
|
|
34
11
|
export type UpdateMutationInput = {
|
|
35
12
|
id: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubun/graphql",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.18.0",
|
|
4
4
|
"keywords": [],
|
|
5
5
|
"license": "see LICENSE.md",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -15,27 +15,36 @@
|
|
|
15
15
|
"LICENSE.md"
|
|
16
16
|
],
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@kubun/hlc": "^0.
|
|
19
|
-
"@kubun/id": "^0.
|
|
20
|
-
"@kubun/logger": "^0.
|
|
21
|
-
"@kubun/protocol": "^0.
|
|
22
|
-
"@
|
|
23
|
-
"@sozai/
|
|
24
|
-
"@sozai/
|
|
25
|
-
"@sozai/
|
|
18
|
+
"@kubun/hlc": "^0.18.0",
|
|
19
|
+
"@kubun/id": "^0.18.0",
|
|
20
|
+
"@kubun/logger": "^0.18.0",
|
|
21
|
+
"@kubun/protocol": "^0.18.0",
|
|
22
|
+
"@kubun/records": "^0.18.0",
|
|
23
|
+
"@sozai/async": "^0.4.1",
|
|
24
|
+
"@sozai/codec": "^0.4.3",
|
|
25
|
+
"@sozai/event": "^0.1.6",
|
|
26
|
+
"@sozai/otel": "^0.3.3",
|
|
26
27
|
"change-case": "^5.4.4",
|
|
27
28
|
"graphql": "^17.0.2",
|
|
28
|
-
"graphql-scalars": "^2.0.
|
|
29
|
+
"graphql-scalars": "^2.0.1",
|
|
29
30
|
"multiformats": "^14.0.5"
|
|
30
31
|
},
|
|
31
32
|
"devDependencies": {
|
|
32
|
-
"@kokuin/capability": "^0.
|
|
33
|
-
"@kokuin/token": "^0.5.
|
|
34
|
-
"@kubun/
|
|
35
|
-
"@kubun/
|
|
36
|
-
"@kubun/
|
|
37
|
-
"@kubun/
|
|
38
|
-
"@kubun/
|
|
33
|
+
"@kokuin/capability": "^0.4.2",
|
|
34
|
+
"@kokuin/token": "^0.5.1",
|
|
35
|
+
"@kubun/connector": "^0.18.0",
|
|
36
|
+
"@kubun/connector-google-calendar": "^0.18.0",
|
|
37
|
+
"@kubun/db": "^0.18.0",
|
|
38
|
+
"@kubun/db-adapter": "^0.18.0",
|
|
39
|
+
"@kubun/db-better-sqlite": "^0.18.0",
|
|
40
|
+
"@kubun/db-postgres": "^0.18.0",
|
|
41
|
+
"@kubun/models-calendar": "^0.18.0",
|
|
42
|
+
"@kubun/models-core": "^0.18.0",
|
|
43
|
+
"@kubun/scalars": "^0.18.0",
|
|
44
|
+
"@kubun/store-graph": "^0.18.0",
|
|
45
|
+
"@kubun/test-utils": "^0.0.0",
|
|
46
|
+
"@testcontainers/postgresql": "^12.2.1",
|
|
47
|
+
"kysely": "^0.29.7"
|
|
39
48
|
},
|
|
40
49
|
"publishConfig": {
|
|
41
50
|
"access": "public"
|