@dxos/functions 0.8.4-main.937b3ca → 0.8.4-main.9735255
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/dist/lib/browser/index.mjs +17 -17
- package/dist/lib/browser/index.mjs.map +3 -3
- package/dist/lib/browser/meta.json +1 -1
- package/dist/lib/node-esm/index.mjs +17 -17
- package/dist/lib/node-esm/index.mjs.map +3 -3
- package/dist/lib/node-esm/meta.json +1 -1
- package/dist/types/src/services/event-logger.d.ts +2 -2
- package/dist/types/src/types/Trigger.d.ts +34 -34
- package/dist/types/src/types/Trigger.d.ts.map +1 -1
- package/dist/types/src/types/TriggerEvent.d.ts +16 -16
- package/dist/types/src/types/TriggerEvent.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +15 -15
- package/src/types/Trigger.ts +7 -7
- package/src/types/TriggerEvent.ts +20 -26
|
@@ -1 +1 @@
|
|
|
1
|
-
{"inputs":{"src/errors.ts":{"bytes":3073,"imports":[{"path":"@dxos/errors","kind":"import-statement","external":true}],"format":"esm"},"src/types/Script.ts":{"bytes":4043,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true}],"format":"esm"},"src/types/Function.ts":{"bytes":9044,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"src/types/Script.ts","kind":"import-statement","original":"./Script"}],"format":"esm"},"src/types/Trigger.ts":{"bytes":15290,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true}],"format":"esm"},"src/types/TriggerEvent.ts":{"bytes":6378,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true}],"format":"esm"},"src/types/url.ts":{"bytes":3375,"imports":[],"format":"esm"},"src/types/index.ts":{"bytes":1061,"imports":[{"path":"src/types/Function.ts","kind":"import-statement","original":"./Function"},{"path":"src/types/Script.ts","kind":"import-statement","original":"./Script"},{"path":"src/types/Trigger.ts","kind":"import-statement","original":"./Trigger"},{"path":"src/types/TriggerEvent.ts","kind":"import-statement","original":"./TriggerEvent"},{"path":"src/types/url.ts","kind":"import-statement","original":"./url"}],"format":"esm"},"src/sdk.ts":{"bytes":24340,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"./types"},{"path":"src/types/index.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"src/example/fib.ts":{"bytes":3247,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"src/sdk.ts","kind":"import-statement","original":"../sdk"}],"format":"esm"},"src/example/reply.ts":{"bytes":2136,"imports":[{"path":"effect/Console","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"src/sdk.ts","kind":"import-statement","original":"../sdk"}],"format":"esm"},"src/example/sleep.ts":{"bytes":2579,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"src/sdk.ts","kind":"import-statement","original":"../sdk"}],"format":"esm"},"src/example/index.ts":{"bytes":1301,"imports":[{"path":"src/example/fib.ts","kind":"import-statement","original":"./fib"},{"path":"src/example/reply.ts","kind":"import-statement","original":"./reply"},{"path":"src/example/sleep.ts","kind":"import-statement","original":"./sleep"}],"format":"esm"},"src/services/credentials.ts":{"bytes":16035,"imports":[{"path":"@effect/platform/HttpClient","kind":"import-statement","external":true},{"path":"@effect/platform/HttpClientRequest","kind":"import-statement","external":true},{"path":"effect/Context","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true},{"path":"effect/Redacted","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true}],"format":"esm"},"src/services/tracing.ts":{"bytes":12776,"imports":[{"path":"effect/Context","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true},{"path":"@dxos/ai","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true}],"format":"esm"},"src/services/event-logger.ts":{"bytes":12035,"imports":[{"path":"effect/Context","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"src/services/tracing.ts","kind":"import-statement","original":"./tracing"}],"format":"esm"},"src/services/function-invocation-service.ts":{"bytes":4010,"imports":[{"path":"effect/Context","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true}],"format":"esm"},"src/services/queues.ts":{"bytes":6416,"imports":[{"path":"effect/Context","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true}],"format":"esm"},"src/services/index.ts":{"bytes":1416,"imports":[{"path":"src/services/credentials.ts","kind":"import-statement","original":"./credentials"},{"path":"src/services/credentials.ts","kind":"import-statement","original":"./credentials"},{"path":"src/services/event-logger.ts","kind":"import-statement","original":"./event-logger"},{"path":"src/services/event-logger.ts","kind":"import-statement","original":"./event-logger"},{"path":"src/services/function-invocation-service.ts","kind":"import-statement","original":"./function-invocation-service"},{"path":"src/services/queues.ts","kind":"import-statement","original":"./queues"},{"path":"src/services/tracing.ts","kind":"import-statement","original":"./tracing"}],"format":"esm"},"src/protocol/functions-ai-http-client.ts":{"bytes":9111,"imports":[{"path":"@effect/platform/Headers","kind":"import-statement","external":true},{"path":"@effect/platform/HttpClient","kind":"import-statement","external":true},{"path":"@effect/platform/HttpClientError","kind":"import-statement","external":true},{"path":"@effect/platform/HttpClientResponse","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/FiberRef","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true},{"path":"effect/Stream","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true}],"format":"esm"},"src/protocol/protocol.ts":{"bytes":35855,"imports":[{"path":"@effect/ai-anthropic/AnthropicClient","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"@dxos/ai","kind":"import-statement","external":true},{"path":"@dxos/ai/resolvers","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/echo-db","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"src/errors.ts","kind":"import-statement","original":"../errors"},{"path":"src/sdk.ts","kind":"import-statement","original":"../sdk"},{"path":"src/services/index.ts","kind":"import-statement","original":"../services"},{"path":"src/protocol/functions-ai-http-client.ts","kind":"import-statement","original":"./functions-ai-http-client"}],"format":"esm"},"src/protocol/index.ts":{"bytes":459,"imports":[{"path":"src/protocol/protocol.ts","kind":"import-statement","original":"./protocol"}],"format":"esm"},"src/index.ts":{"bytes":867,"imports":[{"path":"src/errors.ts","kind":"import-statement","original":"./errors"},{"path":"src/example/index.ts","kind":"import-statement","original":"./example"},{"path":"src/sdk.ts","kind":"import-statement","original":"./sdk"},{"path":"src/services/index.ts","kind":"import-statement","original":"./services"},{"path":"src/types/index.ts","kind":"import-statement","original":"./types"},{"path":"src/protocol/index.ts","kind":"import-statement","original":"./protocol"}],"format":"esm"}},"outputs":{"dist/lib/node-esm/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":86252},"dist/lib/node-esm/index.mjs":{"imports":[{"path":"@dxos/errors","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"effect/Console","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@effect/platform/HttpClient","kind":"import-statement","external":true},{"path":"@effect/platform/HttpClientRequest","kind":"import-statement","external":true},{"path":"effect/Context","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true},{"path":"effect/Redacted","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"effect/Context","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"effect/Context","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true},{"path":"@dxos/ai","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"effect/Context","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true},{"path":"effect/Context","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true},{"path":"@effect/ai-anthropic/AnthropicClient","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"@dxos/ai","kind":"import-statement","external":true},{"path":"@dxos/ai/resolvers","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/echo-db","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@effect/platform/Headers","kind":"import-statement","external":true},{"path":"@effect/platform/HttpClient","kind":"import-statement","external":true},{"path":"@effect/platform/HttpClientError","kind":"import-statement","external":true},{"path":"@effect/platform/HttpClientResponse","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/FiberRef","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true},{"path":"effect/Stream","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true}],"exports":["ComputeEvent","ComputeEventLogger","ComputeEventPayload","ConfiguredCredentialsService","ContextQueueService","CredentialsService","Example","FUNCTIONS_META_KEY","FUNCTIONS_PRESET_META_KEY","Function","FunctionDefinition","FunctionError","FunctionInvocationService","FunctionNotFoundError","MESSAGE_PROPERTY_TOOL_CALL_ID","QueueService","Script","ServiceNotAvailableError","TracingService","Trigger","TriggerEvent","TriggerStateNotFoundError","createDefectLogger","createEventLogger","defineFunction","deserializeFunction","getUserFunctionIdInMetadata","logCustomEvent","serializeFunction","setUserFunctionIdInMetadata","toOperation","withAuthorization","wrapFunctionHandler"],"entryPoint":"src/index.ts","inputs":{"src/errors.ts":{"bytesInOutput":736},"src/index.ts":{"bytesInOutput":0},"src/example/fib.ts":{"bytesInOutput":708},"src/sdk.ts":{"bytesInOutput":4205},"src/types/Function.ts":{"bytesInOutput":2264},"src/types/Script.ts":{"bytesInOutput":921},"src/types/index.ts":{"bytesInOutput":0},"src/types/Trigger.ts":{"bytesInOutput":3879},"src/types/TriggerEvent.ts":{"bytesInOutput":1441},"src/types/url.ts":{"bytesInOutput":576},"src/example/reply.ts":{"bytesInOutput":448},"src/example/sleep.ts":{"bytesInOutput":550},"src/example/index.ts":{"bytesInOutput":164},"src/services/credentials.ts":{"bytesInOutput":3572},"src/services/index.ts":{"bytesInOutput":0},"src/services/event-logger.ts":{"bytesInOutput":2964},"src/services/tracing.ts":{"bytesInOutput":2524},"src/services/function-invocation-service.ts":{"bytesInOutput":820},"src/services/queues.ts":{"bytesInOutput":1233},"src/protocol/protocol.ts":{"bytesInOutput":10314},"src/protocol/functions-ai-http-client.ts":{"bytesInOutput":2187}},"bytes":41227}}}
|
|
1
|
+
{"inputs":{"src/errors.ts":{"bytes":3073,"imports":[{"path":"@dxos/errors","kind":"import-statement","external":true}],"format":"esm"},"src/types/Script.ts":{"bytes":4043,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true}],"format":"esm"},"src/types/Function.ts":{"bytes":9044,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"src/types/Script.ts","kind":"import-statement","original":"./Script"}],"format":"esm"},"src/types/Trigger.ts":{"bytes":14668,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true}],"format":"esm"},"src/types/TriggerEvent.ts":{"bytes":5953,"imports":[{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true}],"format":"esm"},"src/types/url.ts":{"bytes":3375,"imports":[],"format":"esm"},"src/types/index.ts":{"bytes":1061,"imports":[{"path":"src/types/Function.ts","kind":"import-statement","original":"./Function"},{"path":"src/types/Script.ts","kind":"import-statement","original":"./Script"},{"path":"src/types/Trigger.ts","kind":"import-statement","original":"./Trigger"},{"path":"src/types/TriggerEvent.ts","kind":"import-statement","original":"./TriggerEvent"},{"path":"src/types/url.ts","kind":"import-statement","original":"./url"}],"format":"esm"},"src/sdk.ts":{"bytes":24340,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"src/types/index.ts","kind":"import-statement","original":"./types"},{"path":"src/types/index.ts","kind":"import-statement","original":"./types"}],"format":"esm"},"src/example/fib.ts":{"bytes":3247,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"src/sdk.ts","kind":"import-statement","original":"../sdk"}],"format":"esm"},"src/example/reply.ts":{"bytes":2136,"imports":[{"path":"effect/Console","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"src/sdk.ts","kind":"import-statement","original":"../sdk"}],"format":"esm"},"src/example/sleep.ts":{"bytes":2579,"imports":[{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"src/sdk.ts","kind":"import-statement","original":"../sdk"}],"format":"esm"},"src/example/index.ts":{"bytes":1301,"imports":[{"path":"src/example/fib.ts","kind":"import-statement","original":"./fib"},{"path":"src/example/reply.ts","kind":"import-statement","original":"./reply"},{"path":"src/example/sleep.ts","kind":"import-statement","original":"./sleep"}],"format":"esm"},"src/services/credentials.ts":{"bytes":16035,"imports":[{"path":"@effect/platform/HttpClient","kind":"import-statement","external":true},{"path":"@effect/platform/HttpClientRequest","kind":"import-statement","external":true},{"path":"effect/Context","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true},{"path":"effect/Redacted","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true}],"format":"esm"},"src/services/tracing.ts":{"bytes":12776,"imports":[{"path":"effect/Context","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true},{"path":"@dxos/ai","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true}],"format":"esm"},"src/services/event-logger.ts":{"bytes":12035,"imports":[{"path":"effect/Context","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"src/services/tracing.ts","kind":"import-statement","original":"./tracing"}],"format":"esm"},"src/services/function-invocation-service.ts":{"bytes":4010,"imports":[{"path":"effect/Context","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true}],"format":"esm"},"src/services/queues.ts":{"bytes":6416,"imports":[{"path":"effect/Context","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true}],"format":"esm"},"src/services/index.ts":{"bytes":1416,"imports":[{"path":"src/services/credentials.ts","kind":"import-statement","original":"./credentials"},{"path":"src/services/credentials.ts","kind":"import-statement","original":"./credentials"},{"path":"src/services/event-logger.ts","kind":"import-statement","original":"./event-logger"},{"path":"src/services/event-logger.ts","kind":"import-statement","original":"./event-logger"},{"path":"src/services/function-invocation-service.ts","kind":"import-statement","original":"./function-invocation-service"},{"path":"src/services/queues.ts","kind":"import-statement","original":"./queues"},{"path":"src/services/tracing.ts","kind":"import-statement","original":"./tracing"}],"format":"esm"},"src/protocol/functions-ai-http-client.ts":{"bytes":9111,"imports":[{"path":"@effect/platform/Headers","kind":"import-statement","external":true},{"path":"@effect/platform/HttpClient","kind":"import-statement","external":true},{"path":"@effect/platform/HttpClientError","kind":"import-statement","external":true},{"path":"@effect/platform/HttpClientResponse","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/FiberRef","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true},{"path":"effect/Stream","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true}],"format":"esm"},"src/protocol/protocol.ts":{"bytes":35855,"imports":[{"path":"@effect/ai-anthropic/AnthropicClient","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"@dxos/ai","kind":"import-statement","external":true},{"path":"@dxos/ai/resolvers","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/echo-db","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"src/errors.ts","kind":"import-statement","original":"../errors"},{"path":"src/sdk.ts","kind":"import-statement","original":"../sdk"},{"path":"src/services/index.ts","kind":"import-statement","original":"../services"},{"path":"src/protocol/functions-ai-http-client.ts","kind":"import-statement","original":"./functions-ai-http-client"}],"format":"esm"},"src/protocol/index.ts":{"bytes":459,"imports":[{"path":"src/protocol/protocol.ts","kind":"import-statement","original":"./protocol"}],"format":"esm"},"src/index.ts":{"bytes":867,"imports":[{"path":"src/errors.ts","kind":"import-statement","original":"./errors"},{"path":"src/example/index.ts","kind":"import-statement","original":"./example"},{"path":"src/sdk.ts","kind":"import-statement","original":"./sdk"},{"path":"src/services/index.ts","kind":"import-statement","original":"./services"},{"path":"src/types/index.ts","kind":"import-statement","original":"./types"},{"path":"src/protocol/index.ts","kind":"import-statement","original":"./protocol"}],"format":"esm"}},"outputs":{"dist/lib/node-esm/index.mjs.map":{"imports":[],"exports":[],"inputs":{},"bytes":85755},"dist/lib/node-esm/index.mjs":{"imports":[{"path":"@dxos/errors","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/operation","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/schema","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"effect/Console","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@effect/platform/HttpClient","kind":"import-statement","external":true},{"path":"@effect/platform/HttpClientRequest","kind":"import-statement","external":true},{"path":"effect/Context","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true},{"path":"effect/Redacted","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"effect/Context","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"effect/Context","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true},{"path":"@dxos/ai","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@dxos/types","kind":"import-statement","external":true},{"path":"effect/Context","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true},{"path":"effect/Context","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true},{"path":"@effect/ai-anthropic/AnthropicClient","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true},{"path":"effect/Schema","kind":"import-statement","external":true},{"path":"effect/SchemaAST","kind":"import-statement","external":true},{"path":"@dxos/ai","kind":"import-statement","external":true},{"path":"@dxos/ai/resolvers","kind":"import-statement","external":true},{"path":"@dxos/context","kind":"import-statement","external":true},{"path":"@dxos/echo","kind":"import-statement","external":true},{"path":"@dxos/echo/internal","kind":"import-statement","external":true},{"path":"@dxos/echo-db","kind":"import-statement","external":true},{"path":"@dxos/effect","kind":"import-statement","external":true},{"path":"@dxos/invariant","kind":"import-statement","external":true},{"path":"@dxos/keys","kind":"import-statement","external":true},{"path":"@effect/platform/Headers","kind":"import-statement","external":true},{"path":"@effect/platform/HttpClient","kind":"import-statement","external":true},{"path":"@effect/platform/HttpClientError","kind":"import-statement","external":true},{"path":"@effect/platform/HttpClientResponse","kind":"import-statement","external":true},{"path":"effect/Effect","kind":"import-statement","external":true},{"path":"effect/FiberRef","kind":"import-statement","external":true},{"path":"effect/Layer","kind":"import-statement","external":true},{"path":"effect/Stream","kind":"import-statement","external":true},{"path":"@dxos/log","kind":"import-statement","external":true},{"path":"@dxos/protocols","kind":"import-statement","external":true}],"exports":["ComputeEvent","ComputeEventLogger","ComputeEventPayload","ConfiguredCredentialsService","ContextQueueService","CredentialsService","Example","FUNCTIONS_META_KEY","FUNCTIONS_PRESET_META_KEY","Function","FunctionDefinition","FunctionError","FunctionInvocationService","FunctionNotFoundError","MESSAGE_PROPERTY_TOOL_CALL_ID","QueueService","Script","ServiceNotAvailableError","TracingService","Trigger","TriggerEvent","TriggerStateNotFoundError","createDefectLogger","createEventLogger","defineFunction","deserializeFunction","getUserFunctionIdInMetadata","logCustomEvent","serializeFunction","setUserFunctionIdInMetadata","toOperation","withAuthorization","wrapFunctionHandler"],"entryPoint":"src/index.ts","inputs":{"src/errors.ts":{"bytesInOutput":736},"src/index.ts":{"bytesInOutput":0},"src/example/fib.ts":{"bytesInOutput":708},"src/sdk.ts":{"bytesInOutput":4205},"src/types/Function.ts":{"bytesInOutput":2264},"src/types/Script.ts":{"bytesInOutput":921},"src/types/index.ts":{"bytesInOutput":0},"src/types/Trigger.ts":{"bytesInOutput":3730},"src/types/TriggerEvent.ts":{"bytesInOutput":1351},"src/types/url.ts":{"bytesInOutput":576},"src/example/reply.ts":{"bytesInOutput":448},"src/example/sleep.ts":{"bytesInOutput":550},"src/example/index.ts":{"bytesInOutput":164},"src/services/credentials.ts":{"bytesInOutput":3572},"src/services/index.ts":{"bytesInOutput":0},"src/services/event-logger.ts":{"bytesInOutput":2964},"src/services/tracing.ts":{"bytesInOutput":2524},"src/services/function-invocation-service.ts":{"bytesInOutput":820},"src/services/queues.ts":{"bytesInOutput":1233},"src/protocol/protocol.ts":{"bytesInOutput":10314},"src/protocol/functions-ai-http-client.ts":{"bytesInOutput":2187}},"bytes":40988}}}
|
|
@@ -45,13 +45,13 @@ export declare const ComputeEvent: Type.Obj<{
|
|
|
45
45
|
readonly nodeId: string;
|
|
46
46
|
readonly outputs: readonly string[];
|
|
47
47
|
} | {
|
|
48
|
-
readonly type: "compute-input";
|
|
49
48
|
readonly value: any;
|
|
49
|
+
readonly type: "compute-input";
|
|
50
50
|
readonly nodeId: string;
|
|
51
51
|
readonly property: string;
|
|
52
52
|
} | {
|
|
53
|
-
readonly type: "compute-output";
|
|
54
53
|
readonly value: any;
|
|
54
|
+
readonly type: "compute-output";
|
|
55
55
|
readonly nodeId: string;
|
|
56
56
|
readonly property: string;
|
|
57
57
|
} | {
|
|
@@ -7,73 +7,73 @@ import { Obj, QueryAST, Type } from '@dxos/echo';
|
|
|
7
7
|
*/
|
|
8
8
|
export declare const Kinds: readonly ["email", "queue", "subscription", "timer", "webhook"];
|
|
9
9
|
export type Kind = (typeof Kinds)[number];
|
|
10
|
-
export declare const EmailSpec: Schema.
|
|
10
|
+
export declare const EmailSpec: Schema.Struct<{
|
|
11
11
|
kind: Schema.Literal<["email"]>;
|
|
12
|
-
}
|
|
12
|
+
}>;
|
|
13
13
|
export type EmailSpec = Schema.Schema.Type<typeof EmailSpec>;
|
|
14
|
-
export declare const QueueSpec: Schema.
|
|
14
|
+
export declare const QueueSpec: Schema.Struct<{
|
|
15
15
|
kind: Schema.Literal<["queue"]>;
|
|
16
16
|
queue: Schema.refine<string, typeof Schema.NonEmptyString>;
|
|
17
|
-
}
|
|
17
|
+
}>;
|
|
18
18
|
export type QueueSpec = Schema.Schema.Type<typeof QueueSpec>;
|
|
19
19
|
/**
|
|
20
20
|
* Subscription.
|
|
21
21
|
*/
|
|
22
|
-
export declare const SubscriptionSpec: Schema.
|
|
22
|
+
export declare const SubscriptionSpec: Schema.Struct<{
|
|
23
23
|
kind: Schema.Literal<["subscription"]>;
|
|
24
|
-
query: Schema.
|
|
24
|
+
query: Schema.Struct<{
|
|
25
25
|
raw: Schema.optional<Schema.SchemaClass<string, string, never>>;
|
|
26
26
|
ast: Schema.Schema<QueryAST.QuerySelectClause | QueryAST.QueryFilterClause | QueryAST.QueryReferenceTraversalClause | QueryAST.QueryIncomingReferencesClause | QueryAST.QueryRelationClause | QueryAST.QueryRelationTraversalClause | QueryAST.QueryUnionClause | QueryAST.QuerySetDifferenceClause | QueryAST.QueryOrderClause | QueryAST.QueryOptionsClause | QueryAST.QueryLimitClause, QueryAST.QuerySelectClause | QueryAST.QueryFilterClause | QueryAST.QueryReferenceTraversalClause | QueryAST.QueryIncomingReferencesClause | QueryAST.QueryRelationClause | QueryAST.QueryRelationTraversalClause | QueryAST.QueryUnionClause | QueryAST.QuerySetDifferenceClause | QueryAST.QueryOrderClause | QueryAST.QueryOptionsClause | QueryAST.QueryLimitClause, never>;
|
|
27
|
-
}
|
|
27
|
+
}>;
|
|
28
28
|
options: Schema.optional<Schema.Struct<{
|
|
29
29
|
deep: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
|
|
30
30
|
delay: Schema.optional<Schema.SchemaClass<number, number, never>>;
|
|
31
31
|
}>>;
|
|
32
|
-
}
|
|
32
|
+
}>;
|
|
33
33
|
export type SubscriptionSpec = Schema.Schema.Type<typeof SubscriptionSpec>;
|
|
34
34
|
/**
|
|
35
35
|
* Cron timer.
|
|
36
36
|
*/
|
|
37
|
-
export declare const TimerSpec: Schema.
|
|
37
|
+
export declare const TimerSpec: Schema.Struct<{
|
|
38
38
|
kind: Schema.Literal<["timer"]>;
|
|
39
39
|
cron: Schema.SchemaClass<string, string, never>;
|
|
40
|
-
}
|
|
40
|
+
}>;
|
|
41
41
|
export type TimerSpec = Schema.Schema.Type<typeof TimerSpec>;
|
|
42
42
|
/**
|
|
43
43
|
* Webhook.
|
|
44
44
|
*/
|
|
45
|
-
export declare const WebhookSpec: Schema.
|
|
45
|
+
export declare const WebhookSpec: Schema.Struct<{
|
|
46
46
|
kind: Schema.Literal<["webhook"]>;
|
|
47
47
|
method: Schema.optional<Schema.SchemaClass<string, string, never>>;
|
|
48
48
|
port: Schema.optional<Schema.SchemaClass<number, number, never>>;
|
|
49
|
-
}
|
|
49
|
+
}>;
|
|
50
50
|
export type WebhookSpec = Schema.Schema.Type<typeof WebhookSpec>;
|
|
51
51
|
/**
|
|
52
52
|
* Trigger schema.
|
|
53
53
|
*/
|
|
54
|
-
export declare const Spec: Schema.Union<[Schema.
|
|
54
|
+
export declare const Spec: Schema.Union<[Schema.Struct<{
|
|
55
55
|
kind: Schema.Literal<["email"]>;
|
|
56
|
-
}
|
|
56
|
+
}>, Schema.Struct<{
|
|
57
57
|
kind: Schema.Literal<["queue"]>;
|
|
58
58
|
queue: Schema.refine<string, typeof Schema.NonEmptyString>;
|
|
59
|
-
}
|
|
59
|
+
}>, Schema.Struct<{
|
|
60
60
|
kind: Schema.Literal<["subscription"]>;
|
|
61
|
-
query: Schema.
|
|
61
|
+
query: Schema.Struct<{
|
|
62
62
|
raw: Schema.optional<Schema.SchemaClass<string, string, never>>;
|
|
63
63
|
ast: Schema.Schema<QueryAST.QuerySelectClause | QueryAST.QueryFilterClause | QueryAST.QueryReferenceTraversalClause | QueryAST.QueryIncomingReferencesClause | QueryAST.QueryRelationClause | QueryAST.QueryRelationTraversalClause | QueryAST.QueryUnionClause | QueryAST.QuerySetDifferenceClause | QueryAST.QueryOrderClause | QueryAST.QueryOptionsClause | QueryAST.QueryLimitClause, QueryAST.QuerySelectClause | QueryAST.QueryFilterClause | QueryAST.QueryReferenceTraversalClause | QueryAST.QueryIncomingReferencesClause | QueryAST.QueryRelationClause | QueryAST.QueryRelationTraversalClause | QueryAST.QueryUnionClause | QueryAST.QuerySetDifferenceClause | QueryAST.QueryOrderClause | QueryAST.QueryOptionsClause | QueryAST.QueryLimitClause, never>;
|
|
64
|
-
}
|
|
64
|
+
}>;
|
|
65
65
|
options: Schema.optional<Schema.Struct<{
|
|
66
66
|
deep: Schema.optional<Schema.SchemaClass<boolean, boolean, never>>;
|
|
67
67
|
delay: Schema.optional<Schema.SchemaClass<number, number, never>>;
|
|
68
68
|
}>>;
|
|
69
|
-
}
|
|
69
|
+
}>, Schema.Struct<{
|
|
70
70
|
kind: Schema.Literal<["timer"]>;
|
|
71
71
|
cron: Schema.SchemaClass<string, string, never>;
|
|
72
|
-
}
|
|
72
|
+
}>, Schema.Struct<{
|
|
73
73
|
kind: Schema.Literal<["webhook"]>;
|
|
74
74
|
method: Schema.optional<Schema.SchemaClass<string, string, never>>;
|
|
75
75
|
port: Schema.optional<Schema.SchemaClass<number, number, never>>;
|
|
76
|
-
}
|
|
76
|
+
}>]>;
|
|
77
77
|
export type Spec = Schema.Schema.Type<typeof Spec>;
|
|
78
78
|
/**
|
|
79
79
|
* Function trigger.
|
|
@@ -87,30 +87,30 @@ declare const TriggerSchema: Type.Obj<{
|
|
|
87
87
|
readonly inputNodeId?: string | undefined;
|
|
88
88
|
readonly enabled?: boolean | undefined;
|
|
89
89
|
readonly spec?: {
|
|
90
|
-
kind: "email";
|
|
90
|
+
readonly kind: "email";
|
|
91
91
|
} | {
|
|
92
|
-
queue: string;
|
|
93
|
-
kind: "queue";
|
|
92
|
+
readonly queue: string;
|
|
93
|
+
readonly kind: "queue";
|
|
94
94
|
} | {
|
|
95
|
-
kind: "subscription";
|
|
96
|
-
query: {
|
|
97
|
-
raw?: string | undefined;
|
|
98
|
-
ast: QueryAST.QuerySelectClause | QueryAST.QueryFilterClause | QueryAST.QueryReferenceTraversalClause | QueryAST.QueryIncomingReferencesClause | QueryAST.QueryRelationClause | QueryAST.QueryRelationTraversalClause | QueryAST.QueryUnionClause | QueryAST.QuerySetDifferenceClause | QueryAST.QueryOrderClause | QueryAST.QueryOptionsClause | QueryAST.QueryLimitClause;
|
|
95
|
+
readonly kind: "subscription";
|
|
96
|
+
readonly query: {
|
|
97
|
+
readonly raw?: string | undefined;
|
|
98
|
+
readonly ast: QueryAST.QuerySelectClause | QueryAST.QueryFilterClause | QueryAST.QueryReferenceTraversalClause | QueryAST.QueryIncomingReferencesClause | QueryAST.QueryRelationClause | QueryAST.QueryRelationTraversalClause | QueryAST.QueryUnionClause | QueryAST.QuerySetDifferenceClause | QueryAST.QueryOrderClause | QueryAST.QueryOptionsClause | QueryAST.QueryLimitClause;
|
|
99
99
|
};
|
|
100
|
-
options?: {
|
|
100
|
+
readonly options?: {
|
|
101
101
|
readonly deep?: boolean | undefined;
|
|
102
102
|
readonly delay?: number | undefined;
|
|
103
103
|
} | undefined;
|
|
104
104
|
} | {
|
|
105
|
-
kind: "timer";
|
|
106
|
-
cron: string;
|
|
105
|
+
readonly kind: "timer";
|
|
106
|
+
readonly cron: string;
|
|
107
107
|
} | {
|
|
108
|
-
kind: "webhook";
|
|
109
|
-
method?: string | undefined;
|
|
110
|
-
port?: number | undefined;
|
|
108
|
+
readonly kind: "webhook";
|
|
109
|
+
readonly method?: string | undefined;
|
|
110
|
+
readonly port?: number | undefined;
|
|
111
111
|
} | undefined;
|
|
112
112
|
readonly input?: {
|
|
113
|
-
[x: string]: any;
|
|
113
|
+
readonly [x: string]: any;
|
|
114
114
|
} | undefined;
|
|
115
115
|
}, Schema.Struct.Fields>;
|
|
116
116
|
export interface Trigger extends Schema.Schema.Type<typeof TriggerSchema> {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Trigger.d.ts","sourceRoot":"","sources":["../../../../src/types/Trigger.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAKjD;;;;GAIG;AACH,eAAO,MAAM,KAAK,iEAAkE,CAAC;AACrF,MAAM,MAAM,IAAI,GAAG,CAAC,OAAO,KAAK,CAAC,CAAC,MAAM,CAAC,CAAC;AAI1C,eAAO,MAAM,SAAS;;
|
|
1
|
+
{"version":3,"file":"Trigger.d.ts","sourceRoot":"","sources":["../../../../src/types/Trigger.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAGxC,OAAO,EAAE,GAAG,EAAE,QAAQ,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAKjD;;;;GAIG;AACH,eAAO,MAAM,KAAK,iEAAkE,CAAC;AACrF,MAAM,MAAM,IAAI,GAAG,CAAC,OAAO,KAAK,CAAC,CAAC,MAAM,CAAC,CAAC;AAI1C,eAAO,MAAM,SAAS;;EAEpB,CAAC;AACH,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,SAAS,CAAC,CAAC;AAE7D,eAAO,MAAM,SAAS;;;EAKpB,CAAC;AACH,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,SAAS,CAAC,CAAC;AAE7D;;GAEG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;EAc3B,CAAC;AACH,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAE3E;;GAEG;AACH,eAAO,MAAM,SAAS;;;EAMpB,CAAC;AACH,MAAM,MAAM,SAAS,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,SAAS,CAAC,CAAC;AAE7D;;GAEG;AACH,eAAO,MAAM,WAAW;;;;EAatB,CAAC;AACH,MAAM,MAAM,WAAW,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,WAAW,CAAC,CAAC;AAEjE;;GAEG;AACH,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;IAEf,CAAC;AACH,MAAM,MAAM,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,IAAI,CAAC,CAAC;AAEnD;;;;GAIG;AACH,QAAA,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wBAsClB,CAAC;AAEF,MAAM,WAAW,OAAQ,SAAQ,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,aAAa,CAAC;CAAG;AAC5E,eAAO,MAAM,OAAO,EAAE,IAAI,CAAC,GAAG,CAAC,OAAO,CAAwB,CAAC;AAE/D,eAAO,MAAM,IAAI,GAAI,OAAO,GAAG,CAAC,SAAS,CAAC,OAAO,OAAO,CAAC,2GAA6B,CAAC"}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import * as Schema from 'effect/Schema';
|
|
2
|
-
export declare const EmailEvent: Schema.
|
|
2
|
+
export declare const EmailEvent: Schema.Struct<{
|
|
3
3
|
from: typeof Schema.String;
|
|
4
4
|
to: typeof Schema.String;
|
|
5
5
|
subject: typeof Schema.String;
|
|
6
6
|
created: typeof Schema.String;
|
|
7
7
|
body: typeof Schema.String;
|
|
8
|
-
}
|
|
8
|
+
}>;
|
|
9
9
|
export type EmailEvent = Schema.Schema.Type<typeof EmailEvent>;
|
|
10
|
-
export declare const QueueEvent: Schema.
|
|
10
|
+
export declare const QueueEvent: Schema.Struct<{
|
|
11
11
|
queue: Schema.refine<string, typeof Schema.NonEmptyString>;
|
|
12
12
|
item: typeof Schema.Any;
|
|
13
13
|
cursor: typeof Schema.String;
|
|
14
|
-
}
|
|
14
|
+
}>;
|
|
15
15
|
export type QueueEvent = Schema.Schema.Type<typeof QueueEvent>;
|
|
16
|
-
export declare const SubscriptionEvent: Schema.
|
|
16
|
+
export declare const SubscriptionEvent: Schema.Struct<{
|
|
17
17
|
/**
|
|
18
18
|
* Type of the mutation.
|
|
19
19
|
*/
|
|
@@ -26,30 +26,30 @@ export declare const SubscriptionEvent: Schema.mutable<Schema.Struct<{
|
|
|
26
26
|
* @deprecated
|
|
27
27
|
*/
|
|
28
28
|
changedObjectId: Schema.optional<typeof Schema.String>;
|
|
29
|
-
}
|
|
29
|
+
}>;
|
|
30
30
|
export type SubscriptionEvent = Schema.Schema.Type<typeof SubscriptionEvent>;
|
|
31
|
-
export declare const TimerEvent: Schema.
|
|
31
|
+
export declare const TimerEvent: Schema.Struct<{
|
|
32
32
|
tick: typeof Schema.Number;
|
|
33
|
-
}
|
|
33
|
+
}>;
|
|
34
34
|
export type TimerEvent = Schema.Schema.Type<typeof TimerEvent>;
|
|
35
|
-
export declare const WebhookEvent: Schema.
|
|
35
|
+
export declare const WebhookEvent: Schema.Struct<{
|
|
36
36
|
url: typeof Schema.String;
|
|
37
37
|
method: Schema.Literal<["GET", "POST"]>;
|
|
38
38
|
headers: Schema.Record$<typeof Schema.String, typeof Schema.String>;
|
|
39
39
|
bodyText: typeof Schema.String;
|
|
40
|
-
}
|
|
40
|
+
}>;
|
|
41
41
|
export type WebhookEvent = Schema.Schema.Type<typeof WebhookEvent>;
|
|
42
|
-
export declare const TriggerEvent: Schema.Union<[Schema.
|
|
42
|
+
export declare const TriggerEvent: Schema.Union<[Schema.Struct<{
|
|
43
43
|
from: typeof Schema.String;
|
|
44
44
|
to: typeof Schema.String;
|
|
45
45
|
subject: typeof Schema.String;
|
|
46
46
|
created: typeof Schema.String;
|
|
47
47
|
body: typeof Schema.String;
|
|
48
|
-
}
|
|
48
|
+
}>, Schema.Struct<{
|
|
49
49
|
queue: Schema.refine<string, typeof Schema.NonEmptyString>;
|
|
50
50
|
item: typeof Schema.Any;
|
|
51
51
|
cursor: typeof Schema.String;
|
|
52
|
-
}
|
|
52
|
+
}>, Schema.Struct<{
|
|
53
53
|
/**
|
|
54
54
|
* Type of the mutation.
|
|
55
55
|
*/
|
|
@@ -62,13 +62,13 @@ export declare const TriggerEvent: Schema.Union<[Schema.mutable<Schema.Struct<{
|
|
|
62
62
|
* @deprecated
|
|
63
63
|
*/
|
|
64
64
|
changedObjectId: Schema.optional<typeof Schema.String>;
|
|
65
|
-
}
|
|
65
|
+
}>, Schema.Struct<{
|
|
66
66
|
tick: typeof Schema.Number;
|
|
67
|
-
}
|
|
67
|
+
}>, Schema.Struct<{
|
|
68
68
|
url: typeof Schema.String;
|
|
69
69
|
method: Schema.Literal<["GET", "POST"]>;
|
|
70
70
|
headers: Schema.Record$<typeof Schema.String, typeof Schema.String>;
|
|
71
71
|
bodyText: typeof Schema.String;
|
|
72
|
-
}
|
|
72
|
+
}>]>;
|
|
73
73
|
export type TriggerEvent = Schema.Schema.Type<typeof TriggerEvent>;
|
|
74
74
|
//# sourceMappingURL=TriggerEvent.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TriggerEvent.d.ts","sourceRoot":"","sources":["../../../../src/types/TriggerEvent.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAUxC,eAAO,MAAM,UAAU;;;;;;
|
|
1
|
+
{"version":3,"file":"TriggerEvent.d.ts","sourceRoot":"","sources":["../../../../src/types/TriggerEvent.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAUxC,eAAO,MAAM,UAAU;;;;;;EAMrB,CAAC;AACH,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,UAAU,CAAC,CAAC;AAE/D,eAAO,MAAM,UAAU;;;;EAIrB,CAAC;AACH,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,UAAU,CAAC,CAAC;AAE/D,eAAO,MAAM,iBAAiB;IAC5B;;OAEG;;IAIH;;OAEG;;IAGH;;OAEG;;EAEH,CAAC;AACH,MAAM,MAAM,iBAAiB,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAE7E,eAAO,MAAM,UAAU;;EAAyC,CAAC;AACjE,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,UAAU,CAAC,CAAC;AAE/D,eAAO,MAAM,YAAY;;;;;EAKvB,CAAC;AACH,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,YAAY,CAAC,CAAC;AAEnE,eAAO,MAAM,YAAY;;;;;;;;;;;IA7BvB;;OAEG;;IAIH;;OAEG;;IAGH;;OAEG;;;;;;;;;IAgBwG,CAAC;AAC9G,MAAM,MAAM,YAAY,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,OAAO,YAAY,CAAC,CAAC"}
|