typion 0.0.0-stage → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +4 -2
- package/bin/typion.js +7 -0
- package/dist/auth/better-auth.d.ts +13 -0
- package/dist/auth/better-auth.js +11 -0
- package/dist/auth/better-auth.js.map +1 -0
- package/dist/cli/index.d.ts +14 -0
- package/dist/cli/index.js +883 -0
- package/dist/cli/index.js.map +1 -0
- package/dist/column-kinds-Bkm4NJI2.js +47 -0
- package/dist/column-kinds-Bkm4NJI2.js.map +1 -0
- package/dist/context-B4e2eREP.d.ts +2100 -0
- package/dist/contract/index.d.ts +137 -0
- package/dist/contract/index.js +42 -0
- package/dist/contract/index.js.map +1 -0
- package/dist/db/pglite.d.ts +12 -0
- package/dist/db/pglite.js +27 -0
- package/dist/db/pglite.js.map +1 -0
- package/dist/descriptor-Cc3mGp73.js +12 -0
- package/dist/descriptor-Cc3mGp73.js.map +1 -0
- package/dist/errors-ChDBxeS-.js +17 -0
- package/dist/errors-ChDBxeS-.js.map +1 -0
- package/dist/errors-D-CKO-px.js +114 -0
- package/dist/errors-D-CKO-px.js.map +1 -0
- package/dist/handler-BWVU8TCR.d.ts +23 -0
- package/dist/handler-_87bFkbP.js +565 -0
- package/dist/handler-_87bFkbP.js.map +1 -0
- package/dist/hono/index.d.ts +17 -0
- package/dist/hono/index.js +26 -0
- package/dist/hono/index.js.map +1 -0
- package/dist/http/index.d.ts +13 -0
- package/dist/http/index.js +2 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.js +1324 -0
- package/dist/index.js.map +1 -0
- package/dist/issues-DLqCBQT1.js +42 -0
- package/dist/issues-DLqCBQT1.js.map +1 -0
- package/dist/next/index.d.ts +8 -0
- package/dist/next/index.js +18 -0
- package/dist/next/index.js.map +1 -0
- package/dist/operations-D3rOacLX.js +1811 -0
- package/dist/operations-D3rOacLX.js.map +1 -0
- package/dist/schema/index.d.ts +18 -0
- package/dist/schema/index.js +3 -0
- package/dist/schema-Rzzq97cK.js +68 -0
- package/dist/schema-Rzzq97cK.js.map +1 -0
- package/dist/seed/index.d.ts +19 -0
- package/dist/seed/index.js +85 -0
- package/dist/seed/index.js.map +1 -0
- package/dist/structural-BZnjFmCs.js +247 -0
- package/dist/structural-BZnjFmCs.js.map +1 -0
- package/dist/testing/index.d.ts +26 -0
- package/dist/testing/index.js +92 -0
- package/dist/testing/index.js.map +1 -0
- package/dist/typion-Dh2BCSRz.js +1187 -0
- package/dist/typion-Dh2BCSRz.js.map +1 -0
- package/dist/validation/zod.d.ts +21 -0
- package/dist/validation/zod.js +84 -0
- package/dist/validation/zod.js.map +1 -0
- package/docs/README.md +145 -0
- package/docs/access.md +114 -0
- package/docs/auth.md +195 -0
- package/docs/collections.md +172 -0
- package/docs/database.md +76 -0
- package/docs/features/localization.md +112 -0
- package/docs/features/multi-tenant.md +166 -0
- package/docs/features/soft-delete.md +85 -0
- package/docs/features/versions.md +106 -0
- package/docs/hooks.md +106 -0
- package/docs/http.md +188 -0
- package/docs/queries.md +200 -0
- package/docs/testing.md +85 -0
- package/package.json +125 -3
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Jt as HandlerOptionsOf, ba as PluginContextOptions, fn as TypionAppOf, pn as TypionConfig, un as TypesOf } from "../context-B4e2eREP.js";
|
|
2
|
+
import { Context, MiddlewareHandler } from "hono";
|
|
3
|
+
//#region src/hono/index.d.ts
|
|
4
|
+
type ContextOptionsOf<C> = PluginContextOptions<TypesOf<C>['plugins']>;
|
|
5
|
+
export type TypionEnv<C extends TypionConfig<any>> = {
|
|
6
|
+
Variables: {
|
|
7
|
+
typion?: TypionAppOf<C>;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
export declare function typionRoutes<const C extends TypionConfig<any>>(config: C, options: HandlerOptionsOf<C>): (c: Context) => Promise<Response>;
|
|
11
|
+
export declare function typionMiddleware<const C extends TypionConfig<any>>(config: C, options?: ContextOptionsOf<C>): MiddlewareHandler<{
|
|
12
|
+
Variables: {
|
|
13
|
+
typion: TypionAppOf<C>;
|
|
14
|
+
};
|
|
15
|
+
}>;
|
|
16
|
+
//#endregion
|
|
17
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { n as getTypion } from "../typion-Dh2BCSRz.js";
|
|
2
|
+
import { t as createHandler } from "../handler-_87bFkbP.js";
|
|
3
|
+
//#region src/hono/index.ts
|
|
4
|
+
function typionRoutes(config, options) {
|
|
5
|
+
const handlers = /* @__PURE__ */ new WeakMap();
|
|
6
|
+
return async (c) => {
|
|
7
|
+
const typion = await getTypion(config);
|
|
8
|
+
let handler = handlers.get(typion);
|
|
9
|
+
if (handler === void 0) {
|
|
10
|
+
handler = createHandler(typion, options);
|
|
11
|
+
handlers.set(typion, handler);
|
|
12
|
+
}
|
|
13
|
+
return handler(c.req.raw);
|
|
14
|
+
};
|
|
15
|
+
}
|
|
16
|
+
function typionMiddleware(config, options = {}) {
|
|
17
|
+
return async (c, next) => {
|
|
18
|
+
const typion = await getTypion(config);
|
|
19
|
+
c.set("typion", await typion.$fromRequest(c.req.raw, options));
|
|
20
|
+
await next();
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
//#endregion
|
|
24
|
+
export { typionMiddleware, typionRoutes };
|
|
25
|
+
|
|
26
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","names":[],"sources":["../../src/hono/index.ts"],"sourcesContent":["import type { Context, MiddlewareHandler } from 'hono'\nimport { createHandler } from '../http/handler.js'\nimport { getTypion } from '../runtime/typion.js'\nimport type { HandlerOptionsOf, TypesOf, TypionAppOf, TypionConfig } from '../types/collection.js'\nimport type { PluginContextOptions } from '../types/kinds.js'\n\ntype ContextOptionsOf<C> = PluginContextOptions<TypesOf<C>['plugins']>\n\n// What `typionMiddleware` sets, for the places Hono does not type it from the route, its `onError` among them:\n// `new Hono<TypionEnv<typeof config>>()`. Optional there: an error may come before the middleware ran.\nexport type TypionEnv<C extends TypionConfig<any>> = { Variables: { typion?: TypionAppOf<C> } }\n\n// The transports on a Hono app: `app.all('/api/*', typionRoutes(config, { transports: [rest(), rpc()] }))`. The\n// request goes through as it came: the handler strips its own base path, which must be the prefix the route is\n// mounted at (`/api` by default). Hono's `mount()` would strip it first and leave the handler nothing to match.\nexport function typionRoutes<const C extends TypionConfig<any>>(\n config: C,\n options: HandlerOptionsOf<C>,\n): (c: Context) => Promise<Response> {\n // One handler per instance, not per app: a test's instance stands in for the config's while it is open.\n const handlers = new WeakMap<object, (request: Request) => Promise<Response>>()\n return async (c) => {\n const typion = await getTypion(config)\n let handler = handlers.get(typion)\n if (handler === undefined) {\n handler = createHandler(typion as never, options as never)\n handlers.set(typion, handler)\n }\n return handler(c.req.raw)\n }\n}\n\n// The instance bound to the request, as `c.var.typion`, for the application's own routes: a business procedure\n// is a Hono route that calls it, typed end to end by Hono's client. It runs the config's context factory on\n// every request it covers, so it belongs on the routes that use it. `options` are the plugins' binding options\n// (`{ locale }` with localization).\nexport function typionMiddleware<const C extends TypionConfig<any>>(\n config: C,\n options: ContextOptionsOf<C> = {} as ContextOptionsOf<C>,\n): MiddlewareHandler<{ Variables: { typion: TypionAppOf<C> } }> {\n return async (c, next) => {\n const typion = await getTypion(config)\n c.set('typion', (await typion.$fromRequest(c.req.raw, options as never)) as TypionAppOf<C>)\n await next()\n }\n}\n"],"mappings":";;;AAeA,SAAgB,aACd,QACA,SACmC;CAEnC,MAAM,2BAAW,IAAI,QAAyD;CAC9E,OAAO,OAAO,MAAM;EAClB,MAAM,SAAS,MAAM,UAAU,MAAM;EACrC,IAAI,UAAU,SAAS,IAAI,MAAM;EACjC,IAAI,YAAY,KAAA,GAAW;GACzB,UAAU,cAAc,QAAiB,OAAgB;GACzD,SAAS,IAAI,QAAQ,OAAO;EAC9B;EACA,OAAO,QAAQ,EAAE,IAAI,GAAG;CAC1B;AACF;AAMA,SAAgB,iBACd,QACA,UAA+B,CAAC,GAC8B;CAC9D,OAAO,OAAO,GAAG,SAAS;EACxB,MAAM,SAAS,MAAM,UAAU,MAAM;EACrC,EAAE,IAAI,UAAW,MAAM,OAAO,aAAa,EAAE,IAAI,KAAK,OAAgB,CAAoB;EAC1F,MAAM,KAAK;CACb;AACF"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { _ as TransportCall, b as TransportSchema, c as CorsOptions, d as HandlerOptions, g as Transport, h as CheckedDescriptor, v as TransportEntity, y as TransportOperation } from "../context-B4e2eREP.js";
|
|
2
|
+
import { i as typionErrorResponse, n as createHandler, r as toRouteHandlers, t as RouteHandlers } from "../handler-BWVU8TCR.js";
|
|
3
|
+
//#region src/http/codec.d.ts
|
|
4
|
+
interface Codec {
|
|
5
|
+
readonly contentType: string;
|
|
6
|
+
stringify(value: unknown): string;
|
|
7
|
+
parse(text: string): unknown;
|
|
8
|
+
}
|
|
9
|
+
export declare const jsonCodec: Codec;
|
|
10
|
+
export declare const SUPERJSON_TYPE = "application/superjson";
|
|
11
|
+
//#endregion
|
|
12
|
+
export { type CheckedDescriptor, type Codec, type CorsOptions, type HandlerOptions, type RouteHandlers, type Transport, type TransportCall, type TransportEntity, type TransportOperation, type TransportSchema, createHandler, toRouteHandlers, typionErrorResponse };
|
|
13
|
+
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { $ as AfterChangeArgs, $a as InferItem, $i as PluginTables, $n as MultiTenantOptions, $r as NoneIfEmpty, $t as OneSpec, A as Dialect, Aa as BadRequestError, Ai as CollectionKinds, An as TypionSetup, Ar as ColumnKeys, At as VersionsTraits, B as EntityMeta, Ba as NotFoundError, Bi as PluginCollectionOptions, Bn as SoftDeleteEntityOptions, Br as FieldOptions, Bt as ConfigOptions, Ca as ReadModeFn, Ci as VS, Cn as defineConfig, Cr as collection, Ct as VersionsEntityOptions, Da as WriteModeFn, Di as AnyFeatureTables, Dn as SetupLocalization, Dt as VersionsOption, Ea as ValidationMode, Ei as VirtualTable, En as Setup, Et as VersionsListOptions, F as AnyTx, Fa as ConflictKind, Fi as FeatureTables, Fn as VersionsPlugin, Fr as EntityApi, Ft as ByName, G as AllowAll, Ga as TypionErrorOptions, Gi as PluginErrorDef, Gn as SoftDeleteTraits, Gr as Insert, Gt as ContextFactoryInput, H as RelationMeta, Ha as PluginErrorOptions, Hi as PluginEntities, Hn as SoftDeletePlugin, Hr as FieldRuleArgs, Ht as ConfigTables, I as AnyTypion, Ia as ForbiddenError, Ii as MergeAll, In as versionsTable, Ir as EntityDef, It as Collection, J as OperationMeta, Ja as ValidationIssue, Ji as PluginKinds, Jn as IntegerTenantColumn, Jr as LinkMethods, Jt as HandlerOptionsOf, K as AnyAccessRules, Ka as UnsupportedError, Ki as PluginErrorFactories, Kn as softDeleteColumn, Kr as LinkApi, Kt as DbAdapter, L as AnyTypionApp, La as ForbiddenErrorOptions, Li as MergeConfigs, Ln as SoftDeleteApi, Lr as EntityOptions, Lt as CollectionDraft, M as AfterCommitQueue, Ma as ConfigErrorKind, Mi as ColumnKind, Mn as DefaultFeaturePlugins, Mr as CreateOptions, Mt as AfterCommitErrorHandler, N as AnyDb, Na as ConflictError, Ni as DependenciesError, Nn as FeaturePlugins, Nr as DeleteOptions, Nt as AnyCollection, Oa as WriteModeOf, Oi as AnyPlugin, On as SetupOptions, Ot as VersionsReadOptions, P as AnyRow, Pa as ConflictErrorOptions, Pi as FeatureId, Pn as FeaturesOptions, Pr as EntitiesOf, Pt as Behaviour, Q as RuleSchema, Qa as Descriptor, Qi as PluginSpec, Qn as MultiTenantKinds, Qr as NoExtraKeys, Qt as NoUnknownKeys, R as ValidationAdapter, Ra as InternalError, Ri as Plugin, Rn as SoftDeleteCollectionOptions, Rr as EntitySchemas, Rt as CollectionRuntime, Sa as PluginSystemOptions, Si as HiddenReadKeys, Sn as dbAdapter, Sr as definePlugin, St as VersionsCreateOptions, Ta as TableMode, Ti as VirtualRelation, Tn as DefaultSetup, Tt as VersionsKinds, U as TypionDefinition, Ua as TypionError, Ui as PluginEntityDefiner, Un as SoftDeleteQueries, Ur as HiddenWriteKeys, Ut as ConfigTypes, V as GeneratedTables, Va as PluginError, Vi as PluginContext, Vn as SoftDeleteKinds, Vr as FieldRefinements, Vt as ConfigSeedOptions, W as AccessRules, Wa as TypionErrorCode, Wi as PluginEntityOptions, Wn as SoftDeleteReadOptions, Wr as Id, Wt as ContextFactory, X as RuleArgs, Xa as isTypionError, Xi as PluginRoute, Xn as MultiTenantContext, Xr as LinkQueryMethods, Xt as ManySpec, Y as RawWhere, Ya as attempt, Yi as PluginNeedsContext, Yn as MultiTenantCollectionOptions, Yr as LinkQueries, Yt as HookTypion, Z as RuleData, Za as AnyDescriptor, Zi as PluginRuntime, Zn as MultiTenantEntityOptions, Zr as ManagedKeys, Zt as MigrationsOptions, _a as Kinded, _i as ReadOptions, _n as structuralValidation, _r as localizedIndex, _t as Version, a as MaybePromise, aa as COLUMN_KIND, ai as UpdateInput, an as RelationSpec, ar as TenantIdOf, at as HookBase, ba as PluginContextOptions, bi as DynamicReadKeys, bn as AfterCommitErrorInfo, br as DefinedPlugin, bt as VersionState, c as CorsOptions, ca as ColumnKindTypes, ci as WriteOptions, cn as TableOf, cr as tenantColumn, ct as TypionHookApp, d as HandlerOptions, da as InputModeOf, di as Extend, dn as Typion, dr as LocalizationOptions, dt as DraftsApi, ea as RequirementsError, ei as NullableTimestampKeys, en as RegisteredContext, eo as InferResult, er as MultiTenantPlugin, et as ChangeArgs, f as TypionApp, fa as KeyedShape, fi as FindConfig, fn as TypionAppOf, fr as LocalizationPlugin, ft as DraftsQueries, ga as KindWriteOptions, gi as Page, gn as StructuralValidationAdapter, gr as localized, gt as PendingDraftPolicy, ha as KindWrite, hi as OrderBy, hn as StructuralSchema, hr as Localized, ht as HistoryQueries, i as FullCtx, ia as TableShape, ii as Select, in as RelationHelpers, io as WriteOp, ir as TenantContext, it as GlobalHooks, j as SchemaDrift, ja as ConfigError, ji as CollectionSpec, jn as defineSetup, jr as CreateInput, jt as VersionsUpdateOptions, ka as Attempt, ki as AnyPluginSpec, kn as SetupPlugins, kr as AnyEntities, kt as VersionsRestoreOptions, l as DescriptorApi, la as ColumnKindsSpec, li as ByIdConfig, ln as ThroughSpec, lr as LocaleReadMode, lt as TypionHookEntityApi, m as TypionTypes, ma as KindRead, mi as InputSchema, mn as Register, mr as LocalizationWriteMode, mt as HistoryApi, n as ContextInput, na as SeedGenerators, ni as ReferenceOptions, nn as RegisteredSetup, no as RESULT, nr as MultiTenantTraits, nt as CreateInput_, o as TypionMode, oa as ColumnKindRuntime, oi as UpdateManyOptions, on as StructureInput, or as TextTenantColumn, ot as Insert_, p as TypionEngine, pa as KindOf, pi as FirstConfig, pn as TypionConfig, pr as LocalizationReadMode, pt as FieldDiff, q as Operation, qa as ValidationError, qi as PluginErrorInput, qn as softUnique, qr as LinkInput, qt as FoldKinds, r as Ctx, ra as SeedSpec, ri as Row, rn as RegisteredTypes, ro as ReadOp, rr as TenantColumnOf, rt as EntityHooks, s as BindOptions, sa as ColumnKindSpec, si as UpdateOptions, sn as SystemTypion, sr as UuidTenantColumn, st as Select_, t as BaseContext, ta as SeedColumnsInput, ti as ReadRow, tn as RegisteredPlugins, to as Op, tr as MultiTenantSystemOptions, tt as ChangeOp, u as EntityName, ua as ColumnKindsTypes, ui as CountConfig, un as TypesOf, ur as LocalizationColumnKinds, ut as UpdateInput_, va as KindedData, vi as Result, vn as GetTypionOptions, vr as localizedUnique, vt as VersionOperation, wa as ReadModeOf, wi as VirtualColumn, wn as AnySetup, wr as Jsonified, wt as VersionsHookArgs, xa as PluginReadOptions, xi as Governed, xn as allowAll, xr as PluginSpecInput, xt as VersionsCollectionOptions, ya as OptionType, yi as Where, yn as getTypion, yr as localizedValue, yt as VersionRef, z as ColumnMeta, za as InvalidStateError, zi as PluginApis, zn as SoftDeleteDeleteOptions, zr as EntityValidation, zt as ColumnsOf } from "./context-B4e2eREP.js";
|
|
2
|
+
export { type AccessRules, type AfterChangeArgs, type AfterCommitErrorHandler, type AfterCommitErrorInfo, type AfterCommitQueue, type AllowAll, type AnyAccessRules, type AnyCollection, type AnyDb, type AnyDescriptor, type AnyEntities, type AnyFeatureTables, type AnyPlugin, type AnyPluginSpec, type AnyRow, type AnySetup, type AnyTx, type AnyTypion, type AnyTypionApp, type Attempt, BadRequestError, type BaseContext, type Behaviour, type BindOptions, type ByIdConfig, type ByName, type COLUMN_KIND, type ChangeArgs, type ChangeOp, type Collection, type CollectionDraft, type CollectionKinds, type CollectionRuntime, type CollectionSpec, type ColumnKeys, type ColumnKind, type ColumnKindRuntime, type ColumnKindSpec, type ColumnKindTypes, type ColumnKindsSpec, type ColumnKindsTypes, type ColumnMeta, type ColumnsOf, ConfigError, type ConfigErrorKind, type ConfigOptions, type ConfigSeedOptions, type ConfigTables, type ConfigTypes, ConflictError, type ConflictErrorOptions, type ConflictKind, type ContextFactory, type ContextFactoryInput, type ContextInput, type CorsOptions, type CountConfig, type CreateInput, type CreateInput_, type CreateOptions, type Ctx, type DbAdapter, type DefaultFeaturePlugins, type DefaultSetup, type DefinedPlugin, type DeleteOptions, type DependenciesError, type Descriptor, type DescriptorApi, type Dialect, type DraftsApi, type DraftsQueries, type DynamicReadKeys, type EntitiesOf, type EntityApi, type EntityDef, type EntityHooks, type EntityMeta, type EntityName, type EntityOptions, type EntitySchemas, type EntityValidation, type Extend, type FeatureId, type FeaturePlugins, type FeatureTables, type FeaturesOptions, type FieldDiff, type FieldOptions, type FieldRefinements, type FieldRuleArgs, type FindConfig, type FirstConfig, type FoldKinds, ForbiddenError, type ForbiddenErrorOptions, type FullCtx, type GeneratedTables, type GetTypionOptions, type GlobalHooks, type Governed, type HandlerOptions, type HandlerOptionsOf, type HiddenReadKeys, type HiddenWriteKeys, type HistoryApi, type HistoryQueries, type HookBase, type HookTypion, type Id, type InferItem, type InferResult, type InputModeOf, type InputSchema, type Insert, type Insert_, type IntegerTenantColumn, InternalError, InvalidStateError, type Jsonified, type KeyedShape, type KindOf, type KindRead, type KindWrite, type KindWriteOptions, type Kinded, type KindedData, type LinkApi, type LinkInput, type LinkMethods, type LinkQueries, type LinkQueryMethods, type LocaleReadMode, type LocalizationColumnKinds, type LocalizationOptions, type LocalizationPlugin, type LocalizationReadMode, type LocalizationWriteMode, type Localized, type ManagedKeys, type ManySpec, type MaybePromise, type MergeAll, type MergeConfigs, type MigrationsOptions, type MultiTenantCollectionOptions, type MultiTenantContext, type MultiTenantEntityOptions, type MultiTenantKinds, type MultiTenantOptions, type MultiTenantPlugin, type MultiTenantSystemOptions, type MultiTenantTraits, type NoExtraKeys, type NoUnknownKeys, type NoneIfEmpty, NotFoundError, type NullableTimestampKeys, type OneSpec, type Op, type Operation, type OperationMeta, type OptionType, type OrderBy, type Page, type PendingDraftPolicy, type Plugin, type PluginApis, type PluginCollectionOptions, type PluginContext, type PluginContextOptions, type PluginEntities, type PluginEntityDefiner, type PluginEntityOptions, PluginError, type PluginErrorDef, type PluginErrorFactories, type PluginErrorInput, type PluginErrorOptions, type PluginKinds, type PluginNeedsContext, type PluginReadOptions, type PluginRoute, type PluginRuntime, type PluginSpec, type PluginSpecInput, type PluginSystemOptions, type PluginTables, type RESULT, type RawWhere, type ReadModeFn, type ReadModeOf, type ReadOp, type ReadOptions, type ReadRow, type ReferenceOptions, Register, type RegisteredContext, type RegisteredPlugins, type RegisteredSetup, type RegisteredTypes, type RelationHelpers, type RelationMeta, type RelationSpec, type RequirementsError, type Result, type Row, type RuleArgs, type RuleData, type RuleSchema, type SchemaDrift, type SeedColumnsInput, type SeedGenerators, type SeedSpec, type Select, type Select_, type Setup, type SetupLocalization, type SetupOptions, type SetupPlugins, type SoftDeleteApi, type SoftDeleteCollectionOptions, type SoftDeleteDeleteOptions, type SoftDeleteEntityOptions, type SoftDeleteKinds, type SoftDeletePlugin, type SoftDeleteQueries, type SoftDeleteReadOptions, type SoftDeleteTraits, type StructuralSchema, type StructuralValidationAdapter, type StructureInput, type SystemTypion, type TableMode, type TableOf, type TableShape, type TenantColumnOf, type TenantContext, type TenantIdOf, type TextTenantColumn, type ThroughSpec, type TypesOf, type Typion, type TypionApp, type TypionAppOf, type TypionConfig, type TypionDefinition, type TypionEngine, TypionError, type TypionErrorCode, type TypionErrorOptions, type TypionHookApp, type TypionHookEntityApi, type TypionMode, type TypionSetup, type TypionTypes, UnsupportedError, type UpdateInput, type UpdateInput_, type UpdateManyOptions, type UpdateOptions, type UuidTenantColumn, type VS, type ValidationAdapter, ValidationError, type ValidationIssue, type ValidationMode, type Version, type VersionOperation, type VersionRef, type VersionState, type VersionsCollectionOptions, type VersionsCreateOptions, type VersionsEntityOptions, type VersionsHookArgs, type VersionsKinds, type VersionsListOptions, type VersionsOption, type VersionsPlugin, type VersionsReadOptions, type VersionsRestoreOptions, type VersionsTraits, type VersionsUpdateOptions, type VirtualColumn, type VirtualRelation, type VirtualTable, type Where, type WriteModeFn, type WriteModeOf, type WriteOp, type WriteOptions, allowAll, attempt, collection, dbAdapter, defineConfig, definePlugin, defineSetup, getTypion, isTypionError, localized, localizedIndex, localizedUnique, localizedValue, softDeleteColumn, softUnique, structuralValidation, tenantColumn, versionsTable };
|