Skip to content

Commit 511f896

Browse files
authored
Merge pull request #973 from constructive-io/schema-update/20260410-061054
chore: update schemas from constructive-db
2 parents 49ef663 + 68afcc6 commit 511f896

654 files changed

Lines changed: 849 additions & 1321 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.agents/skills/cli-public/references/construct-blueprint.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<!-- @constructive-io/graphql-codegen - DO NOT EDIT -->
44

5-
Executes a blueprint definition by delegating to provision_* procedures. Creates a blueprint_construction record to track the attempt. Five phases: (1) provision_table() for each table with all nodes[], fields[], policies[], grants, and table-level indexes/fts/unique_constraints in a single call, (2) provision_relation() for each relation, (3) provision_index() for top-level indexes, (4) provision_full_text_search() for top-level FTS, (5) provision_unique_constraint() for top-level unique constraints. Tables are identified by table_name with optional per-table schema_name. Relations use $type for relation_type with source_table/target_table. Returns the construction record ID on success, NULL on failure.
5+
Executes a blueprint definition by delegating to provision_* procedures. Creates a blueprint_construction record to track the attempt. Five phases: (1) provision_table() for each table with nodes[], fields[], policies[], and grants (table-level indexes/fts/unique_constraints are deferred), (2) provision_relation() for each relation, (3) provision_index() for top-level + deferred indexes, (4) provision_full_text_search() for top-level + deferred FTS, (5) provision_unique_constraint() for top-level + deferred unique constraints. Table-level indexes/fts/unique_constraints are deferred to phases 3-5 so they can reference columns created by relations in phase 2. Tables are identified by table_name with optional per-table schema_name. Relations use $type for relation_type with source_table/target_table. Returns the construction record ID on success, NULL on failure.
66

77
## Usage
88

.agents/skills/hooks-public/references/construct-blueprint.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<!-- @constructive-io/graphql-codegen - DO NOT EDIT -->
44

5-
Executes a blueprint definition by delegating to provision_* procedures. Creates a blueprint_construction record to track the attempt. Five phases: (1) provision_table() for each table with all nodes[], fields[], policies[], grants, and table-level indexes/fts/unique_constraints in a single call, (2) provision_relation() for each relation, (3) provision_index() for top-level indexes, (4) provision_full_text_search() for top-level FTS, (5) provision_unique_constraint() for top-level unique constraints. Tables are identified by table_name with optional per-table schema_name. Relations use $type for relation_type with source_table/target_table. Returns the construction record ID on success, NULL on failure.
5+
Executes a blueprint definition by delegating to provision_* procedures. Creates a blueprint_construction record to track the attempt. Five phases: (1) provision_table() for each table with nodes[], fields[], policies[], and grants (table-level indexes/fts/unique_constraints are deferred), (2) provision_relation() for each relation, (3) provision_index() for top-level + deferred indexes, (4) provision_full_text_search() for top-level + deferred FTS, (5) provision_unique_constraint() for top-level + deferred unique constraints. Table-level indexes/fts/unique_constraints are deferred to phases 3-5 so they can reference columns created by relations in phase 2. Tables are identified by table_name with optional per-table schema_name. Relations use $type for relation_type with source_table/target_table. Returns the construction record ID on success, NULL on failure.
66

77
## Usage
88

.agents/skills/orm-public/references/construct-blueprint.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<!-- @constructive-io/graphql-codegen - DO NOT EDIT -->
44

5-
Executes a blueprint definition by delegating to provision_* procedures. Creates a blueprint_construction record to track the attempt. Five phases: (1) provision_table() for each table with all nodes[], fields[], policies[], grants, and table-level indexes/fts/unique_constraints in a single call, (2) provision_relation() for each relation, (3) provision_index() for top-level indexes, (4) provision_full_text_search() for top-level FTS, (5) provision_unique_constraint() for top-level unique constraints. Tables are identified by table_name with optional per-table schema_name. Relations use $type for relation_type with source_table/target_table. Returns the construction record ID on success, NULL on failure.
5+
Executes a blueprint definition by delegating to provision_* procedures. Creates a blueprint_construction record to track the attempt. Five phases: (1) provision_table() for each table with nodes[], fields[], policies[], and grants (table-level indexes/fts/unique_constraints are deferred), (2) provision_relation() for each relation, (3) provision_index() for top-level + deferred indexes, (4) provision_full_text_search() for top-level + deferred FTS, (5) provision_unique_constraint() for top-level + deferred unique constraints. Table-level indexes/fts/unique_constraints are deferred to phases 3-5 so they can reference columns created by relations in phase 2. Tables are identified by table_name with optional per-table schema_name. Relations use $type for relation_type with source_table/target_table. Returns the construction record ID on success, NULL on failure.
66

