Skip to content

Commit 218f089

Browse files
chore: update schemas and regenerate all SDK clients
Auto-generated by schema-propagation workflow. Source: constructive-db@b73e0c9c
1 parent 9bd7e1b commit 218f089

268 files changed

Lines changed: 35285 additions & 35096 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.

sdk/constructive-cli/README.md

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,6 @@
44
<img height="120" src="https://raw.githubusercontent.com/constructive-io/constructive/refs/heads/main/assets/outline-logo.svg" />
55
</p>
66

7-
<p align="center" width="100%">
8-
<a href="https://github.com/constructive-io/constructive/actions/workflows/run-tests.yaml">
9-
<img height="20" src="https://github.com/constructive-io/constructive/actions/workflows/run-tests.yaml/badge.svg" />
10-
</a>
11-
<a href="https://github.com/constructive-io/constructive/blob/main/LICENSE"><img height="20" src="https://img.shields.io/badge/license-MIT-blue.svg"/></a>
12-
<a href="https://www.npmjs.com/package/@constructive-sdk/cli"><img height="20" src="https://img.shields.io/github/package-json/v/constructive-io/constructive?filename=sdk%2Fconstructive-cli%2Fpackage.json"/></a>
13-
</p>
14-
157
<!-- @constructive-io/graphql-codegen - DO NOT EDIT -->
168

179
## APIs

sdk/constructive-cli/src/admin/cli/README.md

Lines changed: 7 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -176,10 +176,7 @@ CRUD operations for AppPermission records.
176176
| `bitnum` | Int |
177177
| `bitstr` | BitString |
178178
| `description` | String |
179-
| `descriptionTrgmSimilarity` | Float |
180-
| `searchScore` | Float |
181179

182-
**Required create fields:** `descriptionTrgmSimilarity`, `searchScore`
183180
**Optional create fields (backend defaults):** `name`, `bitnum`, `bitstr`, `description`
184181

185182
### `org-permission`
@@ -203,10 +200,7 @@ CRUD operations for OrgPermission records.
203200
| `bitnum` | Int |
204201
| `bitstr` | BitString |
205202
| `description` | String |
206-
| `descriptionTrgmSimilarity` | Float |
207-
| `searchScore` | Float |
208203

209-
**Required create fields:** `descriptionTrgmSimilarity`, `searchScore`
210204
**Optional create fields (backend defaults):** `name`, `bitnum`, `bitstr`, `description`
211205

212206
### `app-level-requirement`
@@ -233,10 +227,8 @@ CRUD operations for AppLevelRequirement records.
233227
| `priority` | Int |
234228
| `createdAt` | Datetime |
235229
| `updatedAt` | Datetime |
236-
| `descriptionTrgmSimilarity` | Float |
237-
| `searchScore` | Float |
238230

239-
**Required create fields:** `name`, `level`, `descriptionTrgmSimilarity`, `searchScore`
231+
**Required create fields:** `name`, `level`
240232
**Optional create fields (backend defaults):** `description`, `requiredCount`, `priority`
241233

242234
### `org-member`
@@ -484,11 +476,9 @@ CRUD operations for OrgChartEdgeGrant records.
484476
| `positionTitle` | String |
485477
| `positionLevel` | Int |
486478
| `createdAt` | Datetime |
487-
| `positionTitleTrgmSimilarity` | Float |
488-
| `searchScore` | Float |
489479

490-
**Required create fields:** `entityId`, `childId`, `grantorId`, `positionTitleTrgmSimilarity`, `searchScore`
491-
**Optional create fields (backend defaults):** `parentId`, `isGrant`, `positionTitle`, `positionLevel`
480+
**Required create fields:** `entityId`, `childId`
481+
**Optional create fields (backend defaults):** `parentId`, `grantorId`, `isGrant`, `positionTitle`, `positionLevel`
492482

493483
### `membership-type`
494484

@@ -510,11 +500,8 @@ CRUD operations for MembershipType records.
510500
| `name` | String |
511501
| `description` | String |
512502
| `prefix` | String |
513-
| `descriptionTrgmSimilarity` | Float |
514-
| `prefixTrgmSimilarity` | Float |
515-
| `searchScore` | Float |
516503

