@lssm/lib.contracts 1.11.1 → 1.41.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/README.md +1 -1
- package/dist/_virtual/rolldown_runtime.js +1 -0
- package/dist/app-config/app-config.feature.js +1 -0
- package/dist/app-config/contracts.js +1 -1
- package/dist/app-config/docs/app-config.docblock.js +220 -0
- package/dist/app-config/events.js +1 -1
- package/dist/app-config/index.js +1 -1
- package/dist/app-config/lifecycle-contracts.js +1 -1
- package/dist/capabilities/docs/capabilities.docblock.js +1 -0
- package/dist/contract-registry/index.js +1 -0
- package/dist/contract-registry/schemas.js +1 -0
- package/dist/contract-registry/types.js +0 -0
- package/dist/data-views/docs/data-views.docblock.js +1 -0
- package/dist/docs/PUBLISHING.docblock.js +76 -0
- package/dist/docs/accessibility_wcag_compliance_specs.docblock.js +350 -0
- package/dist/docs/index.js +1 -0
- package/dist/docs/meta.docs.js +13 -0
- package/dist/docs/presentations.js +1 -0
- package/dist/docs/registry.js +1 -0
- package/dist/docs/tech/PHASE_1_QUICKSTART.docblock.js +383 -0
- package/dist/docs/tech/PHASE_2_AI_NATIVE_OPERATIONS.docblock.js +68 -0
- package/dist/docs/tech/PHASE_3_AUTO_EVOLUTION.docblock.js +140 -0
- package/dist/docs/tech/PHASE_4_PERSONALIZATION_ENGINE.docblock.js +86 -0
- package/dist/docs/tech/PHASE_5_ZERO_TOUCH_OPERATIONS.docblock.js +1 -0
- package/dist/docs/tech/auth/better-auth-nextjs.docblock.js +58 -0
- package/dist/docs/tech/contracts/README.docblock.js +1 -0
- package/dist/docs/tech/contracts/create-subscription.docblock.js +1 -0
- package/dist/docs/tech/contracts/graphql-typed-outputs.docblock.js +180 -0
- package/dist/docs/tech/contracts/migrations.docblock.js +1 -0
- package/dist/docs/tech/contracts/openapi-export.docblock.js +38 -0
- package/dist/docs/tech/contracts/ops-to-presentation-linking.docblock.js +62 -0
- package/dist/docs/tech/contracts/overlays.docblock.js +68 -0
- package/dist/docs/tech/contracts/tests.docblock.js +132 -0
- package/dist/docs/tech/contracts/themes.docblock.js +1 -0
- package/dist/docs/tech/contracts/vertical-pocket-family-office.docblock.js +106 -0
- package/dist/docs/tech/lifecycle-stage-system.docblock.js +213 -0
- package/dist/docs/tech/llm/llm-integration.docblock.js +289 -0
- package/dist/docs/tech/mcp-endpoints.docblock.js +1 -0
- package/dist/docs/tech/presentation-runtime.docblock.js +1 -0
- package/dist/docs/tech/schema/README.docblock.js +262 -0
- package/dist/docs/tech/studio/learning-events.docblock.js +1 -0
- package/dist/docs/tech/studio/learning-journeys.docblock.js +57 -0
- package/dist/docs/tech/studio/platform-admin-panel.docblock.js +63 -0
- package/dist/docs/tech/studio/project-access-teams.docblock.js +36 -0
- package/dist/docs/tech/studio/project-routing.docblock.js +1 -0
- package/dist/docs/tech/studio/sandbox-unlogged.docblock.js +20 -0
- package/dist/docs/tech/studio/team-invitations.docblock.js +65 -0
- package/dist/docs/tech/studio/workspace-ops.docblock.js +1 -0
- package/dist/docs/tech/studio/workspaces.docblock.js +41 -0
- package/dist/docs/tech/telemetry-ingest.docblock.js +122 -0
- package/dist/docs/tech/templates/runtime.docblock.js +1 -0
- package/dist/docs/tech/vscode-extension.docblock.js +68 -0
- package/dist/docs/tech/workflows/overview.docblock.js +1 -0
- package/dist/docs/tech-contracts.docs.js +76 -0
- package/dist/docs/types.js +0 -0
- package/dist/events.js +1 -1
- package/dist/experiments/docs/experiments.docblock.js +128 -0
- package/dist/forms/docs/forms.docblock.js +1 -0
- package/dist/index.js +1 -1
- package/dist/install.js +1 -1
- package/dist/integrations/contracts.js +1 -1
- package/dist/integrations/docs/integrations.docblock.js +1 -0
- package/dist/integrations/index.js +1 -1
- package/dist/integrations/openbanking/contracts/accounts.js +1 -1
- package/dist/integrations/openbanking/contracts/balances.js +1 -1
- package/dist/integrations/openbanking/contracts/index.js +1 -1
- package/dist/integrations/openbanking/contracts/transactions.js +1 -1
- package/dist/integrations/openbanking/models.js +1 -1
- package/dist/integrations/openbanking/openbanking.feature.js +1 -0
- package/dist/integrations/providers/impls/index.js +1 -1
- package/dist/integrations/providers/impls/provider-factory.js +1 -1
- package/dist/integrations/providers/index.js +1 -1
- package/dist/integrations/providers/registry.js +1 -0
- package/dist/integrations/secrets/aws-secret-manager.js +1 -0
- package/dist/integrations/secrets/gcp-secret-manager.js +1 -1
- package/dist/integrations/secrets/index.js +1 -1
- package/dist/integrations/secrets/scaleway-secret-manager.js +1 -0
- package/dist/jobs/define-job.js +1 -0
- package/dist/jobs/gcp-cloud-tasks.js +1 -1
- package/dist/jobs/gcp-pubsub.js +1 -1
- package/dist/jobs/handlers/index.js +1 -1
- package/dist/jobs/handlers/ping-handler.js +1 -0
- package/dist/jobs/index.js +1 -1
- package/dist/jobs/memory-queue.js +1 -1
- package/dist/jobs/queue.js +1 -0
- package/dist/jobs/scaleway-sqs-queue.js +1 -0
- package/dist/knowledge/contracts.js +1 -1
- package/dist/knowledge/docs/knowledge.docblock.js +138 -0
- package/dist/llm/exporters.js +8 -0
- package/dist/llm/index.js +1 -0
- package/dist/llm/prompts.js +220 -0
- package/dist/llm/types.js +0 -0
- package/dist/node_modules/@pothos/plugin-complexity/esm/calculate-complexity.js +1 -0
- package/dist/node_modules/@pothos/plugin-complexity/esm/defaults.js +1 -0
- package/dist/node_modules/@pothos/plugin-complexity/esm/index.js +1 -0
- package/dist/node_modules/@pothos/plugin-complexity/esm/types.js +1 -0
- package/dist/node_modules/@pothos/plugin-complexity/esm/util.js +1 -0
- package/dist/node_modules/@pothos/plugin-complexity/esm/validator.js +1 -0
- package/dist/node_modules/@pothos/plugin-dataloader/esm/field-builder.js +1 -0
- package/dist/node_modules/@pothos/plugin-dataloader/esm/index.js +1 -0
- package/dist/node_modules/@pothos/plugin-dataloader/esm/refs/index.js +1 -0
- package/dist/node_modules/@pothos/plugin-dataloader/esm/refs/interface.js +1 -0
- package/dist/node_modules/@pothos/plugin-dataloader/esm/refs/node.js +1 -0
- package/dist/node_modules/@pothos/plugin-dataloader/esm/refs/object.js +1 -0
- package/dist/node_modules/@pothos/plugin-dataloader/esm/refs/union.js +1 -0
- package/dist/node_modules/@pothos/plugin-dataloader/esm/schema-builder.js +1 -0
- package/dist/node_modules/@pothos/plugin-dataloader/esm/util.js +1 -0
- package/dist/node_modules/@pothos/plugin-prisma/esm/connection-helpers.js +1 -0
- package/dist/node_modules/@pothos/plugin-prisma/esm/field-builder.js +1 -0
- package/dist/node_modules/@pothos/plugin-prisma/esm/index.js +1 -0
- package/dist/node_modules/@pothos/plugin-prisma/esm/interface-ref.js +1 -0
- package/dist/node_modules/@pothos/plugin-prisma/esm/model-loader.js +1 -0
- package/dist/node_modules/@pothos/plugin-prisma/esm/node-ref.js +1 -0
- package/dist/node_modules/@pothos/plugin-prisma/esm/object-ref.js +1 -0
- package/dist/node_modules/@pothos/plugin-prisma/esm/prisma-field-builder.js +1 -0
- package/dist/node_modules/@pothos/plugin-prisma/esm/schema-builder.js +1 -0
- package/dist/node_modules/@pothos/plugin-prisma/esm/types.js +0 -0
- package/dist/node_modules/@pothos/plugin-prisma/esm/util/cursors.js +1 -0
- package/dist/node_modules/@pothos/plugin-prisma/esm/util/datamodel.js +1 -0
- package/dist/node_modules/@pothos/plugin-prisma/esm/util/deep-equal.js +1 -0
- package/dist/node_modules/@pothos/plugin-prisma/esm/util/description.js +1 -0
- package/dist/node_modules/@pothos/plugin-prisma/esm/util/get-client.js +1 -0
- package/dist/node_modules/@pothos/plugin-prisma/esm/util/loader-map.js +1 -0
- package/dist/node_modules/@pothos/plugin-prisma/esm/util/map-query.js +1 -0
- package/dist/node_modules/@pothos/plugin-prisma/esm/util/relation-map.js +1 -0
- package/dist/node_modules/@pothos/plugin-prisma/esm/util/selections.js +1 -0
- package/dist/node_modules/@pothos/plugin-prisma/esm/util/usage.js +1 -0
- package/dist/node_modules/@pothos/plugin-tracing/esm/index.js +1 -0
- package/dist/node_modules/@pothos/plugin-tracing/esm/util.js +1 -0
- package/dist/node_modules/dataloader/index.js +7 -0
- package/dist/node_modules/graphql/error/GraphQLError.js +5 -0
- package/dist/node_modules/graphql/error/index.js +1 -0
- package/dist/node_modules/graphql/error/locatedError.js +1 -0
- package/dist/node_modules/graphql/error/syntaxError.js +1 -0
- package/dist/node_modules/graphql/execution/collectFields.js +1 -0
- package/dist/node_modules/graphql/execution/execute.js +1 -0
- package/dist/node_modules/graphql/execution/index.js +1 -0
- package/dist/node_modules/graphql/execution/mapAsyncIterator.js +1 -0
- package/dist/node_modules/graphql/execution/subscribe.js +1 -0
- package/dist/node_modules/graphql/execution/values.js +1 -0
- package/dist/node_modules/graphql/graphql.js +1 -0
- package/dist/node_modules/graphql/index.js +1 -0
- package/dist/node_modules/graphql/jsutils/Path.js +1 -0
- package/dist/node_modules/graphql/jsutils/devAssert.js +1 -0
- package/dist/node_modules/graphql/jsutils/didYouMean.js +1 -0
- package/dist/node_modules/graphql/jsutils/groupBy.js +1 -0
- package/dist/node_modules/graphql/jsutils/identityFunc.js +1 -0
- package/dist/node_modules/graphql/jsutils/inspect.js +1 -0
- package/dist/node_modules/graphql/jsutils/instanceOf.js +12 -0
- package/dist/node_modules/graphql/jsutils/invariant.js +1 -0
- package/dist/node_modules/graphql/jsutils/isAsyncIterable.js +1 -0
- package/dist/node_modules/graphql/jsutils/isIterableObject.js +1 -0
- package/dist/node_modules/graphql/jsutils/isObjectLike.js +1 -0
- package/dist/node_modules/graphql/jsutils/isPromise.js +1 -0
- package/dist/node_modules/graphql/jsutils/keyMap.js +1 -0
- package/dist/node_modules/graphql/jsutils/keyValMap.js +1 -0
- package/dist/node_modules/graphql/jsutils/mapValue.js +1 -0
- package/dist/node_modules/graphql/jsutils/memoize3.js +1 -0
- package/dist/node_modules/graphql/jsutils/naturalCompare.js +1 -0
- package/dist/node_modules/graphql/jsutils/printPathArray.js +1 -0
- package/dist/node_modules/graphql/jsutils/promiseForObject.js +1 -0
- package/dist/node_modules/graphql/jsutils/promiseReduce.js +1 -0
- package/dist/node_modules/graphql/jsutils/suggestionList.js +1 -0
- package/dist/node_modules/graphql/jsutils/toError.js +1 -0
- package/dist/node_modules/graphql/jsutils/toObjMap.js +1 -0
- package/dist/node_modules/graphql/language/ast.js +1 -0
- package/dist/node_modules/graphql/language/blockString.js +3 -0
- package/dist/node_modules/graphql/language/characterClasses.js +1 -0
- package/dist/node_modules/graphql/language/directiveLocation.js +1 -0
- package/dist/node_modules/graphql/language/index.js +1 -0
- package/dist/node_modules/graphql/language/kinds.js +1 -0
- package/dist/node_modules/graphql/language/lexer.js +3 -0
- package/dist/node_modules/graphql/language/location.js +1 -0
- package/dist/node_modules/graphql/language/parser.js +1 -0
- package/dist/node_modules/graphql/language/predicates.js +1 -0
- package/dist/node_modules/graphql/language/printLocation.js +2 -0
- package/dist/node_modules/graphql/language/printString.js +1 -0
- package/dist/node_modules/graphql/language/printer.js +34 -0
- package/dist/node_modules/graphql/language/schemaCoordinateLexer.js +1 -0
- package/dist/node_modules/graphql/language/source.js +1 -0
- package/dist/node_modules/graphql/language/tokenKind.js +1 -0
- package/dist/node_modules/graphql/language/visitor.js +1 -0
- package/dist/node_modules/graphql/type/assertName.js +1 -0
- package/dist/node_modules/graphql/type/definition.js +1 -0
- package/dist/node_modules/graphql/type/directives.js +1 -0
- package/dist/node_modules/graphql/type/index.js +1 -0
- package/dist/node_modules/graphql/type/introspection.js +3 -0
- package/dist/node_modules/graphql/type/scalars.js +1 -0
- package/dist/node_modules/graphql/type/schema.js +1 -0
- package/dist/node_modules/graphql/type/validate.js +3 -0
- package/dist/node_modules/graphql/utilities/TypeInfo.js +1 -0
- package/dist/node_modules/graphql/utilities/assertValidName.js +1 -0
- package/dist/node_modules/graphql/utilities/astFromValue.js +1 -0
- package/dist/node_modules/graphql/utilities/buildASTSchema.js +1 -0
- package/dist/node_modules/graphql/utilities/buildClientSchema.js +1 -0
- package/dist/node_modules/graphql/utilities/coerceInputValue.js +1 -0
- package/dist/node_modules/graphql/utilities/concatAST.js +1 -0
- package/dist/node_modules/graphql/utilities/extendSchema.js +1 -0
- package/dist/node_modules/graphql/utilities/findBreakingChanges.js +1 -0
- package/dist/node_modules/graphql/utilities/getIntrospectionQuery.js +107 -0
- package/dist/node_modules/graphql/utilities/getOperationAST.js +1 -0
- package/dist/node_modules/graphql/utilities/getOperationRootType.js +1 -0
- package/dist/node_modules/graphql/utilities/index.js +1 -0
- package/dist/node_modules/graphql/utilities/introspectionFromSchema.js +1 -0
- package/dist/node_modules/graphql/utilities/lexicographicSortSchema.js +1 -0
- package/dist/node_modules/graphql/utilities/printSchema.js +13 -0
- package/dist/node_modules/graphql/utilities/resolveSchemaCoordinate.js +1 -0
- package/dist/node_modules/graphql/utilities/separateOperations.js +1 -0
- package/dist/node_modules/graphql/utilities/sortValueNode.js +1 -0
- package/dist/node_modules/graphql/utilities/stripIgnoredCharacters.js +1 -0
- package/dist/node_modules/graphql/utilities/typeComparators.js +1 -0
- package/dist/node_modules/graphql/utilities/typeFromAST.js +1 -0
- package/dist/node_modules/graphql/utilities/valueFromAST.js +1 -0
- package/dist/node_modules/graphql/utilities/valueFromASTUntyped.js +1 -0
- package/dist/node_modules/graphql/validation/ValidationContext.js +1 -0
- package/dist/node_modules/graphql/validation/index.js +1 -0
- package/dist/node_modules/graphql/validation/rules/ExecutableDefinitionsRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/FieldsOnCorrectTypeRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/FragmentsOnCompositeTypesRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/KnownArgumentNamesRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/KnownDirectivesRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/KnownFragmentNamesRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/KnownTypeNamesRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/LoneAnonymousOperationRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/LoneSchemaDefinitionRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/MaxIntrospectionDepthRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/NoFragmentCyclesRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/NoUndefinedVariablesRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/NoUnusedFragmentsRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/NoUnusedVariablesRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/OverlappingFieldsCanBeMergedRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/PossibleFragmentSpreadsRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/PossibleTypeExtensionsRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/ProvidedRequiredArgumentsRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/ScalarLeafsRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/SingleFieldSubscriptionsRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/UniqueArgumentDefinitionNamesRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/UniqueArgumentNamesRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/UniqueDirectiveNamesRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/UniqueDirectivesPerLocationRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/UniqueEnumValueNamesRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/UniqueFieldDefinitionNamesRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/UniqueFragmentNamesRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/UniqueInputFieldNamesRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/UniqueOperationNamesRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/UniqueOperationTypesRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/UniqueTypeNamesRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/UniqueVariableNamesRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/ValuesOfCorrectTypeRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/VariablesAreInputTypesRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/VariablesInAllowedPositionRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/custom/NoDeprecatedCustomRule.js +1 -0
- package/dist/node_modules/graphql/validation/rules/custom/NoSchemaIntrospectionCustomRule.js +1 -0
- package/dist/node_modules/graphql/validation/specifiedRules.js +1 -0
- package/dist/node_modules/graphql/validation/validate.js +5 -0
- package/dist/node_modules/graphql/version.js +1 -0
- package/dist/onboarding-base.js +1 -1
- package/dist/openapi.js +1 -0
- package/dist/openbanking/docs/openbanking.docblock.js +109 -0
- package/dist/policy/docs/policy.docblock.js +1 -0
- package/dist/presentations/docs/presentations-conventions.docblock.js +8 -0
- package/dist/presentations.js +1 -1
- package/dist/presentations.v2.js +7 -1
- package/dist/prompt.js +1 -1
- package/dist/promptRegistry.js +1 -1
- package/dist/regenerator/docs/regenerator.docblock.js +184 -0
- package/dist/registry.js +1 -1
- package/dist/resources.js +1 -1
- package/dist/schema-to-markdown.js +10 -0
- package/dist/server/graphql-pothos.js +1 -1
- package/dist/server/index.js +1 -1
- package/dist/server/mcp/createMcpServer.js +1 -0
- package/dist/server/mcp/mcpTypes.js +0 -0
- package/dist/server/mcp/registerPresentations.js +1 -0
- package/dist/server/mcp/registerPrompts.js +3 -0
- package/dist/server/mcp/registerResources.js +1 -0
- package/dist/server/mcp/registerTools.js +1 -0
- package/dist/server/provider-mcp.js +1 -1
- package/dist/telemetry/docs/telemetry.docblock.js +139 -0
- package/package.json +353 -193
- package/dist/app-config/branding.d.ts +0 -55
- package/dist/app-config/contracts.d.ts +0 -244
- package/dist/app-config/events.d.ts +0 -122
- package/dist/app-config/index.d.ts +0 -8
- package/dist/app-config/lifecycle-contracts.d.ts +0 -382
- package/dist/app-config/lifecycle.d.ts +0 -27
- package/dist/app-config/runtime.d.ts +0 -114
- package/dist/app-config/spec.d.ts +0 -175
- package/dist/app-config/validation.d.ts +0 -47
- package/dist/capabilities/openbanking.d.ts +0 -9
- package/dist/capabilities.d.ts +0 -45
- package/dist/client/index.d.ts +0 -6
- package/dist/client/react/drivers/rn-reusables.d.ts +0 -22
- package/dist/client/react/drivers/shadcn.d.ts +0 -12
- package/dist/client/react/feature-render.d.ts +0 -20
- package/dist/client/react/form-render.d.ts +0 -91
- package/dist/client/react/index.d.ts +0 -5
- package/dist/contracts-adapter-hydration.d.ts +0 -15
- package/dist/contracts-adapter-input.d.ts +0 -10
- package/dist/data-views/query-generator.d.ts +0 -39
- package/dist/data-views/runtime.d.ts +0 -26
- package/dist/data-views.d.ts +0 -131
- package/dist/events.d.ts +0 -44
- package/dist/experiments/evaluator.d.ts +0 -37
- package/dist/experiments/spec-resolver.d.ts +0 -16
- package/dist/experiments/spec.d.ts +0 -89
- package/dist/features.d.ts +0 -87
- package/dist/forms.d.ts +0 -258
- package/dist/graphql-federation/dist/index.js +0 -1
- package/dist/index.d.ts +0 -130
- package/dist/install.d.ts +0 -76
- package/dist/integrations/binding.d.ts +0 -17
- package/dist/integrations/connection.d.ts +0 -51
- package/dist/integrations/contracts.d.ts +0 -435
- package/dist/integrations/health.d.ts +0 -21
- package/dist/integrations/index.d.ts +0 -53
- package/dist/integrations/openbanking/contracts/accounts.d.ts +0 -287
- package/dist/integrations/openbanking/contracts/balances.d.ts +0 -163
- package/dist/integrations/openbanking/contracts/index.d.ts +0 -9
- package/dist/integrations/openbanking/contracts/transactions.d.ts +0 -211
- package/dist/integrations/openbanking/guards.d.ts +0 -12
- package/dist/integrations/openbanking/models.d.ts +0 -228
- package/dist/integrations/openbanking/telemetry.d.ts +0 -15
- package/dist/integrations/providers/calendar.d.ts +0 -78
- package/dist/integrations/providers/elevenlabs.d.ts +0 -7
- package/dist/integrations/providers/email.d.ts +0 -86
- package/dist/integrations/providers/embedding.d.ts +0 -24
- package/dist/integrations/providers/gcs-storage.d.ts +0 -7
- package/dist/integrations/providers/gmail.d.ts +0 -7
- package/dist/integrations/providers/google-calendar.d.ts +0 -7
- package/dist/integrations/providers/impls/elevenlabs-voice.d.ts +0 -20
- package/dist/integrations/providers/impls/gcs-storage.d.ts +0 -24
- package/dist/integrations/providers/impls/gmail-inbound.d.ts +0 -26
- package/dist/integrations/providers/impls/gmail-outbound.d.ts +0 -18
- package/dist/integrations/providers/impls/google-calendar.d.ts +0 -23
- package/dist/integrations/providers/impls/index.d.ts +0 -15
- package/dist/integrations/providers/impls/mistral-embedding.d.ts +0 -23
- package/dist/integrations/providers/impls/mistral-llm.d.ts +0 -31
- package/dist/integrations/providers/impls/postmark-email.d.ts +0 -19
- package/dist/integrations/providers/impls/powens-client.d.ts +0 -124
- package/dist/integrations/providers/impls/powens-openbanking.d.ts +0 -27
- package/dist/integrations/providers/impls/provider-factory.d.ts +0 -26
- package/dist/integrations/providers/impls/qdrant-vector.d.ts +0 -24
- package/dist/integrations/providers/impls/stripe-payments.d.ts +0 -28
- package/dist/integrations/providers/impls/twilio-sms.d.ts +0 -20
- package/dist/integrations/providers/index.d.ts +0 -36
- package/dist/integrations/providers/llm.d.ts +0 -82
- package/dist/integrations/providers/mistral.d.ts +0 -7
- package/dist/integrations/providers/openbanking.d.ts +0 -128
- package/dist/integrations/providers/payments.d.ts +0 -109
- package/dist/integrations/providers/postmark.d.ts +0 -7
- package/dist/integrations/providers/powens.d.ts +0 -7
- package/dist/integrations/providers/qdrant.d.ts +0 -7
- package/dist/integrations/providers/sms.d.ts +0 -34
- package/dist/integrations/providers/storage.d.ts +0 -60
- package/dist/integrations/providers/stripe.d.ts +0 -7
- package/dist/integrations/providers/twilio-sms.d.ts +0 -7
- package/dist/integrations/providers/vector-store.d.ts +0 -43
- package/dist/integrations/providers/voice.d.ts +0 -34
- package/dist/integrations/runtime.d.ts +0 -99
- package/dist/integrations/secrets/env-secret-provider.d.ts +0 -31
- package/dist/integrations/secrets/gcp-secret-manager.d.ts +0 -32
- package/dist/integrations/secrets/index.d.ts +0 -5
- package/dist/integrations/secrets/manager.d.ts +0 -47
- package/dist/integrations/secrets/provider.d.ts +0 -52
- package/dist/integrations/spec.d.ts +0 -79
- package/dist/jobs/gcp-cloud-tasks.d.ts +0 -41
- package/dist/jobs/gcp-pubsub.d.ts +0 -25
- package/dist/jobs/handlers/gmail-sync-handler.d.ts +0 -9
- package/dist/jobs/handlers/index.d.ts +0 -3
- package/dist/jobs/handlers/storage-document-handler.d.ts +0 -12
- package/dist/jobs/index.d.ts +0 -7
- package/dist/jobs/memory-queue.d.ts +0 -18
- package/dist/jobs/queue.d.ts +0 -26
- package/dist/jsonschema.d.ts +0 -26
- package/dist/knowledge/binding.d.ts +0 -25
- package/dist/knowledge/contracts.d.ts +0 -316
- package/dist/knowledge/index.d.ts +0 -10
- package/dist/knowledge/ingestion/document-processor.d.ts +0 -24
- package/dist/knowledge/ingestion/embedding-service.d.ts +0 -12
- package/dist/knowledge/ingestion/gmail-adapter.d.ts +0 -18
- package/dist/knowledge/ingestion/index.d.ts +0 -6
- package/dist/knowledge/ingestion/storage-adapter.d.ts +0 -15
- package/dist/knowledge/ingestion/vector-indexer.d.ts +0 -18
- package/dist/knowledge/query/index.d.ts +0 -2
- package/dist/knowledge/query/service.d.ts +0 -29
- package/dist/knowledge/runtime.d.ts +0 -32
- package/dist/knowledge/source.d.ts +0 -32
- package/dist/knowledge/spaces/email-threads.d.ts +0 -7
- package/dist/knowledge/spaces/financial-docs.d.ts +0 -7
- package/dist/knowledge/spaces/financial-overview.d.ts +0 -7
- package/dist/knowledge/spaces/index.d.ts +0 -7
- package/dist/knowledge/spaces/product-canon.d.ts +0 -7
- package/dist/knowledge/spaces/support-faq.d.ts +0 -7
- package/dist/knowledge/spaces/uploaded-docs.d.ts +0 -7
- package/dist/knowledge/spec.d.ts +0 -52
- package/dist/markdown.d.ts +0 -21
- package/dist/migrations.d.ts +0 -52
- package/dist/onboarding-base.d.ts +0 -137
- package/dist/ownership.d.ts +0 -75
- package/dist/policy/engine.d.ts +0 -39
- package/dist/policy/opa-adapter.d.ts +0 -45
- package/dist/policy/spec.d.ts +0 -114
- package/dist/presentations.backcompat.d.ts +0 -7
- package/dist/presentations.d.ts +0 -96
- package/dist/presentations.v2.d.ts +0 -95
- package/dist/prompt.d.ts +0 -60
- package/dist/promptRegistry.d.ts +0 -15
- package/dist/regenerator/adapters.d.ts +0 -19
- package/dist/regenerator/executor.d.ts +0 -70
- package/dist/regenerator/index.d.ts +0 -7
- package/dist/regenerator/service.d.ts +0 -33
- package/dist/regenerator/sinks.d.ts +0 -26
- package/dist/regenerator/types.d.ts +0 -107
- package/dist/regenerator/utils.d.ts +0 -9
- package/dist/registry.d.ts +0 -72
- package/dist/resources.d.ts +0 -64
- package/dist/schema/dist/EnumType.js +0 -1
- package/dist/schema/dist/FieldType.js +0 -1
- package/dist/schema/dist/ScalarTypeEnum.js +0 -1
- package/dist/schema/dist/SchemaModel.js +0 -1
- package/dist/schema/dist/index.js +0 -1
- package/dist/server/graphql-pothos.d.ts +0 -31
- package/dist/server/graphql-schema-export.d.ts +0 -6
- package/dist/server/graphql-schema-export.js +0 -1
- package/dist/server/index.d.ts +0 -9
- package/dist/server/provider-mcp.d.ts +0 -51
- package/dist/server/rest-elysia.d.ts +0 -40
- package/dist/server/rest-express.d.ts +0 -16
- package/dist/server/rest-generic.d.ts +0 -32
- package/dist/server/rest-next-app.d.ts +0 -35
- package/dist/server/rest-next-mcp.d.ts +0 -11
- package/dist/server/rest-next-pages.d.ts +0 -9
- package/dist/spec.d.ts +0 -171
- package/dist/telemetry/anomaly.d.ts +0 -27
- package/dist/telemetry/index.d.ts +0 -4
- package/dist/telemetry/spec.d.ts +0 -98
- package/dist/telemetry/tracker.d.ts +0 -51
- package/dist/tests/index.d.ts +0 -3
- package/dist/tests/runner.d.ts +0 -43
- package/dist/tests/spec.d.ts +0 -89
- package/dist/themes.d.ts +0 -55
- package/dist/translations/catalog.d.ts +0 -28
- package/dist/translations/tenant.d.ts +0 -15
- package/dist/types/all.d.ts +0 -60
- package/dist/types.d.ts +0 -88
- package/dist/workflow/adapters/db-adapter.d.ts +0 -34
- package/dist/workflow/adapters/file-adapter.d.ts +0 -14
- package/dist/workflow/adapters/index.d.ts +0 -4
- package/dist/workflow/adapters/memory-store.d.ts +0 -18
- package/dist/workflow/expression.d.ts +0 -9
- package/dist/workflow/index.d.ts +0 -10
- package/dist/workflow/runner.d.ts +0 -74
- package/dist/workflow/sla-monitor.d.ts +0 -20
- package/dist/workflow/spec.d.ts +0 -99
- package/dist/workflow/state.d.ts +0 -35
- package/dist/workflow/validation.d.ts +0 -28
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { CapabilityRegistry } from "../capabilities.js";
|
|
2
|
-
import { DataViewRegistry } from "../data-views.js";
|
|
3
|
-
import { WorkflowRegistry } from "../workflow/spec.js";
|
|
4
|
-
import { IntegrationSpecRegistry } from "../integrations/spec.js";
|
|
5
|
-
import { IntegrationConnection } from "../integrations/connection.js";
|
|
6
|
-
import { KnowledgeSpaceRegistry } from "../knowledge/spec.js";
|
|
7
|
-
import { KnowledgeSourceConfig } from "../knowledge/source.js";
|
|
8
|
-
import { BlueprintTranslationCatalog, PlatformTranslationCatalog } from "../translations/catalog.js";
|
|
9
|
-
import { AppBlueprintSpec, TenantAppConfig } from "./spec.js";
|
|
10
|
-
import { ResolvedAppConfig } from "./runtime.js";
|
|
11
|
-
|
|
12
|
-
//#region src/app-config/validation.d.ts
|
|
13
|
-
type ValidationSeverity = 'error' | 'warning' | 'info';
|
|
14
|
-
interface ValidationIssue {
|
|
15
|
-
code: string;
|
|
16
|
-
severity: ValidationSeverity;
|
|
17
|
-
path: string;
|
|
18
|
-
message: string;
|
|
19
|
-
suggestion?: string;
|
|
20
|
-
docsUrl?: string;
|
|
21
|
-
}
|
|
22
|
-
interface ValidationResult {
|
|
23
|
-
valid: boolean;
|
|
24
|
-
errors: ValidationIssue[];
|
|
25
|
-
warnings: ValidationIssue[];
|
|
26
|
-
info: ValidationIssue[];
|
|
27
|
-
}
|
|
28
|
-
interface ValidationContext {
|
|
29
|
-
integrationSpecs?: IntegrationSpecRegistry;
|
|
30
|
-
knowledgeSpaces?: KnowledgeSpaceRegistry;
|
|
31
|
-
knowledgeSources?: KnowledgeSourceConfig[];
|
|
32
|
-
capabilities?: CapabilityRegistry;
|
|
33
|
-
dataViews?: DataViewRegistry;
|
|
34
|
-
workflows?: WorkflowRegistry;
|
|
35
|
-
tenantConnections?: IntegrationConnection[];
|
|
36
|
-
existingConfigs?: TenantAppConfig[];
|
|
37
|
-
translationCatalogs?: {
|
|
38
|
-
platform?: PlatformTranslationCatalog | PlatformTranslationCatalog[] | undefined;
|
|
39
|
-
blueprint?: BlueprintTranslationCatalog | BlueprintTranslationCatalog[] | undefined;
|
|
40
|
-
};
|
|
41
|
-
}
|
|
42
|
-
declare function validateConfig(blueprint: AppBlueprintSpec, tenant: TenantAppConfig, context?: ValidationContext): ValidationResult;
|
|
43
|
-
declare function validateBlueprint(blueprint: AppBlueprintSpec, context?: ValidationContext): ValidationResult;
|
|
44
|
-
declare function validateTenantConfig(blueprint: AppBlueprintSpec, tenant: TenantAppConfig, context?: ValidationContext): ValidationResult;
|
|
45
|
-
declare function validateResolvedConfig(blueprint: AppBlueprintSpec, resolved: ResolvedAppConfig, context?: ValidationContext): ValidationResult;
|
|
46
|
-
//#endregion
|
|
47
|
-
export { ValidationContext, ValidationIssue, ValidationResult, ValidationSeverity, validateBlueprint, validateConfig, validateResolvedConfig, validateTenantConfig };
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { CapabilityRegistry, CapabilitySpec } from "../capabilities.js";
|
|
2
|
-
|
|
3
|
-
//#region src/capabilities/openbanking.d.ts
|
|
4
|
-
declare const openBankingAccountsReadCapability: CapabilitySpec;
|
|
5
|
-
declare const openBankingTransactionsReadCapability: CapabilitySpec;
|
|
6
|
-
declare const openBankingBalancesReadCapability: CapabilitySpec;
|
|
7
|
-
declare function registerOpenBankingCapabilities(registry: CapabilityRegistry): CapabilityRegistry;
|
|
8
|
-
//#endregion
|
|
9
|
-
export { openBankingAccountsReadCapability, openBankingBalancesReadCapability, openBankingTransactionsReadCapability, registerOpenBankingCapabilities };
|
package/dist/capabilities.d.ts
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { OwnerShipMeta } from "./ownership.js";
|
|
2
|
-
|
|
3
|
-
//#region src/capabilities.d.ts
|
|
4
|
-
type CapabilityKind = 'api' | 'event' | 'data' | 'ui' | 'integration';
|
|
5
|
-
type CapabilitySurface = 'operation' | 'event' | 'workflow' | 'presentation' | 'resource';
|
|
6
|
-
interface CapabilitySurfaceRef {
|
|
7
|
-
surface: CapabilitySurface;
|
|
8
|
-
name: string;
|
|
9
|
-
version: number;
|
|
10
|
-
description?: string;
|
|
11
|
-
}
|
|
12
|
-
interface CapabilityMeta extends OwnerShipMeta {
|
|
13
|
-
/** Stable capability slug (e.g., "payments.stripe"). */
|
|
14
|
-
key: string;
|
|
15
|
-
/** Increment when the capability shape changes. */
|
|
16
|
-
version: number;
|
|
17
|
-
kind: CapabilityKind;
|
|
18
|
-
}
|
|
19
|
-
interface CapabilityRequirement {
|
|
20
|
-
key: string;
|
|
21
|
-
version?: number;
|
|
22
|
-
kind?: CapabilityKind;
|
|
23
|
-
optional?: boolean;
|
|
24
|
-
reason?: string;
|
|
25
|
-
}
|
|
26
|
-
interface CapabilityRef {
|
|
27
|
-
key: string;
|
|
28
|
-
version: number;
|
|
29
|
-
}
|
|
30
|
-
interface CapabilitySpec {
|
|
31
|
-
meta: CapabilityMeta;
|
|
32
|
-
provides?: CapabilitySurfaceRef[];
|
|
33
|
-
requires?: CapabilityRequirement[];
|
|
34
|
-
}
|
|
35
|
-
declare class CapabilityRegistry {
|
|
36
|
-
private readonly items;
|
|
37
|
-
register(spec: CapabilitySpec): this;
|
|
38
|
-
list(): CapabilitySpec[];
|
|
39
|
-
get(key: string, version?: number): CapabilitySpec | undefined;
|
|
40
|
-
satisfies(requirement: CapabilityRequirement, additional?: CapabilityRef[] | undefined): boolean;
|
|
41
|
-
}
|
|
42
|
-
declare function capabilityKey(spec: CapabilitySpec): string;
|
|
43
|
-
declare function defineCapability(spec: CapabilitySpec): CapabilitySpec;
|
|
44
|
-
//#endregion
|
|
45
|
-
export { CapabilityKind, CapabilityMeta, CapabilityRef, CapabilityRegistry, CapabilityRequirement, CapabilitySpec, CapabilitySurface, CapabilitySurfaceRef, capabilityKey, defineCapability };
|
package/dist/client/index.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { ComponentMap, createEngineWithDefaults, createFeatureModule, registerFeature, renderFeaturePresentation } from "./react/feature-render.js";
|
|
2
|
-
import { ComputationMap, CreateRendererOptions, DriverSlots, RenderOptions, ResolverMap, createFormRenderer } from "./react/form-render.js";
|
|
3
|
-
import { ShadcnDriver, shadcnDriver } from "./react/drivers/shadcn.js";
|
|
4
|
-
import { RnReusablesDriver, rnReusablesDriver } from "./react/drivers/rn-reusables.js";
|
|
5
|
-
import "./react/index.js";
|
|
6
|
-
export { ComponentMap, ComputationMap, CreateRendererOptions, DriverSlots, RenderOptions, ResolverMap, RnReusablesDriver, ShadcnDriver, createEngineWithDefaults, createFeatureModule, createFormRenderer, registerFeature, renderFeaturePresentation, rnReusablesDriver, shadcnDriver };
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { DriverSlots } from "../form-render.js";
|
|
2
|
-
|
|
3
|
-
//#region src/client/react/drivers/rn-reusables.d.ts
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Create a React Native UI-kit driver by mapping required slots to components.
|
|
7
|
-
* Host apps should import their UI-kit primitives and pass them here.
|
|
8
|
-
*
|
|
9
|
-
* Example usage:
|
|
10
|
-
* ```tsx
|
|
11
|
-
* import { rnReusablesDriver } from '@lssm/lib.contracts/client/react/drivers/rn-reusables';
|
|
12
|
-
* import { Input, Textarea, Button } from '@lssm/lib.ui-kit/ui';
|
|
13
|
-
*
|
|
14
|
-
* const driver = rnReusablesDriver({
|
|
15
|
-
* Input, Textarea, Button, // ... other components
|
|
16
|
-
* });
|
|
17
|
-
* ```
|
|
18
|
-
*/
|
|
19
|
-
declare function rnReusablesDriver(slots: DriverSlots): DriverSlots;
|
|
20
|
-
type RnReusablesDriver = ReturnType<typeof rnReusablesDriver>;
|
|
21
|
-
//#endregion
|
|
22
|
-
export { RnReusablesDriver, rnReusablesDriver };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { DriverSlots } from "../form-render.js";
|
|
2
|
-
|
|
3
|
-
//#region src/client/react/drivers/shadcn.d.ts
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* Create a shadcn/ui driver by mapping required slots to components.
|
|
7
|
-
* Host apps should import their shadcn primitives and pass them here.
|
|
8
|
-
*/
|
|
9
|
-
declare function shadcnDriver(slots: DriverSlots): DriverSlots;
|
|
10
|
-
type ShadcnDriver = ReturnType<typeof shadcnDriver>;
|
|
11
|
-
//#endregion
|
|
12
|
-
export { ShadcnDriver, shadcnDriver };
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { PresentationDescriptorV2, PresentationTarget, TransformEngine } from "../../presentations.v2.js";
|
|
2
|
-
import { FeatureModuleSpec, FeatureRegistry } from "../../features.js";
|
|
3
|
-
import React from "react";
|
|
4
|
-
import { BlockConfig } from "@blocknote/core";
|
|
5
|
-
|
|
6
|
-
//#region src/client/react/feature-render.d.ts
|
|
7
|
-
type ComponentMap = Record<string, React.ComponentType<any>>;
|
|
8
|
-
declare function createEngineWithDefaults(): TransformEngine;
|
|
9
|
-
declare function renderFeaturePresentation(engine: TransformEngine, target: PresentationTarget, desc: PresentationDescriptorV2, options?: {
|
|
10
|
-
componentMap?: ComponentMap;
|
|
11
|
-
reactProps?: Record<string, unknown>;
|
|
12
|
-
renderBlockNote?: (docJson: unknown, blockConfig?: BlockConfig) => React.ReactElement;
|
|
13
|
-
}): Promise<React.ReactElement | {
|
|
14
|
-
mimeType: string;
|
|
15
|
-
body: string;
|
|
16
|
-
} | null>;
|
|
17
|
-
declare function createFeatureModule(meta: FeatureModuleSpec['meta'], refs: Partial<Pick<FeatureModuleSpec, 'operations' | 'events' | 'presentations' | 'presentationsTargets'>>): FeatureModuleSpec;
|
|
18
|
-
declare function registerFeature(registry: FeatureRegistry, feature: FeatureModuleSpec): FeatureRegistry;
|
|
19
|
-
//#endregion
|
|
20
|
-
export { ComponentMap, createEngineWithDefaults, createFeatureModule, registerFeature, renderFeaturePresentation };
|
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
import { FormOption, FormSpec, FormValuesFor } from "../../forms.js";
|
|
2
|
-
import React from "react";
|
|
3
|
-
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
4
|
-
import { AnySchemaModel } from "@lssm/lib.schema";
|
|
5
|
-
|
|
6
|
-
//#region src/client/react/form-render.d.ts
|
|
7
|
-
interface DriverSlots {
|
|
8
|
-
Field: React.ComponentType<React.PropsWithChildren<{
|
|
9
|
-
'data-invalid'?: boolean;
|
|
10
|
-
hidden?: boolean;
|
|
11
|
-
disabled?: boolean;
|
|
12
|
-
}>>;
|
|
13
|
-
FieldLabel: React.ComponentType<React.PropsWithChildren<{
|
|
14
|
-
htmlFor?: string;
|
|
15
|
-
}>>;
|
|
16
|
-
FieldDescription: React.ComponentType<React.PropsWithChildren<{}>>;
|
|
17
|
-
FieldError: React.ComponentType<{
|
|
18
|
-
errors: {
|
|
19
|
-
message?: string;
|
|
20
|
-
}[];
|
|
21
|
-
}>;
|
|
22
|
-
FieldGroup?: React.ComponentType<React.PropsWithChildren<{
|
|
23
|
-
className?: string;
|
|
24
|
-
}>>;
|
|
25
|
-
FieldSet?: React.ComponentType<React.PropsWithChildren<{
|
|
26
|
-
className?: string;
|
|
27
|
-
}>>;
|
|
28
|
-
FieldLegend?: React.ComponentType<React.PropsWithChildren<{
|
|
29
|
-
variant?: 'label' | 'default';
|
|
30
|
-
}>>;
|
|
31
|
-
Input: React.ComponentType<React.InputHTMLAttributes<HTMLInputElement>>;
|
|
32
|
-
Textarea: React.ComponentType<React.TextareaHTMLAttributes<HTMLTextAreaElement>>;
|
|
33
|
-
Select: React.ComponentType<{
|
|
34
|
-
id?: string;
|
|
35
|
-
name?: string;
|
|
36
|
-
value?: unknown;
|
|
37
|
-
onChange?: (v: any) => void;
|
|
38
|
-
disabled?: boolean;
|
|
39
|
-
'aria-invalid'?: boolean;
|
|
40
|
-
options: FormOption[];
|
|
41
|
-
} & Record<string, unknown>>;
|
|
42
|
-
Checkbox: React.ComponentType<{
|
|
43
|
-
id?: string;
|
|
44
|
-
name?: string;
|
|
45
|
-
checked?: boolean;
|
|
46
|
-
onCheckedChange?: (v: boolean) => void;
|
|
47
|
-
disabled?: boolean;
|
|
48
|
-
} & Record<string, unknown>>;
|
|
49
|
-
RadioGroup: React.ComponentType<{
|
|
50
|
-
id?: string;
|
|
51
|
-
name?: string;
|
|
52
|
-
value?: unknown;
|
|
53
|
-
onValueChange?: (v: any) => void;
|
|
54
|
-
disabled?: boolean;
|
|
55
|
-
options: FormOption[];
|
|
56
|
-
} & Record<string, unknown>>;
|
|
57
|
-
Switch: React.ComponentType<{
|
|
58
|
-
id?: string;
|
|
59
|
-
name?: string;
|
|
60
|
-
checked?: boolean;
|
|
61
|
-
onCheckedChange?: (v: boolean) => void;
|
|
62
|
-
disabled?: boolean;
|
|
63
|
-
} & Record<string, unknown>>;
|
|
64
|
-
Button: React.ComponentType<React.PropsWithChildren<{
|
|
65
|
-
type?: 'button' | 'submit' | 'reset';
|
|
66
|
-
variant?: string;
|
|
67
|
-
size?: string;
|
|
68
|
-
onClick?: () => void;
|
|
69
|
-
disabled?: boolean;
|
|
70
|
-
}>>;
|
|
71
|
-
}
|
|
72
|
-
type ResolverMap<TValues> = Record<string, (values: TValues, args?: any) => Promise<FormOption[]> | FormOption[]>;
|
|
73
|
-
type ComputationMap<TValues> = Record<string, (values: TValues) => any>;
|
|
74
|
-
interface CreateRendererOptions<TValues = any> {
|
|
75
|
-
driver: DriverSlots;
|
|
76
|
-
formOptions?: Record<string, unknown>;
|
|
77
|
-
onSubmitOverride?: (values: TValues, actionKey: string) => Promise<void> | void;
|
|
78
|
-
activeFlags?: string[];
|
|
79
|
-
resolvers?: ResolverMap<TValues>;
|
|
80
|
-
computations?: ComputationMap<TValues>;
|
|
81
|
-
unmountStrategy?: 'keep' | 'clear';
|
|
82
|
-
}
|
|
83
|
-
interface RenderOptions<TValues = any> {
|
|
84
|
-
defaultValues?: Partial<TValues>;
|
|
85
|
-
overrides?: Partial<CreateRendererOptions<TValues>>;
|
|
86
|
-
}
|
|
87
|
-
declare function createFormRenderer<M extends AnySchemaModel = AnySchemaModel>(base: CreateRendererOptions<FormValuesFor<M>>): {
|
|
88
|
-
render: (spec: FormSpec<M>, options?: RenderOptions<FormValuesFor<M>>) => react_jsx_runtime0.JSX.Element;
|
|
89
|
-
};
|
|
90
|
-
//#endregion
|
|
91
|
-
export { ComputationMap, CreateRendererOptions, DriverSlots, RenderOptions, ResolverMap, createFormRenderer };
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { ComponentMap, createEngineWithDefaults, createFeatureModule, registerFeature, renderFeaturePresentation } from "./feature-render.js";
|
|
2
|
-
import { ComputationMap, CreateRendererOptions, DriverSlots, RenderOptions, ResolverMap, createFormRenderer } from "./form-render.js";
|
|
3
|
-
import { ShadcnDriver, shadcnDriver } from "./drivers/shadcn.js";
|
|
4
|
-
import { RnReusablesDriver, rnReusablesDriver } from "./drivers/rn-reusables.js";
|
|
5
|
-
export { ComponentMap, ComputationMap, CreateRendererOptions, DriverSlots, RenderOptions, ResolverMap, RnReusablesDriver, ShadcnDriver, createEngineWithDefaults, createFeatureModule, createFormRenderer, registerFeature, renderFeaturePresentation, rnReusablesDriver, shadcnDriver };
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { ResourceRegistry } from "./resources.js";
|
|
2
|
-
|
|
3
|
-
//#region src/contracts-adapter-hydration.d.ts
|
|
4
|
-
interface ReturnsDecl {
|
|
5
|
-
isList: boolean;
|
|
6
|
-
inner: string;
|
|
7
|
-
}
|
|
8
|
-
declare function parseReturns(returnsLike: string): ReturnsDecl;
|
|
9
|
-
declare function hydrateResourceIfNeeded(resources: ResourceRegistry | undefined, result: unknown, opts: {
|
|
10
|
-
template?: string;
|
|
11
|
-
varName?: string;
|
|
12
|
-
returns: ReturnsDecl;
|
|
13
|
-
}): Promise<unknown>;
|
|
14
|
-
//#endregion
|
|
15
|
-
export { ReturnsDecl, hydrateResourceIfNeeded, parseReturns };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { SchemaTypes } from "@pothos/core";
|
|
2
|
-
import { AnySchemaModel } from "@lssm/lib.schema";
|
|
3
|
-
|
|
4
|
-
//#region src/contracts-adapter-input.d.ts
|
|
5
|
-
declare function isSchemaModel(x: unknown): x is AnySchemaModel;
|
|
6
|
-
declare function createInputTypeBuilder<T extends SchemaTypes>(builder: PothosSchemaTypes.SchemaBuilder<T>): {
|
|
7
|
-
buildInputFieldArgs: (model: AnySchemaModel | null) => null;
|
|
8
|
-
};
|
|
9
|
-
//#endregion
|
|
10
|
-
export { createInputTypeBuilder, isSchemaModel };
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import { DataViewSpec } from "../data-views.js";
|
|
2
|
-
|
|
3
|
-
//#region src/data-views/query-generator.d.ts
|
|
4
|
-
interface DataViewQueryParams {
|
|
5
|
-
filters?: Record<string, any>;
|
|
6
|
-
sort?: {
|
|
7
|
-
field: string;
|
|
8
|
-
direction: 'asc' | 'desc';
|
|
9
|
-
};
|
|
10
|
-
pagination?: {
|
|
11
|
-
page: number;
|
|
12
|
-
pageSize: number;
|
|
13
|
-
};
|
|
14
|
-
search?: string;
|
|
15
|
-
}
|
|
16
|
-
interface DataViewQuery {
|
|
17
|
-
operationName: string;
|
|
18
|
-
input: Record<string, any>;
|
|
19
|
-
meta: {
|
|
20
|
-
pagination: {
|
|
21
|
-
page: number;
|
|
22
|
-
pageSize: number;
|
|
23
|
-
skip: number;
|
|
24
|
-
take: number;
|
|
25
|
-
};
|
|
26
|
-
sorting?: {
|
|
27
|
-
field: string;
|
|
28
|
-
direction: 'asc' | 'desc';
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
declare class DataViewQueryGenerator {
|
|
33
|
-
private spec;
|
|
34
|
-
constructor(spec: DataViewSpec);
|
|
35
|
-
generate(params: DataViewQueryParams): DataViewQuery;
|
|
36
|
-
validateParams(params: DataViewQueryParams): string[];
|
|
37
|
-
}
|
|
38
|
-
//#endregion
|
|
39
|
-
export { DataViewQuery, DataViewQueryGenerator, DataViewQueryParams };
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { DataViewRegistry, DataViewSpec } from "../data-views.js";
|
|
2
|
-
|
|
3
|
-
//#region src/data-views/runtime.d.ts
|
|
4
|
-
interface DataViewRuntimeConfig {
|
|
5
|
-
registry: DataViewRegistry;
|
|
6
|
-
}
|
|
7
|
-
interface DataViewResult<T = any> {
|
|
8
|
-
data: T[];
|
|
9
|
-
total: number;
|
|
10
|
-
loading: boolean;
|
|
11
|
-
error?: Error;
|
|
12
|
-
}
|
|
13
|
-
declare class DataViewRuntime {
|
|
14
|
-
private config;
|
|
15
|
-
private cache;
|
|
16
|
-
private subscriptions;
|
|
17
|
-
constructor(config: DataViewRuntimeConfig);
|
|
18
|
-
register(spec: DataViewSpec): void;
|
|
19
|
-
getSpec(name: string, version?: number): DataViewSpec | undefined;
|
|
20
|
-
executeQuery(specName: string, params: any): Promise<DataViewResult>;
|
|
21
|
-
invalidate(specName: string): void;
|
|
22
|
-
subscribe(specName: string, callback: () => void): () => void;
|
|
23
|
-
private notifySubscribers;
|
|
24
|
-
}
|
|
25
|
-
//#endregion
|
|
26
|
-
export { DataViewResult, DataViewRuntime, DataViewRuntimeConfig };
|
package/dist/data-views.d.ts
DELETED
|
@@ -1,131 +0,0 @@
|
|
|
1
|
-
import { OwnerShipMeta } from "./ownership.js";
|
|
2
|
-
import { ExperimentRef } from "./experiments/spec.js";
|
|
3
|
-
import { EventRef, OpRef, PresentationRef } from "./features.js";
|
|
4
|
-
|
|
5
|
-
//#region src/data-views.d.ts
|
|
6
|
-
type DataViewKind = 'list' | 'detail' | 'table' | 'grid';
|
|
7
|
-
interface DataViewMeta extends OwnerShipMeta {
|
|
8
|
-
/** Fully-qualified data view name (e.g., "sigil.spaces.admin_list"). */
|
|
9
|
-
name: string;
|
|
10
|
-
/** Version of this data view. Increment on breaking changes. */
|
|
11
|
-
version: number;
|
|
12
|
-
/** Canonical entity slug (e.g., "space", "resident"). */
|
|
13
|
-
entity: string;
|
|
14
|
-
}
|
|
15
|
-
interface DataViewSource {
|
|
16
|
-
/** Primary query used to fetch items for this view. */
|
|
17
|
-
primary: OpRef;
|
|
18
|
-
/** Optional operation used to fetch a single item (detail views). */
|
|
19
|
-
item?: OpRef;
|
|
20
|
-
/** Optional record mutation operations (used for inline editing or actions). */
|
|
21
|
-
mutations?: {
|
|
22
|
-
create?: OpRef;
|
|
23
|
-
update?: OpRef;
|
|
24
|
-
delete?: OpRef;
|
|
25
|
-
};
|
|
26
|
-
/** Events that should trigger refresh when emitted. */
|
|
27
|
-
refreshEvents?: EventRef[];
|
|
28
|
-
}
|
|
29
|
-
type DataViewFieldFormat = 'text' | 'number' | 'currency' | 'percentage' | 'date' | 'dateTime' | 'boolean' | 'badge';
|
|
30
|
-
interface DataViewField {
|
|
31
|
-
/** Unique identifier for the field within the view. */
|
|
32
|
-
key: string;
|
|
33
|
-
/** Human-friendly label for headers/tooltips. */
|
|
34
|
-
label: string;
|
|
35
|
-
/** Dot-path into the data item (e.g., "address.city"). */
|
|
36
|
-
dataPath: string;
|
|
37
|
-
/** Optional description surfaced in tooltips or docs. */
|
|
38
|
-
description?: string;
|
|
39
|
-
/** Optional formatting hint for renderers. */
|
|
40
|
-
format?: DataViewFieldFormat;
|
|
41
|
-
/** When true, the field can be used for sorting. */
|
|
42
|
-
sortable?: boolean;
|
|
43
|
-
/** When true, the field can be used for filtering. */
|
|
44
|
-
filterable?: boolean;
|
|
45
|
-
/** Optional width hint for table layouts. */
|
|
46
|
-
width?: 'auto' | 'xs' | 'sm' | 'md' | 'lg';
|
|
47
|
-
/** Optional presentation override (e.g., card component). */
|
|
48
|
-
presentation?: PresentationRef;
|
|
49
|
-
}
|
|
50
|
-
interface DataViewFilter {
|
|
51
|
-
key: string;
|
|
52
|
-
label: string;
|
|
53
|
-
field: string;
|
|
54
|
-
type: 'search' | 'enum' | 'number' | 'date' | 'boolean';
|
|
55
|
-
options?: {
|
|
56
|
-
value: string;
|
|
57
|
-
label: string;
|
|
58
|
-
}[];
|
|
59
|
-
}
|
|
60
|
-
interface DataViewAction {
|
|
61
|
-
key: string;
|
|
62
|
-
label: string;
|
|
63
|
-
kind: 'navigation' | 'operation';
|
|
64
|
-
/** Operation invoked when kind === 'operation'. */
|
|
65
|
-
operation?: OpRef;
|
|
66
|
-
/** Optional feature flag gating the action. */
|
|
67
|
-
requiresFlag?: string;
|
|
68
|
-
}
|
|
69
|
-
interface DataViewSections {
|
|
70
|
-
title?: string;
|
|
71
|
-
description?: string;
|
|
72
|
-
fields: string[];
|
|
73
|
-
}
|
|
74
|
-
interface DataViewBaseConfig {
|
|
75
|
-
kind: DataViewKind;
|
|
76
|
-
fields: DataViewField[];
|
|
77
|
-
primaryField?: string;
|
|
78
|
-
secondaryFields?: string[];
|
|
79
|
-
filters?: DataViewFilter[];
|
|
80
|
-
actions?: DataViewAction[];
|
|
81
|
-
}
|
|
82
|
-
interface DataViewListConfig extends DataViewBaseConfig {
|
|
83
|
-
kind: 'list';
|
|
84
|
-
layout?: 'card' | 'compact';
|
|
85
|
-
}
|
|
86
|
-
interface DataViewDetailConfig extends DataViewBaseConfig {
|
|
87
|
-
kind: 'detail';
|
|
88
|
-
sections?: DataViewSections[];
|
|
89
|
-
}
|
|
90
|
-
interface DataViewTableColumn {
|
|
91
|
-
field: string;
|
|
92
|
-
label?: string;
|
|
93
|
-
width?: 'auto' | 'xs' | 'sm' | 'md' | 'lg';
|
|
94
|
-
align?: 'left' | 'center' | 'right';
|
|
95
|
-
}
|
|
96
|
-
interface DataViewTableConfig extends DataViewBaseConfig {
|
|
97
|
-
kind: 'table';
|
|
98
|
-
columns?: DataViewTableColumn[];
|
|
99
|
-
rowSelectable?: boolean;
|
|
100
|
-
density?: 'comfortable' | 'compact';
|
|
101
|
-
}
|
|
102
|
-
interface DataViewGridConfig extends DataViewBaseConfig {
|
|
103
|
-
kind: 'grid';
|
|
104
|
-
columns?: number;
|
|
105
|
-
}
|
|
106
|
-
type DataViewConfig = DataViewListConfig | DataViewDetailConfig | DataViewTableConfig | DataViewGridConfig;
|
|
107
|
-
interface DataViewStates {
|
|
108
|
-
empty?: PresentationRef;
|
|
109
|
-
error?: PresentationRef;
|
|
110
|
-
loading?: PresentationRef;
|
|
111
|
-
}
|
|
112
|
-
interface DataViewSpec {
|
|
113
|
-
meta: DataViewMeta;
|
|
114
|
-
source: DataViewSource;
|
|
115
|
-
view: DataViewConfig;
|
|
116
|
-
states?: DataViewStates;
|
|
117
|
-
policy?: {
|
|
118
|
-
flags?: string[];
|
|
119
|
-
pii?: string[];
|
|
120
|
-
};
|
|
121
|
-
experiments?: ExperimentRef[];
|
|
122
|
-
}
|
|
123
|
-
declare class DataViewRegistry {
|
|
124
|
-
private readonly items;
|
|
125
|
-
register(spec: DataViewSpec): this;
|
|
126
|
-
list(): DataViewSpec[];
|
|
127
|
-
get(name: string, version?: number): DataViewSpec | undefined;
|
|
128
|
-
}
|
|
129
|
-
declare function dataViewKey(spec: DataViewSpec): string;
|
|
130
|
-
//#endregion
|
|
131
|
-
export { DataViewAction, DataViewBaseConfig, DataViewConfig, DataViewDetailConfig, DataViewField, DataViewFieldFormat, DataViewFilter, DataViewGridConfig, DataViewKind, DataViewListConfig, DataViewMeta, DataViewRegistry, DataViewSections, DataViewSource, DataViewSpec, DataViewStates, DataViewTableColumn, DataViewTableConfig, dataViewKey };
|
package/dist/events.d.ts
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { OwnerShipMeta } from "./ownership.js";
|
|
2
|
-
import { AnySchemaModel } from "@lssm/lib.schema";
|
|
3
|
-
|
|
4
|
-
//#region src/events.d.ts
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* Typed event specification. Declare once, validate payloads at publish time,
|
|
8
|
-
* and guard emissions via the contracts runtime.
|
|
9
|
-
*/
|
|
10
|
-
interface EventSpec<T extends AnySchemaModel> {
|
|
11
|
-
/** Fully-qualified event name, e.g. "sigil.magic_link.created". */
|
|
12
|
-
name: string;
|
|
13
|
-
/** Event payload version. Bump on any breaking payload change. */
|
|
14
|
-
version: number;
|
|
15
|
-
/** Short human-friendly summary. */
|
|
16
|
-
description?: string;
|
|
17
|
-
/** JSON-like paths to redact from logs/exports. */
|
|
18
|
-
pii?: string[];
|
|
19
|
-
/** Event payload schema from @lssm/lib.schema. */
|
|
20
|
-
payload: T;
|
|
21
|
-
/** Optional ownership metadata for governance and docs. */
|
|
22
|
-
ownership?: OwnerShipMeta;
|
|
23
|
-
}
|
|
24
|
-
/** Identity function to keep type inference when declaring events. */
|
|
25
|
-
declare function defineEvent<T extends AnySchemaModel>(e: EventSpec<T>): EventSpec<T>;
|
|
26
|
-
interface EventEnvelope<T> {
|
|
27
|
-
/** Unique identifier for the published event (UUID recommended). */
|
|
28
|
-
id: string;
|
|
29
|
-
/** ISO timestamp when the event occurred. */
|
|
30
|
-
occurredAt: string;
|
|
31
|
-
/** Optional trace identifier for correlating across services. */
|
|
32
|
-
traceId?: string;
|
|
33
|
-
/** Event name as published (should match spec.name). */
|
|
34
|
-
name: string;
|
|
35
|
-
/** Event version as published (should match spec.version). */
|
|
36
|
-
version: number;
|
|
37
|
-
/** Validated payload. */
|
|
38
|
-
payload: T;
|
|
39
|
-
}
|
|
40
|
-
type EventKey = `${string}.v${number}`;
|
|
41
|
-
/** Build a stable string key for an event name/version pair. */
|
|
42
|
-
declare const eventKey: (name: string, version: number) => EventKey;
|
|
43
|
-
//#endregion
|
|
44
|
-
export { EventEnvelope, EventKey, EventSpec, defineEvent, eventKey };
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { PolicyRef } from "../policy/spec.js";
|
|
2
|
-
import { ExperimentRegistry, ExperimentVariant } from "./spec.js";
|
|
3
|
-
|
|
4
|
-
//#region src/experiments/evaluator.d.ts
|
|
5
|
-
interface ExperimentContext {
|
|
6
|
-
experiment: string;
|
|
7
|
-
version?: number;
|
|
8
|
-
userId?: string | null;
|
|
9
|
-
organizationId?: string | null;
|
|
10
|
-
sessionId?: string | null;
|
|
11
|
-
attributes?: Record<string, unknown>;
|
|
12
|
-
flags?: string[];
|
|
13
|
-
}
|
|
14
|
-
interface ExperimentEvaluation {
|
|
15
|
-
variant: ExperimentVariant;
|
|
16
|
-
reason: 'control' | 'random' | 'sticky' | 'targeted';
|
|
17
|
-
}
|
|
18
|
-
interface ExperimentEvaluatorConfig {
|
|
19
|
-
registry: ExperimentRegistry;
|
|
20
|
-
policyChecker?: (policy: PolicyRef, context: ExperimentContext) => Promise<boolean> | boolean;
|
|
21
|
-
expressionEvaluator?: (expression: string, context: ExperimentContext) => boolean;
|
|
22
|
-
}
|
|
23
|
-
declare class ExperimentEvaluator {
|
|
24
|
-
private readonly registry;
|
|
25
|
-
private readonly policyChecker?;
|
|
26
|
-
private readonly expressionEvaluator?;
|
|
27
|
-
constructor(config: ExperimentEvaluatorConfig);
|
|
28
|
-
chooseVariant(context: ExperimentContext): Promise<ExperimentEvaluation | null>;
|
|
29
|
-
private pickByWeight;
|
|
30
|
-
private randomSeed;
|
|
31
|
-
private stickySeed;
|
|
32
|
-
private hashToUnitInterval;
|
|
33
|
-
private evaluateTargeting;
|
|
34
|
-
private matchesRule;
|
|
35
|
-
}
|
|
36
|
-
//#endregion
|
|
37
|
-
export { ExperimentContext, ExperimentEvaluation, ExperimentEvaluator, ExperimentEvaluatorConfig };
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { ResourceRefDescriptor } from "../resources.js";
|
|
2
|
-
import { ContractSpec, OpKind } from "../spec.js";
|
|
3
|
-
import { HandlerCtx } from "../types.js";
|
|
4
|
-
import { AnySchemaModel } from "@lssm/lib.schema";
|
|
5
|
-
|
|
6
|
-
//#region src/experiments/spec-resolver.d.ts
|
|
7
|
-
type RuntimeContract = ContractSpec<AnySchemaModel, AnySchemaModel | ResourceRefDescriptor<boolean>>;
|
|
8
|
-
interface SpecVariantResolver {
|
|
9
|
-
resolve(operation: {
|
|
10
|
-
name: string;
|
|
11
|
-
version: number;
|
|
12
|
-
kind: OpKind;
|
|
13
|
-
}, ctx: HandlerCtx): Promise<RuntimeContract | undefined> | RuntimeContract | undefined;
|
|
14
|
-
}
|
|
15
|
-
//#endregion
|
|
16
|
-
export { RuntimeContract, SpecVariantResolver };
|