@qlever-llc/trellis 0.8.4 → 0.9.0-rc.2
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 +1 -1
- package/esm/auth/browser/login.d.ts.map +1 -1
- package/esm/auth/browser/login.js +46 -3
- package/esm/auth/browser/portal.d.ts.map +1 -1
- package/esm/auth/browser/portal.js +5 -1
- package/esm/auth/browser/session.d.ts +18 -7
- package/esm/auth/browser/session.d.ts.map +1 -1
- package/esm/auth/browser/session.js +47 -11
- package/esm/auth/browser/storage.d.ts +6 -1
- package/esm/auth/browser/storage.d.ts.map +1 -1
- package/esm/auth/browser/storage.js +15 -3
- package/esm/auth/browser.d.ts +2 -2
- package/esm/auth/browser.d.ts.map +1 -1
- package/esm/auth/browser.js +1 -1
- package/esm/auth/device_activation.d.ts +36 -33
- package/esm/auth/device_activation.d.ts.map +1 -1
- package/esm/auth/device_activation.js +26 -22
- package/esm/auth/mod.d.ts +4 -4
- package/esm/auth/mod.d.ts.map +1 -1
- package/esm/auth/mod.js +2 -2
- package/esm/auth/proof.d.ts +3 -1
- package/esm/auth/proof.d.ts.map +1 -1
- package/esm/auth/proof.js +21 -15
- package/esm/auth/protocol.d.ts +2457 -941
- package/esm/auth/protocol.d.ts.map +1 -1
- package/esm/auth/protocol.js +747 -375
- package/esm/auth/schemas.d.ts +25 -4
- package/esm/auth/schemas.d.ts.map +1 -1
- package/esm/auth/schemas.js +14 -4
- package/esm/auth/session_auth.d.ts +1 -1
- package/esm/auth/session_auth.d.ts.map +1 -1
- package/esm/auth/session_auth.js +7 -1
- package/esm/client_connect.d.ts +2 -0
- package/esm/client_connect.d.ts.map +1 -1
- package/esm/client_connect.js +76 -15
- package/esm/contract.d.ts +3 -0
- package/esm/contract.d.ts.map +1 -1
- package/esm/contract_support/mod.d.ts +422 -43
- package/esm/contract_support/mod.d.ts.map +1 -1
- package/esm/contract_support/mod.js +734 -33
- package/esm/contract_support/protocol.d.ts +20 -5
- package/esm/contract_support/protocol.d.ts.map +1 -1
- package/esm/contract_support/protocol.js +18 -10
- package/esm/contract_support/runtime.d.ts +11 -0
- package/esm/contract_support/runtime.d.ts.map +1 -1
- package/esm/contract_support/schema_pointers.d.ts.map +1 -1
- package/esm/contract_support/schema_pointers.js +32 -14
- package/esm/device.d.ts +2 -0
- package/esm/device.d.ts.map +1 -1
- package/esm/device.js +3 -0
- package/esm/errors/AuthError.d.ts +1 -1
- package/esm/errors/AuthError.d.ts.map +1 -1
- package/esm/errors/AuthError.js +5 -1
- package/esm/errors/index.d.ts +4 -4
- package/esm/generated-sdk/auth/api.d.ts +27 -9
- package/esm/generated-sdk/auth/api.d.ts.map +1 -1
- package/esm/generated-sdk/auth/api.js +16 -590
- package/esm/generated-sdk/auth/client.d.ts +91 -85
- package/esm/generated-sdk/auth/client.d.ts.map +1 -1
- package/esm/generated-sdk/auth/contract.d.ts +1 -1
- package/esm/generated-sdk/auth/contract.d.ts.map +1 -1
- package/esm/generated-sdk/auth/contract.js +4 -2
- package/esm/generated-sdk/auth/mod.d.ts +1 -0
- package/esm/generated-sdk/auth/mod.d.ts.map +1 -1
- package/esm/generated-sdk/auth/owned_api.d.ts +3 -0
- package/esm/generated-sdk/auth/owned_api.d.ts.map +1 -0
- package/esm/generated-sdk/auth/owned_api.js +594 -0
- package/esm/generated-sdk/auth/schemas.d.ts +9959 -5160
- package/esm/generated-sdk/auth/schemas.d.ts.map +1 -1
- package/esm/generated-sdk/auth/schemas.js +136 -137
- package/esm/generated-sdk/auth/types.d.ts +2418 -1557
- package/esm/generated-sdk/auth/types.d.ts.map +1 -1
- package/esm/generated-sdk/auth/types.js +1 -1
- package/esm/generated-sdk/health/api.d.ts +24 -9
- package/esm/generated-sdk/health/api.d.ts.map +1 -1
- package/esm/generated-sdk/health/api.js +12 -20
- package/esm/generated-sdk/health/client.d.ts +2 -1
- package/esm/generated-sdk/health/client.d.ts.map +1 -1
- package/esm/generated-sdk/health/contract.d.ts.map +1 -1
- package/esm/generated-sdk/health/contract.js +2 -0
- package/esm/generated-sdk/health/owned_api.d.ts +3 -0
- package/esm/generated-sdk/health/owned_api.d.ts.map +1 -0
- package/esm/generated-sdk/health/owned_api.js +16 -0
- package/esm/generated-sdk/health/types.d.ts +2 -0
- package/esm/generated-sdk/health/types.d.ts.map +1 -1
- package/esm/generated-sdk/jobs/api.d.ts +33 -9
- package/esm/generated-sdk/jobs/api.d.ts.map +1 -1
- package/esm/generated-sdk/jobs/api.js +22 -87
- package/esm/generated-sdk/jobs/client.d.ts +9 -2
- package/esm/generated-sdk/jobs/client.d.ts.map +1 -1
- package/esm/generated-sdk/jobs/contract.d.ts +1 -1
- package/esm/generated-sdk/jobs/contract.d.ts.map +1 -1
- package/esm/generated-sdk/jobs/contract.js +4 -2
- package/esm/generated-sdk/jobs/owned_api.d.ts +3 -0
- package/esm/generated-sdk/jobs/owned_api.d.ts.map +1 -0
- package/esm/generated-sdk/jobs/owned_api.js +118 -0
- package/esm/generated-sdk/jobs/schemas.d.ts +336 -123
- package/esm/generated-sdk/jobs/schemas.d.ts.map +1 -1
- package/esm/generated-sdk/jobs/schemas.js +17 -15
- package/esm/generated-sdk/jobs/types.d.ts +144 -34
- package/esm/generated-sdk/jobs/types.d.ts.map +1 -1
- package/esm/generated-sdk/jobs/types.js +36 -1
- package/esm/generated-sdk/state/api.d.ts +27 -9
- package/esm/generated-sdk/state/api.d.ts.map +1 -1
- package/esm/generated-sdk/state/api.js +16 -71
- package/esm/generated-sdk/state/client.d.ts +4 -2
- package/esm/generated-sdk/state/client.d.ts.map +1 -1
- package/esm/generated-sdk/state/contract.d.ts +1 -1
- package/esm/generated-sdk/state/contract.d.ts.map +1 -1
- package/esm/generated-sdk/state/contract.js +4 -2
- package/esm/generated-sdk/state/owned_api.d.ts +3 -0
- package/esm/generated-sdk/state/owned_api.d.ts.map +1 -0
- package/esm/generated-sdk/state/owned_api.js +66 -0
- package/esm/generated-sdk/state/schemas.d.ts +264 -284
- package/esm/generated-sdk/state/schemas.d.ts.map +1 -1
- package/esm/generated-sdk/state/schemas.js +6 -6
- package/esm/generated-sdk/state/types.d.ts +24 -23
- package/esm/generated-sdk/state/types.d.ts.map +1 -1
- package/esm/generated-sdk/state/types.js +1 -1
- package/esm/generated-sdk/trellis-core/api.d.ts +27 -9
- package/esm/generated-sdk/trellis-core/api.d.ts.map +1 -1
- package/esm/generated-sdk/trellis-core/api.js +16 -39
- package/esm/generated-sdk/trellis-core/client.d.ts +5 -2
- package/esm/generated-sdk/trellis-core/client.d.ts.map +1 -1
- package/esm/generated-sdk/trellis-core/contract.d.ts +1 -1
- package/esm/generated-sdk/trellis-core/contract.d.ts.map +1 -1
- package/esm/generated-sdk/trellis-core/contract.js +4 -2
- package/esm/generated-sdk/trellis-core/owned_api.d.ts +3 -0
- package/esm/generated-sdk/trellis-core/owned_api.d.ts.map +1 -0
- package/esm/generated-sdk/trellis-core/owned_api.js +42 -0
- package/esm/generated-sdk/trellis-core/schemas.d.ts +259 -11
- package/esm/generated-sdk/trellis-core/schemas.d.ts.map +1 -1
- package/esm/generated-sdk/trellis-core/schemas.js +5 -3
- package/esm/generated-sdk/trellis-core/types.d.ts +56 -1
- package/esm/generated-sdk/trellis-core/types.d.ts.map +1 -1
- package/esm/generated-sdk/trellis-core/types.js +1 -1
- package/esm/helpers.d.ts.map +1 -1
- package/esm/index.d.ts +4 -3
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +1 -0
- package/esm/jobs.d.ts +10 -1
- package/esm/jobs.d.ts.map +1 -1
- package/esm/jobs.js +16 -1
- package/esm/kv.d.ts.map +1 -1
- package/esm/kv.js +10 -4
- package/esm/models/auth/rpc/Logout.d.ts +4 -4
- package/esm/models/auth/rpc/Logout.d.ts.map +1 -1
- package/esm/models/auth/rpc/Logout.js +2 -2
- package/esm/models/trellis/Page.d.ts +2 -0
- package/esm/models/trellis/Page.d.ts.map +1 -0
- package/esm/models/trellis/Page.js +1 -0
- package/esm/models/trellis/State.d.ts +1 -0
- package/esm/models/trellis/State.d.ts.map +1 -1
- package/esm/models/trellis/State.js +1 -0
- package/esm/models/trellis/rpc/StateList.d.ts +9 -12
- package/esm/models/trellis/rpc/StateList.d.ts.map +1 -1
- package/esm/models/trellis/rpc/StateList.js +16 -18
- package/esm/npm/src/auth/browser/login.d.ts.map +1 -1
- package/esm/npm/src/auth/browser/login.js +46 -3
- package/esm/npm/src/auth/browser/portal.d.ts.map +1 -1
- package/esm/npm/src/auth/browser/portal.js +5 -1
- package/esm/npm/src/auth/browser/session.d.ts +18 -7
- package/esm/npm/src/auth/browser/session.d.ts.map +1 -1
- package/esm/npm/src/auth/browser/session.js +47 -11
- package/esm/npm/src/auth/browser/storage.d.ts +6 -1
- package/esm/npm/src/auth/browser/storage.d.ts.map +1 -1
- package/esm/npm/src/auth/browser/storage.js +15 -3
- package/esm/npm/src/auth/browser.d.ts +2 -2
- package/esm/npm/src/auth/browser.d.ts.map +1 -1
- package/esm/npm/src/auth/browser.js +1 -1
- package/esm/npm/src/auth/device_activation.d.ts +36 -33
- package/esm/npm/src/auth/device_activation.d.ts.map +1 -1
- package/esm/npm/src/auth/device_activation.js +26 -22
- package/esm/npm/src/auth/mod.d.ts +4 -4
- package/esm/npm/src/auth/mod.d.ts.map +1 -1
- package/esm/npm/src/auth/mod.js +2 -2
- package/esm/npm/src/auth/proof.d.ts +3 -1
- package/esm/npm/src/auth/proof.d.ts.map +1 -1
- package/esm/npm/src/auth/proof.js +21 -15
- package/esm/npm/src/auth/protocol.d.ts +2457 -941
- package/esm/npm/src/auth/protocol.d.ts.map +1 -1
- package/esm/npm/src/auth/protocol.js +747 -375
- package/esm/npm/src/auth/schemas.d.ts +25 -4
- package/esm/npm/src/auth/schemas.d.ts.map +1 -1
- package/esm/npm/src/auth/schemas.js +14 -4
- package/esm/npm/src/auth/session_auth.d.ts +1 -1
- package/esm/npm/src/auth/session_auth.d.ts.map +1 -1
- package/esm/npm/src/auth/session_auth.js +7 -1
- package/esm/npm/src/client_connect.d.ts +2 -0
- package/esm/npm/src/client_connect.d.ts.map +1 -1
- package/esm/npm/src/client_connect.js +76 -15
- package/esm/npm/src/contract.d.ts +3 -0
- package/esm/npm/src/contract.d.ts.map +1 -1
- package/esm/npm/src/contract_support/mod.d.ts +422 -43
- package/esm/npm/src/contract_support/mod.d.ts.map +1 -1
- package/esm/npm/src/contract_support/mod.js +734 -33
- package/esm/npm/src/contract_support/protocol.d.ts +20 -5
- package/esm/npm/src/contract_support/protocol.d.ts.map +1 -1
- package/esm/npm/src/contract_support/protocol.js +18 -10
- package/esm/npm/src/contract_support/runtime.d.ts +11 -0
- package/esm/npm/src/contract_support/runtime.d.ts.map +1 -1
- package/esm/npm/src/contract_support/schema_pointers.d.ts.map +1 -1
- package/esm/npm/src/contract_support/schema_pointers.js +32 -14
- package/esm/npm/src/device/deno.d.ts.map +1 -1
- package/esm/npm/src/device/deno.js +6 -0
- package/esm/npm/src/device.d.ts +2 -0
- package/esm/npm/src/device.d.ts.map +1 -1
- package/esm/npm/src/device.js +3 -0
- package/esm/npm/src/errors/AuthError.d.ts +1 -1
- package/esm/npm/src/errors/AuthError.d.ts.map +1 -1
- package/esm/npm/src/errors/AuthError.js +5 -1
- package/esm/npm/src/errors/index.d.ts +4 -4
- package/esm/npm/src/generate.js +2 -19
- package/esm/npm/src/helpers.d.ts.map +1 -1
- package/esm/npm/src/index.d.ts +4 -3
- package/esm/npm/src/index.d.ts.map +1 -1
- package/esm/npm/src/index.js +1 -0
- package/esm/npm/src/jobs.d.ts +10 -1
- package/esm/npm/src/jobs.d.ts.map +1 -1
- package/esm/npm/src/jobs.js +16 -1
- package/esm/npm/src/kv.d.ts.map +1 -1
- package/esm/npm/src/kv.js +10 -4
- package/esm/npm/src/models/auth/rpc/Logout.d.ts +4 -4
- package/esm/npm/src/models/auth/rpc/Logout.d.ts.map +1 -1
- package/esm/npm/src/models/auth/rpc/Logout.js +2 -2
- package/esm/npm/src/models/trellis/Page.d.ts +2 -0
- package/esm/npm/src/models/trellis/Page.d.ts.map +1 -0
- package/esm/npm/src/models/trellis/Page.js +1 -0
- package/esm/npm/src/models/trellis/State.d.ts +1 -0
- package/esm/npm/src/models/trellis/State.d.ts.map +1 -1
- package/esm/npm/src/models/trellis/State.js +1 -0
- package/esm/npm/src/models/trellis/rpc/StateList.d.ts +9 -12
- package/esm/npm/src/models/trellis/rpc/StateList.d.ts.map +1 -1
- package/esm/npm/src/models/trellis/rpc/StateList.js +16 -18
- package/esm/npm/src/operations.d.ts +16 -7
- package/esm/npm/src/operations.d.ts.map +1 -1
- package/esm/npm/src/operations.js +84 -19
- package/esm/npm/src/runtime_transport.d.ts +2 -0
- package/esm/npm/src/runtime_transport.d.ts.map +1 -1
- package/esm/npm/src/runtime_transport.js +1 -0
- package/esm/npm/src/server/internal_jobs/active-job.d.ts +2 -1
- package/esm/npm/src/server/internal_jobs/active-job.d.ts.map +1 -1
- package/esm/npm/src/server/internal_jobs/active-job.js +3 -0
- package/esm/npm/src/server/internal_jobs/job-manager.d.ts +4 -1
- package/esm/npm/src/server/internal_jobs/job-manager.d.ts.map +1 -1
- package/esm/npm/src/server/internal_jobs/job-manager.js +61 -1
- package/esm/npm/src/server/internal_jobs/projection.js +1 -0
- package/esm/npm/src/server/internal_jobs/runtime-worker.d.ts +13 -1
- package/esm/npm/src/server/internal_jobs/runtime-worker.d.ts.map +1 -1
- package/esm/npm/src/server/internal_jobs/runtime-worker.js +73 -13
- package/esm/npm/src/server/internal_jobs/types.d.ts +19 -0
- package/esm/npm/src/server/internal_jobs/types.d.ts.map +1 -1
- package/esm/npm/src/server/internal_jobs/types.js +10 -0
- package/esm/npm/src/server/runtime.d.ts +1 -0
- package/esm/npm/src/server/runtime.d.ts.map +1 -1
- package/esm/npm/src/server/service.d.ts +10 -1
- package/esm/npm/src/server/service.d.ts.map +1 -1
- package/esm/npm/src/server/service.js +190 -64
- package/esm/npm/src/server/transfer.d.ts.map +1 -1
- package/esm/npm/src/server/transfer.js +4 -0
- package/esm/npm/src/server.d.ts.map +1 -1
- package/esm/npm/src/server.js +337 -34
- package/esm/npm/src/store.d.ts +8 -1
- package/esm/npm/src/store.d.ts.map +1 -1
- package/esm/npm/src/store.js +46 -8
- package/esm/npm/src/transfer.d.ts +3 -0
- package/esm/npm/src/transfer.d.ts.map +1 -1
- package/esm/npm/src/transfer.js +20 -30
- package/esm/npm/src/trellis.d.ts +85 -22
- package/esm/npm/src/trellis.d.ts.map +1 -1
- package/esm/npm/src/trellis.js +525 -61
- package/esm/operations.d.ts +16 -7
- package/esm/operations.d.ts.map +1 -1
- package/esm/operations.js +84 -19
- package/esm/runtime_transport.d.ts +2 -0
- package/esm/runtime_transport.d.ts.map +1 -1
- package/esm/runtime_transport.js +1 -0
- package/esm/store.d.ts +8 -1
- package/esm/store.d.ts.map +1 -1
- package/esm/store.js +46 -8
- package/esm/transfer.d.ts +3 -0
- package/esm/transfer.d.ts.map +1 -1
- package/esm/transfer.js +20 -30
- package/esm/trellis.d.ts +85 -22
- package/esm/trellis.d.ts.map +1 -1
- package/esm/trellis.js +525 -61
- package/package.json +6 -3
- package/script/auth/browser/login.d.ts.map +1 -1
- package/script/auth/browser/login.js +46 -3
- package/script/auth/browser/portal.d.ts.map +1 -1
- package/script/auth/browser/portal.js +5 -1
- package/script/auth/browser/session.d.ts +18 -7
- package/script/auth/browser/session.d.ts.map +1 -1
- package/script/auth/browser/session.js +47 -11
- package/script/auth/browser/storage.d.ts +6 -1
- package/script/auth/browser/storage.d.ts.map +1 -1
- package/script/auth/browser/storage.js +15 -3
- package/script/auth/browser.d.ts +2 -2
- package/script/auth/browser.d.ts.map +1 -1
- package/script/auth/browser.js +2 -1
- package/script/auth/device_activation.d.ts +36 -33
- package/script/auth/device_activation.d.ts.map +1 -1
- package/script/auth/device_activation.js +25 -21
- package/script/auth/mod.d.ts +4 -4
- package/script/auth/mod.d.ts.map +1 -1
- package/script/auth/mod.js +132 -137
- package/script/auth/proof.d.ts +3 -1
- package/script/auth/proof.d.ts.map +1 -1
- package/script/auth/proof.js +21 -15
- package/script/auth/protocol.d.ts +2457 -941
- package/script/auth/protocol.d.ts.map +1 -1
- package/script/auth/protocol.js +749 -377
- package/script/auth/schemas.d.ts +25 -4
- package/script/auth/schemas.d.ts.map +1 -1
- package/script/auth/schemas.js +16 -5
- package/script/auth/session_auth.d.ts +1 -1
- package/script/auth/session_auth.d.ts.map +1 -1
- package/script/auth/session_auth.js +7 -1
- package/script/client_connect.d.ts +2 -0
- package/script/client_connect.d.ts.map +1 -1
- package/script/client_connect.js +76 -15
- package/script/contract.d.ts +3 -0
- package/script/contract.d.ts.map +1 -1
- package/script/contract_support/mod.d.ts +422 -43
- package/script/contract_support/mod.d.ts.map +1 -1
- package/script/contract_support/mod.js +757 -51
- package/script/contract_support/protocol.d.ts +20 -5
- package/script/contract_support/protocol.d.ts.map +1 -1
- package/script/contract_support/protocol.js +20 -11
- package/script/contract_support/runtime.d.ts +11 -0
- package/script/contract_support/runtime.d.ts.map +1 -1
- package/script/contract_support/schema_pointers.d.ts.map +1 -1
- package/script/contract_support/schema_pointers.js +32 -14
- package/script/device.d.ts +2 -0
- package/script/device.d.ts.map +1 -1
- package/script/device.js +3 -0
- package/script/errors/AuthError.d.ts +1 -1
- package/script/errors/AuthError.d.ts.map +1 -1
- package/script/errors/AuthError.js +5 -1
- package/script/errors/index.d.ts +4 -4
- package/script/generated-sdk/auth/api.d.ts +27 -9
- package/script/generated-sdk/auth/api.d.ts.map +1 -1
- package/script/generated-sdk/auth/api.js +17 -591
- package/script/generated-sdk/auth/client.d.ts +91 -85
- package/script/generated-sdk/auth/client.d.ts.map +1 -1
- package/script/generated-sdk/auth/contract.d.ts +1 -1
- package/script/generated-sdk/auth/contract.d.ts.map +1 -1
- package/script/generated-sdk/auth/contract.js +4 -2
- package/script/generated-sdk/auth/mod.d.ts +1 -0
- package/script/generated-sdk/auth/mod.d.ts.map +1 -1
- package/script/generated-sdk/auth/owned_api.d.ts +3 -0
- package/script/generated-sdk/auth/owned_api.d.ts.map +1 -0
- package/script/generated-sdk/auth/owned_api.js +597 -0
- package/script/generated-sdk/auth/schemas.d.ts +9959 -5160
- package/script/generated-sdk/auth/schemas.d.ts.map +1 -1
- package/script/generated-sdk/auth/schemas.js +139 -140
- package/script/generated-sdk/auth/types.d.ts +2418 -1557
- package/script/generated-sdk/auth/types.d.ts.map +1 -1
- package/script/generated-sdk/auth/types.js +1 -1
- package/script/generated-sdk/health/api.d.ts +24 -9
- package/script/generated-sdk/health/api.d.ts.map +1 -1
- package/script/generated-sdk/health/api.js +13 -21
- package/script/generated-sdk/health/client.d.ts +2 -1
- package/script/generated-sdk/health/client.d.ts.map +1 -1
- package/script/generated-sdk/health/contract.d.ts.map +1 -1
- package/script/generated-sdk/health/contract.js +2 -0
- package/script/generated-sdk/health/owned_api.d.ts +3 -0
- package/script/generated-sdk/health/owned_api.d.ts.map +1 -0
- package/script/generated-sdk/health/owned_api.js +19 -0
- package/script/generated-sdk/health/types.d.ts +2 -0
- package/script/generated-sdk/health/types.d.ts.map +1 -1
- package/script/generated-sdk/jobs/api.d.ts +33 -9
- package/script/generated-sdk/jobs/api.d.ts.map +1 -1
- package/script/generated-sdk/jobs/api.js +23 -88
- package/script/generated-sdk/jobs/client.d.ts +9 -2
- package/script/generated-sdk/jobs/client.d.ts.map +1 -1
- package/script/generated-sdk/jobs/contract.d.ts +1 -1
- package/script/generated-sdk/jobs/contract.d.ts.map +1 -1
- package/script/generated-sdk/jobs/contract.js +4 -2
- package/script/generated-sdk/jobs/owned_api.d.ts +3 -0
- package/script/generated-sdk/jobs/owned_api.d.ts.map +1 -0
- package/script/generated-sdk/jobs/owned_api.js +154 -0
- package/script/generated-sdk/jobs/schemas.d.ts +336 -123
- package/script/generated-sdk/jobs/schemas.d.ts.map +1 -1
- package/script/generated-sdk/jobs/schemas.js +18 -16
- package/script/generated-sdk/jobs/types.d.ts +144 -34
- package/script/generated-sdk/jobs/types.d.ts.map +1 -1
- package/script/generated-sdk/jobs/types.js +38 -2
- package/script/generated-sdk/state/api.d.ts +27 -9
- package/script/generated-sdk/state/api.d.ts.map +1 -1
- package/script/generated-sdk/state/api.js +17 -72
- package/script/generated-sdk/state/client.d.ts +4 -2
- package/script/generated-sdk/state/client.d.ts.map +1 -1
- package/script/generated-sdk/state/contract.d.ts +1 -1
- package/script/generated-sdk/state/contract.d.ts.map +1 -1
- package/script/generated-sdk/state/contract.js +4 -2
- package/script/generated-sdk/state/owned_api.d.ts +3 -0
- package/script/generated-sdk/state/owned_api.d.ts.map +1 -0
- package/script/generated-sdk/state/owned_api.js +69 -0
- package/script/generated-sdk/state/schemas.d.ts +264 -284
- package/script/generated-sdk/state/schemas.d.ts.map +1 -1
- package/script/generated-sdk/state/schemas.js +6 -6
- package/script/generated-sdk/state/types.d.ts +24 -23
- package/script/generated-sdk/state/types.d.ts.map +1 -1
- package/script/generated-sdk/state/types.js +1 -1
- package/script/generated-sdk/trellis-core/api.d.ts +27 -9
- package/script/generated-sdk/trellis-core/api.d.ts.map +1 -1
- package/script/generated-sdk/trellis-core/api.js +17 -40
- package/script/generated-sdk/trellis-core/client.d.ts +5 -2
- package/script/generated-sdk/trellis-core/client.d.ts.map +1 -1
- package/script/generated-sdk/trellis-core/contract.d.ts +1 -1
- package/script/generated-sdk/trellis-core/contract.d.ts.map +1 -1
- package/script/generated-sdk/trellis-core/contract.js +4 -2
- package/script/generated-sdk/trellis-core/owned_api.d.ts +3 -0
- package/script/generated-sdk/trellis-core/owned_api.d.ts.map +1 -0
- package/script/generated-sdk/trellis-core/owned_api.js +45 -0
- package/script/generated-sdk/trellis-core/schemas.d.ts +259 -11
- package/script/generated-sdk/trellis-core/schemas.d.ts.map +1 -1
- package/script/generated-sdk/trellis-core/schemas.js +6 -4
- package/script/generated-sdk/trellis-core/types.d.ts +56 -1
- package/script/generated-sdk/trellis-core/types.d.ts.map +1 -1
- package/script/generated-sdk/trellis-core/types.js +1 -1
- package/script/helpers.d.ts.map +1 -1
- package/script/index.d.ts +4 -3
- package/script/index.d.ts.map +1 -1
- package/script/index.js +5 -2
- package/script/jobs.d.ts +10 -1
- package/script/jobs.d.ts.map +1 -1
- package/script/jobs.js +17 -2
- package/script/kv.d.ts.map +1 -1
- package/script/kv.js +10 -4
- package/script/models/auth/rpc/Logout.d.ts +4 -4
- package/script/models/auth/rpc/Logout.d.ts.map +1 -1
- package/script/models/auth/rpc/Logout.js +3 -3
- package/script/models/trellis/Page.d.ts +2 -0
- package/script/models/trellis/Page.d.ts.map +1 -0
- package/script/models/trellis/Page.js +6 -0
- package/script/models/trellis/State.d.ts +1 -0
- package/script/models/trellis/State.d.ts.map +1 -1
- package/script/models/trellis/State.js +1 -0
- package/script/models/trellis/rpc/StateList.d.ts +9 -12
- package/script/models/trellis/rpc/StateList.d.ts.map +1 -1
- package/script/models/trellis/rpc/StateList.js +16 -18
- package/script/npm/src/auth/browser/login.d.ts.map +1 -1
- package/script/npm/src/auth/browser/login.js +46 -3
- package/script/npm/src/auth/browser/portal.d.ts.map +1 -1
- package/script/npm/src/auth/browser/portal.js +5 -1
- package/script/npm/src/auth/browser/session.d.ts +18 -7
- package/script/npm/src/auth/browser/session.d.ts.map +1 -1
- package/script/npm/src/auth/browser/session.js +47 -11
- package/script/npm/src/auth/browser/storage.d.ts +6 -1
- package/script/npm/src/auth/browser/storage.d.ts.map +1 -1
- package/script/npm/src/auth/browser/storage.js +15 -3
- package/script/npm/src/auth/browser.d.ts +2 -2
- package/script/npm/src/auth/browser.d.ts.map +1 -1
- package/script/npm/src/auth/browser.js +2 -1
- package/script/npm/src/auth/device_activation.d.ts +36 -33
- package/script/npm/src/auth/device_activation.d.ts.map +1 -1
- package/script/npm/src/auth/device_activation.js +25 -21
- package/script/npm/src/auth/mod.d.ts +4 -4
- package/script/npm/src/auth/mod.d.ts.map +1 -1
- package/script/npm/src/auth/mod.js +132 -137
- package/script/npm/src/auth/proof.d.ts +3 -1
- package/script/npm/src/auth/proof.d.ts.map +1 -1
- package/script/npm/src/auth/proof.js +21 -15
- package/script/npm/src/auth/protocol.d.ts +2457 -941
- package/script/npm/src/auth/protocol.d.ts.map +1 -1
- package/script/npm/src/auth/protocol.js +749 -377
- package/script/npm/src/auth/schemas.d.ts +25 -4
- package/script/npm/src/auth/schemas.d.ts.map +1 -1
- package/script/npm/src/auth/schemas.js +16 -5
- package/script/npm/src/auth/session_auth.d.ts +1 -1
- package/script/npm/src/auth/session_auth.d.ts.map +1 -1
- package/script/npm/src/auth/session_auth.js +7 -1
- package/script/npm/src/client_connect.d.ts +2 -0
- package/script/npm/src/client_connect.d.ts.map +1 -1
- package/script/npm/src/client_connect.js +76 -15
- package/script/npm/src/contract.d.ts +3 -0
- package/script/npm/src/contract.d.ts.map +1 -1
- package/script/npm/src/contract_support/mod.d.ts +422 -43
- package/script/npm/src/contract_support/mod.d.ts.map +1 -1
- package/script/npm/src/contract_support/mod.js +757 -51
- package/script/npm/src/contract_support/protocol.d.ts +20 -5
- package/script/npm/src/contract_support/protocol.d.ts.map +1 -1
- package/script/npm/src/contract_support/protocol.js +20 -11
- package/script/npm/src/contract_support/runtime.d.ts +11 -0
- package/script/npm/src/contract_support/runtime.d.ts.map +1 -1
- package/script/npm/src/contract_support/schema_pointers.d.ts.map +1 -1
- package/script/npm/src/contract_support/schema_pointers.js +32 -14
- package/script/npm/src/device/deno.d.ts.map +1 -1
- package/script/npm/src/device/deno.js +6 -0
- package/script/npm/src/device.d.ts +2 -0
- package/script/npm/src/device.d.ts.map +1 -1
- package/script/npm/src/device.js +3 -0
- package/script/npm/src/errors/AuthError.d.ts +1 -1
- package/script/npm/src/errors/AuthError.d.ts.map +1 -1
- package/script/npm/src/errors/AuthError.js +5 -1
- package/script/npm/src/errors/index.d.ts +4 -4
- package/script/npm/src/generate.js +2 -19
- package/script/npm/src/helpers.d.ts.map +1 -1
- package/script/npm/src/index.d.ts +4 -3
- package/script/npm/src/index.d.ts.map +1 -1
- package/script/npm/src/index.js +5 -2
- package/script/npm/src/jobs.d.ts +10 -1
- package/script/npm/src/jobs.d.ts.map +1 -1
- package/script/npm/src/jobs.js +17 -2
- package/script/npm/src/kv.d.ts.map +1 -1
- package/script/npm/src/kv.js +10 -4
- package/script/npm/src/models/auth/rpc/Logout.d.ts +4 -4
- package/script/npm/src/models/auth/rpc/Logout.d.ts.map +1 -1
- package/script/npm/src/models/auth/rpc/Logout.js +3 -3
- package/script/npm/src/models/trellis/Page.d.ts +2 -0
- package/script/npm/src/models/trellis/Page.d.ts.map +1 -0
- package/script/npm/src/models/trellis/Page.js +6 -0
- package/script/npm/src/models/trellis/State.d.ts +1 -0
- package/script/npm/src/models/trellis/State.d.ts.map +1 -1
- package/script/npm/src/models/trellis/State.js +1 -0
- package/script/npm/src/models/trellis/rpc/StateList.d.ts +9 -12
- package/script/npm/src/models/trellis/rpc/StateList.d.ts.map +1 -1
- package/script/npm/src/models/trellis/rpc/StateList.js +16 -18
- package/script/npm/src/operations.d.ts +16 -7
- package/script/npm/src/operations.d.ts.map +1 -1
- package/script/npm/src/operations.js +84 -19
- package/script/npm/src/runtime_transport.d.ts +2 -0
- package/script/npm/src/runtime_transport.d.ts.map +1 -1
- package/script/npm/src/runtime_transport.js +2 -1
- package/script/npm/src/server/internal_jobs/active-job.d.ts +2 -1
- package/script/npm/src/server/internal_jobs/active-job.d.ts.map +1 -1
- package/script/npm/src/server/internal_jobs/active-job.js +3 -0
- package/script/npm/src/server/internal_jobs/job-manager.d.ts +4 -1
- package/script/npm/src/server/internal_jobs/job-manager.d.ts.map +1 -1
- package/script/npm/src/server/internal_jobs/job-manager.js +61 -1
- package/script/npm/src/server/internal_jobs/projection.js +1 -0
- package/script/npm/src/server/internal_jobs/runtime-worker.d.ts +13 -1
- package/script/npm/src/server/internal_jobs/runtime-worker.d.ts.map +1 -1
- package/script/npm/src/server/internal_jobs/runtime-worker.js +74 -13
- package/script/npm/src/server/internal_jobs/types.d.ts +19 -0
- package/script/npm/src/server/internal_jobs/types.d.ts.map +1 -1
- package/script/npm/src/server/internal_jobs/types.js +11 -1
- package/script/npm/src/server/runtime.d.ts +1 -0
- package/script/npm/src/server/runtime.d.ts.map +1 -1
- package/script/npm/src/server/service.d.ts +10 -1
- package/script/npm/src/server/service.d.ts.map +1 -1
- package/script/npm/src/server/service.js +188 -62
- package/script/npm/src/server/transfer.d.ts.map +1 -1
- package/script/npm/src/server/transfer.js +4 -0
- package/script/npm/src/server.d.ts.map +1 -1
- package/script/npm/src/server.js +336 -33
- package/script/npm/src/store.d.ts +8 -1
- package/script/npm/src/store.d.ts.map +1 -1
- package/script/npm/src/store.js +46 -8
- package/script/npm/src/transfer.d.ts +3 -0
- package/script/npm/src/transfer.d.ts.map +1 -1
- package/script/npm/src/transfer.js +19 -29
- package/script/npm/src/trellis.d.ts +85 -22
- package/script/npm/src/trellis.d.ts.map +1 -1
- package/script/npm/src/trellis.js +525 -61
- package/script/operations.d.ts +16 -7
- package/script/operations.d.ts.map +1 -1
- package/script/operations.js +84 -19
- package/script/runtime_transport.d.ts +2 -0
- package/script/runtime_transport.d.ts.map +1 -1
- package/script/runtime_transport.js +2 -1
- package/script/store.d.ts +8 -1
- package/script/store.d.ts.map +1 -1
- package/script/store.js +46 -8
- package/script/transfer.d.ts +3 -0
- package/script/transfer.d.ts.map +1 -1
- package/script/transfer.js +19 -29
- package/script/trellis.d.ts +85 -22
- package/script/trellis.d.ts.map +1 -1
- package/script/trellis.js +525 -61
- package/esm/models/trellis/Paginate.d.ts +0 -7
- package/esm/models/trellis/Paginate.d.ts.map +0 -1
- package/esm/models/trellis/Paginate.js +0 -5
- package/esm/npm/src/models/trellis/Paginate.d.ts +0 -7
- package/esm/npm/src/models/trellis/Paginate.d.ts.map +0 -1
- package/esm/npm/src/models/trellis/Paginate.js +0 -5
- package/script/models/trellis/Paginate.d.ts +0 -7
- package/script/models/trellis/Paginate.d.ts.map +0 -1
- package/script/models/trellis/Paginate.js +0 -11
- package/script/npm/src/models/trellis/Paginate.d.ts +0 -7
- package/script/npm/src/models/trellis/Paginate.d.ts.map +0 -1
- package/script/npm/src/models/trellis/Paginate.js +0 -11
|
@@ -69,7 +69,6 @@ export declare const TrellisBindingsGetResponseSchema: {
|
|
|
69
69
|
readonly type: "integer";
|
|
70
70
|
};
|
|
71
71
|
readonly payload: {
|
|
72
|
-
readonly additionalProperties: false;
|
|
73
72
|
readonly properties: {
|
|
74
73
|
readonly schema: {
|
|
75
74
|
readonly minLength: 1;
|
|
@@ -91,7 +90,6 @@ export declare const TrellisBindingsGetResponseSchema: {
|
|
|
91
90
|
readonly type: "string";
|
|
92
91
|
};
|
|
93
92
|
readonly result: {
|
|
94
|
-
readonly additionalProperties: false;
|
|
95
93
|
readonly properties: {
|
|
96
94
|
readonly schema: {
|
|
97
95
|
readonly minLength: 1;
|
|
@@ -219,6 +217,124 @@ export declare const TrellisCatalogResponseSchema: {
|
|
|
219
217
|
readonly const: "trellis.catalog.v1";
|
|
220
218
|
readonly type: "string";
|
|
221
219
|
};
|
|
220
|
+
readonly issues: {
|
|
221
|
+
readonly items: {
|
|
222
|
+
readonly properties: {
|
|
223
|
+
readonly actions: {
|
|
224
|
+
readonly items: {
|
|
225
|
+
readonly properties: {
|
|
226
|
+
readonly action: {
|
|
227
|
+
readonly anyOf: readonly [{
|
|
228
|
+
readonly const: "keep-current";
|
|
229
|
+
readonly type: "string";
|
|
230
|
+
}, {
|
|
231
|
+
readonly const: "force-replace";
|
|
232
|
+
readonly type: "string";
|
|
233
|
+
}];
|
|
234
|
+
};
|
|
235
|
+
readonly deploymentIds: {
|
|
236
|
+
readonly items: {
|
|
237
|
+
readonly type: "string";
|
|
238
|
+
};
|
|
239
|
+
readonly type: "array";
|
|
240
|
+
};
|
|
241
|
+
readonly description: {
|
|
242
|
+
readonly minLength: 1;
|
|
243
|
+
readonly type: "string";
|
|
244
|
+
};
|
|
245
|
+
readonly digests: {
|
|
246
|
+
readonly items: {
|
|
247
|
+
readonly type: "string";
|
|
248
|
+
};
|
|
249
|
+
readonly type: "array";
|
|
250
|
+
};
|
|
251
|
+
readonly label: {
|
|
252
|
+
readonly minLength: 1;
|
|
253
|
+
readonly type: "string";
|
|
254
|
+
};
|
|
255
|
+
readonly risk: {
|
|
256
|
+
readonly anyOf: readonly [{
|
|
257
|
+
readonly const: "recommended";
|
|
258
|
+
readonly type: "string";
|
|
259
|
+
}, {
|
|
260
|
+
readonly const: "dangerous";
|
|
261
|
+
readonly type: "string";
|
|
262
|
+
}];
|
|
263
|
+
};
|
|
264
|
+
};
|
|
265
|
+
readonly required: readonly ["action", "label", "description", "risk", "deploymentIds", "digests"];
|
|
266
|
+
readonly type: "object";
|
|
267
|
+
};
|
|
268
|
+
readonly type: "array";
|
|
269
|
+
};
|
|
270
|
+
readonly conflictingDeploymentIds: {
|
|
271
|
+
readonly items: {
|
|
272
|
+
readonly type: "string";
|
|
273
|
+
};
|
|
274
|
+
readonly type: "array";
|
|
275
|
+
};
|
|
276
|
+
readonly conflictingDigest: {
|
|
277
|
+
readonly type: "string";
|
|
278
|
+
};
|
|
279
|
+
readonly conflictingDigests: {
|
|
280
|
+
readonly items: {
|
|
281
|
+
readonly type: "string";
|
|
282
|
+
};
|
|
283
|
+
readonly type: "array";
|
|
284
|
+
};
|
|
285
|
+
readonly contractId: {
|
|
286
|
+
readonly type: "string";
|
|
287
|
+
};
|
|
288
|
+
readonly deploymentIds: {
|
|
289
|
+
readonly items: {
|
|
290
|
+
readonly type: "string";
|
|
291
|
+
};
|
|
292
|
+
readonly type: "array";
|
|
293
|
+
};
|
|
294
|
+
readonly digest: {
|
|
295
|
+
readonly type: "string";
|
|
296
|
+
};
|
|
297
|
+
readonly effectiveDeploymentIds: {
|
|
298
|
+
readonly items: {
|
|
299
|
+
readonly type: "string";
|
|
300
|
+
};
|
|
301
|
+
readonly type: "array";
|
|
302
|
+
};
|
|
303
|
+
readonly effectiveDigests: {
|
|
304
|
+
readonly items: {
|
|
305
|
+
readonly type: "string";
|
|
306
|
+
};
|
|
307
|
+
readonly type: "array";
|
|
308
|
+
};
|
|
309
|
+
readonly issueId: {
|
|
310
|
+
readonly minLength: 1;
|
|
311
|
+
readonly type: "string";
|
|
312
|
+
};
|
|
313
|
+
readonly kind: {
|
|
314
|
+
readonly anyOf: readonly [{
|
|
315
|
+
readonly const: "missing-active-contract";
|
|
316
|
+
readonly type: "string";
|
|
317
|
+
}, {
|
|
318
|
+
readonly const: "invalid-active-contract";
|
|
319
|
+
readonly type: "string";
|
|
320
|
+
}, {
|
|
321
|
+
readonly const: "incompatible-active-contract";
|
|
322
|
+
readonly type: "string";
|
|
323
|
+
}, {
|
|
324
|
+
readonly const: "invalid-active-contract-uses";
|
|
325
|
+
readonly type: "string";
|
|
326
|
+
}];
|
|
327
|
+
};
|
|
328
|
+
readonly message: {
|
|
329
|
+
readonly minLength: 1;
|
|
330
|
+
readonly type: "string";
|
|
331
|
+
};
|
|
332
|
+
};
|
|
333
|
+
readonly required: readonly ["issueId", "kind", "message", "deploymentIds", "actions"];
|
|
334
|
+
readonly type: "object";
|
|
335
|
+
};
|
|
336
|
+
readonly type: "array";
|
|
337
|
+
};
|
|
222
338
|
};
|
|
223
339
|
readonly required: readonly ["format", "contracts"];
|
|
224
340
|
readonly type: "object";
|
|
@@ -288,7 +404,6 @@ export declare const TrellisContractGetResponseSchema: {
|
|
|
288
404
|
readonly jobs: {
|
|
289
405
|
readonly patternProperties: {
|
|
290
406
|
readonly "^.*$": {
|
|
291
|
-
readonly additionalProperties: false;
|
|
292
407
|
readonly properties: {
|
|
293
408
|
readonly ackWaitMs: {
|
|
294
409
|
readonly minimum: 1;
|
|
@@ -320,7 +435,6 @@ export declare const TrellisContractGetResponseSchema: {
|
|
|
320
435
|
readonly type: "integer";
|
|
321
436
|
};
|
|
322
437
|
readonly payload: {
|
|
323
|
-
readonly additionalProperties: false;
|
|
324
438
|
readonly properties: {
|
|
325
439
|
readonly schema: {
|
|
326
440
|
readonly minLength: 1;
|
|
@@ -334,7 +448,6 @@ export declare const TrellisContractGetResponseSchema: {
|
|
|
334
448
|
readonly type: "boolean";
|
|
335
449
|
};
|
|
336
450
|
readonly result: {
|
|
337
|
-
readonly additionalProperties: false;
|
|
338
451
|
readonly properties: {
|
|
339
452
|
readonly schema: {
|
|
340
453
|
readonly minLength: 1;
|
|
@@ -380,7 +493,6 @@ export declare const TrellisContractGetResponseSchema: {
|
|
|
380
493
|
readonly kv: {
|
|
381
494
|
readonly patternProperties: {
|
|
382
495
|
readonly "^.*$": {
|
|
383
|
-
readonly additionalProperties: false;
|
|
384
496
|
readonly properties: {
|
|
385
497
|
readonly history: {
|
|
386
498
|
readonly default: 1;
|
|
@@ -400,7 +512,6 @@ export declare const TrellisContractGetResponseSchema: {
|
|
|
400
512
|
readonly type: "boolean";
|
|
401
513
|
};
|
|
402
514
|
readonly schema: {
|
|
403
|
-
readonly additionalProperties: false;
|
|
404
515
|
readonly properties: {
|
|
405
516
|
readonly schema: {
|
|
406
517
|
readonly minLength: 1;
|
|
@@ -425,7 +536,6 @@ export declare const TrellisContractGetResponseSchema: {
|
|
|
425
536
|
readonly store: {
|
|
426
537
|
readonly patternProperties: {
|
|
427
538
|
readonly "^.*$": {
|
|
428
|
-
readonly additionalProperties: false;
|
|
429
539
|
readonly properties: {
|
|
430
540
|
readonly maxObjectBytes: {
|
|
431
541
|
readonly minimum: 1;
|
|
@@ -481,12 +591,10 @@ export declare const TrellisContractGetResponseSchema: {
|
|
|
481
591
|
readonly state: {
|
|
482
592
|
readonly patternProperties: {
|
|
483
593
|
readonly "^.*$": {
|
|
484
|
-
readonly additionalProperties: false;
|
|
485
594
|
readonly properties: {
|
|
486
595
|
readonly acceptedVersions: {
|
|
487
596
|
readonly patternProperties: {
|
|
488
597
|
readonly "^.*$": {
|
|
489
|
-
readonly additionalProperties: false;
|
|
490
598
|
readonly properties: {
|
|
491
599
|
readonly schema: {
|
|
492
600
|
readonly minLength: 1;
|
|
@@ -509,7 +617,6 @@ export declare const TrellisContractGetResponseSchema: {
|
|
|
509
617
|
}];
|
|
510
618
|
};
|
|
511
619
|
readonly schema: {
|
|
512
|
-
readonly additionalProperties: false;
|
|
513
620
|
readonly properties: {
|
|
514
621
|
readonly schema: {
|
|
515
622
|
readonly minLength: 1;
|
|
@@ -546,4 +653,145 @@ export declare const TrellisContractGetResponseSchema: {
|
|
|
546
653
|
readonly required: readonly ["contract"];
|
|
547
654
|
readonly type: "object";
|
|
548
655
|
};
|
|
656
|
+
export declare const TrellisSurfaceStatusRequestSchema: {
|
|
657
|
+
readonly properties: {
|
|
658
|
+
readonly action: {
|
|
659
|
+
readonly anyOf: readonly [{
|
|
660
|
+
readonly const: "call";
|
|
661
|
+
readonly type: "string";
|
|
662
|
+
}, {
|
|
663
|
+
readonly const: "publish";
|
|
664
|
+
readonly type: "string";
|
|
665
|
+
}, {
|
|
666
|
+
readonly const: "subscribe";
|
|
667
|
+
readonly type: "string";
|
|
668
|
+
}, {
|
|
669
|
+
readonly const: "read";
|
|
670
|
+
readonly type: "string";
|
|
671
|
+
}];
|
|
672
|
+
};
|
|
673
|
+
readonly contractId: {
|
|
674
|
+
readonly minLength: 1;
|
|
675
|
+
readonly type: "string";
|
|
676
|
+
};
|
|
677
|
+
readonly kind: {
|
|
678
|
+
readonly anyOf: readonly [{
|
|
679
|
+
readonly const: "rpc";
|
|
680
|
+
readonly type: "string";
|
|
681
|
+
}, {
|
|
682
|
+
readonly const: "operation";
|
|
683
|
+
readonly type: "string";
|
|
684
|
+
}, {
|
|
685
|
+
readonly const: "event";
|
|
686
|
+
readonly type: "string";
|
|
687
|
+
}, {
|
|
688
|
+
readonly const: "feed";
|
|
689
|
+
readonly type: "string";
|
|
690
|
+
}];
|
|
691
|
+
};
|
|
692
|
+
readonly surface: {
|
|
693
|
+
readonly minLength: 1;
|
|
694
|
+
readonly type: "string";
|
|
695
|
+
};
|
|
696
|
+
};
|
|
697
|
+
readonly required: readonly ["contractId", "kind", "surface"];
|
|
698
|
+
readonly type: "object";
|
|
699
|
+
};
|
|
700
|
+
export declare const TrellisSurfaceStatusResponseSchema: {
|
|
701
|
+
readonly properties: {
|
|
702
|
+
readonly status: {
|
|
703
|
+
readonly anyOf: readonly [{
|
|
704
|
+
readonly properties: {
|
|
705
|
+
readonly liveImplementer: {
|
|
706
|
+
readonly type: "boolean";
|
|
707
|
+
};
|
|
708
|
+
readonly runtime: {
|
|
709
|
+
readonly anyOf: readonly [{
|
|
710
|
+
readonly const: "live";
|
|
711
|
+
readonly type: "string";
|
|
712
|
+
}, {
|
|
713
|
+
readonly const: "no_live_implementer";
|
|
714
|
+
readonly type: "string";
|
|
715
|
+
}, {
|
|
716
|
+
readonly const: "disabled";
|
|
717
|
+
readonly type: "string";
|
|
718
|
+
}];
|
|
719
|
+
};
|
|
720
|
+
readonly state: {
|
|
721
|
+
readonly const: "available";
|
|
722
|
+
readonly type: "string";
|
|
723
|
+
};
|
|
724
|
+
};
|
|
725
|
+
readonly required: readonly ["state", "liveImplementer", "runtime"];
|
|
726
|
+
readonly type: "object";
|
|
727
|
+
}, {
|
|
728
|
+
readonly properties: {
|
|
729
|
+
readonly reason: {
|
|
730
|
+
readonly anyOf: readonly [{
|
|
731
|
+
readonly const: "envelope_unavailable";
|
|
732
|
+
readonly type: "string";
|
|
733
|
+
}];
|
|
734
|
+
};
|
|
735
|
+
readonly state: {
|
|
736
|
+
readonly const: "unavailable";
|
|
737
|
+
readonly type: "string";
|
|
738
|
+
};
|
|
739
|
+
};
|
|
740
|
+
readonly required: readonly ["state", "reason"];
|
|
741
|
+
readonly type: "object";
|
|
742
|
+
}, {
|
|
743
|
+
readonly properties: {
|
|
744
|
+
readonly missingCapabilities: {
|
|
745
|
+
readonly items: {
|
|
746
|
+
readonly type: "string";
|
|
747
|
+
};
|
|
748
|
+
readonly type: "array";
|
|
749
|
+
};
|
|
750
|
+
readonly state: {
|
|
751
|
+
readonly const: "unauthorized";
|
|
752
|
+
readonly type: "string";
|
|
753
|
+
};
|
|
754
|
+
};
|
|
755
|
+
readonly required: readonly ["state", "missingCapabilities"];
|
|
756
|
+
readonly type: "object";
|
|
757
|
+
}, {
|
|
758
|
+
readonly properties: {
|
|
759
|
+
readonly contractId: {
|
|
760
|
+
readonly minLength: 1;
|
|
761
|
+
readonly type: "string";
|
|
762
|
+
};
|
|
763
|
+
readonly state: {
|
|
764
|
+
readonly const: "unknown_contract";
|
|
765
|
+
readonly type: "string";
|
|
766
|
+
};
|
|
767
|
+
};
|
|
768
|
+
readonly required: readonly ["state", "contractId"];
|
|
769
|
+
readonly type: "object";
|
|
770
|
+
}, {
|
|
771
|
+
readonly properties: {
|
|
772
|
+
readonly contractId: {
|
|
773
|
+
readonly minLength: 1;
|
|
774
|
+
readonly type: "string";
|
|
775
|
+
};
|
|
776
|
+
readonly kind: {
|
|
777
|
+
readonly minLength: 1;
|
|
778
|
+
readonly type: "string";
|
|
779
|
+
};
|
|
780
|
+
readonly state: {
|
|
781
|
+
readonly const: "unknown_surface";
|
|
782
|
+
readonly type: "string";
|
|
783
|
+
};
|
|
784
|
+
readonly surface: {
|
|
785
|
+
readonly minLength: 1;
|
|
786
|
+
readonly type: "string";
|
|
787
|
+
};
|
|
788
|
+
};
|
|
789
|
+
readonly required: readonly ["state", "contractId", "kind", "surface"];
|
|
790
|
+
readonly type: "object";
|
|
791
|
+
}];
|
|
792
|
+
};
|
|
793
|
+
};
|
|
794
|
+
readonly required: readonly ["status"];
|
|
795
|
+
readonly type: "object";
|
|
796
|
+
};
|
|
549
797
|
//# sourceMappingURL=schemas.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../../../../src/.build/generated-sdk/trellis-core/schemas.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,+BAA+B;;;;;;;;;;;;CAAiJ,CAAC;AAE9L,eAAO,MAAM,gCAAgC
|
|
1
|
+
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../../../../../../src/.build/generated-sdk/trellis-core/schemas.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,+BAA+B;;;;;;;;;;;;CAAiJ,CA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 -1,7 +1,9 @@
|
|
|
1
1
|
// Generated from ./generated/contracts/manifests/trellis.core@v1.json
|
|
2
2
|
export const TrellisBindingsGetRequestSchema = { "properties": { "contractId": { "minLength": 1, "type": "string" }, "digest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" } }, "type": "object" };
|
|
3
|
-
export const TrellisBindingsGetResponseSchema = { "properties": { "binding": { "properties": { "contractId": { "minLength": 1, "type": "string" }, "digest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "resources": { "properties": { "jobs": { "properties": { "namespace": { "minLength": 1, "type": "string" }, "queues": { "patternProperties": { "^.*$": { "properties": { "ackWaitMs": { "minimum": 1, "type": "integer" }, "backoffMs": { "items": { "minimum": 0, "type": "integer" }, "type": "array" }, "concurrency": { "minimum": 1, "type": "integer" }, "consumerName": { "minLength": 1, "type": "string" }, "defaultDeadlineMs": { "minimum": 1, "type": "integer" }, "dlq": { "type": "boolean" }, "logs": { "type": "boolean" }, "maxDeliver": { "minimum": 1, "type": "integer" }, "payload": { "
|
|
3
|
+
export const TrellisBindingsGetResponseSchema = { "properties": { "binding": { "properties": { "contractId": { "minLength": 1, "type": "string" }, "digest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" }, "resources": { "properties": { "jobs": { "properties": { "namespace": { "minLength": 1, "type": "string" }, "queues": { "patternProperties": { "^.*$": { "properties": { "ackWaitMs": { "minimum": 1, "type": "integer" }, "backoffMs": { "items": { "minimum": 0, "type": "integer" }, "type": "array" }, "concurrency": { "minimum": 1, "type": "integer" }, "consumerName": { "minLength": 1, "type": "string" }, "defaultDeadlineMs": { "minimum": 1, "type": "integer" }, "dlq": { "type": "boolean" }, "logs": { "type": "boolean" }, "maxDeliver": { "minimum": 1, "type": "integer" }, "payload": { "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "progress": { "type": "boolean" }, "publishPrefix": { "minLength": 1, "type": "string" }, "queueType": { "minLength": 1, "type": "string" }, "result": { "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "workSubject": { "minLength": 1, "type": "string" } }, "required": ["queueType", "publishPrefix", "workSubject", "consumerName", "payload", "maxDeliver", "backoffMs", "ackWaitMs", "progress", "logs", "dlq", "concurrency"], "type": "object" } }, "type": "object" }, "workStream": { "minLength": 1, "type": "string" } }, "required": ["namespace", "queues"], "type": "object" }, "kv": { "patternProperties": { "^.*$": { "properties": { "bucket": { "minLength": 1, "type": "string" }, "history": { "minimum": 1, "type": "integer" }, "maxValueBytes": { "minimum": 1, "type": "integer" }, "ttlMs": { "minimum": 0, "type": "integer" } }, "required": ["bucket", "history", "ttlMs"], "type": "object" } }, "type": "object" }, "store": { "patternProperties": { "^.*$": { "properties": { "maxObjectBytes": { "minimum": 1, "type": "integer" }, "maxTotalBytes": { "minimum": 1, "type": "integer" }, "name": { "minLength": 1, "type": "string" }, "ttlMs": { "minimum": 0, "type": "integer" } }, "required": ["name", "ttlMs"], "type": "object" } }, "type": "object" } }, "type": "object" } }, "required": ["contractId", "digest", "resources"], "type": "object" } }, "type": "object" };
|
|
4
4
|
export const TrellisCatalogRequestSchema = { "properties": {}, "type": "object" };
|
|
5
|
-
export const TrellisCatalogResponseSchema = { "properties": { "catalog": { "properties": { "contracts": { "items": { "properties": { "description": { "minLength": 1, "type": "string" }, "digest": { "type": "string" }, "displayName": { "minLength": 1, "type": "string" }, "id": { "type": "string" } }, "required": ["id", "digest", "displayName", "description"], "type": "object" }, "type": "array" }, "format": { "const": "trellis.catalog.v1", "type": "string" } }, "required": ["format", "contracts"], "type": "object" } }, "required": ["catalog"], "type": "object" };
|
|
5
|
+
export const TrellisCatalogResponseSchema = { "properties": { "catalog": { "properties": { "contracts": { "items": { "properties": { "description": { "minLength": 1, "type": "string" }, "digest": { "type": "string" }, "displayName": { "minLength": 1, "type": "string" }, "id": { "type": "string" } }, "required": ["id", "digest", "displayName", "description"], "type": "object" }, "type": "array" }, "format": { "const": "trellis.catalog.v1", "type": "string" }, "issues": { "items": { "properties": { "actions": { "items": { "properties": { "action": { "anyOf": [{ "const": "keep-current", "type": "string" }, { "const": "force-replace", "type": "string" }] }, "deploymentIds": { "items": { "type": "string" }, "type": "array" }, "description": { "minLength": 1, "type": "string" }, "digests": { "items": { "type": "string" }, "type": "array" }, "label": { "minLength": 1, "type": "string" }, "risk": { "anyOf": [{ "const": "recommended", "type": "string" }, { "const": "dangerous", "type": "string" }] } }, "required": ["action", "label", "description", "risk", "deploymentIds", "digests"], "type": "object" }, "type": "array" }, "conflictingDeploymentIds": { "items": { "type": "string" }, "type": "array" }, "conflictingDigest": { "type": "string" }, "conflictingDigests": { "items": { "type": "string" }, "type": "array" }, "contractId": { "type": "string" }, "deploymentIds": { "items": { "type": "string" }, "type": "array" }, "digest": { "type": "string" }, "effectiveDeploymentIds": { "items": { "type": "string" }, "type": "array" }, "effectiveDigests": { "items": { "type": "string" }, "type": "array" }, "issueId": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "missing-active-contract", "type": "string" }, { "const": "invalid-active-contract", "type": "string" }, { "const": "incompatible-active-contract", "type": "string" }, { "const": "invalid-active-contract-uses", "type": "string" }] }, "message": { "minLength": 1, "type": "string" } }, "required": ["issueId", "kind", "message", "deploymentIds", "actions"], "type": "object" }, "type": "array" } }, "required": ["format", "contracts"], "type": "object" } }, "required": ["catalog"], "type": "object" };
|
|
6
6
|
export const TrellisContractGetRequestSchema = { "properties": { "digest": { "pattern": "^[A-Za-z0-9_-]+$", "type": "string" } }, "required": ["digest"], "type": "object" };
|
|
7
|
-
export const TrellisContractGetResponseSchema = { "properties": { "contract": { "properties": { "description": { "minLength": 1, "type": "string" }, "displayName": { "minLength": 1, "type": "string" }, "errors": { "patternProperties": { "^.*$": { "type": "object" } }, "type": "object" }, "events": { "patternProperties": { "^.*$": { "type": "object" } }, "type": "object" }, "exports": { "properties": { "schemas": { "items": { "minLength": 1, "type": "string" }, "type": "array" } }, "type": "object" }, "format": { "const": "trellis.contract.v1", "type": "string" }, "id": { "minLength": 1, "type": "string" }, "jobs": { "patternProperties": { "^.*$": { "
|
|
7
|
+
export const TrellisContractGetResponseSchema = { "properties": { "contract": { "properties": { "description": { "minLength": 1, "type": "string" }, "displayName": { "minLength": 1, "type": "string" }, "errors": { "patternProperties": { "^.*$": { "type": "object" } }, "type": "object" }, "events": { "patternProperties": { "^.*$": { "type": "object" } }, "type": "object" }, "exports": { "properties": { "schemas": { "items": { "minLength": 1, "type": "string" }, "type": "array" } }, "type": "object" }, "format": { "const": "trellis.contract.v1", "type": "string" }, "id": { "minLength": 1, "type": "string" }, "jobs": { "patternProperties": { "^.*$": { "properties": { "ackWaitMs": { "minimum": 1, "type": "integer" }, "backoffMs": { "items": { "minimum": 0, "type": "integer" }, "type": "array" }, "concurrency": { "minimum": 1, "type": "integer" }, "defaultDeadlineMs": { "minimum": 1, "type": "integer" }, "dlq": { "type": "boolean" }, "logs": { "type": "boolean" }, "maxDeliver": { "minimum": 1, "type": "integer" }, "payload": { "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "progress": { "type": "boolean" }, "result": { "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" } }, "required": ["payload"], "type": "object" } }, "type": "object" }, "kind": { "anyOf": [{ "const": "service", "type": "string" }, { "const": "app", "type": "string" }, { "const": "device", "type": "string" }, { "const": "agent", "type": "string" }] }, "operations": { "patternProperties": { "^.*$": { "type": "object" } }, "type": "object" }, "resources": { "additionalProperties": false, "properties": { "kv": { "patternProperties": { "^.*$": { "properties": { "history": { "default": 1, "minimum": 1, "type": "integer" }, "maxValueBytes": { "minimum": 1, "type": "integer" }, "purpose": { "minLength": 1, "type": "string" }, "required": { "default": true, "type": "boolean" }, "schema": { "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "ttlMs": { "default": 0, "minimum": 0, "type": "integer" } }, "required": ["purpose", "schema"], "type": "object" } }, "type": "object" }, "store": { "patternProperties": { "^.*$": { "properties": { "maxObjectBytes": { "minimum": 1, "type": "integer" }, "maxTotalBytes": { "minimum": 1, "type": "integer" }, "purpose": { "minLength": 1, "type": "string" }, "required": { "default": true, "type": "boolean" }, "ttlMs": { "default": 0, "minimum": 0, "type": "integer" } }, "required": ["purpose"], "type": "object" } }, "type": "object" } }, "type": "object" }, "rpc": { "patternProperties": { "^.*$": { "type": "object" } }, "type": "object" }, "schemas": { "patternProperties": { "^.*$": { "anyOf": [{ "type": "object" }, { "type": "boolean" }] } }, "type": "object" }, "state": { "patternProperties": { "^.*$": { "properties": { "acceptedVersions": { "patternProperties": { "^.*$": { "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" } }, "type": "object" }, "kind": { "anyOf": [{ "const": "value", "type": "string" }, { "const": "map", "type": "string" }] }, "schema": { "properties": { "schema": { "minLength": 1, "type": "string" } }, "required": ["schema"], "type": "object" }, "stateVersion": { "minLength": 1, "type": "string" } }, "required": ["kind", "schema"], "type": "object" } }, "type": "object" }, "uses": { "patternProperties": { "^.*$": { "type": "object" } }, "type": "object" } }, "required": ["format", "id", "displayName", "description", "kind"], "type": "object" } }, "required": ["contract"], "type": "object" };
|
|
8
|
+
export const TrellisSurfaceStatusRequestSchema = { "properties": { "action": { "anyOf": [{ "const": "call", "type": "string" }, { "const": "publish", "type": "string" }, { "const": "subscribe", "type": "string" }, { "const": "read", "type": "string" }] }, "contractId": { "minLength": 1, "type": "string" }, "kind": { "anyOf": [{ "const": "rpc", "type": "string" }, { "const": "operation", "type": "string" }, { "const": "event", "type": "string" }, { "const": "feed", "type": "string" }] }, "surface": { "minLength": 1, "type": "string" } }, "required": ["contractId", "kind", "surface"], "type": "object" };
|
|
9
|
+
export const TrellisSurfaceStatusResponseSchema = { "properties": { "status": { "anyOf": [{ "properties": { "liveImplementer": { "type": "boolean" }, "runtime": { "anyOf": [{ "const": "live", "type": "string" }, { "const": "no_live_implementer", "type": "string" }, { "const": "disabled", "type": "string" }] }, "state": { "const": "available", "type": "string" } }, "required": ["state", "liveImplementer", "runtime"], "type": "object" }, { "properties": { "reason": { "anyOf": [{ "const": "envelope_unavailable", "type": "string" }] }, "state": { "const": "unavailable", "type": "string" } }, "required": ["state", "reason"], "type": "object" }, { "properties": { "missingCapabilities": { "items": { "type": "string" }, "type": "array" }, "state": { "const": "unauthorized", "type": "string" } }, "required": ["state", "missingCapabilities"], "type": "object" }, { "properties": { "contractId": { "minLength": 1, "type": "string" }, "state": { "const": "unknown_contract", "type": "string" } }, "required": ["state", "contractId"], "type": "object" }, { "properties": { "contractId": { "minLength": 1, "type": "string" }, "kind": { "minLength": 1, "type": "string" }, "state": { "const": "unknown_surface", "type": "string" }, "surface": { "minLength": 1, "type": "string" } }, "required": ["state", "contractId", "kind", "surface"], "type": "object" }] } }, "required": ["status"], "type": "object" };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { RpcHandlerFn } from "@qlever-llc/trellis";
|
|
2
2
|
import type { API } from "./api.js";
|
|
3
3
|
export declare const CONTRACT_ID: "trellis.core@v1";
|
|
4
|
-
export declare const CONTRACT_DIGEST: "
|
|
4
|
+
export declare const CONTRACT_DIGEST: "BkfjxNYNKBh_BnJ4e4Iu5OVBah_ENZJ4UV1F1_n_hwI";
|
|
5
5
|
export type TrellisBindingsGetInput = {
|
|
6
6
|
contractId?: string;
|
|
7
7
|
digest?: string;
|
|
@@ -66,6 +66,27 @@ export type TrellisCatalogOutput = {
|
|
|
66
66
|
id: string;
|
|
67
67
|
}>;
|
|
68
68
|
format: "trellis.catalog.v1";
|
|
69
|
+
issues?: Array<{
|
|
70
|
+
actions: Array<{
|
|
71
|
+
action: ("keep-current" | "force-replace");
|
|
72
|
+
deploymentIds: Array<string>;
|
|
73
|
+
description: string;
|
|
74
|
+
digests: Array<string>;
|
|
75
|
+
label: string;
|
|
76
|
+
risk: ("recommended" | "dangerous");
|
|
77
|
+
}>;
|
|
78
|
+
conflictingDeploymentIds?: Array<string>;
|
|
79
|
+
conflictingDigest?: string;
|
|
80
|
+
conflictingDigests?: Array<string>;
|
|
81
|
+
contractId?: string;
|
|
82
|
+
deploymentIds: Array<string>;
|
|
83
|
+
digest?: string;
|
|
84
|
+
effectiveDeploymentIds?: Array<string>;
|
|
85
|
+
effectiveDigests?: Array<string>;
|
|
86
|
+
issueId: string;
|
|
87
|
+
kind: ("missing-active-contract" | "invalid-active-contract" | "incompatible-active-contract" | "invalid-active-contract-uses");
|
|
88
|
+
message: string;
|
|
89
|
+
}>;
|
|
69
90
|
};
|
|
70
91
|
};
|
|
71
92
|
export type TrellisContractGetInput = {
|
|
@@ -156,6 +177,33 @@ export type TrellisContractGetOutput = {
|
|
|
156
177
|
};
|
|
157
178
|
};
|
|
158
179
|
};
|
|
180
|
+
export type TrellisSurfaceStatusInput = {
|
|
181
|
+
action?: ("call" | "publish" | "subscribe" | "read");
|
|
182
|
+
contractId: string;
|
|
183
|
+
kind: ("rpc" | "operation" | "event" | "feed");
|
|
184
|
+
surface: string;
|
|
185
|
+
};
|
|
186
|
+
export type TrellisSurfaceStatusOutput = {
|
|
187
|
+
status: ({
|
|
188
|
+
liveImplementer: boolean;
|
|
189
|
+
runtime: ("live" | "no_live_implementer" | "disabled");
|
|
190
|
+
state: "available";
|
|
191
|
+
} | {
|
|
192
|
+
reason: ("envelope_unavailable");
|
|
193
|
+
state: "unavailable";
|
|
194
|
+
} | {
|
|
195
|
+
missingCapabilities: Array<string>;
|
|
196
|
+
state: "unauthorized";
|
|
197
|
+
} | {
|
|
198
|
+
contractId: string;
|
|
199
|
+
state: "unknown_contract";
|
|
200
|
+
} | {
|
|
201
|
+
contractId: string;
|
|
202
|
+
kind: string;
|
|
203
|
+
state: "unknown_surface";
|
|
204
|
+
surface: string;
|
|
205
|
+
});
|
|
206
|
+
};
|
|
159
207
|
export interface RpcMap {
|
|
160
208
|
"Trellis.Bindings.Get": {
|
|
161
209
|
input: TrellisBindingsGetInput;
|
|
@@ -169,12 +217,19 @@ export interface RpcMap {
|
|
|
169
217
|
input: TrellisContractGetInput;
|
|
170
218
|
output: TrellisContractGetOutput;
|
|
171
219
|
};
|
|
220
|
+
"Trellis.Surface.Status": {
|
|
221
|
+
input: TrellisSurfaceStatusInput;
|
|
222
|
+
output: TrellisSurfaceStatusOutput;
|
|
223
|
+
};
|
|
172
224
|
}
|
|
173
225
|
export type TrellisBindingsGetHandler = RpcHandlerFn<typeof API.owned, "Trellis.Bindings.Get">;
|
|
174
226
|
export type TrellisCatalogHandler = RpcHandlerFn<typeof API.owned, "Trellis.Catalog">;
|
|
175
227
|
export type TrellisContractGetHandler = RpcHandlerFn<typeof API.owned, "Trellis.Contract.Get">;
|
|
228
|
+
export type TrellisSurfaceStatusHandler = RpcHandlerFn<typeof API.owned, "Trellis.Surface.Status">;
|
|
176
229
|
export interface EventMap {
|
|
177
230
|
}
|
|
231
|
+
export interface FeedMap {
|
|
232
|
+
}
|
|
178
233
|
export interface SubjectMap {
|
|
179
234
|
}
|
|
180
235
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/.build/generated-sdk/trellis-core/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACxD,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,UAAU,CAAC;AAEpC,eAAO,MAAM,WAAW,EAAG,iBAA0B,CAAC;AACtD,eAAO,MAAM,eAAe,EAAG,6CAAsD,CAAC;AAEtF,MAAM,MAAM,uBAAuB,GAAG;IAAE,UAAU,CAAC,EAAE,MAAM,CAAC;IAAC,MAAM,CAAC,EAAE,MAAM,CAAC;CAAE,CAAC;AAChF,MAAM,MAAM,wBAAwB,GAAG;IAAE,OAAO,CAAC,EAAE;QAAE,UAAU,EAAE,MAAM,CAAC;QAAC,MAAM,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE;YAAE,IAAI,CAAC,EAAE;gBAA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AG,CAAC,KAAK,EAAE,wBAAwB,CAAC,CAAC;AAEnG,MAAM,WAAW,QAAQ;CACxB;AAED,MAAM,WAAW,OAAO;CACvB;AAED,MAAM,WAAW,UAAU;CAC1B"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export const CONTRACT_ID = "trellis.core@v1";
|
|
2
|
-
export const CONTRACT_DIGEST = "
|
|
2
|
+
export const CONTRACT_DIGEST = "BkfjxNYNKBh_BnJ4e4Iu5OVBah_ENZJ4UV1F1_n_hwI";
|
package/esm/helpers.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../helpers.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../../helpers.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,wBAAgB,QAAQ,CACtB,QAAQ,EAAE,MAAM,EAChB,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,CAAC,EAC/C,IAAI,GAAE;IAAE,cAAc,EAAE,OAAO,CAAA;CAA8B,GAC5D,MAAM,CAWR;AAGD,wBAAgB,UAAU,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAYhD;AAGD,wBAAgB,WAAW,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAW/C;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAWnD"}
|
package/esm/index.d.ts
CHANGED
|
@@ -8,7 +8,8 @@ export type { TrellisConnectionStatus } from "./connection.ts";
|
|
|
8
8
|
export type { HealthCheckFn, HealthCheckResult, HealthHeartbeat, HealthResponse, ServiceHealthCheck, ServiceHealthCheckFn, ServiceHealthInfo, ServiceHealthInfoFn, } from "./health.ts";
|
|
9
9
|
export { createHealthHeartbeat, HealthCheckResultSchema, HealthHeartbeatHeaderSchema, HealthHeartbeatSchema, HealthHeartbeatServiceSchema, HealthInfoSchema, HealthResponseSchema, HealthRpcSchema, runAllHealthChecks, runAllServiceHealthChecks, runHealthCheck, runServiceHealthCheck, ServiceHealth, } from "./health.ts";
|
|
10
10
|
export { defineError } from "./contract_support/mod.ts";
|
|
11
|
-
export
|
|
11
|
+
export { PageRequestSchema, PageResponseSchema, } from "./contract_support/mod.ts";
|
|
12
|
+
export type { ErrorClass, InferRuntimeRpcError, PageRequest, PageResponse, RpcErrorClass, RuntimeRpcErrorDesc, SerializableErrorData, } from "./contract_support/mod.ts";
|
|
12
13
|
export { defineAgentContract, defineAppContract, defineDeviceContract, defineServiceContract, } from "./contract.ts";
|
|
13
14
|
export type { ContractApiViews, ContractDependencyUse, ContractModule, ContractUseFn, DefineContractInput, EmptyApi, SdkContractModule, TrellisApiLike, TrellisContractV1, UseSpec, } from "./contract.ts";
|
|
14
15
|
export { AsyncResult, BaseError, err, isErr, isOk, ok, Result, } from "@qlever-llc/result";
|
|
@@ -27,9 +28,9 @@ export { TypedStore, TypedStoreEntry } from "./store.ts";
|
|
|
27
28
|
export type { StoreBody, StoreInfo, StoreOpenOptions, StorePutOptions, StoreStatus, StoreWaitOptions, } from "./store.ts";
|
|
28
29
|
export { createTransferHandle, FileInfoSchema } from "./transfer.ts";
|
|
29
30
|
export type { FileInfo, ReceiveTransferGrant, ReceiveTransferHandle, SendTransferGrant, SendTransferHandle, TransferBody, TransferGrant, } from "./transfer.ts";
|
|
30
|
-
export type { AcceptedOperationEvent, CancelledOperationEvent, CompletedOperationEvent, CompletedTransfer, FailedOperationEvent, OperationEvent, OperationInputBuilder, OperationObserverCallbacks, OperationRef, OperationRefData, OperationSnapshot, OperationState, OperationTransferProgress, ProgressOperationEvent, ProgressOperationSnapshot, StartedOperationEvent, StartedTransfer, TerminalOperation, TransferCapableOperationInputBuilder, TransferOperationBuilder, TransferOperationEvent, TransferOperationSnapshot, } from "./operations.ts";
|
|
31
|
+
export type { AcceptedOperationEvent, CancelledOperationEvent, CompletedOperationEvent, CompletedTransfer, FailedOperationEvent, OperationEvent, OperationInputBuilder, OperationObserverCallbacks, OperationRef, OperationRefData, OperationSignalAck, OperationSnapshot, OperationState, OperationTransferProgress, ProgressOperationEvent, ProgressOperationSnapshot, StartedOperationEvent, StartedTransfer, TerminalOperation, TransferCapableOperationInputBuilder, TransferOperationBuilder, TransferOperationEvent, TransferOperationSnapshot, } from "./operations.ts";
|
|
31
32
|
export { controlSubject, OperationInvoker } from "./operations.ts";
|
|
32
|
-
export type { AcceptedOperation, ClientTrellis, ConnectedTrellisClient, EventHandler, EventName, EventOpts, EventPayload, EventType, HandlerJobQueue, HandlerJobsFacade, HandlerKvFacade, HandlerStoreHandle, HandlerTrellis, HandlerTrellisForContract, MapStateStoreClient, OperationHandlerContext, OperationRegistration, OperationTransferContextOf, OperationTransferHandle, RequestOpts, RpcArgs, RpcHandlerContext, RpcHandlerErrorOf, RpcHandlerFn, RpcInputOf, RpcMethodNameOf, RpcOutputOf, RpcRequestErrorOf, RpcResult, RuntimeStateStoresForContract, RuntimeStateStoreShape, StateFacade, TrellisFor, ValueStateStoreClient, } from "./trellis.ts";
|
|
33
|
+
export type { AcceptedOperation, ClientTrellis, ConnectedTrellisClient, EventHandler, EventName, EventOpts, EventPayload, EventType, FeedInputBuilder, FeedSubscribeOpts, FeedSubscription, HandlerJobQueue, HandlerJobsFacade, HandlerKvFacade, HandlerStoreHandle, HandlerTrellis, HandlerTrellisForContract, MapStateStoreClient, OperationHandlerContext, OperationRegistration, OperationTransferContextOf, OperationTransferHandle, RequestOpts, RpcArgs, RpcHandlerContext, RpcHandlerErrorOf, RpcHandlerFn, RpcInputOf, RpcMethodNameOf, RpcOutputOf, RpcRequestErrorOf, RpcResult, RuntimeStateStoresForContract, RuntimeStateStoreShape, StateFacade, TrellisFor, ValueStateStoreClient, } from "./trellis.ts";
|
|
33
34
|
export { Trellis } from "./trellis.ts";
|
|
34
35
|
export type { TrellisDeviceConnection } from "./device.ts";
|
|
35
36
|
//# sourceMappingURL=index.d.ts.map
|
package/esm/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,eAAe,EACf,UAAU,EACV,cAAc,EACd,kBAAkB,EAClB,qBAAqB,EACrB,mBAAmB,EACnB,aAAa,EACb,qBAAqB,EACrB,cAAc,EACd,SAAS,GACV,MAAM,WAAW,CAAC;AACnB,YAAY,EACV,YAAY,EACZ,mBAAmB,EACnB,kBAAkB,EAClB,gBAAgB,GACjB,MAAM,WAAW,CAAC;AACnB,OAAO,EACL,gBAAgB,EAChB,iBAAiB,EACjB,kBAAkB,EAClB,UAAU,EACV,WAAW,EACX,MAAM,EACN,YAAY,GACb,MAAM,gBAAgB,CAAC;AACxB,YAAY,EAAE,eAAe,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC7E,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACpD,YAAY,EAAE,uBAAuB,EAAE,MAAM,iBAAiB,CAAC;AAC/D,YAAY,EACV,aAAa,EACb,iBAAiB,EACjB,eAAe,EACf,cAAc,EACd,kBAAkB,EAClB,oBAAoB,EACpB,iBAAiB,EACjB,mBAAmB,GACpB,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,qBAAqB,EACrB,uBAAuB,EACvB,2BAA2B,EAC3B,qBAAqB,EACrB,4BAA4B,EAC5B,gBAAgB,EAChB,oBAAoB,EACpB,eAAe,EACf,kBAAkB,EAClB,yBAAyB,EACzB,cAAc,EACd,qBAAqB,EACrB,aAAa,GACd,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,YAAY,EACV,UAAU,EACV,oBAAoB,EACpB,aAAa,EACb,mBAAmB,EACnB,qBAAqB,GACtB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,mBAAmB,EACnB,iBAA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U,EACV,qBAAqB,GACtB,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,YAAY,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,QAAQ,EACR,eAAe,EACf,UAAU,EACV,cAAc,EACd,kBAAkB,EAClB,qBAAqB,EACrB,mBAAmB,EACnB,aAAa,EACb,qBAAqB,EACrB,cAAc,EACd,SAAS,GACV,MAAM,WAAW,CAAC;AACnB,YAAY,EACV,YAAY,EACZ,mBAAmB,EACnB,kBAAkB,EAClB,gBAAgB,GACjB,MAAM,WAAW,CAAC;AACnB,OAAO,EACL,gBAAgB,EAChB,iBAAiB,EACjB,kBAAkB,EAClB,UAAU,EACV,WAAW,EACX,MAAM,EACN,YAAY,GACb,MAAM,gBAAgB,CAAC;AACxB,YAAY,EAAE,eAAe,EAAE,SAAS,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAC;AAC7E,OAAO,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACpD,YAAY,EAAE,uBAAuB,EAAE,MAAM,iBAAiB,CAAC;AAC/D,YAAY,EACV,aAAa,EACb,iBAAiB,EACjB,eAAe,EACf,cAAc,EACd,kBAAkB,EAClB,oBAAoB,EACpB,iBAAiB,EACjB,mBAAmB,GACpB,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,qBAAqB,EACrB,uBAAuB,EACvB,2BAA2B,EAC3B,qBAAqB,EACrB,4BAA4B,EAC5B,gBAAgB,EAChB,oBAAoB,EACpB,eAAe,EACf,kBAAkB,EAClB,yBAAyB,EACzB,cAAc,EACd,qBAAqB,EACrB,aAAa,GACd,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,EACL,iBAAiB,EACjB,kBAAkB,GACnB,MAA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AAmB,EACnB,uBAAuB,EACvB,qBAAqB,EACrB,0BAA0B,EAC1B,uBAAuB,EACvB,WAAW,EACX,OAAO,EACP,iBAAiB,EACjB,iBAAiB,EACjB,YAAY,EACZ,UAAU,EACV,eAAe,EACf,WAAW,EACX,iBAAiB,EACjB,SAAS,EACT,6BAA6B,EAC7B,sBAAsB,EACtB,WAAW,EACX,UAAU,EACV,qBAAqB,GACtB,MAAM,cAAc,CAAC;AACtB,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,YAAY,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAC"}
|
package/esm/index.js
CHANGED
|
@@ -3,6 +3,7 @@ export { canonicalizeJson, CATALOG_FORMAT_V1, CONTRACT_FORMAT_V1, digestJson, is
|
|
|
3
3
|
export { TrellisConnection } from "./connection.js";
|
|
4
4
|
export { createHealthHeartbeat, HealthCheckResultSchema, HealthHeartbeatHeaderSchema, HealthHeartbeatSchema, HealthHeartbeatServiceSchema, HealthInfoSchema, HealthResponseSchema, HealthRpcSchema, runAllHealthChecks, runAllServiceHealthChecks, runHealthCheck, runServiceHealthCheck, ServiceHealth, } from "./health.js";
|
|
5
5
|
export { defineError } from "./contract_support/mod.js";
|
|
6
|
+
export { PageRequestSchema, PageResponseSchema, } from "./contract_support/mod.js";
|
|
6
7
|
export { defineAgentContract, defineAppContract, defineDeviceContract, defineServiceContract, } from "./contract.js";
|
|
7
8
|
export { AsyncResult, BaseError, err, isErr, isOk, ok, Result, } from "@qlever-llc/result";
|
|
8
9
|
export { ClientAuthHandledError, TrellisClient } from "./client_connect.js";
|