77
## Usage
88

sdk/constructive-cli/src/admin/cli/commands/app-achievement.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ async function handleList(argv: Partial<Record<string, unknown>>, _prompter: Inq
8282
updatedAt: true,
8383
};
8484
const findManyArgs = parseFindManyArgs<
85-
FindManyArgs<AppAchievementSelect, AppAchievementFilter, never, AppAchievementOrderBy> & {
85+
FindManyArgs<AppAchievementSelect, AppAchievementFilter, AppAchievementOrderBy> & {
8686
select: AppAchievementSelect;
8787
}
8888
>(argv, defaultSelect);
@@ -108,7 +108,7 @@ async function handleFindFirst(argv: Partial<Record<string, unknown>>, _prompter
108108
updatedAt: true,
109109
};
110110
const findFirstArgs = parseFindFirstArgs<
111-
FindFirstArgs<AppAchievementSelect, AppAchievementFilter, never> & {
111+
FindFirstArgs<AppAchievementSelect, AppAchievementFilter> & {
112112
select: AppAchievementSelect;
113113
}
114114
>(argv, defaultSelect);

sdk/constructive-cli/src/admin/cli/commands/app-admin-grant.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ async function handleList(argv: Partial<Record<string, unknown>>, _prompter: Inq
8282
updatedAt: true,
8383
};
8484
const findManyArgs = parseFindManyArgs<
85-
FindManyArgs<AppAdminGrantSelect, AppAdminGrantFilter, never, AppAdminGrantOrderBy> & {
85+
FindManyArgs<AppAdminGrantSelect, AppAdminGrantFilter, AppAdminGrantOrderBy> & {
8686
select: AppAdminGrantSelect;
8787
}
8888
>(argv, defaultSelect);
@@ -108,7 +108,7 @@ async function handleFindFirst(argv: Partial<Record<string, unknown>>, _prompter
108108
updatedAt: true,
109109
};
110110
const findFirstArgs = parseFindFirstArgs<
111-
FindFirstArgs<AppAdminGrantSelect, AppAdminGrantFilter, never> & {
111+
FindFirstArgs<AppAdminGrantSelect, AppAdminGrantFilter> & {
112112
select: AppAdminGrantSelect;
113113
}
114114
>(argv, defaultSelect);

sdk/constructive-cli/src/admin/cli/commands/app-grant.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ async function handleList(argv: Partial<Record<string, unknown>>, _prompter: Inq
8484
updatedAt: true,
8585
};
8686
const findManyArgs = parseFindManyArgs<
87-
FindManyArgs<AppGrantSelect, AppGrantFilter, never, AppGrantOrderBy> & {
87+
FindManyArgs<AppGrantSelect, AppGrantFilter, AppGrantOrderBy> & {
8888
select: AppGrantSelect;
8989
}
9090
>(argv, defaultSelect);
@@ -111,7 +111,7 @@ async function handleFindFirst(argv: Partial<Record<string, unknown>>, _prompter
111111
updatedAt: true,
112112
};
113113
const findFirstArgs = parseFindFirstArgs<
114-
FindFirstArgs<AppGrantSelect, AppGrantFilter, never> & {
114+
FindFirstArgs<AppGrantSelect, AppGrantFilter> & {
115115
select: AppGrantSelect;
116116
}
117117
>(argv, defaultSelect);

sdk/constructive-cli/src/admin/cli/commands/app-level-requirement.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@ async function handleList(argv: Partial<Record<string, unknown>>, _prompter: Inq
8989
FindManyArgs<
9090
AppLevelRequirementSelect,
9191
AppLevelRequirementFilter,
92-
never,
9392
AppLevelRequirementOrderBy
9493
> & {
9594
select: AppLevelRequirementSelect;
@@ -119,7 +118,7 @@ async function handleFindFirst(argv: Partial<Record<string, unknown>>, _prompter
119118
updatedAt: true,
120119
};
121120
const findFirstArgs = parseFindFirstArgs<
122-
FindFirstArgs<AppLevelRequirementSelect, AppLevelRequirementFilter, never> & {
121+
FindFirstArgs<AppLevelRequirementSelect, AppLevelRequirementFilter> & {
123122
select: AppLevelRequirementSelect;
124123
}
125124
>(argv, defaultSelect);

sdk/constructive-cli/src/admin/cli/commands/app-level.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ async function handleList(argv: Partial<Record<string, unknown>>, _prompter: Inq
8484
updatedAt: true,
8585
};
8686
const findManyArgs = parseFindManyArgs<
87-
FindManyArgs<AppLevelSelect, AppLevelFilter, never, AppLevelOrderBy> & {
87+
FindManyArgs<AppLevelSelect, AppLevelFilter, AppLevelOrderBy> & {
8888
select: AppLevelSelect;
8989
}
9090
>(argv, defaultSelect);
@@ -111,7 +111,7 @@ async function handleFindFirst(argv: Partial<Record<string, unknown>>, _prompter
111111
updatedAt: true,
112112
};
113113
const findFirstArgs = parseFindFirstArgs<
114-
FindFirstArgs<AppLevelSelect, AppLevelFilter, never> & {
114+
FindFirstArgs<AppLevelSelect, AppLevelFilter> & {
115115
select: AppLevelSelect;
116116
}
117117
>(argv, defaultSelect);

sdk/constructive-cli/src/admin/cli/commands/app-limit-default.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ async function handleList(argv: Partial<Record<string, unknown>>, _prompter: Inq
7676
max: true,
7777
};
7878
const findManyArgs = parseFindManyArgs<
79-
FindManyArgs<AppLimitDefaultSelect, AppLimitDefaultFilter, never, AppLimitDefaultOrderBy> & {
79+
FindManyArgs<AppLimitDefaultSelect, AppLimitDefaultFilter, AppLimitDefaultOrderBy> & {
8080
select: AppLimitDefaultSelect;
8181
}
8282
>(argv, defaultSelect);
@@ -99,7 +99,7 @@ async function handleFindFirst(argv: Partial<Record<string, unknown>>, _prompter
9999
max: true,
100100
};
101101
const findFirstArgs = parseFindFirstArgs<
102-
FindFirstArgs<AppLimitDefaultSelect, AppLimitDefaultFilter, never> & {
102+
FindFirstArgs<AppLimitDefaultSelect, AppLimitDefaultFilter> & {
103103
select: AppLimitDefaultSelect;
104104
}
105105
>(argv, defaultSelect);

sdk/constructive-cli/src/admin/cli/commands/app-limit.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ async function handleList(argv: Partial<Record<string, unknown>>, _prompter: Inq
8080
max: true,
8181
};
8282
const findManyArgs = parseFindManyArgs<
83-
FindManyArgs<AppLimitSelect, AppLimitFilter, never, AppLimitOrderBy> & {
83+
FindManyArgs<AppLimitSelect, AppLimitFilter, AppLimitOrderBy> & {
8484
select: AppLimitSelect;
8585
}
8686
>(argv, defaultSelect);
@@ -105,7 +105,7 @@ async function handleFindFirst(argv: Partial<Record<string, unknown>>, _prompter
105105
max: true,
106106
};
107107
const findFirstArgs = parseFindFirstArgs<
108-
FindFirstArgs<AppLimitSelect, AppLimitFilter, never> & {
108+
FindFirstArgs<AppLimitSelect, AppLimitFilter> & {
109109
select: AppLimitSelect;
110110
}
111111
>(argv, defaultSelect);

0 commit comments

Comments
 (0)