@pattern-stack/codegen 0.10.1 → 0.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +122 -0
- package/README.md +5 -5
- package/consumer-skills/codegen/SKILL.md +2 -2
- package/consumer-skills/{sync → integration}/SKILL.md +29 -29
- package/consumer-skills/{sync → integration}/audit-and-detection.md +22 -22
- package/consumer-skills/{sync → integration}/change-sources-and-sinks.md +60 -60
- package/consumer-skills/subsystems/SKILL.md +8 -8
- package/consumer-skills/subsystems/wiring-and-order.md +7 -7
- package/dist/runtime/base-classes/index.d.ts +4 -4
- package/dist/runtime/base-classes/index.js +35 -35
- package/dist/runtime/base-classes/index.js.map +1 -1
- package/dist/runtime/base-classes/{synced-entity-repository.d.ts → integrated-entity-repository.d.ts} +15 -15
- package/dist/runtime/base-classes/{synced-entity-repository.js → integrated-entity-repository.js} +21 -21
- package/dist/runtime/base-classes/integrated-entity-repository.js.map +1 -0
- package/dist/runtime/base-classes/{synced-entity-service.d.ts → integrated-entity-service.d.ts} +6 -6
- package/dist/runtime/base-classes/{synced-entity-service.js → integrated-entity-service.js} +4 -4
- package/dist/runtime/base-classes/integrated-entity-service.js.map +1 -0
- package/dist/runtime/base-classes/{sync-upsert-config.d.ts → integration-upsert-config.d.ts} +13 -13
- package/dist/runtime/base-classes/integration-upsert-config.js +1 -0
- package/dist/runtime/base-classes/{junction-sync-repository.d.ts → junction-integration-repository.d.ts} +11 -11
- package/dist/runtime/base-classes/{junction-sync-repository.js → junction-integration-repository.js} +15 -15
- package/dist/runtime/base-classes/junction-integration-repository.js.map +1 -0
- package/dist/runtime/subsystems/auth/auth-oauth-state.schema.js.map +1 -1
- package/dist/runtime/subsystems/auth/auth.module.d.ts +4 -4
- package/dist/runtime/subsystems/auth/auth.module.js +3 -3
- package/dist/runtime/subsystems/auth/auth.module.js.map +1 -1
- package/dist/runtime/subsystems/auth/auth.tokens.d.ts +8 -8
- package/dist/runtime/subsystems/auth/auth.tokens.js +6 -6
- package/dist/runtime/subsystems/auth/auth.tokens.js.map +1 -1
- package/dist/runtime/subsystems/auth/backends/state-store.drizzle-backend.js.map +1 -1
- package/dist/runtime/subsystems/auth/controllers/auth.controller.d.ts +2 -2
- package/dist/runtime/subsystems/auth/controllers/auth.controller.js +3 -3
- package/dist/runtime/subsystems/auth/controllers/auth.controller.js.map +1 -1
- package/dist/runtime/subsystems/auth/index.d.ts +3 -3
- package/dist/runtime/subsystems/auth/index.js +40 -40
- package/dist/runtime/subsystems/auth/index.js.map +1 -1
- package/dist/runtime/subsystems/auth/middleware/requester-context.js.map +1 -1
- package/dist/runtime/subsystems/auth/protocols/auth-strategy.d.ts +3 -3
- package/dist/runtime/subsystems/auth/protocols/{integration-store.d.ts → connection-store.d.ts} +20 -20
- package/dist/runtime/subsystems/auth/protocols/connection-store.js +1 -0
- package/dist/runtime/subsystems/auth/protocols/provider-strategy.d.ts +3 -3
- package/dist/runtime/subsystems/auth/runtime/{integration-broken.error.d.ts → connection-broken.error.d.ts} +5 -5
- package/dist/runtime/subsystems/auth/runtime/connection-broken.error.js +19 -0
- package/dist/runtime/subsystems/auth/runtime/connection-broken.error.js.map +1 -0
- package/dist/runtime/subsystems/auth/runtime/oauth2-refresh.strategy.d.ts +10 -10
- package/dist/runtime/subsystems/auth/runtime/oauth2-refresh.strategy.js +28 -28
- package/dist/runtime/subsystems/auth/runtime/oauth2-refresh.strategy.js.map +1 -1
- package/dist/runtime/subsystems/auth/runtime/with-auth-retry.d.ts +1 -1
- package/dist/runtime/subsystems/auth/runtime/with-auth-retry.js +3 -3
- package/dist/runtime/subsystems/auth/runtime/with-auth-retry.js.map +1 -1
- package/dist/runtime/subsystems/index.d.ts +11 -7
- package/dist/runtime/subsystems/index.js +1041 -67
- package/dist/runtime/subsystems/index.js.map +1 -1
- package/dist/runtime/subsystems/{sync → integration}/build-change-source.d.ts +3 -3
- package/dist/runtime/subsystems/{sync → integration}/build-change-source.js +3 -3
- package/dist/runtime/subsystems/integration/build-change-source.js.map +1 -0
- package/dist/runtime/subsystems/{sync → integration}/deep-equal.differ.d.ts +2 -2
- package/dist/runtime/subsystems/{sync → integration}/deep-equal.differ.js +1 -1
- package/dist/runtime/subsystems/integration/deep-equal.differ.js.map +1 -0
- package/dist/runtime/subsystems/{sync → integration}/detection-config.schema.d.ts +3 -3
- package/dist/runtime/subsystems/{sync → integration}/detection-config.schema.js +1 -1
- package/dist/runtime/subsystems/integration/detection-config.schema.js.map +1 -0
- package/dist/runtime/subsystems/integration/entity-change-source-registry.memory.d.ts +25 -0
- package/dist/runtime/subsystems/integration/entity-change-source-registry.memory.js +34 -0
- package/dist/runtime/subsystems/integration/entity-change-source-registry.memory.js.map +1 -0
- package/dist/runtime/subsystems/integration/entity-change-source-registry.protocol.d.ts +53 -0
- package/dist/runtime/subsystems/integration/entity-change-source-registry.protocol.js +13 -0
- package/dist/runtime/subsystems/integration/entity-change-source-registry.protocol.js.map +1 -0
- package/dist/runtime/subsystems/{sync/execute-sync.use-case.d.ts → integration/execute-integration.use-case.d.ts} +13 -13
- package/dist/runtime/subsystems/{sync/execute-sync.use-case.js → integration/execute-integration.use-case.js} +30 -30
- package/dist/runtime/subsystems/integration/execute-integration.use-case.js.map +1 -0
- package/dist/runtime/subsystems/integration/index.d.ts +30 -0
- package/dist/runtime/subsystems/{sync → integration}/index.js +206 -171
- package/dist/runtime/subsystems/integration/index.js.map +1 -0
- package/dist/runtime/subsystems/{sync/sync-audit.schema.d.ts → integration/integration-audit.schema.d.ts} +64 -64
- package/dist/runtime/subsystems/{sync/sync-audit.schema.js → integration/integration-audit.schema.js} +47 -47
- package/dist/runtime/subsystems/integration/integration-audit.schema.js.map +1 -0
- package/dist/runtime/subsystems/{sync/sync-change-source.protocol.d.ts → integration/integration-change-source.protocol.d.ts} +10 -10
- package/dist/runtime/subsystems/integration/integration-change-source.protocol.js +1 -0
- package/dist/runtime/subsystems/{sync/sync-cursor-store.drizzle-backend.d.ts → integration/integration-cursor-store.drizzle-backend.d.ts} +1 -1
- package/dist/runtime/subsystems/{sync/sync-cursor-store.drizzle-backend.js → integration/integration-cursor-store.drizzle-backend.js} +65 -65
- package/dist/runtime/subsystems/integration/integration-cursor-store.drizzle-backend.js.map +1 -0
- package/dist/runtime/subsystems/{sync/sync-cursor-store.memory-backend.d.ts → integration/integration-cursor-store.memory-backend.d.ts} +6 -6
- package/dist/runtime/subsystems/{sync/sync-cursor-store.memory-backend.js → integration/integration-cursor-store.memory-backend.js} +5 -5
- package/dist/runtime/subsystems/integration/integration-cursor-store.memory-backend.js.map +1 -0
- package/dist/runtime/subsystems/{sync/sync-cursor-store.protocol.d.ts → integration/integration-cursor-store.protocol.d.ts} +13 -13
- package/dist/runtime/subsystems/integration/integration-cursor-store.protocol.js +1 -0
- package/dist/runtime/subsystems/{sync/sync-errors.d.ts → integration/integration-errors.d.ts} +2 -2
- package/dist/runtime/subsystems/{sync/sync-errors.js → integration/integration-errors.js} +3 -3
- package/dist/runtime/subsystems/integration/integration-errors.js.map +1 -0
- package/dist/runtime/subsystems/{sync/sync-field-diff.protocol.d.ts → integration/integration-field-diff.protocol.d.ts} +2 -2
- package/dist/runtime/subsystems/{sync/sync-field-diff.protocol.js → integration/integration-field-diff.protocol.js} +2 -2
- package/dist/runtime/subsystems/integration/integration-field-diff.protocol.js.map +1 -0
- package/dist/runtime/subsystems/{sync/sync-loopback.protocol.d.ts → integration/integration-loopback.protocol.d.ts} +2 -2
- package/dist/runtime/subsystems/integration/integration-loopback.protocol.js +1 -0
- package/dist/runtime/subsystems/{sync/sync-middleware.protocol.d.ts → integration/integration-middleware.protocol.d.ts} +5 -5
- package/dist/runtime/subsystems/integration/integration-middleware.protocol.js +1 -0
- package/dist/runtime/subsystems/{sync/sync-run-recorder.drizzle-backend.d.ts → integration/integration-run-recorder.drizzle-backend.d.ts} +5 -5
- package/dist/runtime/subsystems/{sync/sync-run-recorder.drizzle-backend.js → integration/integration-run-recorder.drizzle-backend.js} +73 -73
- package/dist/runtime/subsystems/integration/integration-run-recorder.drizzle-backend.js.map +1 -0
- package/dist/runtime/subsystems/{sync/sync-run-recorder.memory-backend.d.ts → integration/integration-run-recorder.memory-backend.d.ts} +15 -15
- package/dist/runtime/subsystems/{sync/sync-run-recorder.memory-backend.js → integration/integration-run-recorder.memory-backend.js} +11 -11
- package/dist/runtime/subsystems/integration/integration-run-recorder.memory-backend.js.map +1 -0
- package/dist/runtime/subsystems/{sync/sync-run-recorder.protocol.d.ts → integration/integration-run-recorder.protocol.d.ts} +25 -25
- package/dist/runtime/subsystems/integration/integration-run-recorder.protocol.js +1 -0
- package/dist/runtime/subsystems/{sync/sync-sink.protocol.d.ts → integration/integration-sink.protocol.d.ts} +5 -5
- package/dist/runtime/subsystems/integration/integration-sink.protocol.js +1 -0
- package/dist/runtime/subsystems/{sync/sync.module.d.ts → integration/integration.module.d.ts} +24 -24
- package/dist/runtime/subsystems/{sync/sync.module.js → integration/integration.module.js} +132 -132
- package/dist/runtime/subsystems/integration/integration.module.js.map +1 -0
- package/dist/runtime/subsystems/integration/integration.tokens.d.ts +60 -0
- package/dist/runtime/subsystems/integration/integration.tokens.js +20 -0
- package/dist/runtime/subsystems/integration/integration.tokens.js.map +1 -0
- package/dist/runtime/subsystems/{sync → integration}/loopback.middleware.d.ts +5 -5
- package/dist/runtime/subsystems/{sync → integration}/loopback.middleware.js +1 -1
- package/dist/runtime/subsystems/integration/loopback.middleware.js.map +1 -0
- package/dist/runtime/subsystems/{sync → integration}/poll-change-source.d.ts +5 -5
- package/dist/runtime/subsystems/{sync → integration}/poll-change-source.js +1 -1
- package/dist/runtime/subsystems/integration/poll-change-source.js.map +1 -0
- package/dist/runtime/subsystems/{sync → integration}/webhook-change-source.d.ts +5 -5
- package/dist/runtime/subsystems/{sync → integration}/webhook-change-source.js +1 -1
- package/dist/runtime/subsystems/integration/webhook-change-source.js.map +1 -0
- package/dist/runtime/subsystems/jobs/job-worker.module.d.ts +1 -1
- package/dist/runtime/subsystems/observability/index.d.ts +4 -4
- package/dist/runtime/subsystems/observability/index.js +11 -11
- package/dist/runtime/subsystems/observability/index.js.map +1 -1
- package/dist/runtime/subsystems/observability/observability.module.d.ts +2 -2
- package/dist/runtime/subsystems/observability/observability.module.js +11 -11
- package/dist/runtime/subsystems/observability/observability.module.js.map +1 -1
- package/dist/runtime/subsystems/observability/observability.protocol.d.ts +11 -11
- package/dist/runtime/subsystems/observability/observability.service.d.ts +6 -6
- package/dist/runtime/subsystems/observability/observability.service.js +11 -11
- package/dist/runtime/subsystems/observability/observability.service.js.map +1 -1
- package/dist/runtime/subsystems/observability/observability.tokens.d.ts +1 -1
- package/dist/runtime/subsystems/observability/observability.tokens.js.map +1 -1
- package/dist/runtime/subsystems/observability/reporters/bridge-metrics.reporter.d.ts +3 -3
- package/dist/runtime/subsystems/observability/reporters/bridge-metrics.reporter.js.map +1 -1
- package/dist/runtime/subsystems/observability/reporters/index.d.ts +3 -3
- package/dist/runtime/subsystems/observability/reporters/index.js.map +1 -1
- package/dist/src/cli/index.js +1336 -376
- package/dist/src/cli/index.js.map +1 -1
- package/dist/src/index.d.ts +70 -22
- package/dist/src/index.js +290 -194
- package/dist/src/index.js.map +1 -1
- package/examples/auth-integrations/README.md +32 -32
- package/examples/auth-integrations/definitions/entities/{integration.yaml → connection.yaml} +10 -10
- package/examples/auth-integrations/runtime/{integrations/adapters/integration-grant-sink.adapter.ts → connections/adapters/connection-grant-sink.adapter.ts} +7 -7
- package/examples/auth-integrations/runtime/{integrations/adapters/integration-reader.adapter.ts → connections/adapters/connection-reader.adapter.ts} +10 -10
- package/examples/auth-integrations/runtime/{integrations/adapters/integration-token-writer.adapter.ts → connections/adapters/connection-token-writer.adapter.ts} +11 -11
- package/examples/auth-integrations/runtime/connections/connections-auth.module.ts +81 -0
- package/examples/auth-integrations/runtime/{integrations/facade/integrations.service.ts → connections/facade/connections.service.ts} +35 -35
- package/examples/auth-integrations/runtime/{integrations → connections}/oauth/use-cases/create-or-update-from-oauth-grant.use-case.ts +11 -11
- package/examples/auth-integrations/runtime/{integrations/oauth/use-cases/disconnect-integration.use-case.ts → connections/oauth/use-cases/disconnect-connection.use-case.ts} +6 -6
- package/examples/auth-integrations/runtime/connections/oauth/use-cases/list-user-connections.use-case.ts +21 -0
- package/examples/auth-integrations/runtime/connections/oauth/use-cases/mark-connection-requires-reauth.use-case.ts +21 -0
- package/package.json +9 -1
- package/runtime/base-classes/index.ts +8 -8
- package/runtime/base-classes/{synced-entity-repository.ts → integrated-entity-repository.ts} +36 -36
- package/runtime/base-classes/{synced-entity-service.ts → integrated-entity-service.ts} +6 -6
- package/runtime/base-classes/{sync-upsert-config.ts → integration-upsert-config.ts} +12 -12
- package/runtime/base-classes/{junction-sync-repository.ts → junction-integration-repository.ts} +28 -28
- package/runtime/subsystems/auth/auth-oauth-state.schema.ts +1 -1
- package/runtime/subsystems/auth/auth.module.ts +4 -4
- package/runtime/subsystems/auth/auth.tokens.ts +7 -7
- package/runtime/subsystems/auth/controllers/auth.controller.ts +7 -7
- package/runtime/subsystems/auth/index.ts +19 -19
- package/runtime/subsystems/auth/protocols/auth-strategy.ts +3 -3
- package/runtime/subsystems/auth/protocols/{integration-store.ts → connection-store.ts} +19 -19
- package/runtime/subsystems/auth/protocols/provider-strategy.ts +2 -2
- package/runtime/subsystems/auth/runtime/{integration-broken.error.ts → connection-broken.error.ts} +5 -5
- package/runtime/subsystems/auth/runtime/oauth2-refresh.strategy.ts +35 -35
- package/runtime/subsystems/auth/runtime/with-auth-retry.ts +3 -3
- package/runtime/subsystems/index.ts +26 -11
- package/runtime/subsystems/{sync → integration}/build-change-source.ts +3 -3
- package/runtime/subsystems/{sync → integration}/deep-equal.differ.ts +7 -7
- package/runtime/subsystems/{sync → integration}/detection-config.schema.ts +3 -3
- package/runtime/subsystems/integration/entity-change-source-registry.memory.ts +40 -0
- package/runtime/subsystems/integration/entity-change-source-registry.protocol.ts +59 -0
- package/runtime/subsystems/{sync/execute-sync.use-case.ts → integration/execute-integration.use-case.ts} +40 -40
- package/runtime/subsystems/{sync → integration}/index.ts +56 -47
- package/runtime/subsystems/{sync/sync-audit.schema.ts → integration/integration-audit.schema.ts} +61 -61
- package/runtime/subsystems/{sync/sync-change-source.protocol.ts → integration/integration-change-source.protocol.ts} +9 -9
- package/runtime/subsystems/{sync/sync-cursor-store.drizzle-backend.ts → integration/integration-cursor-store.drizzle-backend.ts} +30 -30
- package/runtime/subsystems/{sync/sync-cursor-store.memory-backend.ts → integration/integration-cursor-store.memory-backend.ts} +9 -9
- package/runtime/subsystems/{sync/sync-cursor-store.protocol.ts → integration/integration-cursor-store.protocol.ts} +13 -13
- package/runtime/subsystems/{sync/sync-errors.ts → integration/integration-errors.ts} +3 -3
- package/runtime/subsystems/{sync/sync-field-diff.protocol.ts → integration/integration-field-diff.protocol.ts} +2 -2
- package/runtime/subsystems/{sync/sync-loopback.protocol.ts → integration/integration-loopback.protocol.ts} +2 -2
- package/runtime/subsystems/{sync/sync-middleware.protocol.ts → integration/integration-middleware.protocol.ts} +6 -6
- package/runtime/subsystems/{sync/sync-run-recorder.drizzle-backend.ts → integration/integration-run-recorder.drizzle-backend.ts} +39 -39
- package/runtime/subsystems/{sync/sync-run-recorder.memory-backend.ts → integration/integration-run-recorder.memory-backend.ts} +23 -23
- package/runtime/subsystems/{sync/sync-run-recorder.protocol.ts → integration/integration-run-recorder.protocol.ts} +25 -25
- package/runtime/subsystems/{sync/sync-sink.protocol.ts → integration/integration-sink.protocol.ts} +4 -4
- package/runtime/subsystems/{sync/sync.module.ts → integration/integration.module.ts} +48 -48
- package/runtime/subsystems/integration/integration.tokens.ts +63 -0
- package/runtime/subsystems/{sync → integration}/loopback.middleware.ts +5 -5
- package/runtime/subsystems/{sync → integration}/poll-change-source.ts +7 -7
- package/runtime/subsystems/{sync → integration}/webhook-change-source.ts +7 -7
- package/runtime/subsystems/observability/index.ts +1 -1
- package/runtime/subsystems/observability/observability.module.ts +2 -2
- package/runtime/subsystems/observability/observability.protocol.ts +11 -11
- package/runtime/subsystems/observability/observability.service.ts +13 -13
- package/runtime/subsystems/observability/observability.tokens.ts +1 -1
- package/src/patterns/library/index.ts +4 -4
- package/src/patterns/library/{synced.pattern.ts → integrated.pattern.ts} +12 -12
- package/src/patterns/library/junction.pattern.ts +1 -1
- package/src/patterns/pattern-definition.ts +3 -3
- package/templates/entity/new/backend/modules/core/{sync-source.ejs.t → integration-source.ejs.t} +6 -6
- package/templates/entity/new/clean-lite-ps/entity.ejs.t +12 -3
- package/templates/entity/new/clean-lite-ps/module.ejs.t +1 -1
- package/templates/entity/new/clean-lite-ps/prompt-extension.js +243 -60
- package/templates/entity/new/clean-lite-ps/repository.ejs.t +27 -27
- package/templates/entity/new/frontend/collections/collection.ejs.t +26 -1
- package/templates/entity/new/frontend/collections/collections-base.ejs.t +11 -0
- package/templates/entity/new/frontend/entity/combined.ejs.t +31 -1
- package/templates/entity/new/prompt.js +27 -15
- package/templates/junction/new/entity.ejs.t +1 -1
- package/templates/junction/new/prompt.js +24 -24
- package/templates/junction/new/repository.ejs.t +19 -19
- package/templates/subsystem/auth/auth-oauth-state.schema.ejs.t +2 -2
- package/templates/subsystem/auth-config/prompt.js +1 -1
- package/templates/subsystem/auth-integrations/app-module-hook.ejs.t +5 -5
- package/templates/subsystem/bridge/prompt.js +1 -1
- package/templates/subsystem/integration/integration-audit.schema.ejs.t +192 -0
- package/templates/subsystem/{sync → integration}/prompt.js +12 -12
- package/templates/subsystem/{sync-config/codegen-config-sync-block.ejs.t → integration-config/codegen-config-integration-block.ejs.t} +7 -7
- package/templates/subsystem/integration-config/prompt.js +22 -0
- package/templates/subsystem/jobs/worker.ejs.t +2 -2
- package/templates/subsystem/observability/main-hook.ejs.t +1 -1
- package/templates/subsystem/observability/prompt.js +1 -1
- package/templates/subsystem/openapi-config/prompt.js +1 -1
- package/dist/runtime/base-classes/junction-sync-repository.js.map +0 -1
- package/dist/runtime/base-classes/sync-upsert-config.js +0 -1
- package/dist/runtime/base-classes/synced-entity-repository.js.map +0 -1
- package/dist/runtime/base-classes/synced-entity-service.js.map +0 -1
- package/dist/runtime/subsystems/auth/protocols/integration-store.js +0 -1
- package/dist/runtime/subsystems/auth/runtime/integration-broken.error.js +0 -19
- package/dist/runtime/subsystems/auth/runtime/integration-broken.error.js.map +0 -1
- package/dist/runtime/subsystems/sync/build-change-source.js.map +0 -1
- package/dist/runtime/subsystems/sync/deep-equal.differ.js.map +0 -1
- package/dist/runtime/subsystems/sync/detection-config.schema.js.map +0 -1
- package/dist/runtime/subsystems/sync/execute-sync.use-case.js.map +0 -1
- package/dist/runtime/subsystems/sync/index.d.ts +0 -28
- package/dist/runtime/subsystems/sync/index.js.map +0 -1
- package/dist/runtime/subsystems/sync/loopback.middleware.js.map +0 -1
- package/dist/runtime/subsystems/sync/poll-change-source.js.map +0 -1
- package/dist/runtime/subsystems/sync/sync-audit.schema.js.map +0 -1
- package/dist/runtime/subsystems/sync/sync-change-source.protocol.js +0 -1
- package/dist/runtime/subsystems/sync/sync-cursor-store.drizzle-backend.js.map +0 -1
- package/dist/runtime/subsystems/sync/sync-cursor-store.memory-backend.js.map +0 -1
- package/dist/runtime/subsystems/sync/sync-cursor-store.protocol.js +0 -1
- package/dist/runtime/subsystems/sync/sync-errors.js.map +0 -1
- package/dist/runtime/subsystems/sync/sync-field-diff.protocol.js.map +0 -1
- package/dist/runtime/subsystems/sync/sync-loopback.protocol.js +0 -1
- package/dist/runtime/subsystems/sync/sync-middleware.protocol.js +0 -1
- package/dist/runtime/subsystems/sync/sync-run-recorder.drizzle-backend.js.map +0 -1
- package/dist/runtime/subsystems/sync/sync-run-recorder.memory-backend.js.map +0 -1
- package/dist/runtime/subsystems/sync/sync-run-recorder.protocol.js +0 -1
- package/dist/runtime/subsystems/sync/sync-sink.protocol.js +0 -1
- package/dist/runtime/subsystems/sync/sync.module.js.map +0 -1
- package/dist/runtime/subsystems/sync/sync.tokens.d.ts +0 -47
- package/dist/runtime/subsystems/sync/sync.tokens.js +0 -18
- package/dist/runtime/subsystems/sync/sync.tokens.js.map +0 -1
- package/dist/runtime/subsystems/sync/webhook-change-source.js.map +0 -1
- package/examples/auth-integrations/runtime/integrations/integrations-auth.module.ts +0 -81
- package/examples/auth-integrations/runtime/integrations/oauth/use-cases/list-user-integrations.use-case.ts +0 -21
- package/examples/auth-integrations/runtime/integrations/oauth/use-cases/mark-integration-requires-reauth.use-case.ts +0 -21
- package/runtime/subsystems/sync/sync.tokens.ts +0 -49
- package/templates/entity/new/backend/modules/core/sync-source.providers.ejs.t +0 -18
- package/templates/subsystem/sync/sync-audit.schema.ejs.t +0 -192
- package/templates/subsystem/sync-config/prompt.js +0 -22
- /package/dist/runtime/base-classes/{sync-upsert-config.js.map → integration-upsert-config.js.map} +0 -0
- /package/dist/runtime/subsystems/auth/protocols/{integration-store.js.map → connection-store.js.map} +0 -0
- /package/dist/runtime/subsystems/{sync/sync-change-source.protocol.js.map → integration/integration-change-source.protocol.js.map} +0 -0
- /package/dist/runtime/subsystems/{sync/sync-cursor-store.protocol.js.map → integration/integration-cursor-store.protocol.js.map} +0 -0
- /package/dist/runtime/subsystems/{sync/sync-loopback.protocol.js.map → integration/integration-loopback.protocol.js.map} +0 -0
- /package/dist/runtime/subsystems/{sync/sync-middleware.protocol.js.map → integration/integration-middleware.protocol.js.map} +0 -0
- /package/dist/runtime/subsystems/{sync/sync-run-recorder.protocol.js.map → integration/integration-run-recorder.protocol.js.map} +0 -0
- /package/dist/runtime/subsystems/{sync/sync-sink.protocol.js.map → integration/integration-sink.protocol.js.map} +0 -0
package/dist/src/index.d.ts
CHANGED
|
@@ -51,16 +51,16 @@ interface ParsedQuery {
|
|
|
51
51
|
limit?: boolean;
|
|
52
52
|
via?: string;
|
|
53
53
|
}
|
|
54
|
-
interface
|
|
54
|
+
interface ParsedProviderIntegration {
|
|
55
55
|
remoteEntity: string;
|
|
56
56
|
direction: 'inbound' | 'outbound' | 'bidirectional';
|
|
57
57
|
cdc: boolean;
|
|
58
58
|
fieldMapping?: Record<string, string>;
|
|
59
59
|
readOnlyFields?: string[];
|
|
60
60
|
}
|
|
61
|
-
interface
|
|
61
|
+
interface ParsedIntegration {
|
|
62
62
|
electric: boolean;
|
|
63
|
-
providers?: Record<string,
|
|
63
|
+
providers?: Record<string, ParsedProviderIntegration>;
|
|
64
64
|
}
|
|
65
65
|
interface ParsedEvent {
|
|
66
66
|
name: string;
|
|
@@ -94,7 +94,7 @@ interface ParsedEntity {
|
|
|
94
94
|
relationships: Map<string, ParsedRelationship>;
|
|
95
95
|
behaviors: string[];
|
|
96
96
|
queries?: ParsedQuery[];
|
|
97
|
-
|
|
97
|
+
integration?: ParsedIntegration;
|
|
98
98
|
events?: ParsedEvent[];
|
|
99
99
|
/**
|
|
100
100
|
* EVT-7: Opt-in list of event types this entity emits from its generated
|
|
@@ -1432,7 +1432,7 @@ declare const EntityDefinitionSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
1432
1432
|
order?: string | undefined;
|
|
1433
1433
|
via?: string | undefined;
|
|
1434
1434
|
}>]>, "many">>;
|
|
1435
|
-
|
|
1435
|
+
integration: z.ZodOptional<z.ZodObject<{
|
|
1436
1436
|
electric: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1437
1437
|
providers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1438
1438
|
remote_entity: z.ZodString;
|
|
@@ -1692,6 +1692,8 @@ declare const EntityDefinitionSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
1692
1692
|
value?: unknown;
|
|
1693
1693
|
}[] | undefined;
|
|
1694
1694
|
}>]>>>;
|
|
1695
|
+
surface: z.ZodOptional<z.ZodString>;
|
|
1696
|
+
context: z.ZodOptional<z.ZodString>;
|
|
1695
1697
|
events: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1696
1698
|
name: z.ZodString;
|
|
1697
1699
|
queue: z.ZodString;
|
|
@@ -1955,6 +1957,16 @@ declare const EntityDefinitionSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
1955
1957
|
measure_packs?: string[] | undefined;
|
|
1956
1958
|
cube_name?: string | undefined;
|
|
1957
1959
|
}>>;
|
|
1960
|
+
unique_indexes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1961
|
+
fields: z.ZodArray<z.ZodString, "many">;
|
|
1962
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1963
|
+
}, "strict", z.ZodTypeAny, {
|
|
1964
|
+
fields: string[];
|
|
1965
|
+
name?: string | undefined;
|
|
1966
|
+
}, {
|
|
1967
|
+
fields: string[];
|
|
1968
|
+
name?: string | undefined;
|
|
1969
|
+
}>, "many">>;
|
|
1958
1970
|
}, "strict", z.ZodTypeAny, {
|
|
1959
1971
|
fields: Record<string, {
|
|
1960
1972
|
type: "string" | "boolean" | "integer" | "date" | "json" | "decimal" | "uuid" | "datetime" | "entity_ref" | "string_array" | "enum";
|
|
@@ -2046,7 +2058,7 @@ declare const EntityDefinitionSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
2046
2058
|
search?: string | undefined;
|
|
2047
2059
|
order?: string | undefined;
|
|
2048
2060
|
})[] | undefined;
|
|
2049
|
-
|
|
2061
|
+
integration?: {
|
|
2050
2062
|
electric: boolean;
|
|
2051
2063
|
providers?: Record<string, {
|
|
2052
2064
|
cdc: boolean;
|
|
@@ -2100,6 +2112,8 @@ declare const EntityDefinitionSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
2100
2112
|
value?: unknown;
|
|
2101
2113
|
}[];
|
|
2102
2114
|
}> | undefined;
|
|
2115
|
+
surface?: string | undefined;
|
|
2116
|
+
context?: string | undefined;
|
|
2103
2117
|
events?: {
|
|
2104
2118
|
name: string;
|
|
2105
2119
|
queue: string;
|
|
@@ -2153,6 +2167,10 @@ declare const EntityDefinitionSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
2153
2167
|
measure_packs?: string[] | undefined;
|
|
2154
2168
|
cube_name?: string | undefined;
|
|
2155
2169
|
} | undefined;
|
|
2170
|
+
unique_indexes?: {
|
|
2171
|
+
fields: string[];
|
|
2172
|
+
name?: string | undefined;
|
|
2173
|
+
}[] | undefined;
|
|
2156
2174
|
}, {
|
|
2157
2175
|
fields: Record<string, {
|
|
2158
2176
|
type: "string" | "boolean" | "integer" | "date" | "json" | "decimal" | "uuid" | "datetime" | "entity_ref" | "string_array" | "enum";
|
|
@@ -2244,7 +2262,7 @@ declare const EntityDefinitionSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
2244
2262
|
order?: string | undefined;
|
|
2245
2263
|
paginate?: boolean | undefined;
|
|
2246
2264
|
})[] | undefined;
|
|
2247
|
-
|
|
2265
|
+
integration?: {
|
|
2248
2266
|
electric?: boolean | undefined;
|
|
2249
2267
|
providers?: Record<string, {
|
|
2250
2268
|
direction: "inbound" | "outbound" | "bidirectional";
|
|
@@ -2298,6 +2316,8 @@ declare const EntityDefinitionSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
2298
2316
|
value?: unknown;
|
|
2299
2317
|
}[] | undefined;
|
|
2300
2318
|
}> | undefined;
|
|
2319
|
+
surface?: string | undefined;
|
|
2320
|
+
context?: string | undefined;
|
|
2301
2321
|
events?: {
|
|
2302
2322
|
name: string;
|
|
2303
2323
|
queue: string;
|
|
@@ -2351,6 +2371,10 @@ declare const EntityDefinitionSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
2351
2371
|
measure_packs?: string[] | undefined;
|
|
2352
2372
|
cube_name?: string | undefined;
|
|
2353
2373
|
} | undefined;
|
|
2374
|
+
unique_indexes?: {
|
|
2375
|
+
fields: string[];
|
|
2376
|
+
name?: string | undefined;
|
|
2377
|
+
}[] | undefined;
|
|
2354
2378
|
}>, {
|
|
2355
2379
|
fields: Record<string, {
|
|
2356
2380
|
type: "string" | "boolean" | "integer" | "date" | "json" | "decimal" | "uuid" | "datetime" | "entity_ref" | "string_array" | "enum";
|
|
@@ -2442,7 +2466,7 @@ declare const EntityDefinitionSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
2442
2466
|
search?: string | undefined;
|
|
2443
2467
|
order?: string | undefined;
|
|
2444
2468
|
})[] | undefined;
|
|
2445
|
-
|
|
2469
|
+
integration?: {
|
|
2446
2470
|
electric: boolean;
|
|
2447
2471
|
providers?: Record<string, {
|
|
2448
2472
|
cdc: boolean;
|
|
@@ -2496,6 +2520,8 @@ declare const EntityDefinitionSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
2496
2520
|
value?: unknown;
|
|
2497
2521
|
}[];
|
|
2498
2522
|
}> | undefined;
|
|
2523
|
+
surface?: string | undefined;
|
|
2524
|
+
context?: string | undefined;
|
|
2499
2525
|
events?: {
|
|
2500
2526
|
name: string;
|
|
2501
2527
|
queue: string;
|
|
@@ -2549,6 +2575,10 @@ declare const EntityDefinitionSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
2549
2575
|
measure_packs?: string[] | undefined;
|
|
2550
2576
|
cube_name?: string | undefined;
|
|
2551
2577
|
} | undefined;
|
|
2578
|
+
unique_indexes?: {
|
|
2579
|
+
fields: string[];
|
|
2580
|
+
name?: string | undefined;
|
|
2581
|
+
}[] | undefined;
|
|
2552
2582
|
}, {
|
|
2553
2583
|
fields: Record<string, {
|
|
2554
2584
|
type: "string" | "boolean" | "integer" | "date" | "json" | "decimal" | "uuid" | "datetime" | "entity_ref" | "string_array" | "enum";
|
|
@@ -2640,7 +2670,7 @@ declare const EntityDefinitionSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
2640
2670
|
order?: string | undefined;
|
|
2641
2671
|
paginate?: boolean | undefined;
|
|
2642
2672
|
})[] | undefined;
|
|
2643
|
-
|
|
2673
|
+
integration?: {
|
|
2644
2674
|
electric?: boolean | undefined;
|
|
2645
2675
|
providers?: Record<string, {
|
|
2646
2676
|
direction: "inbound" | "outbound" | "bidirectional";
|
|
@@ -2694,6 +2724,8 @@ declare const EntityDefinitionSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
2694
2724
|
value?: unknown;
|
|
2695
2725
|
}[] | undefined;
|
|
2696
2726
|
}> | undefined;
|
|
2727
|
+
surface?: string | undefined;
|
|
2728
|
+
context?: string | undefined;
|
|
2697
2729
|
events?: {
|
|
2698
2730
|
name: string;
|
|
2699
2731
|
queue: string;
|
|
@@ -2747,6 +2779,10 @@ declare const EntityDefinitionSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
2747
2779
|
measure_packs?: string[] | undefined;
|
|
2748
2780
|
cube_name?: string | undefined;
|
|
2749
2781
|
} | undefined;
|
|
2782
|
+
unique_indexes?: {
|
|
2783
|
+
fields: string[];
|
|
2784
|
+
name?: string | undefined;
|
|
2785
|
+
}[] | undefined;
|
|
2750
2786
|
}>, {
|
|
2751
2787
|
fields: Record<string, {
|
|
2752
2788
|
type: "string" | "boolean" | "integer" | "date" | "json" | "decimal" | "uuid" | "datetime" | "entity_ref" | "string_array" | "enum";
|
|
@@ -2838,7 +2874,7 @@ declare const EntityDefinitionSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
2838
2874
|
search?: string | undefined;
|
|
2839
2875
|
order?: string | undefined;
|
|
2840
2876
|
})[] | undefined;
|
|
2841
|
-
|
|
2877
|
+
integration?: {
|
|
2842
2878
|
electric: boolean;
|
|
2843
2879
|
providers?: Record<string, {
|
|
2844
2880
|
cdc: boolean;
|
|
@@ -2892,6 +2928,8 @@ declare const EntityDefinitionSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
2892
2928
|
value?: unknown;
|
|
2893
2929
|
}[];
|
|
2894
2930
|
}> | undefined;
|
|
2931
|
+
surface?: string | undefined;
|
|
2932
|
+
context?: string | undefined;
|
|
2895
2933
|
events?: {
|
|
2896
2934
|
name: string;
|
|
2897
2935
|
queue: string;
|
|
@@ -2945,6 +2983,10 @@ declare const EntityDefinitionSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
2945
2983
|
measure_packs?: string[] | undefined;
|
|
2946
2984
|
cube_name?: string | undefined;
|
|
2947
2985
|
} | undefined;
|
|
2986
|
+
unique_indexes?: {
|
|
2987
|
+
fields: string[];
|
|
2988
|
+
name?: string | undefined;
|
|
2989
|
+
}[] | undefined;
|
|
2948
2990
|
}, {
|
|
2949
2991
|
fields: Record<string, {
|
|
2950
2992
|
type: "string" | "boolean" | "integer" | "date" | "json" | "decimal" | "uuid" | "datetime" | "entity_ref" | "string_array" | "enum";
|
|
@@ -3036,7 +3078,7 @@ declare const EntityDefinitionSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
3036
3078
|
order?: string | undefined;
|
|
3037
3079
|
paginate?: boolean | undefined;
|
|
3038
3080
|
})[] | undefined;
|
|
3039
|
-
|
|
3081
|
+
integration?: {
|
|
3040
3082
|
electric?: boolean | undefined;
|
|
3041
3083
|
providers?: Record<string, {
|
|
3042
3084
|
direction: "inbound" | "outbound" | "bidirectional";
|
|
@@ -3090,6 +3132,8 @@ declare const EntityDefinitionSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
3090
3132
|
value?: unknown;
|
|
3091
3133
|
}[] | undefined;
|
|
3092
3134
|
}> | undefined;
|
|
3135
|
+
surface?: string | undefined;
|
|
3136
|
+
context?: string | undefined;
|
|
3093
3137
|
events?: {
|
|
3094
3138
|
name: string;
|
|
3095
3139
|
queue: string;
|
|
@@ -3143,6 +3187,10 @@ declare const EntityDefinitionSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
3143
3187
|
measure_packs?: string[] | undefined;
|
|
3144
3188
|
cube_name?: string | undefined;
|
|
3145
3189
|
} | undefined;
|
|
3190
|
+
unique_indexes?: {
|
|
3191
|
+
fields: string[];
|
|
3192
|
+
name?: string | undefined;
|
|
3193
|
+
}[] | undefined;
|
|
3146
3194
|
}>;
|
|
3147
3195
|
type EntityDefinition = z.infer<typeof EntityDefinitionSchema>;
|
|
3148
3196
|
|
|
@@ -3817,7 +3865,7 @@ type PatternKind = 'domain' | 'orchestration';
|
|
|
3817
3865
|
* store these and look them up by `name`.
|
|
3818
3866
|
*/
|
|
3819
3867
|
interface PatternDefinition<TConfig = unknown> {
|
|
3820
|
-
/** Unique name used in YAML — e.g. `pattern:
|
|
3868
|
+
/** Unique name used in YAML — e.g. `pattern: Integrated` */
|
|
3821
3869
|
name: string;
|
|
3822
3870
|
/**
|
|
3823
3871
|
* ADR-032: defaults to `"domain"`. Phase 3 adds `"orchestration"` as a
|
|
@@ -3828,7 +3876,7 @@ interface PatternDefinition<TConfig = unknown> {
|
|
|
3828
3876
|
kind?: 'domain';
|
|
3829
3877
|
/**
|
|
3830
3878
|
* Built-in patterns this extends, by name. Phase 1 supports single-depth
|
|
3831
|
-
* chains only — a pattern may `extends: ['
|
|
3879
|
+
* chains only — a pattern may `extends: ['Integrated']` but the transitive
|
|
3832
3880
|
* chain is not yet resolved. Multi-depth inheritance is deferred until
|
|
3833
3881
|
* a real consumer asks.
|
|
3834
3882
|
*/
|
|
@@ -3840,7 +3888,7 @@ interface PatternDefinition<TConfig = unknown> {
|
|
|
3840
3888
|
/**
|
|
3841
3889
|
* Fully-qualified TypeScript path alias the consumer's tsconfig resolves.
|
|
3842
3890
|
* Library patterns use the consumer-installed runtime base class path
|
|
3843
|
-
* (e.g. `@shared/base-classes/
|
|
3891
|
+
* (e.g. `@shared/base-classes/integrated-entity-repository`); app patterns
|
|
3844
3892
|
* use whatever alias the consumer has configured (e.g. `@/patterns/...`).
|
|
3845
3893
|
*/
|
|
3846
3894
|
repositoryImport?: string;
|
|
@@ -4028,7 +4076,7 @@ declare const BasePattern: PatternDefinition<unknown>;
|
|
|
4028
4076
|
* JunctionPattern — top-level discriminator for explicit many-to-many
|
|
4029
4077
|
* junction YAML files.
|
|
4030
4078
|
*
|
|
4031
|
-
* Unlike `Activity` / `
|
|
4079
|
+
* Unlike `Activity` / `Integrated` / `Metadata` (which attach to an entity via
|
|
4032
4080
|
* `pattern:` / `patterns:`), `Junction` IS the top-level YAML shape — a
|
|
4033
4081
|
* junction file's discriminator is `pattern: Junction`, not `entity:`.
|
|
4034
4082
|
* It therefore does not declare `repositoryClass` / `serviceClass`: the
|
|
@@ -4072,19 +4120,19 @@ declare const KnowledgePattern: PatternDefinition<unknown>;
|
|
|
4072
4120
|
declare const MetadataPattern: PatternDefinition<unknown>;
|
|
4073
4121
|
|
|
4074
4122
|
/**
|
|
4075
|
-
*
|
|
4123
|
+
* IntegratedPattern — adds external-system integration columns and methods.
|
|
4076
4124
|
*
|
|
4077
|
-
* Replaces the legacy `family:
|
|
4125
|
+
* Replaces the legacy `family: integrated` entry in
|
|
4078
4126
|
* `templates/entity/new/clean-lite-ps/prompt-extension.js`. Class names,
|
|
4079
4127
|
* import paths, and inherited-method comment lines are preserved verbatim
|
|
4080
4128
|
* so PATTERN-5's template swap produces byte-identical output for
|
|
4081
|
-
* pre-existing `family:
|
|
4129
|
+
* pre-existing `family: integrated` fixtures.
|
|
4082
4130
|
*
|
|
4083
4131
|
* Implies `external_id_tracking` — the behavior that contributes the
|
|
4084
4132
|
* `external_id`, `provider`, and `provider_metadata` columns to the table.
|
|
4085
|
-
* An entity declaring `pattern:
|
|
4133
|
+
* An entity declaring `pattern: Integrated` need not re-declare the behavior.
|
|
4086
4134
|
*/
|
|
4087
|
-
declare const
|
|
4135
|
+
declare const IntegratedPattern: PatternDefinition<unknown>;
|
|
4088
4136
|
|
|
4089
4137
|
/**
|
|
4090
4138
|
* BaseJunctionFields — shared column shape every junction table carries.
|
|
@@ -4255,7 +4303,7 @@ interface PatternProjectContext {
|
|
|
4255
4303
|
*
|
|
4256
4304
|
* Today this only covers plan Risk 4: warn when patterns are declared
|
|
4257
4305
|
* but the selected architecture is `clean`, which does not yet consume
|
|
4258
|
-
* them. A `clean` consumer with `pattern:
|
|
4306
|
+
* them. A `clean` consumer with `pattern: Integrated` is not broken — the
|
|
4259
4307
|
* `clean` pipeline ignores the key — but they see no effect, which is
|
|
4260
4308
|
* confusing without the warning.
|
|
4261
4309
|
*/
|
|
@@ -4344,4 +4392,4 @@ declare function validateEntities(entitiesDir: string): {
|
|
|
4344
4392
|
errors: string[];
|
|
4345
4393
|
};
|
|
4346
4394
|
|
|
4347
|
-
export { ActivityPattern, type AnalysisIssue, type AnalysisResult, type AnalyzeDomainOptions, type AnyPatternDefinition, BASE_JUNCTION_FIELD_NAMES, BaseJunctionFields, BasePattern, type CodegenManifest, type DomainGraph, type DomainStatistics, type EntityNode, type JunctionDefinition, JunctionDefinitionSchema, JunctionPattern, KnowledgePattern, type LoadAppPatternsResult, type ManifestEntity, type ManifestField, type ManifestRelationship, type ManifestSuggestion, MetadataPattern, type OrchestrationPatternDefinition, type OrchestrationProjectContext, type OrchestrationRegistrySpec, type OutputFormat, type ParsedEntity, type ParsedEvent, type ParsedField, type
|
|
4395
|
+
export { ActivityPattern, type AnalysisIssue, type AnalysisResult, type AnalyzeDomainOptions, type AnyPatternDefinition, BASE_JUNCTION_FIELD_NAMES, BaseJunctionFields, BasePattern, type CodegenManifest, type DomainGraph, type DomainStatistics, type EntityNode, IntegratedPattern, type JunctionDefinition, JunctionDefinitionSchema, JunctionPattern, KnowledgePattern, type LoadAppPatternsResult, type ManifestEntity, type ManifestField, type ManifestRelationship, type ManifestSuggestion, MetadataPattern, type OrchestrationPatternDefinition, type OrchestrationProjectContext, type OrchestrationRegistrySpec, type OutputFormat, type ParsedEntity, type ParsedEvent, type ParsedField, type ParsedIntegration, type ParsedProviderIntegration, type ParsedQuery, type ParsedRelationship, type ParsedRelationshipDefinition, type ParsedTypeDirection, type PathHop, type PatternColumnContribution, type PatternDefinition, type PatternKind, type PatternProjectContext, type RelationshipEdge, type Severity, type TransitivePath, type TransitiveSuggestion, analyzeDomain, buildDomainGraph, checkConsistency, computeStatistics, defineOrchestrationPattern, definePattern, findCircularDependencies, findOrphanEntities, formatConsole, formatJson, formatMarkdown, formatMermaidGraph, getAllOrchestrationPatterns, getAllPatternNames, getAppPatternNames, getLibraryPatternNames, getOrchestrationPattern, getOrchestrationPatternNames, getPattern, getRelatedEntities, isDomainPattern, isOrchestrationPattern, isPatternDefinition, loadAppPatterns, loadEntities, loadEntityFromYaml, loadJunctionFromYaml, loadRelationshipFromYaml, loadRelationships, registerLibraryPattern, safeValidateJunctionDefinition, validateEntities, validateJunctionDefinition, validateOrchestrationProject, validatePatternComposition, validatePatternProject };
|