517-
**Required create fields:** `name`, `description`, `prefix`, `descriptionTrgmSimilarity`, `prefixTrgmSimilarity`, `searchScore`
504+
**Required create fields:** `name`, `description`, `prefix`
518505

519506
### `app-limit`
520507

@@ -776,10 +763,8 @@ CRUD operations for OrgChartEdge records.
776763
| `parentId` | UUID |
777764
| `positionTitle` | String |
778765
| `positionLevel` | Int |
779-
| `positionTitleTrgmSimilarity` | Float |
780-
| `searchScore` | Float |
781766

782-
**Required create fields:** `entityId`, `childId`, `positionTitleTrgmSimilarity`, `searchScore`
767+
**Required create fields:** `entityId`, `childId`
783768
**Optional create fields (backend defaults):** `parentId`, `positionTitle`, `positionLevel`
784769

785770
### `org-membership-default`
@@ -911,10 +896,7 @@ CRUD operations for Invite records.
911896
| `expiresAt` | Datetime |
912897
| `createdAt` | Datetime |
913898
| `updatedAt` | Datetime |
914-
| `inviteTokenTrgmSimilarity` | Float |
915-
| `searchScore` | Float |
916899

917-
**Required create fields:** `inviteTokenTrgmSimilarity`, `searchScore`
918900
**Optional create fields (backend defaults):** `email`, `senderId`, `inviteToken`, `inviteValid`, `inviteLimit`, `inviteCount`, `multiple`, `data`, `expiresAt`
919901

920902
### `app-level`
@@ -940,10 +922,8 @@ CRUD operations for AppLevel records.
940922
| `ownerId` | UUID |
941923
| `createdAt` | Datetime |
942924
| `updatedAt` | Datetime |
943-
| `descriptionTrgmSimilarity` | Float |
944-
| `searchScore` | Float |
945925

946-
**Required create fields:** `name`, `descriptionTrgmSimilarity`, `searchScore`
926+
**Required create fields:** `name`
947927
**Optional create fields (backend defaults):** `description`, `image`, `ownerId`
948928

949929
### `org-invite`
@@ -976,10 +956,8 @@ CRUD operations for OrgInvite records.
976956
| `createdAt` | Datetime |
977957
| `updatedAt` | Datetime |
978958
| `entityId` | UUID |
979-
| `inviteTokenTrgmSimilarity` | Float |
980-
| `searchScore` | Float |
981959

982-
**Required create fields:** `entityId`, `inviteTokenTrgmSimilarity`, `searchScore`
960+
**Required create fields:** `entityId`
983961
**Optional create fields (backend defaults):** `email`, `senderId`, `receiverId`, `inviteToken`, `inviteValid`, `inviteLimit`, `inviteCount`, `multiple`, `data`, `expiresAt`
984962

985963
## Custom Operations

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,6 @@ const fieldSchema: FieldSchema = {
2020
priority: 'int',
2121
createdAt: 'string',
2222
updatedAt: 'string',
23-
descriptionTrgmSimilarity: 'float',
24-
searchScore: 'float',
2523
};
2624
const usage =
2725
'\napp-level-requirement <command>\n\nCommands:\n list List all appLevelRequirement records\n get Get a appLevelRequirement by ID\n create Create a new appLevelRequirement\n update Update an existing appLevelRequirement\n delete Delete a appLevelRequirement\n\n --help, -h Show this help message\n';

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,6 @@ const fieldSchema: FieldSchema = {
1616
ownerId: 'uuid',
1717
createdAt: 'string',
1818
updatedAt: 'string',
19-
descriptionTrgmSimilarity: 'float',
20-
searchScore: 'float',
2119
};
2220
const usage =
2321
'\napp-level <command>\n\nCommands:\n list List all appLevel records\n get Get a appLevel by ID\n create Create a new appLevel\n update Update an existing appLevel\n delete Delete a appLevel\n\n --help, -h Show this help message\n';

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

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ const fieldSchema: FieldSchema = {
1414
bitnum: 'int',
1515
bitstr: 'string',
1616
description: 'string',
17-
descriptionTrgmSimilarity: 'float',
18-
searchScore: 'float',
1917
};
2018
const usage =
2119
'\napp-permission <command>\n\nCommands:\n list List all appPermission records\n get Get a appPermission by ID\n create Create a new appPermission\n update Update an existing appPermission\n delete Delete a appPermission\n\n --help, -h Show this help message\n';

