@vertesia/common 1.2.0 → 1.4.0-dev.20260614.160504Z
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/LICENSE +198 -10
- package/lib/{types/Progress.d.ts → Progress.d.ts} +1 -0
- package/lib/Progress.d.ts.map +1 -0
- package/lib/{esm/Progress.js → Progress.js} +2 -2
- package/lib/Progress.js.map +1 -0
- package/lib/access-control.d.ts +144 -0
- package/lib/access-control.d.ts.map +1 -0
- package/lib/{esm/access-control.js → access-control.js} +35 -0
- package/lib/access-control.js.map +1 -0
- package/lib/agent-request-template.d.ts +4 -0
- package/lib/agent-request-template.d.ts.map +1 -0
- package/lib/agent-request-template.js +46 -0
- package/lib/agent-request-template.js.map +1 -0
- package/lib/{types/analytics.d.ts → analytics.d.ts} +3 -2
- package/lib/analytics.d.ts.map +1 -0
- package/lib/{cjs/analytics.js.map → analytics.js.map} +1 -1
- package/lib/{types/apikey.d.ts → apikey.d.ts} +34 -4
- package/lib/apikey.d.ts.map +1 -0
- package/lib/{esm/apikey.js → apikey.js} +1 -0
- package/lib/apikey.js.map +1 -0
- package/lib/{types/apps.d.ts → apps.d.ts} +430 -35
- package/lib/apps.d.ts.map +1 -0
- package/lib/apps.js +158 -0
- package/lib/apps.js.map +1 -0
- package/lib/{types/ask-user.d.ts → ask-user.d.ts} +1 -0
- package/lib/ask-user.d.ts.map +1 -0
- package/lib/{esm/ask-user.js.map → ask-user.js.map} +1 -1
- package/lib/{types/audit-trail.d.ts → audit-trail.d.ts} +2 -1
- package/lib/audit-trail.d.ts.map +1 -0
- package/lib/audit-trail.js +3 -0
- package/lib/audit-trail.js.map +1 -0
- package/lib/browser-credentials.d.ts +123 -0
- package/lib/browser-credentials.d.ts.map +1 -0
- package/lib/browser-credentials.js +2 -0
- package/lib/browser-credentials.js.map +1 -0
- package/lib/{types/channels.d.ts → channels.d.ts} +3 -2
- package/lib/channels.d.ts.map +1 -0
- package/lib/{esm/channels.js → channels.js} +3 -3
- package/lib/channels.js.map +1 -0
- package/lib/{types/common.d.ts → common.d.ts} +18 -10
- package/lib/common.d.ts.map +1 -0
- package/lib/common.js.map +1 -0
- package/lib/{types/cost-analytics.d.ts → cost-analytics.d.ts} +2 -3
- package/lib/cost-analytics.d.ts.map +1 -0
- package/lib/cost-analytics.js.map +1 -0
- package/lib/{types/data-platform.d.ts → data-platform.d.ts} +134 -7
- package/lib/data-platform.d.ts.map +1 -0
- package/lib/data-platform.js.map +1 -0
- package/lib/{types/email.d.ts → email.d.ts} +6 -2
- package/lib/email.d.ts.map +1 -0
- package/lib/{esm/email.js → email.js} +2 -2
- package/lib/email.js.map +1 -0
- package/lib/embeddings.d.ts +65 -0
- package/lib/embeddings.d.ts.map +1 -0
- package/lib/embeddings.js +2 -0
- package/lib/embeddings.js.map +1 -0
- package/lib/{types/environment.d.ts → environment.d.ts} +19 -5
- package/lib/environment.d.ts.map +1 -0
- package/lib/{esm/environment.js → environment.js} +17 -7
- package/lib/environment.js.map +1 -0
- package/lib/{types/facets.d.ts → facets.d.ts} +6 -5
- package/lib/facets.d.ts.map +1 -0
- package/lib/facets.js.map +1 -0
- package/lib/{types/group.d.ts → group.d.ts} +15 -2
- package/lib/group.d.ts.map +1 -0
- package/lib/group.js +3 -0
- package/lib/group.js.map +1 -0
- package/lib/host-utils.d.ts +8 -0
- package/lib/host-utils.d.ts.map +1 -0
- package/lib/host-utils.js +84 -0
- package/lib/host-utils.js.map +1 -0
- package/lib/{types/index.d.ts → index.d.ts} +19 -10
- package/lib/index.d.ts.map +1 -0
- package/lib/{esm/index.js → index.js} +18 -10
- package/lib/index.js.map +1 -0
- package/lib/integrations.d.ts +151 -0
- package/lib/integrations.d.ts.map +1 -0
- package/lib/{esm/integrations.js → integrations.js} +6 -0
- package/lib/integrations.js.map +1 -0
- package/lib/{types/interaction.d.ts → interaction.d.ts} +99 -56
- package/lib/interaction.d.ts.map +1 -0
- package/lib/{esm/interaction.js → interaction.js} +3 -3
- package/lib/interaction.js.map +1 -0
- package/lib/json-schema.d.ts +2 -0
- package/lib/json-schema.d.ts.map +1 -0
- package/lib/{cjs/json-schema.js.map → json-schema.js.map} +1 -1
- package/lib/json.d.ts +2 -0
- package/lib/json.d.ts.map +1 -0
- package/lib/json.js.map +1 -0
- package/lib/{types/meters.d.ts → meters.d.ts} +2 -1
- package/lib/meters.d.ts.map +1 -0
- package/lib/meters.js.map +1 -0
- package/lib/model_utility.d.ts +2 -0
- package/lib/model_utility.d.ts.map +1 -0
- package/lib/model_utility.js +2 -0
- package/lib/model_utility.js.map +1 -0
- package/lib/oauth-scopes.d.ts +18 -0
- package/lib/oauth-scopes.d.ts.map +1 -0
- package/lib/oauth-scopes.js +57 -0
- package/lib/oauth-scopes.js.map +1 -0
- package/lib/{types/oauth-server.d.ts → oauth-server.d.ts} +64 -4
- package/lib/oauth-server.d.ts.map +1 -0
- package/lib/{cjs/oauth-server.js.map → oauth-server.js.map} +1 -1
- package/lib/{types/oauth.d.ts → oauth.d.ts} +1 -0
- package/lib/oauth.d.ts.map +1 -0
- package/lib/oauth.js.map +1 -0
- package/lib/{types/payload.d.ts → payload.d.ts} +5 -4
- package/lib/payload.d.ts.map +1 -0
- package/lib/{cjs/payload.js.map → payload.js.map} +1 -1
- package/lib/{types/pending-asks.d.ts → pending-asks.d.ts} +8 -1
- package/lib/pending-asks.d.ts.map +1 -0
- package/lib/pending-asks.js.map +1 -0
- package/lib/principal-context.d.ts +27 -0
- package/lib/principal-context.d.ts.map +1 -0
- package/lib/principal-context.js +2 -0
- package/lib/principal-context.js.map +1 -0
- package/lib/{types/project.d.ts → project.d.ts} +278 -49
- package/lib/project.d.ts.map +1 -0
- package/lib/project.js +230 -0
- package/lib/project.js.map +1 -0
- package/lib/{types/prompt.d.ts → prompt.d.ts} +16 -9
- package/lib/prompt.d.ts.map +1 -0
- package/lib/prompt.js.map +1 -0
- package/lib/{types/query.d.ts → query.d.ts} +11 -8
- package/lib/query.d.ts.map +1 -0
- package/lib/query.js.map +1 -0
- package/lib/{types/rate-limiter.d.ts → rate-limiter.d.ts} +1 -0
- package/lib/rate-limiter.d.ts.map +1 -0
- package/lib/rate-limiter.js.map +1 -0
- package/lib/{types/refs.d.ts → refs.d.ts} +1 -0
- package/lib/refs.d.ts.map +1 -0
- package/lib/refs.js.map +1 -0
- package/lib/roles.d.ts +19 -0
- package/lib/roles.d.ts.map +1 -0
- package/lib/roles.js +228 -0
- package/lib/roles.js.map +1 -0
- package/lib/{types/runs.d.ts → runs.d.ts} +3 -2
- package/lib/runs.d.ts.map +1 -0
- package/lib/runs.js.map +1 -0
- package/lib/secrets.d.ts +47 -0
- package/lib/secrets.d.ts.map +1 -0
- package/lib/secrets.js +2 -0
- package/lib/secrets.js.map +1 -0
- package/lib/{types/skill.d.ts → skill.d.ts} +2 -1
- package/lib/skill.d.ts.map +1 -0
- package/lib/skill.js.map +1 -0
- package/lib/{types/store → store}/activity-catalog.d.ts +2 -1
- package/lib/store/activity-catalog.d.ts.map +1 -0
- package/lib/store/activity-catalog.js.map +1 -0
- package/lib/{types/store → store}/agent-run.d.ts +206 -35
- package/lib/store/agent-run.d.ts.map +1 -0
- package/lib/store/agent-run.js.map +1 -0
- package/lib/{types/store → store}/collections.d.ts +18 -9
- package/lib/store/collections.d.ts.map +1 -0
- package/lib/store/collections.js.map +1 -0
- package/lib/{types/store → store}/common.d.ts +1 -0
- package/lib/store/common.d.ts.map +1 -0
- package/lib/{cjs → store}/common.js.map +1 -1
- package/lib/{types/store → store}/conversation-state.d.ts +36 -5
- package/lib/store/conversation-state.d.ts.map +1 -0
- package/lib/{esm/store → store}/conversation-state.js +3 -0
- package/lib/store/conversation-state.js.map +1 -0
- package/lib/{types/store → store}/doc-analyzer.d.ts +20 -14
- package/lib/store/doc-analyzer.d.ts.map +1 -0
- package/lib/{cjs/store → store}/doc-analyzer.js.map +1 -1
- package/lib/{types/store → store}/dsl-workflow.d.ts +42 -24
- package/lib/store/dsl-workflow.d.ts.map +1 -0
- package/lib/store/dsl-workflow.js +8 -0
- package/lib/store/dsl-workflow.js.map +1 -0
- package/lib/{types/store → store}/hive-memory.d.ts +2 -1
- package/lib/store/hive-memory.d.ts.map +1 -0
- package/lib/{cjs/store → store}/hive-memory.js.map +1 -1
- package/lib/store/index.d.ts +20 -0
- package/lib/store/index.d.ts.map +1 -0
- package/lib/store/index.js +20 -0
- package/lib/store/index.js.map +1 -0
- package/lib/{types/store → store}/object-types.d.ts +2 -1
- package/lib/store/object-types.d.ts.map +1 -0
- package/lib/store/object-types.js +95 -0
- package/lib/store/object-types.js.map +1 -0
- package/lib/store/process-schema.d.ts +481 -0
- package/lib/store/process-schema.d.ts.map +1 -0
- package/lib/store/process-schema.js +482 -0
- package/lib/store/process-schema.js.map +1 -0
- package/lib/store/process-validation.d.ts +17 -0
- package/lib/store/process-validation.d.ts.map +1 -0
- package/lib/store/process-validation.js +428 -0
- package/lib/store/process-validation.js.map +1 -0
- package/lib/store/process.d.ts +261 -0
- package/lib/store/process.d.ts.map +1 -0
- package/lib/store/process.js +2 -0
- package/lib/store/process.js.map +1 -0
- package/lib/{types/store → store}/rendering.d.ts +5 -4
- package/lib/store/rendering.d.ts.map +1 -0
- package/lib/{esm/store → store}/rendering.js +6 -6
- package/lib/store/rendering.js.map +1 -0
- package/lib/{types/store → store}/schedule.d.ts +4 -3
- package/lib/store/schedule.d.ts.map +1 -0
- package/lib/store/schedule.js.map +1 -0
- package/lib/{types/store → store}/signals.d.ts +2 -1
- package/lib/store/signals.d.ts.map +1 -0
- package/lib/{cjs/store → store}/signals.js.map +1 -1
- package/lib/{types/store → store}/store.d.ts +67 -38
- package/lib/store/store.d.ts.map +1 -0
- package/lib/{esm/store → store}/store.js +17 -8
- package/lib/store/store.js.map +1 -0
- package/lib/store/task.d.ts +63 -0
- package/lib/store/task.d.ts.map +1 -0
- package/lib/store/task.js +5 -0
- package/lib/store/task.js.map +1 -0
- package/lib/store/temporalio.d.ts +17 -0
- package/lib/store/temporalio.d.ts.map +1 -0
- package/lib/{esm/store → store}/temporalio.js +6 -6
- package/lib/store/temporalio.js.map +1 -0
- package/lib/{types/store → store}/workflow.d.ts +87 -33
- package/lib/store/workflow.d.ts.map +1 -0
- package/lib/{esm/store → store}/workflow.js +36 -37
- package/lib/store/workflow.js.map +1 -0
- package/lib/{types/sts-token-types.d.ts → sts-token-types.d.ts} +29 -2
- package/lib/sts-token-types.d.ts.map +1 -0
- package/lib/{esm/sts-token-types.js → sts-token-types.js} +0 -4
- package/lib/sts-token-types.js.map +1 -0
- package/lib/{types/tenant.d.ts → tenant.d.ts} +1 -0
- package/lib/tenant.d.ts.map +1 -0
- package/lib/tenant.js.map +1 -0
- package/lib/{types/tool-execution.d.ts → tool-execution.d.ts} +3 -2
- package/lib/tool-execution.d.ts.map +1 -0
- package/lib/tool-execution.js.map +1 -0
- package/lib/tools.d.ts +101 -0
- package/lib/tools.d.ts.map +1 -0
- package/lib/tools.js +2 -0
- package/lib/tools.js.map +1 -0
- package/lib/{types/training.d.ts → training.d.ts} +10 -9
- package/lib/training.d.ts.map +1 -0
- package/lib/training.js.map +1 -0
- package/lib/{types/transient-tokens.d.ts → transient-tokens.d.ts} +3 -2
- package/lib/transient-tokens.d.ts.map +1 -0
- package/lib/transient-tokens.js.map +1 -0
- package/lib/{types/user.d.ts → user.d.ts} +13 -7
- package/lib/user.d.ts.map +1 -0
- package/lib/{esm/user.js → user.js} +2 -2
- package/lib/user.js.map +1 -0
- package/lib/{types/utils → utils}/auth.d.ts +2 -1
- package/lib/utils/auth.d.ts.map +1 -0
- package/lib/{esm/utils → utils}/auth.js +1 -1
- package/lib/utils/auth.js.map +1 -0
- package/lib/{types/utils → utils}/schemas.d.ts +5 -4
- package/lib/utils/schemas.d.ts.map +1 -0
- package/lib/{esm/utils → utils}/schemas.js +24 -22
- package/lib/utils/schemas.js.map +1 -0
- package/lib/{types/utils → utils}/type-helpers.d.ts +1 -0
- package/lib/utils/type-helpers.d.ts.map +1 -0
- package/lib/{cjs/utils → utils}/type-helpers.js.map +1 -1
- package/lib/{types/versions.d.ts → versions.d.ts} +1 -0
- package/lib/versions.d.ts.map +1 -0
- package/lib/versions.js.map +1 -0
- package/lib/vertesia-common.js +1 -1
- package/lib/vertesia-common.js.map +1 -1
- package/lib/{types/workflow-analytics.d.ts → workflow-analytics.d.ts} +10 -3
- package/lib/workflow-analytics.d.ts.map +1 -0
- package/lib/workflow-analytics.js.map +1 -0
- package/package.json +20 -20
- package/src/Progress.ts +9 -7
- package/src/access-control.ts +124 -55
- package/src/agent-request-template.test.ts +40 -0
- package/src/agent-request-template.ts +45 -0
- package/src/analytics.ts +11 -16
- package/src/apikey.ts +43 -11
- package/src/apps.test.ts +37 -0
- package/src/apps.ts +562 -78
- package/src/audit-trail.ts +3 -5
- package/src/browser-credentials.ts +133 -0
- package/src/channels.ts +5 -5
- package/src/common.ts +17 -11
- package/src/cost-analytics.ts +10 -4
- package/src/data-platform.ts +142 -7
- package/src/email.ts +7 -4
- package/src/embeddings.ts +76 -0
- package/src/environment.ts +44 -25
- package/src/facets.ts +19 -21
- package/src/group.ts +14 -3
- package/src/host-utils.test.ts +61 -0
- package/src/host-utils.ts +93 -0
- package/src/index.ts +18 -10
- package/src/integrations.ts +134 -26
- package/src/interaction.ts +185 -141
- package/src/json-schema.ts +1 -1
- package/src/json.ts +6 -3
- package/src/meters.ts +6 -9
- package/src/model_utility.ts +1 -1
- package/src/oauth-scopes.ts +72 -0
- package/src/oauth-server.ts +80 -5
- package/src/payload.ts +6 -6
- package/src/pending-asks.ts +8 -1
- package/src/principal-context.ts +27 -0
- package/src/project.ts +408 -101
- package/src/prompt.ts +30 -27
- package/src/query.ts +19 -17
- package/src/rate-limiter.ts +1 -1
- package/src/refs.ts +19 -24
- package/src/roles.test.ts +30 -0
- package/src/roles.ts +251 -0
- package/src/runs.ts +14 -15
- package/src/secrets.ts +60 -0
- package/src/skill.ts +1 -2
- package/src/store/activity-catalog.ts +13 -1
- package/src/store/agent-run.ts +269 -42
- package/src/store/collections.ts +21 -13
- package/src/store/common.ts +1 -2
- package/src/store/conversation-state.ts +42 -5
- package/src/store/doc-analyzer.ts +22 -14
- package/src/store/dsl-workflow.ts +54 -29
- package/src/store/hive-memory.ts +10 -10
- package/src/store/index.ts +19 -17
- package/src/store/ms.d.ts +34 -3
- package/src/store/object-types.ts +75 -79
- package/src/store/process-schema.test.ts +106 -0
- package/src/store/process-schema.ts +485 -0
- package/src/store/process-validation.test.ts +432 -0
- package/src/store/process-validation.ts +548 -0
- package/src/store/process.ts +305 -0
- package/src/store/rendering.ts +12 -12
- package/src/store/schedule.ts +3 -3
- package/src/store/signals.ts +1 -1
- package/src/store/store.ts +119 -89
- package/src/store/task.ts +71 -0
- package/src/store/temporalio.ts +14 -14
- package/src/store/workflow.test.ts +16 -14
- package/src/store/workflow.ts +177 -119
- package/src/sts-token-types.ts +30 -4
- package/src/tool-execution.ts +2 -2
- package/src/tools.ts +103 -0
- package/src/training.ts +25 -27
- package/src/transient-tokens.ts +4 -7
- package/src/user.ts +25 -35
- package/src/utils/auth.ts +2 -2
- package/src/utils/schemas.ts +36 -31
- package/src/utils/type-helpers.ts +2 -4
- package/src/workflow-analytics.ts +15 -18
- package/lib/cjs/Progress.js +0 -61
- package/lib/cjs/Progress.js.map +0 -1
- package/lib/cjs/access-control.js +0 -58
- package/lib/cjs/access-control.js.map +0 -1
- package/lib/cjs/analytics.js +0 -3
- package/lib/cjs/apikey.js +0 -17
- package/lib/cjs/apikey.js.map +0 -1
- package/lib/cjs/apps.js +0 -89
- package/lib/cjs/apps.js.map +0 -1
- package/lib/cjs/ask-user.js +0 -8
- package/lib/cjs/ask-user.js.map +0 -1
- package/lib/cjs/audit-trail.js +0 -10
- package/lib/cjs/audit-trail.js.map +0 -1
- package/lib/cjs/channels.js +0 -63
- package/lib/cjs/channels.js.map +0 -1
- package/lib/cjs/common.js +0 -3
- package/lib/cjs/cost-analytics.js +0 -13
- package/lib/cjs/cost-analytics.js.map +0 -1
- package/lib/cjs/data-platform.js +0 -127
- package/lib/cjs/data-platform.js.map +0 -1
- package/lib/cjs/email.js +0 -20
- package/lib/cjs/email.js.map +0 -1
- package/lib/cjs/environment.js +0 -44
- package/lib/cjs/environment.js.map +0 -1
- package/lib/cjs/facets.js +0 -3
- package/lib/cjs/facets.js.map +0 -1
- package/lib/cjs/group.js +0 -6
- package/lib/cjs/group.js.map +0 -1
- package/lib/cjs/index.js +0 -60
- package/lib/cjs/index.js.map +0 -1
- package/lib/cjs/integrations.js +0 -16
- package/lib/cjs/integrations.js.map +0 -1
- package/lib/cjs/interaction.js +0 -101
- package/lib/cjs/interaction.js.map +0 -1
- package/lib/cjs/json-schema.js +0 -3
- package/lib/cjs/json.js +0 -3
- package/lib/cjs/json.js.map +0 -1
- package/lib/cjs/meters.js +0 -13
- package/lib/cjs/meters.js.map +0 -1
- package/lib/cjs/model_utility.js +0 -6
- package/lib/cjs/model_utility.js.map +0 -1
- package/lib/cjs/oauth-server.js +0 -3
- package/lib/cjs/oauth.js +0 -7
- package/lib/cjs/oauth.js.map +0 -1
- package/lib/cjs/openapi.js +0 -3
- package/lib/cjs/openapi.js.map +0 -1
- package/lib/cjs/package.json +0 -3
- package/lib/cjs/payload.js +0 -3
- package/lib/cjs/pending-asks.js +0 -7
- package/lib/cjs/pending-asks.js.map +0 -1
- package/lib/cjs/project.js +0 -143
- package/lib/cjs/project.js.map +0 -1
- package/lib/cjs/prompt.js +0 -21
- package/lib/cjs/prompt.js.map +0 -1
- package/lib/cjs/query.js +0 -3
- package/lib/cjs/query.js.map +0 -1
- package/lib/cjs/rate-limiter.js +0 -6
- package/lib/cjs/rate-limiter.js.map +0 -1
- package/lib/cjs/refs.js +0 -14
- package/lib/cjs/refs.js.map +0 -1
- package/lib/cjs/runs.js +0 -3
- package/lib/cjs/runs.js.map +0 -1
- package/lib/cjs/skill.js +0 -14
- package/lib/cjs/skill.js.map +0 -1
- package/lib/cjs/store/activity-catalog.js +0 -3
- package/lib/cjs/store/activity-catalog.js.map +0 -1
- package/lib/cjs/store/agent-run.js +0 -16
- package/lib/cjs/store/agent-run.js.map +0 -1
- package/lib/cjs/store/collections.js +0 -9
- package/lib/cjs/store/collections.js.map +0 -1
- package/lib/cjs/store/common.js +0 -3
- package/lib/cjs/store/common.js.map +0 -1
- package/lib/cjs/store/conversation-state.js +0 -19
- package/lib/cjs/store/conversation-state.js.map +0 -1
- package/lib/cjs/store/doc-analyzer.js +0 -3
- package/lib/cjs/store/dsl-workflow.js +0 -5
- package/lib/cjs/store/dsl-workflow.js.map +0 -1
- package/lib/cjs/store/hive-memory.js +0 -3
- package/lib/cjs/store/index.js +0 -33
- package/lib/cjs/store/index.js.map +0 -1
- package/lib/cjs/store/object-types.js +0 -98
- package/lib/cjs/store/object-types.js.map +0 -1
- package/lib/cjs/store/rendering.js +0 -26
- package/lib/cjs/store/rendering.js.map +0 -1
- package/lib/cjs/store/schedule.js +0 -32
- package/lib/cjs/store/schedule.js.map +0 -1
- package/lib/cjs/store/signals.js +0 -3
- package/lib/cjs/store/store.js +0 -182
- package/lib/cjs/store/store.js.map +0 -1
- package/lib/cjs/store/temporalio.js +0 -44
- package/lib/cjs/store/temporalio.js.map +0 -1
- package/lib/cjs/store/worker.js +0 -3
- package/lib/cjs/store/worker.js.map +0 -1
- package/lib/cjs/store/workflow.js +0 -306
- package/lib/cjs/store/workflow.js.map +0 -1
- package/lib/cjs/sts-token-types.js +0 -32
- package/lib/cjs/sts-token-types.js.map +0 -1
- package/lib/cjs/tenant.js +0 -3
- package/lib/cjs/tenant.js.map +0 -1
- package/lib/cjs/tool-execution.js +0 -6
- package/lib/cjs/tool-execution.js.map +0 -1
- package/lib/cjs/training.js +0 -14
- package/lib/cjs/training.js.map +0 -1
- package/lib/cjs/transient-tokens.js +0 -9
- package/lib/cjs/transient-tokens.js.map +0 -1
- package/lib/cjs/user.js +0 -26
- package/lib/cjs/user.js.map +0 -1
- package/lib/cjs/utils/auth.js +0 -15
- package/lib/cjs/utils/auth.js.map +0 -1
- package/lib/cjs/utils/schemas.js +0 -182
- package/lib/cjs/utils/schemas.js.map +0 -1
- package/lib/cjs/utils/type-helpers.js +0 -3
- package/lib/cjs/versions.js +0 -10
- package/lib/cjs/versions.js.map +0 -1
- package/lib/cjs/workflow-analytics.js +0 -52
- package/lib/cjs/workflow-analytics.js.map +0 -1
- package/lib/esm/Progress.js.map +0 -1
- package/lib/esm/access-control.js.map +0 -1
- package/lib/esm/analytics.js.map +0 -1
- package/lib/esm/apikey.js.map +0 -1
- package/lib/esm/apps.js +0 -79
- package/lib/esm/apps.js.map +0 -1
- package/lib/esm/audit-trail.js +0 -7
- package/lib/esm/audit-trail.js.map +0 -1
- package/lib/esm/channels.js.map +0 -1
- package/lib/esm/common.js.map +0 -1
- package/lib/esm/cost-analytics.js.map +0 -1
- package/lib/esm/data-platform.js.map +0 -1
- package/lib/esm/email.js.map +0 -1
- package/lib/esm/environment.js.map +0 -1
- package/lib/esm/facets.js.map +0 -1
- package/lib/esm/group.js +0 -3
- package/lib/esm/group.js.map +0 -1
- package/lib/esm/index.js.map +0 -1
- package/lib/esm/integrations.js.map +0 -1
- package/lib/esm/interaction.js.map +0 -1
- package/lib/esm/json-schema.js.map +0 -1
- package/lib/esm/json.js.map +0 -1
- package/lib/esm/meters.js.map +0 -1
- package/lib/esm/model_utility.js +0 -2
- package/lib/esm/model_utility.js.map +0 -1
- package/lib/esm/oauth-server.js.map +0 -1
- package/lib/esm/oauth.js.map +0 -1
- package/lib/esm/openapi.js +0 -2
- package/lib/esm/openapi.js.map +0 -1
- package/lib/esm/payload.js.map +0 -1
- package/lib/esm/pending-asks.js.map +0 -1
- package/lib/esm/project.js +0 -138
- package/lib/esm/project.js.map +0 -1
- package/lib/esm/prompt.js.map +0 -1
- package/lib/esm/query.js.map +0 -1
- package/lib/esm/rate-limiter.js.map +0 -1
- package/lib/esm/refs.js.map +0 -1
- package/lib/esm/runs.js.map +0 -1
- package/lib/esm/skill.js.map +0 -1
- package/lib/esm/store/activity-catalog.js.map +0 -1
- package/lib/esm/store/agent-run.js.map +0 -1
- package/lib/esm/store/collections.js.map +0 -1
- package/lib/esm/store/common.js.map +0 -1
- package/lib/esm/store/conversation-state.js.map +0 -1
- package/lib/esm/store/doc-analyzer.js.map +0 -1
- package/lib/esm/store/dsl-workflow.js +0 -2
- package/lib/esm/store/dsl-workflow.js.map +0 -1
- package/lib/esm/store/hive-memory.js.map +0 -1
- package/lib/esm/store/index.js +0 -17
- package/lib/esm/store/index.js.map +0 -1
- package/lib/esm/store/object-types.js +0 -95
- package/lib/esm/store/object-types.js.map +0 -1
- package/lib/esm/store/rendering.js.map +0 -1
- package/lib/esm/store/schedule.js.map +0 -1
- package/lib/esm/store/signals.js.map +0 -1
- package/lib/esm/store/store.js.map +0 -1
- package/lib/esm/store/temporalio.js.map +0 -1
- package/lib/esm/store/worker.js +0 -2
- package/lib/esm/store/worker.js.map +0 -1
- package/lib/esm/store/workflow.js.map +0 -1
- package/lib/esm/sts-token-types.js.map +0 -1
- package/lib/esm/tenant.js.map +0 -1
- package/lib/esm/tool-execution.js.map +0 -1
- package/lib/esm/training.js.map +0 -1
- package/lib/esm/transient-tokens.js.map +0 -1
- package/lib/esm/user.js.map +0 -1
- package/lib/esm/utils/auth.js.map +0 -1
- package/lib/esm/utils/schemas.js.map +0 -1
- package/lib/esm/utils/type-helpers.js.map +0 -1
- package/lib/esm/versions.js.map +0 -1
- package/lib/esm/workflow-analytics.js.map +0 -1
- package/lib/tsconfig.tsbuildinfo +0 -1
- package/lib/types/Progress.d.ts.map +0 -1
- package/lib/types/access-control.d.ts +0 -79
- package/lib/types/access-control.d.ts.map +0 -1
- package/lib/types/analytics.d.ts.map +0 -1
- package/lib/types/apikey.d.ts.map +0 -1
- package/lib/types/apps.d.ts.map +0 -1
- package/lib/types/ask-user.d.ts.map +0 -1
- package/lib/types/audit-trail.d.ts.map +0 -1
- package/lib/types/channels.d.ts.map +0 -1
- package/lib/types/common.d.ts.map +0 -1
- package/lib/types/cost-analytics.d.ts.map +0 -1
- package/lib/types/data-platform.d.ts.map +0 -1
- package/lib/types/email.d.ts.map +0 -1
- package/lib/types/environment.d.ts.map +0 -1
- package/lib/types/facets.d.ts.map +0 -1
- package/lib/types/group.d.ts.map +0 -1
- package/lib/types/index.d.ts.map +0 -1
- package/lib/types/integrations.d.ts +0 -83
- package/lib/types/integrations.d.ts.map +0 -1
- package/lib/types/interaction.d.ts.map +0 -1
- package/lib/types/json-schema.d.ts +0 -1
- package/lib/types/json-schema.d.ts.map +0 -1
- package/lib/types/json.d.ts +0 -1
- package/lib/types/json.d.ts.map +0 -1
- package/lib/types/meters.d.ts.map +0 -1
- package/lib/types/model_utility.d.ts +0 -1
- package/lib/types/model_utility.d.ts.map +0 -1
- package/lib/types/oauth-server.d.ts.map +0 -1
- package/lib/types/oauth.d.ts.map +0 -1
- package/lib/types/openapi.d.ts +0 -90
- package/lib/types/openapi.d.ts.map +0 -1
- package/lib/types/payload.d.ts.map +0 -1
- package/lib/types/pending-asks.d.ts.map +0 -1
- package/lib/types/project.d.ts.map +0 -1
- package/lib/types/prompt.d.ts.map +0 -1
- package/lib/types/query.d.ts.map +0 -1
- package/lib/types/rate-limiter.d.ts.map +0 -1
- package/lib/types/refs.d.ts.map +0 -1
- package/lib/types/runs.d.ts.map +0 -1
- package/lib/types/skill.d.ts.map +0 -1
- package/lib/types/store/activity-catalog.d.ts.map +0 -1
- package/lib/types/store/agent-run.d.ts.map +0 -1
- package/lib/types/store/collections.d.ts.map +0 -1
- package/lib/types/store/common.d.ts.map +0 -1
- package/lib/types/store/conversation-state.d.ts.map +0 -1
- package/lib/types/store/doc-analyzer.d.ts.map +0 -1
- package/lib/types/store/dsl-workflow.d.ts.map +0 -1
- package/lib/types/store/hive-memory.d.ts.map +0 -1
- package/lib/types/store/index.d.ts +0 -16
- package/lib/types/store/index.d.ts.map +0 -1
- package/lib/types/store/object-types.d.ts.map +0 -1
- package/lib/types/store/rendering.d.ts.map +0 -1
- package/lib/types/store/schedule.d.ts.map +0 -1
- package/lib/types/store/signals.d.ts.map +0 -1
- package/lib/types/store/store.d.ts.map +0 -1
- package/lib/types/store/temporalio.d.ts +0 -16
- package/lib/types/store/temporalio.d.ts.map +0 -1
- package/lib/types/store/worker.d.ts +0 -18
- package/lib/types/store/worker.d.ts.map +0 -1
- package/lib/types/store/workflow.d.ts.map +0 -1
- package/lib/types/sts-token-types.d.ts.map +0 -1
- package/lib/types/tenant.d.ts.map +0 -1
- package/lib/types/tool-execution.d.ts.map +0 -1
- package/lib/types/training.d.ts.map +0 -1
- package/lib/types/transient-tokens.d.ts.map +0 -1
- package/lib/types/user.d.ts.map +0 -1
- package/lib/types/utils/auth.d.ts.map +0 -1
- package/lib/types/utils/schemas.d.ts.map +0 -1
- package/lib/types/utils/type-helpers.d.ts.map +0 -1
- package/lib/types/versions.d.ts.map +0 -1
- package/lib/types/workflow-analytics.d.ts.map +0 -1
- package/src/openapi.ts +0 -102
- package/src/store/worker.ts +0 -19
- /package/lib/{esm/analytics.js → analytics.js} +0 -0
- /package/lib/{esm/ask-user.js → ask-user.js} +0 -0
- /package/lib/{esm/common.js → common.js} +0 -0
- /package/lib/{esm/cost-analytics.js → cost-analytics.js} +0 -0
- /package/lib/{esm/data-platform.js → data-platform.js} +0 -0
- /package/lib/{esm/facets.js → facets.js} +0 -0
- /package/lib/{esm/json-schema.js → json-schema.js} +0 -0
- /package/lib/{esm/json.js → json.js} +0 -0
- /package/lib/{esm/meters.js → meters.js} +0 -0
- /package/lib/{esm/oauth-server.js → oauth-server.js} +0 -0
- /package/lib/{esm/oauth.js → oauth.js} +0 -0
- /package/lib/{esm/payload.js → payload.js} +0 -0
- /package/lib/{esm/pending-asks.js → pending-asks.js} +0 -0
- /package/lib/{esm/prompt.js → prompt.js} +0 -0
- /package/lib/{esm/query.js → query.js} +0 -0
- /package/lib/{esm/rate-limiter.js → rate-limiter.js} +0 -0
- /package/lib/{esm/refs.js → refs.js} +0 -0
- /package/lib/{esm/runs.js → runs.js} +0 -0
- /package/lib/{esm/skill.js → skill.js} +0 -0
- /package/lib/{esm/store → store}/activity-catalog.js +0 -0
- /package/lib/{esm/store → store}/agent-run.js +0 -0
- /package/lib/{esm/store → store}/collections.js +0 -0
- /package/lib/{esm/store → store}/common.js +0 -0
- /package/lib/{esm/store → store}/doc-analyzer.js +0 -0
- /package/lib/{esm/store → store}/hive-memory.js +0 -0
- /package/lib/{esm/store → store}/schedule.js +0 -0
- /package/lib/{esm/store → store}/signals.js +0 -0
- /package/lib/{esm/tenant.js → tenant.js} +0 -0
- /package/lib/{esm/tool-execution.js → tool-execution.js} +0 -0
- /package/lib/{esm/training.js → training.js} +0 -0
- /package/lib/{esm/transient-tokens.js → transient-tokens.js} +0 -0
- /package/lib/{esm/utils → utils}/type-helpers.js +0 -0
- /package/lib/{esm/versions.js → versions.js} +0 -0
- /package/lib/{esm/workflow-analytics.js → workflow-analytics.js} +0 -0
package/lib/cjs/store/index.js
DELETED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./activity-catalog.js"), exports);
|
|
18
|
-
__exportStar(require("./agent-run.js"), exports);
|
|
19
|
-
__exportStar(require("./collections.js"), exports);
|
|
20
|
-
__exportStar(require("./common.js"), exports);
|
|
21
|
-
__exportStar(require("./conversation-state.js"), exports);
|
|
22
|
-
__exportStar(require("./doc-analyzer.js"), exports);
|
|
23
|
-
__exportStar(require("./dsl-workflow.js"), exports);
|
|
24
|
-
__exportStar(require("./hive-memory.js"), exports);
|
|
25
|
-
__exportStar(require("./object-types.js"), exports);
|
|
26
|
-
__exportStar(require("./schedule.js"), exports);
|
|
27
|
-
__exportStar(require("./signals.js"), exports);
|
|
28
|
-
__exportStar(require("./store.js"), exports);
|
|
29
|
-
__exportStar(require("./rendering.js"), exports);
|
|
30
|
-
__exportStar(require("./temporalio.js"), exports);
|
|
31
|
-
__exportStar(require("./worker.js"), exports);
|
|
32
|
-
__exportStar(require("./workflow.js"), exports);
|
|
33
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/store/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,iDAA+B;AAC/B,mDAAiC;AACjC,8CAA4B;AAC5B,0DAAwC;AACxC,oDAAkC;AAClC,oDAAkC;AAClC,mDAAiC;AACjC,oDAAkC;AAClC,gDAA8B;AAC9B,+CAA6B;AAC7B,6CAA2B;AAC3B,iDAA+B;AAC/B,kDAAgC;AAChC,8CAA4B;AAC5B,gDAA8B"}
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DocumentPartSchema = exports.RenditionSchema = void 0;
|
|
4
|
-
exports.RenditionSchema = {
|
|
5
|
-
type: "object",
|
|
6
|
-
description: "Represent a rendition of a file stored in an object. It will be stored as a separate object in the database.",
|
|
7
|
-
properties: {
|
|
8
|
-
mime_type: {
|
|
9
|
-
type: "string",
|
|
10
|
-
description: "The format of the rendition. This is a MIME type."
|
|
11
|
-
},
|
|
12
|
-
source_etag: {
|
|
13
|
-
type: "string",
|
|
14
|
-
description: "The ETag of the file used for the rendition.",
|
|
15
|
-
nullable: true
|
|
16
|
-
},
|
|
17
|
-
height: {
|
|
18
|
-
type: "integer",
|
|
19
|
-
description: "The height of the rendition",
|
|
20
|
-
nullable: true
|
|
21
|
-
},
|
|
22
|
-
width: {
|
|
23
|
-
type: "integer",
|
|
24
|
-
description: "The width of the rendition",
|
|
25
|
-
nullable: true
|
|
26
|
-
},
|
|
27
|
-
multipart: {
|
|
28
|
-
type: "boolean",
|
|
29
|
-
description: "If the rendition is a multi-part rendition",
|
|
30
|
-
nullable: true,
|
|
31
|
-
default: false
|
|
32
|
-
},
|
|
33
|
-
total_parts: {
|
|
34
|
-
type: "integer",
|
|
35
|
-
description: "The total number of parts in the rendition",
|
|
36
|
-
nullable: true
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
required: ["mime_type"],
|
|
40
|
-
};
|
|
41
|
-
exports.DocumentPartSchema = {
|
|
42
|
-
type: "object",
|
|
43
|
-
description: "Represent a semantic chunk of a document",
|
|
44
|
-
properties: {
|
|
45
|
-
source_etag: {
|
|
46
|
-
type: "string",
|
|
47
|
-
description: "The ETag of the file used for the rendition.",
|
|
48
|
-
nullable: true
|
|
49
|
-
},
|
|
50
|
-
part_number: {
|
|
51
|
-
type: "integer",
|
|
52
|
-
description: "The part number of the chunk",
|
|
53
|
-
},
|
|
54
|
-
title: {
|
|
55
|
-
type: "string",
|
|
56
|
-
description: "The title of the chunk",
|
|
57
|
-
nullable: true
|
|
58
|
-
},
|
|
59
|
-
source_line_start: {
|
|
60
|
-
type: "integer",
|
|
61
|
-
description: "The line number where the chunk starts",
|
|
62
|
-
nullable: true
|
|
63
|
-
},
|
|
64
|
-
source_line_end: {
|
|
65
|
-
type: "integer",
|
|
66
|
-
description: "The line number where the chunk ends",
|
|
67
|
-
nullable: true
|
|
68
|
-
},
|
|
69
|
-
type: {
|
|
70
|
-
type: "string",
|
|
71
|
-
description: "The type of the chunk",
|
|
72
|
-
enum: ['text', 'image', 'table', 'chart', 'diagram', 'code', 'other'],
|
|
73
|
-
nullable: true
|
|
74
|
-
},
|
|
75
|
-
page_number: {
|
|
76
|
-
type: "integer",
|
|
77
|
-
description: "The page number of the document part",
|
|
78
|
-
nullable: true
|
|
79
|
-
},
|
|
80
|
-
description: {
|
|
81
|
-
type: "string",
|
|
82
|
-
description: "The description of the document part, if it's an image, the exhaustive description of the image",
|
|
83
|
-
nullable: true
|
|
84
|
-
},
|
|
85
|
-
height: {
|
|
86
|
-
type: "integer",
|
|
87
|
-
description: "The height of the rendition",
|
|
88
|
-
nullable: true
|
|
89
|
-
},
|
|
90
|
-
width: {
|
|
91
|
-
type: "integer",
|
|
92
|
-
description: "The width of the rendition",
|
|
93
|
-
nullable: true
|
|
94
|
-
}
|
|
95
|
-
},
|
|
96
|
-
required: ["part_number"],
|
|
97
|
-
};
|
|
98
|
-
//# sourceMappingURL=object-types.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"object-types.js","sourceRoot":"","sources":["../../../src/store/object-types.ts"],"names":[],"mappings":";;;AAaa,QAAA,eAAe,GAAwC;IAEhE,IAAI,EAAE,QAAQ;IACd,WAAW,EAAE,8GAA8G;IAC3H,UAAU,EAAE;QACR,SAAS,EAAE;YACP,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,mDAAmD;SACnE;QACD,WAAW,EAAE;YACT,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,8CAA8C;YAC3D,QAAQ,EAAE,IAAI;SACjB;QACD,MAAM,EAAE;YACJ,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,6BAA6B;YAC1C,QAAQ,EAAE,IAAI;SACjB;QACD,KAAK,EAAE;YACH,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,4BAA4B;YACzC,QAAQ,EAAE,IAAI;SACjB;QACD,SAAS,EAAE;YACP,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,4CAA4C;YACzD,QAAQ,EAAE,IAAI;YACd,OAAO,EAAE,KAAK;SACjB;QACD,WAAW,EAAE;YACT,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,4CAA4C;YACzD,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,QAAQ,EAAE,CAAC,WAAW,CAAC;CAC1B,CAAA;AAoBY,QAAA,kBAAkB,GAA2C;IACtE,IAAI,EAAE,QAAQ;IACd,WAAW,EAAE,0CAA0C;IACvD,UAAU,EAAE;QACR,WAAW,EAAE;YACT,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,8CAA8C;YAC3D,QAAQ,EAAE,IAAI;SACjB;QACD,WAAW,EAAE;YACT,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,8BAA8B;SAC9C;QACD,KAAK,EAAE;YACH,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,wBAAwB;YACrC,QAAQ,EAAE,IAAI;SACjB;QACD,iBAAiB,EAAE;YACf,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,wCAAwC;YACrD,QAAQ,EAAE,IAAI;SACjB;QACD,eAAe,EAAE;YACb,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,sCAAsC;YACnD,QAAQ,EAAE,IAAI;SACjB;QACD,IAAI,EAAE;YACF,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,uBAAuB;YACpC,IAAI,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,OAAO,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC;YACrE,QAAQ,EAAE,IAAI;SACjB;QACD,WAAW,EAAE;YACT,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,sCAAsC;YACnD,QAAQ,EAAE,IAAI;SACjB;QACD,WAAW,EAAE;YACT,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,iGAAiG;YAC9G,QAAQ,EAAE,IAAI;SACjB;QACD,MAAM,EAAE;YACJ,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,6BAA6B;YAC1C,QAAQ,EAAE,IAAI;SACjB;QACD,KAAK,EAAE;YACH,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,4BAA4B;YACzC,QAAQ,EAAE,IAAI;SACjB;KACJ;IACD,QAAQ,EAAE,CAAC,aAAa,CAAC;CAC5B,CAAA"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* Rendering API types
|
|
4
|
-
*
|
|
5
|
-
* Types for rendering content to various formats (PDF, DOCX, images)
|
|
6
|
-
*/
|
|
7
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.getRenditionsPath = getRenditionsPath;
|
|
9
|
-
exports.isMarkdownRenditionVars = isMarkdownRenditionVars;
|
|
10
|
-
exports.isWorkflowTerminalStatus = isWorkflowTerminalStatus;
|
|
11
|
-
const workflow_js_1 = require("./workflow.js");
|
|
12
|
-
function getRenditionsPath(contentEtag, params) {
|
|
13
|
-
return `renditions/${contentEtag}/${params.max_hw}`;
|
|
14
|
-
}
|
|
15
|
-
/** Type guard for markdown rendition vars */
|
|
16
|
-
function isMarkdownRenditionVars(vars) {
|
|
17
|
-
return vars.format === 'pdf' || vars.format === 'docx';
|
|
18
|
-
}
|
|
19
|
-
function isWorkflowTerminalStatus(status) {
|
|
20
|
-
return status === workflow_js_1.WorkflowExecutionStatus.COMPLETED
|
|
21
|
-
|| status === workflow_js_1.WorkflowExecutionStatus.FAILED
|
|
22
|
-
|| status === workflow_js_1.WorkflowExecutionStatus.CANCELED
|
|
23
|
-
|| status === workflow_js_1.WorkflowExecutionStatus.TERMINATED
|
|
24
|
-
|| status === workflow_js_1.WorkflowExecutionStatus.TIMED_OUT;
|
|
25
|
-
}
|
|
26
|
-
//# sourceMappingURL=rendering.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"rendering.js","sourceRoot":"","sources":["../../../src/store/rendering.ts"],"names":[],"mappings":";AAAA;;;;GAIG;;AA6BH,8CAEC;AAmDD,0DAIC;AAuJD,4DAMC;AAhPD,+CAA2E;AA0B3E,SAAgB,iBAAiB,CAAC,WAAmB,EAAE,MAA4B;IAC/E,OAAO,cAAc,WAAW,IAAI,MAAM,CAAC,MAAM,EAAE,CAAC;AACxD,CAAC;AAkDD,6CAA6C;AAC7C,SAAgB,uBAAuB,CACnC,IAA2B;IAE3B,OAAO,IAAI,CAAC,MAAM,KAAK,KAAK,IAAI,IAAI,CAAC,MAAM,KAAK,MAAM,CAAC;AAC3D,CAAC;AAuJD,SAAgB,wBAAwB,CAAC,MAA+B;IACpE,OAAO,MAAM,KAAK,qCAAuB,CAAC,SAAS;WAC5C,MAAM,KAAK,qCAAuB,CAAC,MAAM;WACzC,MAAM,KAAK,qCAAuB,CAAC,QAAQ;WAC3C,MAAM,KAAK,qCAAuB,CAAC,UAAU;WAC7C,MAAM,KAAK,qCAAuB,CAAC,SAAS,CAAC;AACxD,CAAC"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/**
|
|
3
|
-
* Agent Schedule Types
|
|
4
|
-
*
|
|
5
|
-
* Defines types for scheduling agents to run on a recurring basis using cron expressions.
|
|
6
|
-
* Schedules are stored in MongoDB with execution handled by Temporal.
|
|
7
|
-
*/
|
|
8
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
-
exports.CRON_PRESET_LABELS = exports.CRON_PRESETS = void 0;
|
|
10
|
-
/**
|
|
11
|
-
* Common cron expression presets for UI convenience.
|
|
12
|
-
*/
|
|
13
|
-
exports.CRON_PRESETS = {
|
|
14
|
-
EVERY_HOUR: '0 * * * *',
|
|
15
|
-
EVERY_DAY_MIDNIGHT: '0 0 * * *',
|
|
16
|
-
EVERY_DAY_9AM: '0 9 * * *',
|
|
17
|
-
EVERY_MONDAY_MIDNIGHT: '0 0 * * MON',
|
|
18
|
-
EVERY_WEEKDAY_9AM: '0 9 * * MON-FRI',
|
|
19
|
-
FIRST_OF_MONTH: '0 0 1 * *',
|
|
20
|
-
};
|
|
21
|
-
/**
|
|
22
|
-
* Human-readable descriptions for cron presets.
|
|
23
|
-
*/
|
|
24
|
-
exports.CRON_PRESET_LABELS = {
|
|
25
|
-
EVERY_HOUR: 'Every hour',
|
|
26
|
-
EVERY_DAY_MIDNIGHT: 'Daily at midnight',
|
|
27
|
-
EVERY_DAY_9AM: 'Daily at 9:00 AM',
|
|
28
|
-
EVERY_MONDAY_MIDNIGHT: 'Every Monday at midnight',
|
|
29
|
-
EVERY_WEEKDAY_9AM: 'Weekdays at 9:00 AM',
|
|
30
|
-
FIRST_OF_MONTH: 'First day of month at midnight',
|
|
31
|
-
};
|
|
32
|
-
//# sourceMappingURL=schedule.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"schedule.js","sourceRoot":"","sources":["../../../src/store/schedule.ts"],"names":[],"mappings":";AAAA;;;;;GAKG;;;AAiNH;;GAEG;AACU,QAAA,YAAY,GAAG;IACxB,UAAU,EAAE,WAAW;IACvB,kBAAkB,EAAE,WAAW;IAC/B,aAAa,EAAE,WAAW;IAC1B,qBAAqB,EAAE,aAAa;IACpC,iBAAiB,EAAE,iBAAiB;IACpC,cAAc,EAAE,WAAW;CACrB,CAAC;AAEX;;GAEG;AACU,QAAA,kBAAkB,GAA8C;IACzE,UAAU,EAAE,YAAY;IACxB,kBAAkB,EAAE,mBAAmB;IACvC,aAAa,EAAE,kBAAkB;IACjC,qBAAqB,EAAE,0BAA0B;IACjD,iBAAiB,EAAE,qBAAqB;IACxC,cAAc,EAAE,gCAAgC;CACnD,CAAC"}
|
package/lib/cjs/store/signals.js
DELETED
package/lib/cjs/store/store.js
DELETED
|
@@ -1,182 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ContentObjectProcessingPriority = exports.MarkdownRenditionFormat = exports.ImageRenditionFormat = exports.WorkflowRuleInputType = exports.TextExtractionStatus = exports.PDF_RENDITION_NAME = exports.WEB_VIDEO_RENDITION_NAME = exports.AUDIO_RENDITION_NAME = exports.POSTER_RENDITION_NAME = exports.ContentNature = exports.ContentObjectStatus = exports.DataStoreApiHeaders = exports.ContentObjectApiHeaders = void 0;
|
|
4
|
-
exports.getContentTypeRefId = getContentTypeRefId;
|
|
5
|
-
exports.isInCodeType = isInCodeType;
|
|
6
|
-
exports.canGenerateRendition = canGenerateRendition;
|
|
7
|
-
exports.getSupportedRenditionFormats = getSupportedRenditionFormats;
|
|
8
|
-
exports.supportsVisualRendition = supportsVisualRendition;
|
|
9
|
-
var ContentObjectApiHeaders;
|
|
10
|
-
(function (ContentObjectApiHeaders) {
|
|
11
|
-
ContentObjectApiHeaders["COLLECTION_ID"] = "x-collection-id";
|
|
12
|
-
ContentObjectApiHeaders["PROCESSING_PRIORITY"] = "x-processing-priority";
|
|
13
|
-
ContentObjectApiHeaders["CREATE_REVISION"] = "x-create-revision";
|
|
14
|
-
ContentObjectApiHeaders["REVISION_LABEL"] = "x-revision-label";
|
|
15
|
-
/** When set to 'true', prevents this update from triggering workflow rules */
|
|
16
|
-
ContentObjectApiHeaders["SUPPRESS_WORKFLOWS"] = "x-suppress-workflows";
|
|
17
|
-
})(ContentObjectApiHeaders || (exports.ContentObjectApiHeaders = ContentObjectApiHeaders = {}));
|
|
18
|
-
/**
|
|
19
|
-
* Headers for Data Store API calls.
|
|
20
|
-
* Used for Cloud Run session affinity to route requests to the same instance.
|
|
21
|
-
*/
|
|
22
|
-
var DataStoreApiHeaders;
|
|
23
|
-
(function (DataStoreApiHeaders) {
|
|
24
|
-
/** Data store ID for session affinity - routes requests for same store to same instance */
|
|
25
|
-
DataStoreApiHeaders["DATA_STORE_ID"] = "x-data-store-id";
|
|
26
|
-
})(DataStoreApiHeaders || (exports.DataStoreApiHeaders = DataStoreApiHeaders = {}));
|
|
27
|
-
var ContentObjectStatus;
|
|
28
|
-
(function (ContentObjectStatus) {
|
|
29
|
-
ContentObjectStatus["created"] = "created";
|
|
30
|
-
ContentObjectStatus["processing"] = "processing";
|
|
31
|
-
ContentObjectStatus["ready"] = "ready";
|
|
32
|
-
ContentObjectStatus["completed"] = "completed";
|
|
33
|
-
ContentObjectStatus["failed"] = "failed";
|
|
34
|
-
ContentObjectStatus["archived"] = "archived";
|
|
35
|
-
})(ContentObjectStatus || (exports.ContentObjectStatus = ContentObjectStatus = {}));
|
|
36
|
-
var ContentNature;
|
|
37
|
-
(function (ContentNature) {
|
|
38
|
-
ContentNature["Video"] = "video";
|
|
39
|
-
ContentNature["Image"] = "image";
|
|
40
|
-
ContentNature["Audio"] = "audio";
|
|
41
|
-
ContentNature["Document"] = "document";
|
|
42
|
-
ContentNature["Code"] = "code";
|
|
43
|
-
ContentNature["Other"] = "other";
|
|
44
|
-
})(ContentNature || (exports.ContentNature = ContentNature = {}));
|
|
45
|
-
exports.POSTER_RENDITION_NAME = "Poster";
|
|
46
|
-
exports.AUDIO_RENDITION_NAME = "Audio";
|
|
47
|
-
exports.WEB_VIDEO_RENDITION_NAME = "Web";
|
|
48
|
-
exports.PDF_RENDITION_NAME = "PDF";
|
|
49
|
-
exports.TextExtractionStatus = {
|
|
50
|
-
success: "success",
|
|
51
|
-
};
|
|
52
|
-
function getContentTypeRefId(type) {
|
|
53
|
-
return type.id || type.code;
|
|
54
|
-
}
|
|
55
|
-
/**
|
|
56
|
-
* Returns true if the type id represents an in-code type (system or app-contributed).
|
|
57
|
-
* In-code types use colon-separated ids like "sys:Invoice" or "app:myapp:Article".
|
|
58
|
-
* These types are read-only and cannot be edited through the UI.
|
|
59
|
-
*/
|
|
60
|
-
function isInCodeType(typeId) {
|
|
61
|
-
return typeId.includes(':');
|
|
62
|
-
}
|
|
63
|
-
var WorkflowRuleInputType;
|
|
64
|
-
(function (WorkflowRuleInputType) {
|
|
65
|
-
WorkflowRuleInputType["single"] = "single";
|
|
66
|
-
WorkflowRuleInputType["multiple"] = "multiple";
|
|
67
|
-
WorkflowRuleInputType["none"] = "none";
|
|
68
|
-
})(WorkflowRuleInputType || (exports.WorkflowRuleInputType = WorkflowRuleInputType = {}));
|
|
69
|
-
var ImageRenditionFormat;
|
|
70
|
-
(function (ImageRenditionFormat) {
|
|
71
|
-
ImageRenditionFormat["jpeg"] = "jpeg";
|
|
72
|
-
ImageRenditionFormat["png"] = "png";
|
|
73
|
-
ImageRenditionFormat["webp"] = "webp";
|
|
74
|
-
})(ImageRenditionFormat || (exports.ImageRenditionFormat = ImageRenditionFormat = {}));
|
|
75
|
-
var MarkdownRenditionFormat;
|
|
76
|
-
(function (MarkdownRenditionFormat) {
|
|
77
|
-
MarkdownRenditionFormat["docx"] = "docx";
|
|
78
|
-
MarkdownRenditionFormat["pdf"] = "pdf";
|
|
79
|
-
})(MarkdownRenditionFormat || (exports.MarkdownRenditionFormat = MarkdownRenditionFormat = {}));
|
|
80
|
-
/**
|
|
81
|
-
* Matrix of supported content type → format conversions.
|
|
82
|
-
* This is the authoritative source of truth for what renditions can be generated.
|
|
83
|
-
*
|
|
84
|
-
* Key patterns:
|
|
85
|
-
* - Exact MIME types (e.g., 'application/pdf')
|
|
86
|
-
* - Wildcard patterns (e.g., 'image/*', 'video/*')
|
|
87
|
-
*/
|
|
88
|
-
const RENDITION_COMPATIBILITY = {
|
|
89
|
-
// Image formats can generate: jpeg, png, webp
|
|
90
|
-
'image/*': [ImageRenditionFormat.jpeg, ImageRenditionFormat.png, ImageRenditionFormat.webp],
|
|
91
|
-
// Video formats can generate: jpeg, png (thumbnails)
|
|
92
|
-
'video/*': [ImageRenditionFormat.jpeg, ImageRenditionFormat.png],
|
|
93
|
-
// PDF can generate: jpeg, png, webp (page images)
|
|
94
|
-
'application/pdf': [ImageRenditionFormat.jpeg, ImageRenditionFormat.png, ImageRenditionFormat.webp],
|
|
95
|
-
// Markdown can generate: pdf, docx (NOT jpeg/png)
|
|
96
|
-
'text/markdown': [MarkdownRenditionFormat.pdf, MarkdownRenditionFormat.docx],
|
|
97
|
-
// Any text/* can generate: docx (editable export)
|
|
98
|
-
'text/*': [MarkdownRenditionFormat.docx],
|
|
99
|
-
// Office documents can generate: pdf
|
|
100
|
-
'application/vnd.openxmlformats-officedocument.wordprocessingml.document': [MarkdownRenditionFormat.pdf],
|
|
101
|
-
'application/msword': [MarkdownRenditionFormat.pdf],
|
|
102
|
-
'application/vnd.openxmlformats-officedocument.presentationml.presentation': [MarkdownRenditionFormat.pdf],
|
|
103
|
-
'application/vnd.ms-powerpoint': [MarkdownRenditionFormat.pdf],
|
|
104
|
-
};
|
|
105
|
-
/**
|
|
106
|
-
* Check if a specific rendition format can be generated from a content type.
|
|
107
|
-
*
|
|
108
|
-
* @param contentType - The MIME type of the source content (e.g., 'image/png', 'text/markdown')
|
|
109
|
-
* @param format - The desired rendition format (e.g., ImageRenditionFormat.jpeg)
|
|
110
|
-
* @returns true if the format can be generated from the content type
|
|
111
|
-
*
|
|
112
|
-
* @example
|
|
113
|
-
* canGenerateRendition('image/png', ImageRenditionFormat.jpeg) // true
|
|
114
|
-
* canGenerateRendition('text/markdown', ImageRenditionFormat.jpeg) // false
|
|
115
|
-
* canGenerateRendition('text/markdown', MarkdownRenditionFormat.pdf) // true
|
|
116
|
-
*/
|
|
117
|
-
function canGenerateRendition(contentType, format) {
|
|
118
|
-
if (!contentType)
|
|
119
|
-
return false;
|
|
120
|
-
const formatStr = typeof format === 'string' ? format : format;
|
|
121
|
-
// Check exact match first
|
|
122
|
-
const exactMatch = RENDITION_COMPATIBILITY[contentType];
|
|
123
|
-
if (exactMatch && exactMatch.some(f => f === formatStr)) {
|
|
124
|
-
return true;
|
|
125
|
-
}
|
|
126
|
-
// Check wildcard patterns (e.g., 'image/*', 'video/*')
|
|
127
|
-
const [category] = contentType.split('/');
|
|
128
|
-
const wildcardKey = `${category}/*`;
|
|
129
|
-
const wildcardMatch = RENDITION_COMPATIBILITY[wildcardKey];
|
|
130
|
-
if (wildcardMatch && wildcardMatch.some(f => f === formatStr)) {
|
|
131
|
-
return true;
|
|
132
|
-
}
|
|
133
|
-
return false;
|
|
134
|
-
}
|
|
135
|
-
/**
|
|
136
|
-
* Get the list of rendition formats supported for a given content type.
|
|
137
|
-
*
|
|
138
|
-
* @param contentType - The MIME type of the source content
|
|
139
|
-
* @returns Array of supported rendition formats, or empty array if none
|
|
140
|
-
*
|
|
141
|
-
* @example
|
|
142
|
-
* getSupportedRenditionFormats('image/png') // [jpeg, png, webp]
|
|
143
|
-
* getSupportedRenditionFormats('text/markdown') // [pdf, docx]
|
|
144
|
-
* getSupportedRenditionFormats('text/html') // []
|
|
145
|
-
*/
|
|
146
|
-
function getSupportedRenditionFormats(contentType) {
|
|
147
|
-
if (!contentType)
|
|
148
|
-
return [];
|
|
149
|
-
// Check exact match first
|
|
150
|
-
if (RENDITION_COMPATIBILITY[contentType]) {
|
|
151
|
-
return [...RENDITION_COMPATIBILITY[contentType]];
|
|
152
|
-
}
|
|
153
|
-
// Check wildcard patterns
|
|
154
|
-
const [category] = contentType.split('/');
|
|
155
|
-
const wildcardKey = `${category}/*`;
|
|
156
|
-
const wildcardMatch = RENDITION_COMPATIBILITY[wildcardKey];
|
|
157
|
-
if (wildcardMatch) {
|
|
158
|
-
return [...wildcardMatch];
|
|
159
|
-
}
|
|
160
|
-
return [];
|
|
161
|
-
}
|
|
162
|
-
/**
|
|
163
|
-
* Check if a content type supports visual (image) renditions.
|
|
164
|
-
* This is useful for determining if a document can have thumbnails/previews.
|
|
165
|
-
*
|
|
166
|
-
* @param contentType - The MIME type of the source content
|
|
167
|
-
* @returns true if the content type can generate JPEG renditions
|
|
168
|
-
*
|
|
169
|
-
* @example
|
|
170
|
-
* supportsVisualRendition('image/png') // true
|
|
171
|
-
* supportsVisualRendition('application/pdf') // true
|
|
172
|
-
* supportsVisualRendition('text/markdown') // false
|
|
173
|
-
*/
|
|
174
|
-
function supportsVisualRendition(contentType) {
|
|
175
|
-
return canGenerateRendition(contentType, ImageRenditionFormat.jpeg);
|
|
176
|
-
}
|
|
177
|
-
var ContentObjectProcessingPriority;
|
|
178
|
-
(function (ContentObjectProcessingPriority) {
|
|
179
|
-
ContentObjectProcessingPriority["normal"] = "normal";
|
|
180
|
-
ContentObjectProcessingPriority["low"] = "low";
|
|
181
|
-
})(ContentObjectProcessingPriority || (exports.ContentObjectProcessingPriority = ContentObjectProcessingPriority = {}));
|
|
182
|
-
//# sourceMappingURL=store.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"store.js","sourceRoot":"","sources":["../../../src/store/store.ts"],"names":[],"mappings":";;;AAkaA,kDAEC;AAkFD,oCAEC;AAkID,oDAoBC;AAaD,oEAiBC;AAcD,0DAEC;AAvrBD,IAAY,uBAOX;AAPD,WAAY,uBAAuB;IAC/B,4DAAiC,CAAA;IACjC,wEAA6C,CAAA;IAC7C,gEAAqC,CAAA;IACrC,8DAAmC,CAAA;IACnC,8EAA8E;IAC9E,sEAA2C,CAAA;AAC/C,CAAC,EAPW,uBAAuB,uCAAvB,uBAAuB,QAOlC;AAiCD;;;GAGG;AACH,IAAY,mBAGX;AAHD,WAAY,mBAAmB;IAC3B,2FAA2F;IAC3F,wDAAiC,CAAA;AACrC,CAAC,EAHW,mBAAmB,mCAAnB,mBAAmB,QAG9B;AAED,IAAY,mBAOX;AAPD,WAAY,mBAAmB;IAC3B,0CAAmB,CAAA;IACnB,gDAAyB,CAAA;IACzB,sCAAe,CAAA;IACf,8CAAuB,CAAA;IACvB,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;AACzB,CAAC,EAPW,mBAAmB,mCAAnB,mBAAmB,QAO9B;AAoGD,IAAY,aAOX;AAPD,WAAY,aAAa;IACrB,gCAAe,CAAA;IACf,gCAAe,CAAA;IACf,gCAAe,CAAA;IACf,sCAAqB,CAAA;IACrB,8BAAa,CAAA;IACb,gCAAe,CAAA;AACnB,CAAC,EAPW,aAAa,6BAAb,aAAa,QAOxB;AAmCY,QAAA,qBAAqB,GAAG,QAAQ,CAAC;AACjC,QAAA,oBAAoB,GAAG,OAAO,CAAC;AAC/B,QAAA,wBAAwB,GAAG,KAAK,CAAC;AACjC,QAAA,kBAAkB,GAAG,KAAK,CAAC;AA+D3B,QAAA,oBAAoB,GAAG;IAChC,OAAO,EAAE,SAAS;CACZ,CAAC;AAmJX,SAAgB,mBAAmB,CAAC,IAA0B;IAC1D,OAAQ,IAAsB,CAAC,EAAE,IAAK,IAAsB,CAAC,IAAI,CAAC;AACtE,CAAC;AA6ED;;;;GAIG;AACH,SAAgB,YAAY,CAAC,MAAc;IACvC,OAAO,MAAM,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAC;AAChC,CAAC;AAQD,IAAY,qBAIX;AAJD,WAAY,qBAAqB;IAC7B,0CAAiB,CAAA;IACjB,8CAAqB,CAAA;IACrB,sCAAa,CAAA;AACjB,CAAC,EAJW,qBAAqB,qCAArB,qBAAqB,QAIhC;AA2CD,IAAY,oBAIX;AAJD,WAAY,oBAAoB;IAC5B,qCAAa,CAAA;IACb,mCAAW,CAAA;IACX,qCAAa,CAAA;AACjB,CAAC,EAJW,oBAAoB,oCAApB,oBAAoB,QAI/B;AAED,IAAY,uBAGX;AAHD,WAAY,uBAAuB;IAC/B,wCAAa,CAAA;IACb,sCAAW,CAAA;AACf,CAAC,EAHW,uBAAuB,uCAAvB,uBAAuB,QAGlC;AA4BD;;;;;;;GAOG;AACH,MAAM,uBAAuB,GAAsC;IAC/D,8CAA8C;IAC9C,SAAS,EAAE,CAAC,oBAAoB,CAAC,IAAI,EAAE,oBAAoB,CAAC,GAAG,EAAE,oBAAoB,CAAC,IAAI,CAAC;IAC3F,qDAAqD;IACrD,SAAS,EAAE,CAAC,oBAAoB,CAAC,IAAI,EAAE,oBAAoB,CAAC,GAAG,CAAC;IAChE,kDAAkD;IAClD,iBAAiB,EAAE,CAAC,oBAAoB,CAAC,IAAI,EAAE,oBAAoB,CAAC,GAAG,EAAE,oBAAoB,CAAC,IAAI,CAAC;IACnG,kDAAkD;IAClD,eAAe,EAAE,CAAC,uBAAuB,CAAC,GAAG,EAAE,uBAAuB,CAAC,IAAI,CAAC;IAC5E,kDAAkD;IAClD,QAAQ,EAAE,CAAC,uBAAuB,CAAC,IAAI,CAAC;IACxC,qCAAqC;IACrC,yEAAyE,EAAE,CAAC,uBAAuB,CAAC,GAAG,CAAC;IACxG,oBAAoB,EAAE,CAAC,uBAAuB,CAAC,GAAG,CAAC;IACnD,2EAA2E,EAAE,CAAC,uBAAuB,CAAC,GAAG,CAAC;IAC1G,+BAA+B,EAAE,CAAC,uBAAuB,CAAC,GAAG,CAAC;CACjE,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,SAAgB,oBAAoB,CAAC,WAA+B,EAAE,MAAgC;IAClG,IAAI,CAAC,WAAW;QAAE,OAAO,KAAK,CAAC;IAE/B,MAAM,SAAS,GAAG,OAAO,MAAM,KAAK,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC;IAE/D,0BAA0B;IAC1B,MAAM,UAAU,GAAG,uBAAuB,CAAC,WAAW,CAAC,CAAC;IACxD,IAAI,UAAU,IAAI,UAAU,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,KAAK,SAAS,CAAC,EAAE,CAAC;QACtD,OAAO,IAAI,CAAC;IAChB,CAAC;IAED,uDAAuD;IACvD,MAAM,CAAC,QAAQ,CAAC,GAAG,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IAC1C,MAAM,WAAW,GAAG,GAAG,QAAQ,IAAI,CAAC;IACpC,MAAM,aAAa,GAAG,uBAAuB,CAAC,WAAW,CAAC,CAAC;IAC3D,IAAI,aAAa,IAAI,aAAa,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,KAAK,SAAS,CAAC,EAAE,CAAC;QAC5D,OAAO,IAAI,CAAC;IAChB,CAAC;IAED,OAAO,KAAK,CAAC;AACjB,CAAC;AAED;;;;;;;;;;GAUG;AACH,SAAgB,4BAA4B,CAAC,WAA+B;IACxE,IAAI,CAAC,WAAW;QAAE,OAAO,EAAE,CAAC;IAE5B,0BAA0B;IAC1B,IAAI,uBAAuB,CAAC,WAAW,CAAC,EAAE,CAAC;QACvC,OAAO,CAAC,GAAG,uBAAuB,CAAC,WAAW,CAAC,CAAC,CAAC;IACrD,CAAC;IAED,0BAA0B;IAC1B,MAAM,CAAC,QAAQ,CAAC,GAAG,WAAW,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;IAC1C,MAAM,WAAW,GAAG,GAAG,QAAQ,IAAI,CAAC;IACpC,MAAM,aAAa,GAAG,uBAAuB,CAAC,WAAW,CAAC,CAAC;IAC3D,IAAI,aAAa,EAAE,CAAC;QAChB,OAAO,CAAC,GAAG,aAAa,CAAC,CAAC;IAC9B,CAAC;IAED,OAAO,EAAE,CAAC;AACd,CAAC;AAED;;;;;;;;;;;GAWG;AACH,SAAgB,uBAAuB,CAAC,WAA+B;IACnE,OAAO,oBAAoB,CAAC,WAAW,EAAE,oBAAoB,CAAC,IAAI,CAAC,CAAC;AACxE,CAAC;AA4GD,IAAY,+BAGX;AAHD,WAAY,+BAA+B;IACvC,oDAAiB,CAAA;IACjB,8CAAW,CAAA;AACf,CAAC,EAHW,+BAA+B,+CAA/B,+BAA+B,QAG1C"}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ParentClosePolicy = void 0;
|
|
4
|
-
exports.ParentClosePolicy = {
|
|
5
|
-
/**
|
|
6
|
-
* When the Parent is Closed, the Child is Terminated.
|
|
7
|
-
*
|
|
8
|
-
* @default
|
|
9
|
-
*/
|
|
10
|
-
TERMINATE: "TERMINATE",
|
|
11
|
-
/**
|
|
12
|
-
* When the Parent is Closed, nothing is done to the Child.
|
|
13
|
-
*/
|
|
14
|
-
ABANDON: "ABANDON",
|
|
15
|
-
/**
|
|
16
|
-
* When the Parent is Closed, the Child is Cancelled.
|
|
17
|
-
*/
|
|
18
|
-
REQUEST_CANCEL: "REQUEST_CANCEL",
|
|
19
|
-
/**
|
|
20
|
-
* If a `ParentClosePolicy` is set to this, or is not set at all, the server default value will be used.
|
|
21
|
-
*
|
|
22
|
-
* @deprecated Either leave property `undefined`, or set an explicit policy instead.
|
|
23
|
-
*/
|
|
24
|
-
PARENT_CLOSE_POLICY_UNSPECIFIED: undefined,
|
|
25
|
-
/**
|
|
26
|
-
* When the Parent is Closed, the Child is Terminated.
|
|
27
|
-
*
|
|
28
|
-
* @deprecated Use {@link ParentClosePolicy.TERMINATE} instead.
|
|
29
|
-
*/
|
|
30
|
-
PARENT_CLOSE_POLICY_TERMINATE: "TERMINATE",
|
|
31
|
-
/**
|
|
32
|
-
* When the Parent is Closed, nothing is done to the Child.
|
|
33
|
-
*
|
|
34
|
-
* @deprecated Use {@link ParentClosePolicy.ABANDON} instead.
|
|
35
|
-
*/
|
|
36
|
-
PARENT_CLOSE_POLICY_ABANDON: "ABANDON",
|
|
37
|
-
/**
|
|
38
|
-
* When the Parent is Closed, the Child is Cancelled.
|
|
39
|
-
*
|
|
40
|
-
* @deprecated Use {@link ParentClosePolicy.REQUEST_CANCEL} instead.
|
|
41
|
-
*/
|
|
42
|
-
PARENT_CLOSE_POLICY_REQUEST_CANCEL: "REQUEST_CANCEL"
|
|
43
|
-
};
|
|
44
|
-
//# sourceMappingURL=temporalio.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"temporalio.js","sourceRoot":"","sources":["../../../src/store/temporalio.ts"],"names":[],"mappings":";;;AAca,QAAA,iBAAiB,GAAG;IAC7B;;;;OAIG;IACH,SAAS,EAAE,WAAW;IACtB;;OAEG;IACH,OAAO,EAAE,SAAS;IAClB;;OAEG;IACH,cAAc,EAAE,gBAAgB;IAChC;;;;OAIG;IACH,+BAA+B,EAAE,SAAS;IAC1C;;;;OAIG;IACH,6BAA6B,EAAE,WAAW;IAC1C;;;;OAIG;IACH,2BAA2B,EAAE,SAAS;IACtC;;;;OAIG;IACH,kCAAkC,EAAE,gBAAgB;CACjC,CAAC"}
|
package/lib/cjs/store/worker.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"worker.js","sourceRoot":"","sources":["../../../src/store/worker.ts"],"names":[],"mappings":""}
|