Skip to content

Latest commit

 

History

History
79 lines (71 loc) · 7.82 KB

_index.md

File metadata and controls

79 lines (71 loc) · 7.82 KB

objectstack-data — Schema References

Auto-generated — do not edit. Maintainers regenerate this in the framework repo with pnpm --filter @objectstack/spec run gen:skill-refs (not runnable in an installed app).

Schemas live in the published @objectstack/spec package. Read them directly from node_modules — there is no local copy in the skill bundle.

Core schemas

  • node_modules/@objectstack/spec/src/data/datasource.zod.ts — Exports: DriverType, DriverDefinitionSchema, SchemaModeSchema, ExternalDatasourceSettingsSchema, DatasourceSchema
  • node_modules/@objectstack/spec/src/data/field.zod.ts — Exports: FieldType, SelectOptionSchema, LocationCoordinatesSchema, CurrencyConfigSchema, UniqueScopeSchema
  • node_modules/@objectstack/spec/src/data/hook.zod.ts — Exports: HookRefusalSchema, HookTextSchema, HookEvent, HookSchema, HookContextSchema
  • node_modules/@objectstack/spec/src/data/object.zod.ts — Exports: ApiMethod, ApiOperationSchema, ObjectCapabilities, IndexSchema, TenancyConfigSchema
  • node_modules/@objectstack/spec/src/data/seed.zod.ts — Exports: SeedMode, SeedColumnSchema, SeedSchema, leadSeed
  • node_modules/@objectstack/spec/src/data/validation.zod.ts — ObjectStack Validation Protocol
  • node_modules/@objectstack/spec/src/security/permission.zod.ts — Exports: ObjectAccessScopeSchema, ObjectPermissionSchema, EffectiveObjectPermissionSchema, AdminScopeSchema, FieldPermissionSchema

