@kubun/protocol 0.1.0 → 0.2.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.
@@ -1 +1 @@
1
- {"version":3,"file":"graph.d.ts","sourceRoot":"","sources":["../../src/services/graph.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAA;AACzD,OAAO,KAAK,EAAE,UAAU,EAAU,MAAM,gBAAgB,CAAA;AAKxD,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;CAyBa,CAAA;AACvC,MAAM,MAAM,aAAa,GAAG,OAAO,aAAa,CAAA"}
@@ -1,23 +1,26 @@
1
- import { documentModelsCluster, documentModelsRecord } from '../models/document.js';
2
- import { binaryStringValue, didStringValue, signedJWTStringValue } from '../models/value.js';
3
- export const createGraphParams = {
1
+ import { clusterModel } from '../models/cluster.js';
2
+ import { documentModelsRecord } from '../models/document.js';
3
+ import { binaryStringValue, signedJWTStringValue } from '../models/value.js';
4
+ export const deployGraphParams = {
4
5
  type: 'object',
5
6
  properties: {
6
- name: {
7
- type: 'string'
8
- },
9
7
  clusters: {
10
8
  type: 'array',
11
- items: documentModelsCluster
9
+ items: clusterModel
10
+ },
11
+ id: {
12
+ type: 'string'
13
+ },
14
+ name: {
15
+ type: 'string'
12
16
  }
13
17
  },
14
18
  required: [
15
- 'name',
16
19
  'clusters'
17
20
  ],
18
21
  additionalProperties: false
19
22
  };
20
- export const createGraphResult = {
23
+ export const deployGraphResult = {
21
24
  type: 'object',
22
25
  properties: {
23
26
  id: {
@@ -31,6 +34,34 @@ export const createGraphResult = {
31
34
  ],
32
35
  additionalProperties: false
33
36
  };
37
+ export const listGraphResult = {
38
+ type: 'object',
39
+ properties: {
40
+ graphs: {
41
+ type: 'array',
42
+ items: {
43
+ type: 'object',
44
+ properties: {
45
+ id: {
46
+ type: 'string'
47
+ },
48
+ name: {
49
+ type: 'string'
50
+ }
51
+ },
52
+ required: [
53
+ 'id',
54
+ 'name'
55
+ ],
56
+ additionalProperties: false
57
+ }
58
+ }
59
+ },
60
+ required: [
61
+ 'graphs'
62
+ ],
63
+ additionalProperties: false
64
+ };
34
65
  export const loadGraphParams = {
35
66
  type: 'object',
36
67
  properties: {
@@ -46,7 +77,14 @@ export const loadGraphParams = {
46
77
  export const loadGraphResult = {
47
78
  type: 'object',
48
79
  properties: {
49
- models: documentModelsRecord,
80
+ models: {
81
+ anyOf: [
82
+ documentModelsRecord,
83
+ {
84
+ type: 'null'
85
+ }
86
+ ]
87
+ },
50
88
  aliases: {
51
89
  type: 'object',
52
90
  additionalProperties: {
@@ -70,13 +108,11 @@ export const executeGraphParams = {
70
108
  },
71
109
  variables: {
72
110
  type: 'object'
73
- },
74
- viewer: didStringValue
111
+ }
75
112
  },
76
113
  required: [
77
114
  'id',
78
- 'text',
79
- 'variables'
115
+ 'text'
80
116
  ],
81
117
  additionalProperties: false
82
118
  };
@@ -162,3 +198,29 @@ export const mutateGraphParams = {
162
198
  ],
163
199
  additionalProperties: false
164
200
  };
201
+ export const graphProtocol = {
202
+ 'graph/deploy': {
203
+ type: 'request',
204
+ param: deployGraphParams,
205
+ result: deployGraphResult
206
+ },
207
+ 'graph/list': {
208
+ type: 'request',
209
+ result: listGraphResult
210
+ },
211
+ 'graph/load': {
212
+ type: 'request',
213
+ param: loadGraphParams,
214
+ result: loadGraphResult
215
+ },
216
+ 'graph/query': {
217
+ type: 'request',
218
+ param: executeGraphParams,
219
+ result: executeGraphResult
220
+ },
221
+ 'graph/mutate': {
222
+ type: 'request',
223
+ param: mutateGraphParams,
224
+ result: executeGraphResult
225
+ }
226
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubun/protocol",
3
- "version": "0.1.0",
3
+ "version": "0.2.0",
4
4
  "license": "see LICENSE.md",
5
5
  "keywords": [],
6
6
  "type": "module",
@@ -15,9 +15,10 @@
15
15
  ],
16
16
  "sideEffects": false,
17
17
  "dependencies": {
18
- "@enkaku/protocol": "^0.2.1",
19
- "@enkaku/schema": "^0.2.0",
20
- "@kubun/id": "^0.1.0"
18
+ "@enkaku/codec": "^0.11.0",
19
+ "@enkaku/protocol": "^0.11.0",
20
+ "@enkaku/schema": "^0.11.0",
21
+ "@kubun/id": "^0.2.0"
21
22
  },
22
23
  "devDependencies": {
23
24
  "json-schema-typed": "^8.0.1"