sdk/constructive-cli/src/admin/cli/commands/invite.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ const fieldSchema: FieldSchema = {
2121
expiresAt: 'string',
2222
createdAt: 'string',
2323
updatedAt: 'string',
24-
inviteTokenTrgmSimilarity: 'float',
25-
searchScore: 'float',
2624
};
2725
const usage =
2826
'\ninvite <command>\n\nCommands:\n list List all invite records\n get Get a invite by ID\n create Create a new invite\n update Update an existing invite\n delete Delete a invite\n\n --help, -h Show this help message\n';

sdk/constructive-cli/src/admin/cli/commands/membership-type.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,6 @@ const fieldSchema: FieldSchema = {
1313
name: 'string',
1414
description: 'string',
1515
prefix: 'string',
16-
descriptionTrgmSimilarity: 'float',
17-
prefixTrgmSimilarity: 'float',
18-
searchScore: 'float',
1916
};
2017
const usage =
2118
'\nmembership-type <command>\n\nCommands:\n list List all membershipType records\n get Get a membershipType by ID\n create Create a new membershipType\n update Update an existing membershipType\n delete Delete a membershipType\n\n --help, -h Show this help message\n';

sdk/constructive-cli/src/admin/cli/commands/org-chart-edge-grant.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@ const fieldSchema: FieldSchema = {
1818
positionTitle: 'string',
1919
positionLevel: 'int',
2020
createdAt: 'string',
21-
positionTitleTrgmSimilarity: 'float',
22-
searchScore: 'float',
2321
};
2422
const usage =
2523
'\norg-chart-edge-grant <command>\n\nCommands:\n list List all orgChartEdgeGrant records\n get Get a orgChartEdgeGrant by ID\n create Create a new orgChartEdgeGrant\n update Update an existing orgChartEdgeGrant\n delete Delete a orgChartEdgeGrant\n\n --help, -h Show this help message\n';
@@ -156,7 +154,8 @@ async function handleCreate(argv: Partial<Record<string, unknown>>, prompter: In
156154
type: 'text',
157155
name: 'grantorId',
158156
message: 'grantorId',
159-
required: true,
157+
required: false,
158+
skipPrompt: true,
160159
},
161160
{
162161
type: 'boolean',
@@ -252,6 +251,7 @@ async function handleUpdate(argv: Partial<Record<string, unknown>>, prompter: In
252251
name: 'grantorId',
253252
message: 'grantorId',
254253
required: false,
254+
skipPrompt: true,
255255
},
256256
{
257257
type: 'boolean',

sdk/constructive-cli/src/admin/cli/commands/org-chart-edge.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ const fieldSchema: FieldSchema = {
1717
parentId: 'uuid',
1818
positionTitle: 'string',
1919
positionLevel: 'int',
20-
positionTitleTrgmSimilarity: 'float',
21-
searchScore: 'float',
2220
};
2321
const usage =
2422
'\norg-chart-edge <command>\n\nCommands:\n list List all orgChartEdge records\n get Get a orgChartEdge by ID\n create Create a new orgChartEdge\n update Update an existing orgChartEdge\n delete Delete a orgChartEdge\n\n --help, -h Show this help message\n';

sdk/constructive-cli/src/admin/cli/commands/org-invite.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,6 @@ const fieldSchema: FieldSchema = {
2323
createdAt: 'string',
2424
updatedAt: 'string',
2525
entityId: 'uuid',
26-
inviteTokenTrgmSimilarity: 'float',
27-
searchScore: 'float',
2826
};
2927
const usage =
3028
'\norg-invite <command>\n\nCommands:\n list List all orgInvite records\n get Get a orgInvite by ID\n create Create a new orgInvite\n update Update an existing orgInvite\n delete Delete a orgInvite\n\n --help, -h Show this help message\n';

0 commit comments

Comments
 (0)