@kubun/protocol 0.2.5 → 0.3.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/index.d.ts CHANGED
@@ -8,6 +8,7 @@ export * from './models/json-schema.js';
8
8
  export * from './models/value.js';
9
9
  export * from './services/document.js';
10
10
  export * from './services/graph.js';
11
+ export * from './types.js';
11
12
  export type Protocol = DocumentProtocol & GraphProtocol;
12
13
  export type ClientMessage = AnyClientMessageOf<Protocol>;
13
14
  export type ServerMessage = AnyServerMessageOf<Protocol>;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,kBAAkB,EAClB,kBAAkB,EAClB,iBAAiB,EACjB,iBAAiB,EAClB,MAAM,kBAAkB,CAAA;AAEzB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AAC9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAExD,cAAc,qBAAqB,CAAA;AACnC,cAAc,sBAAsB,CAAA;AACpC,cAAc,mBAAmB,CAAA;AACjC,cAAc,yBAAyB,CAAA;AACvC,cAAc,mBAAmB,CAAA;AACjC,cAAc,wBAAwB,CAAA;AACtC,cAAc,qBAAqB,CAAA;AAEnC,MAAM,MAAM,QAAQ,GAAG,gBAAgB,GAAG,aAAa,CAAA;AAEvD,MAAM,MAAM,aAAa,GAAG,kBAAkB,CAAC,QAAQ,CAAC,CAAA;AACxD,MAAM,MAAM,aAAa,GAAG,kBAAkB,CAAC,QAAQ,CAAC,CAAA;AAExD,MAAM,MAAM,eAAe,GAAG,iBAAiB,CAAC,QAAQ,CAAC,CAAA;AACzD,MAAM,MAAM,eAAe,GAAG,iBAAiB,CAAC,QAAQ,CAAC,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,kBAAkB,EAClB,kBAAkB,EAClB,iBAAiB,EACjB,iBAAiB,EAClB,MAAM,kBAAkB,CAAA;AAEzB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AAC9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAExD,cAAc,qBAAqB,CAAA;AACnC,cAAc,sBAAsB,CAAA;AACpC,cAAc,mBAAmB,CAAA;AACjC,cAAc,yBAAyB,CAAA;AACvC,cAAc,mBAAmB,CAAA;AACjC,cAAc,wBAAwB,CAAA;AACtC,cAAc,qBAAqB,CAAA;AACnC,cAAc,YAAY,CAAA;AAE1B,MAAM,MAAM,QAAQ,GAAG,gBAAgB,GAAG,aAAa,CAAA;AAEvD,MAAM,MAAM,aAAa,GAAG,kBAAkB,CAAC,QAAQ,CAAC,CAAA;AACxD,MAAM,MAAM,aAAa,GAAG,kBAAkB,CAAC,QAAQ,CAAC,CAAA;AAExD,MAAM,MAAM,eAAe,GAAG,iBAAiB,CAAC,QAAQ,CAAC,CAAA;AACzD,MAAM,MAAM,eAAe,GAAG,iBAAiB,CAAC,QAAQ,CAAC,CAAA"}
package/lib/index.js CHANGED
@@ -5,3 +5,4 @@ export * from './models/json-schema.js';
5
5
  export * from './models/value.js';
6
6
  export * from './services/document.js';
7
7
  export * from './services/graph.js';
8
+ export * from './types.js';
@@ -5923,11 +5923,27 @@ export declare const graphProtocol: {
5923
5923
  readonly additionalProperties: false;
5924
5924
  };
5925
5925
  };
