Getting Started
Authoring
Access Control
Reference
-
- Overview
-
- Overview
- collection
- collection/client
- collection/schemas
- manifest/context
- manifest/parse
- manifest/types
- remote
- remote/collection\_wire\_schemas
- remote/sveltekit-guard.server
- runtime/binding
- scope/types
- seed/authoring
- seed/execute
- seed/manifest
- seed/plan
- storage/minio
- system/collections
- system/column\_names
- system/types
- system/workspace-schema
- tenant\_db/bootstrap
- tenant\_db/neon-branch-utils
- tenant\_db/neon-provider
- tenant\_db/provider
- tenant\_db/schema
- tenant\_workspace
- tenant\_workspace/build-output
- tenant\_workspace/migrations/apply
- tenant\_workspace/migrations/errors
- tenant\_workspace/migrations/generate
- tenant\_workspace/migrations/read
- tenant\_workspace/source
Examples
seed/execute
seed/execute
Type Aliases
SeedExecutionPlan
type SeedExecutionPlan = object;Defined in: platform-utils/src/seed/execute.ts:6
Properties
Functions
seedProvenanceRecords()
function seedProvenanceRecords(input): Record<string, unknown>[];Defined in: platform-utils/src/seed/execute.ts:21
Parameters
| Parameter | Type |
|---|---|
input |
{ adminId: string; summaries: readonly SeedProvenanceSummary[]; templateKey: string; } |
input.adminId |
string |
input.summaries |
readonly SeedProvenanceSummary[] |
input.templateKey |
string |
Returns
Record<string, unknown>[]
seedTemplateDataFromPlan()
function seedTemplateDataFromPlan(input): Promise<void>;Defined in: platform-utils/src/seed/execute.ts:249
Execute a seed plan against a live tenant DB. The caller resolves the tenant connection string (live zone) so this module stays free of apps/core facilities.
Parameters
| Parameter | Type |
|---|---|
input |
{ adminId: string; liveUrl: string; log: (message) => void; orgId: string; orgName: string; plan: SeedExecutionPlan; templateKey: string; } |
input.adminId |
string |
input.liveUrl |
string |
input.log |
(message) => void |
input.orgId |
string |
input.orgName |
string |
input.plan |
SeedExecutionPlan |
input.templateKey |
string |
Returns
Promise<void>