@superdoc/sdk 2.26.0 → 2.27.0-next.4
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/README.md +202 -29
- package/dist/agent/catalog.d.ts +0 -4
- package/dist/agent/catalog.js +0 -4
- package/dist/generated/client.cjs +14 -1
- package/dist/generated/client.d.ts +1496 -215
- package/dist/generated/client.js +14 -1
- package/dist/generated/contract.cjs +1 -2
- package/dist/generated/contract.d.ts +1 -0
- package/dist/generated/contract.js +1 -2
- package/dist/index.cjs +3 -0
- package/dist/index.d.ts +3 -0
- package/dist/index.js +3 -0
- package/dist/runtime/host.cjs +36 -3
- package/dist/runtime/host.d.ts +5 -0
- package/dist/runtime/host.js +36 -4
- package/dist/runtime/notifications.cjs +124 -0
- package/dist/runtime/notifications.d.ts +35 -0
- package/dist/runtime/notifications.js +116 -0
- package/dist/runtime/process.cjs +4 -1
- package/dist/runtime/process.d.ts +2 -0
- package/dist/runtime/process.js +4 -1
- package/dist/runtime/sdk-policy.d.ts +1 -0
- package/dist/runtime/sdk-version.generated.cjs +1 -1
- package/dist/runtime/sdk-version.generated.d.ts +1 -1
- package/dist/runtime/sdk-version.generated.js +1 -1
- package/dist/runtime/transport-common.cjs +9 -1
- package/dist/runtime/transport-common.d.ts +3 -0
- package/dist/runtime/transport-common.js +8 -1
- package/package.json +7 -7
- package/tools/generation-receipt.json +51 -13
- package/tools/tools-policy.json +1 -1
package/dist/generated/client.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
1
|
// Auto-generated by packages/sdk/codegen/src/generate-node.mjs
|
|
3
2
|
import { CONTRACT } from './contract.js';
|
|
4
3
|
// ---------------------------------------------------------------------------
|
|
@@ -300,6 +299,13 @@ export function createDocApi(runtime) {
|
|
|
300
299
|
undo: (params = {}, options) => runtime.invoke(CONTRACT.operations["doc.history.undo"], params, options),
|
|
301
300
|
redo: (params = {}, options) => runtime.invoke(CONTRACT.operations["doc.history.redo"], params, options),
|
|
302
301
|
},
|
|
302
|
+
changes: {
|
|
303
|
+
list: (params = {}, options) => runtime.invoke(CONTRACT.operations["doc.changes.list"], params, options),
|
|
304
|
+
get: (params, options) => runtime.invoke(CONTRACT.operations["doc.changes.get"], params, options),
|
|
305
|
+
resolve: (params, options) => runtime.invoke(CONTRACT.operations["doc.changes.resolve"], params, options),
|
|
306
|
+
actors: (params = {}, options) => runtime.invoke(CONTRACT.operations["doc.changes.actors"], params, options),
|
|
307
|
+
snapshot: (params = {}, options) => runtime.invoke(CONTRACT.operations["doc.changes.snapshot"], params, options),
|
|
308
|
+
},
|
|
303
309
|
images: {
|
|
304
310
|
list: (params = {}, options) => runtime.invoke(CONTRACT.operations["doc.images.list"], params, options),
|
|
305
311
|
get: (params, options) => runtime.invoke(CONTRACT.operations["doc.images.get"], params, options),
|
|
@@ -888,6 +894,13 @@ export function createBoundDocApi(runtime) {
|
|
|
888
894
|
undo: (params = {}, options) => runtime.invoke(CONTRACT.operations["doc.history.undo"], params, options),
|
|
889
895
|
redo: (params = {}, options) => runtime.invoke(CONTRACT.operations["doc.history.redo"], params, options),
|
|
890
896
|
},
|
|
897
|
+
changes: {
|
|
898
|
+
list: (params = {}, options) => runtime.invoke(CONTRACT.operations["doc.changes.list"], params, options),
|
|
899
|
+
get: (params, options) => runtime.invoke(CONTRACT.operations["doc.changes.get"], params, options),
|
|
900
|
+
resolve: (params, options) => runtime.invoke(CONTRACT.operations["doc.changes.resolve"], params, options),
|
|
901
|
+
actors: (params = {}, options) => runtime.invoke(CONTRACT.operations["doc.changes.actors"], params, options),
|
|
902
|
+
snapshot: (params = {}, options) => runtime.invoke(CONTRACT.operations["doc.changes.snapshot"], params, options),
|
|
903
|
+
},
|
|
891
904
|
images: {
|
|
892
905
|
list: (params = {}, options) => runtime.invoke(CONTRACT.operations["doc.images.list"], params, options),
|
|
893
906
|
get: (params, options) => runtime.invoke(CONTRACT.operations["doc.images.get"], params, options),
|