5926
- readonly 'graph/query': {
5926
+ readonly 'graph/mutate': {
5927
5927
  readonly type: "request";
5928
5928
  readonly param: {
5929
5929
  readonly type: "object";
5930
5930
  readonly properties: {
5931
+ readonly mutations: {
5932
+ readonly type: "object";
5933
+ readonly additionalProperties: {
5934
+ readonly title: "KubunSignedJWTValue";
5935
+ readonly type: "string";
5936
+ readonly pattern: "^[a-zA-Z0-9_-]+.[a-zA-Z0-9_-]+.[a-zA-Z0-9_-]+$";
5937
+ };
5938
+ };
5939
+ readonly attachments: {
5940
+ readonly type: "object";
5941
+ readonly additionalProperties: {
5942
+ readonly title: "KubunBinaryValue";
5943
+ readonly type: "string";
5944
+ readonly pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$";
5945
+ };
5946
+ };
5931
5947
  readonly id: {
5932
5948
  readonly type: "string";
5933
5949
  };
@@ -5938,7 +5954,7 @@ export declare const graphProtocol: {
5938
5954
  readonly type: "object";
5939
5955
  };
5940
5956
  };
5941
- readonly required: readonly ["id", "text"];
5957
+ readonly required: readonly ["id", "text", "mutations"];
5942
5958
  readonly additionalProperties: false;
5943
5959
  };
5944
5960
  readonly result: {
@@ -5996,27 +6012,84 @@ export declare const graphProtocol: {
5996
6012
  readonly additionalProperties: false;
5997
6013
  };
5998
6014
  };
5999
- readonly 'graph/mutate': {
6015
+ readonly 'graph/query': {
6000
6016
  readonly type: "request";
6001
6017
  readonly param: {
6002
6018
  readonly type: "object";
6003
6019
  readonly properties: {
6004
- readonly mutations: {
6020
+ readonly id: {
6021
+ readonly type: "string";
6022
+ };
6023
+ readonly text: {
6024
+ readonly type: "string";
6025
+ };
6026
+ readonly variables: {
6005
6027
  readonly type: "object";
6006
- readonly additionalProperties: {
6007
- readonly title: "KubunSignedJWTValue";
6008
- readonly type: "string";
6009
- readonly pattern: "^[a-zA-Z0-9_-]+.[a-zA-Z0-9_-]+.[a-zA-Z0-9_-]+$";
6028
+ };
6029
+ };
6030
+ readonly required: readonly ["id", "text"];
6031
+ readonly additionalProperties: false;
6032
+ };
6033
+ readonly result: {
6034
+ readonly type: "object";
6035
+ readonly properties: {
6036
+ readonly data: {
6037
+ readonly anyOf: readonly [{
6038
+ readonly type: "object";
6039
+ }, {
6040
+ readonly type: "null";
6041
+ }];
6042
+ };
6043
+ readonly errors: {
6044
+ readonly type: "array";
6045
+ readonly items: {
6046
+ readonly type: "object";
6047
+ readonly properties: {
6048
+ readonly message: {
6049
+ readonly type: "string";
6050
+ };
6051
+ readonly locations: {
6052
+ readonly type: "array";
6053
+ readonly items: {
6054
+ readonly type: "object";
6055
+ readonly properties: {
6056
+ readonly line: {
6057
+ readonly type: "integer";
6058
+ };
6059
+ readonly column: {
6060
+ readonly type: "integer";
6061
+ };
6062
+ };
6063
+ readonly required: readonly ["line", "column"];
6064
+ readonly additionalProperties: false;
6065
+ };
6066
+ };
6067
+ readonly path: {
6068
+ readonly type: "array";
6069
+ readonly items: {
6070
+ readonly type: "string";
6071
+ };
6072
+ };
6073
+ readonly extensions: {
6074
+ readonly type: "object";
6075
+ };
6076
+ };
6077
+ readonly required: readonly ["message"];
6078
+ readonly additionalProperties: false;
6010
6079
  };
6011
6080
  };
6012
- readonly attachments: {
6081
+ readonly extensions: {
6013
6082
  readonly type: "object";
6014
- readonly additionalProperties: {
6015
- readonly title: "KubunBinaryValue";
6016
- readonly type: "string";
6017
- readonly pattern: "^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$";
6018
- };
6019
6083
  };
6084
+ };
6085
+ readonly additionalProperties: false;
6086
+ };
6087
+ };
6088
+ readonly 'graph/subscribe': {
6089
+ readonly type: "stream";
6090
+ readonly param: {
6091
+ readonly type: "object";
6092
+ readonly properties: {
6020
6093
  readonly id: {
6021
6094
  readonly type: "string";
6022
6095
  };
@@ -6027,10 +6100,10 @@ export declare const graphProtocol: {
6027
6100
  readonly type: "object";
6028
6101
  };
6029
6102
  };
6030
- readonly required: readonly ["id", "text", "mutations"];
6103
+ readonly required: readonly ["id", "text"];
6031
6104
  readonly additionalProperties: false;
6032
6105
  };
6033
- readonly result: {
6106
+ readonly receive: {
6034
6107
  readonly type: "object";
6035
6108
  readonly properties: {
6036
6109
  readonly data: {
@@ -6084,6 +6157,64 @@ export declare const graphProtocol: {
6084
6157
  };
6085
6158
  readonly additionalProperties: false;
6086
6159
  };
6160
+ readonly result: {
6161
+ readonly anyOf: [{
6162
+ readonly type: "object";
6163
+ readonly properties: {
6164
+ readonly data: {
6165
+ readonly anyOf: readonly [{
6166
+ readonly type: "object";
6167
+ }, {
6168
+ readonly type: "null";
6169
+ }];
6170
+ };
6171
+ readonly errors: {
6172
+ readonly type: "array";
6173
+ readonly items: {
6174
+ readonly type: "object";
6175
+ readonly properties: {
6176
+ readonly message: {
6177
+ readonly type: "string";
6178
+ };
6179
+ readonly locations: {
6180
+ readonly type: "array";
6181
+ readonly items: {
6182
+ readonly type: "object";
6183
+ readonly properties: {
6184
+ readonly line: {
6185
+ readonly type: "integer";
6186
+ };
6187
+ readonly column: {
6188
+ readonly type: "integer";
6189
+ };
6190
+ };
6191
+ readonly required: readonly ["line", "column"];
6192
+ readonly additionalProperties: false;
6193
+ };
6194
+ };
6195
+ readonly path: {
6196
+ readonly type: "array";
6197
+ readonly items: {
6198
+ readonly type: "string";
6199
+ };
6200
+ };
6201
+ readonly extensions: {
6202
+ readonly type: "object";
6203
+ };
6204
+ };
6205
+ readonly required: readonly ["message"];
6206
+ readonly additionalProperties: false;
6207
+ };
6208
+ };
6209
+ readonly extensions: {
6210
+ readonly type: "object";
6211
+ };
6212
+ };
6213
+ readonly additionalProperties: false;
6214
+ }, {
6215
+ readonly type: "null";
6216
+ }];
6217
+ };
6087
6218
  };
6088
6219
  };
6089
6220
  export type GraphProtocol = typeof graphProtocol;
@@ -1 +1 @@
1
- {"version":3,"file":"graph.d.ts","sourceRoot":"","sources":["../../src/services/graph.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAU,MAAM,gBAAgB,CAAA;AAMxD,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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+ 'graph/mutate': {
217
217
  type: 'request',
218
- param: executeGraphParams,
218
+ param: mutateGraphParams,
219
219
  result: executeGraphResult
220
220
  },
221
- 'graph/mutate': {
221
+ 'graph/query': {
222
222
  type: 'request',
223
- param: mutateGraphParams,
223
+ param: executeGraphParams,
224
224
  result: executeGraphResult
225
+ },
226
+ 'graph/subscribe': {
227
+ type: 'stream',
228
+ param: executeGraphParams,
229
+ receive: executeGraphResult,
230
+ result: {
231
+ anyOf: [
232
+ executeGraphResult,
233
+ {
234
+ type: 'null'
235
+ }
236
+ ]
237
+ }
225
238
  }
226
239
  };
package/lib/types.d.ts ADDED
@@ -0,0 +1,54 @@
1
+ export type BooleanValueFilter = {
2
+ isNull: boolean;
3
+ } | {
4
+ equalTo: boolean;
5
+ };
6
+ export type EnumValueFilter = {
7
+ isNull: boolean;
8
+ } | {
9
+ equalTo: string;
10
+ } | {
11
+ notEqualTo: string;
12
+ } | {
13
+ in: Array<string>;
14
+ } | {
15
+ notIn: Array<string>;
16
+ };
17
+ export type ScalarValueFilter<T = string | number> = {
18
+ isNull: boolean;
19
+ } | {
20
+ equalTo: T;
21
+ } | {
22
+ notEqualTo: T;
23
+ } | {
24
+ in: Array<T>;
25
+ } | {
26
+ notIn: Array<T>;
27
+ } | {
28
+ lessThan: T;
29
+ } | {
30
+ lessThanOrEqualTo: T;
31
+ } | {
32
+ greaterThan: T;
33
+ } | {
34
+ greaterThanOrEqualTo: T;
35
+ };
36
+ export type AnyValueFilter = BooleanValueFilter | EnumValueFilter | ScalarValueFilter;
37
+ export type ObjectValuesFilter = {
38
+ [key: string]: AnyValueFilter | ObjectValuesFilter;
39
+ };
40
+ export type DocumentFilter = {
41
+ where: ObjectValuesFilter;
42
+ } | {
43
+ and: Array<DocumentFilter>;
44
+ } | {
45
+ or: Array<DocumentFilter>;
46
+ } | {
47
+ not: DocumentFilter;
48
+ };
49
+ export type OrderByDirection = 'asc' | 'desc';
50
+ export type OrderByField = {
51
+ [field: string]: OrderByDirection | OrderByField;
52
+ };
53
+ export type DocumentOrderBy = Array<OrderByField>;
54
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,kBAAkB,GAAG;IAAE,MAAM,EAAE,OAAO,CAAA;CAAE,GAAG;IAAE,OAAO,EAAE,OAAO,CAAA;CAAE,CAAA;AAE3E,MAAM,MAAM,eAAe,GACvB;IAAE,MAAM,EAAE,OAAO,CAAA;CAAE,GACnB;IAAE,OAAO,EAAE,MAAM,CAAA;CAAE,GACnB;IAAE,UAAU,EAAE,MAAM,CAAA;CAAE,GACtB;IAAE,EAAE,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;CAAE,GACrB;IAAE,KAAK,EAAE,KAAK,CAAC,MAAM,CAAC,CAAA;CAAE,CAAA;AAE5B,MAAM,MAAM,iBAAiB,CAAC,CAAC,GAAG,MAAM,GAAG,MAAM,IAC7C;IAAE,MAAM,EAAE,OAAO,CAAA;CAAE,GACnB;IAAE,OAAO,EAAE,CAAC,CAAA;CAAE,GACd;IAAE,UAAU,EAAE,CAAC,CAAA;CAAE,GACjB;IAAE,EAAE,EAAE,KAAK,CAAC,CAAC,CAAC,CAAA;CAAE,GAChB;IAAE,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,CAAA;CAAE,GACnB;IAAE,QAAQ,EAAE,CAAC,CAAA;CAAE,GACf;IAAE,iBAAiB,EAAE,CAAC,CAAA;CAAE,GACxB;IAAE,WAAW,EAAE,CAAC,CAAA;CAAE,GAClB;IAAE,oBAAoB,EAAE,CAAC,CAAA;CAAE,CAAA;AAE/B,MAAM,MAAM,cAAc,GAAG,kBAAkB,GAAG,eAAe,GAAG,iBAAiB,CAAA;AAErF,MAAM,MAAM,kBAAkB,GAAG;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,cAAc,GAAG,kBAAkB,CAAA;CAAE,CAAA;AAEvF,MAAM,MAAM,cAAc,GACtB;IAAE,KAAK,EAAE,kBAAkB,CAAA;CAAE,GAC7B;IAAE,GAAG,EAAE,KAAK,CAAC,cAAc,CAAC,CAAA;CAAE,GAC9B;IAAE,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,CAAA;CAAE,GAC7B;IAAE,GAAG,EAAE,cAAc,CAAA;CAAE,CAAA;AAE3B,MAAM,MAAM,gBAAgB,GAAG,KAAK,GAAG,MAAM,CAAA;AAE7C,MAAM,MAAM,YAAY,GAAG;IAAE,CAAC,KAAK,EAAE,MAAM,GAAG,gBAAgB,GAAG,YAAY,CAAA;CAAE,CAAA;AAE/E,MAAM,MAAM,eAAe,GAAG,KAAK,CAAC,YAAY,CAAC,CAAA"}
package/lib/types.js ADDED
@@ -0,0 +1 @@
1
+ export { };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kubun/protocol",
3
- "version": "0.2.5",
3
+ "version": "0.3.0",
4
4
  "license": "see LICENSE.md",
5
5
  "keywords": [],
6
6
  "type": "module",
@@ -15,10 +15,10 @@
15
15
  ],
16
16
  "sideEffects": false,
17
17
  "dependencies": {
18
- "@enkaku/codec": "^0.11.0",
19
- "@enkaku/protocol": "^0.11.0",
20
- "@enkaku/schema": "^0.11.1",
21
- "@kubun/id": "^0.2.0"
18
+ "@enkaku/codec": "^0.12.0",
19
+ "@enkaku/protocol": "^0.12.0",
20
+ "@enkaku/schema": "^0.12.0",
21
+ "@kubun/id": "^0.3.0"
22
22
  },
23
23
  "devDependencies": {
24
24
  "json-schema-typed": "^8.0.1"