Transitive dependencies

  • node_modules/@objectstack/spec/src/api/errors.zod.ts — Standardized Error Codes Protocol
  • node_modules/@objectstack/spec/src/automation/flow-function.zod.ts — The contract for a named handler function a script node invokes —
  • node_modules/@objectstack/spec/src/data/column-apply-on.zod.ts — Exports: ColumnApplyOnSchema
  • node_modules/@objectstack/spec/src/data/data-engine.zod.ts — Data Engine Protocol
  • node_modules/@objectstack/spec/src/data/date-macros.zod.ts — Date Macro Tokens — the declarative placeholders the UI substitutes
  • node_modules/@objectstack/spec/src/data/declared-entry.zod.ts — The declared-entry factory: one sentence a declaration hands over in the
  • node_modules/@objectstack/spec/src/data/driver-sql.zod.ts — Exports: SQLDialectSchema, DataTypeMappingSchema, SSLConfigSchema, SQLDriverConfigSchema, SQLiteDataTypeMappingDefaults
  • node_modules/@objectstack/spec/src/data/driver.zod.ts — Exports: DriverOptionsSchema, DriverCapabilitiesSchema, DriverInterfaceSchema, PoolConfigSchema, DriverConfigSchema
  • node_modules/@objectstack/spec/src/data/driver/common.zod.ts — Shared building blocks for the per-driver datasource.config shapes.
  • node_modules/@objectstack/spec/src/data/driver/config-registry.zod.ts — The driver-id → datasource.config shape registry.
  • node_modules/@objectstack/spec/src/data/driver/memory.zod.ts — Memory Driver Configuration Schema
  • node_modules/@objectstack/spec/src/data/driver/mongo.zod.ts — MongoDB Standard Driver Protocol
  • node_modules/@objectstack/spec/src/data/driver/mssql.zod.ts — Microsoft SQL Server driver configuration — the config slot of a
  • node_modules/@objectstack/spec/src/data/driver/mysql.zod.ts — MySQL / MariaDB driver configuration — the config slot of a datasource
  • node_modules/@objectstack/spec/src/data/driver/oracle.zod.ts — Oracle Database driver configuration — the config slot of a datasource
  • node_modules/@objectstack/spec/src/data/driver/postgres.zod.ts — PostgreSQL driver configuration — the config slot of a datasource whose
  • node_modules/@objectstack/spec/src/data/driver/sqlite.zod.ts — SQLite driver configuration — the config slot of a datasource whose
  • node_modules/@objectstack/spec/src/data/driver/turso.zod.ts — Turso / libSQL Driver Protocol.
  • node_modules/@objectstack/spec/src/data/field-value.zod.ts — Field runtime VALUE-shape contract (ADR-0104 D1).
  • node_modules/@objectstack/spec/src/data/filter.zod.ts — Unified Query DSL Specification
  • node_modules/@objectstack/spec/src/data/hook-body.zod.ts — Exports: HookBodyCapability, ExpressionBodySchema, ScriptBodySchema, HookBodySchema
  • node_modules/@objectstack/spec/src/data/query.zod.ts — QueryAST — Abstract Syntax Tree for data queries.
  • node_modules/@objectstack/spec/src/data/seed-file.zod.ts — Seed files — a file a package ships, written into a file field by a seed
  • node_modules/@objectstack/spec/src/identity/eval-user.zod.ts — EvalUser — the one user-context contract (ADR-0068 D1).
  • node_modules/@objectstack/spec/src/kernel/execution-context.zod.ts — Exports: AuthGateCodeSchema, AuthGateScopeSchema, PermissionSetAddressSchema, ExecutionContextSchema
  • node_modules/@objectstack/spec/src/kernel/metadata-protection.zod.ts — Metadata Protection Model — Phase 1 (ADR-0010)
  • node_modules/@objectstack/spec/src/kernel/override-declaration.zod.ts — The override declaration (ADR-0146 D2)
  • node_modules/@objectstack/spec/src/security/explain.zod.ts — [ADR-0090 D6] Access-explanation contract — `explain(principal, object,
  • node_modules/@objectstack/spec/src/security/rls.zod.ts — Row-Level Security (RLS) Protocol
  • node_modules/@objectstack/spec/src/shared/conditional-formatting.zod.ts — The single declaration of a conditional formatting rule —
  • node_modules/@objectstack/spec/src/shared/enums.zod.ts — Exports: SortDirectionEnum, SortItemSchema, MutationEventEnum, IsolationLevelEnum
  • node_modules/@objectstack/spec/src/shared/expression.zod.ts — Expression Protocol
  • node_modules/@objectstack/spec/src/shared/http.zod.ts — Shared HTTP Schemas
  • node_modules/@objectstack/spec/src/shared/identifiers.zod.ts — Exports: SystemIdentifierSchema, SnakeCaseIdentifierSchema, MetadataItemNameSchema
  • node_modules/@objectstack/spec/src/shared/protection.zod.ts — Package-level metadata protection (ADR-0010 §3.7 — Phase 4.3)
  • node_modules/@objectstack/spec/src/shared/suggestions.zod.ts — "Did you mean?" Suggestion Utilities
  • node_modules/@objectstack/spec/src/shared/value-domain.zod.ts — Standard value domains: one closed vocabulary and one membership predicate for settings and fields.
  • node_modules/@objectstack/spec/src/system/deploy-bundle.zod.ts — Deploy Bundle Protocol
  • node_modules/@objectstack/spec/src/system/translation.zod.ts — Exports: LocaleSchema, FieldTranslationSchema, ActionResultDialogTranslationSchema, ObjectTranslationDataSchema, TranslationDataSchema
  • node_modules/@objectstack/spec/src/ui/action-params.zod.ts — The action DISPATCH contract: what the platform validates on the way in, and
  • node_modules/@objectstack/spec/src/ui/action.zod.ts — Action protocol schemas — ActionSchema, the action metadata type, and the parts it is built from.
  • node_modules/@objectstack/spec/src/ui/bulk-action.zod.ts — Bulk Action Schemas
  • node_modules/@objectstack/spec/src/ui/chart.zod.ts — Unified Chart Type Taxonomy
  • node_modules/@objectstack/spec/src/ui/i18n.zod.ts — Display-label and ARIA-label primitives shared by every ui/ shape.
  • node_modules/@objectstack/spec/src/ui/sharing.zod.ts — Sharing & Embedding Protocol
  • node_modules/@objectstack/spec/src/ui/view.zod.ts — View protocol schemas — the view metadata type and its three persisted body spellings.

How to read these

  1. The schemas are runtime Zod definitions. Use Read on the absolute path under node_modules/@objectstack/spec/src/ to inspect field shapes, .describe() text, enums, and refinements.
  2. TypeScript types: import type { … } from '@objectstack/spec' (or the matching subpath export).
  3. Runtime values: import from the matching subpath shown in the schema's directory ('@objectstack/spec/data', '@objectstack/spec/ai', …). The root barrel re-exports the common factories, but not every symbol — when in doubt, use the subpath.