Skip to content

Commit e0b55cc

Browse files
authored
Merge pull request #964 from constructive-io/schema-update/20260404-030631
chore: update schemas from constructive-db
2 parents fe60f7b + 0de9a99 commit e0b55cc

159 files changed

Lines changed: 45048 additions & 37935 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-admin/SKILL.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
---
22
name: cli-admin
3-
description: CLI tool (csdk) for the admin API — provides CRUD commands for 32 tables and 13 custom operations
3+
description: CLI tool (csdk) for the admin API — provides CRUD commands for 32 tables and 16 custom operations
44
---
55

66
# cli-admin
77

88
<!-- @constructive-io/graphql-codegen - DO NOT EDIT -->
99

10-
CLI tool (csdk) for the admin API — provides CRUD commands for 32 tables and 13 custom operations
10+
CLI tool (csdk) for the admin API — provides CRUD commands for 32 tables and 16 custom operations
1111

1212
## Usage
1313

@@ -101,3 +101,6 @@ See the `references/` directory for detailed per-entity API documentation:
101101
- [steps-required](references/steps-required.md)
102102
- [submit-invite-code](references/submit-invite-code.md)
103103
- [submit-org-invite-code](references/submit-org-invite-code.md)
104+
- [request-upload-url](references/request-upload-url.md)
105+
- [confirm-upload](references/confirm-upload.md)
106+
- [provision-bucket](references/provision-bucket.md)
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# confirmUpload
2+
3+
<!-- @constructive-io/graphql-codegen - DO NOT EDIT -->
4+
5+
Confirm that a file has been uploaded to S3.
6+
Verifies the object exists in S3, checks content-type,
7+
and transitions the file status from 'pending' to 'ready'.
8+
9+
## Usage
10+
11+
```bash
12+
csdk confirm-upload --input.fileId <UUID>
13+
```
14+
15+
## Examples
16+
17+
### Run confirmUpload
18+
19+
```bash
20+
csdk confirm-upload --input.fileId <UUID>
21+
```
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# provisionBucket
2+
3+
<!-- @constructive-io/graphql-codegen - DO NOT EDIT -->
4+
5+
Provision an S3 bucket for a logical bucket in the database.
6+
Reads the bucket config via RLS, then creates and configures
7+
the S3 bucket with the appropriate privacy policies, CORS rules,
8+
and lifecycle settings.
9+
10+
## Usage
11+
12+
```bash
13+
csdk provision-bucket --input.bucketKey <String>
14+
```
15+
16+
## Examples
17+
18+
### Run provisionBucket
19+
20+
```bash
21+
csdk provision-bucket --input.bucketKey <String>
22+
```
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# requestUploadUrl
2+
3+
<!-- @constructive-io/graphql-codegen - DO NOT EDIT -->
4+
5+
Request a presigned URL for uploading a file directly to S3.
6+
Client computes SHA-256 of the file content and provides it here.
7+
If a file with the same hash already exists (dedup), returns the
8+
existing file ID and deduplicated=true with no uploadUrl.
9+
10+
## Usage
11+
12+
```bash
13+
csdk request-upload-url --input.bucketKey <String> --input.contentHash <String> --input.contentType <String> --input.size <Int> --input.filename <String>
14+
```
15+
16+
## Examples
17+
18+
### Run requestUploadUrl
19+
20+
```bash
21+
csdk request-upload-url --input.bucketKey <String> --input.contentHash <String> --input.contentType <String> --input.size <Int> --input.filename <String>
22+
```

.agents/skills/cli-auth/SKILL.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
---
22
name: cli-auth
3-
description: CLI tool (csdk) for the auth API — provides CRUD commands for 7 tables and 20 custom operations
3+
description: CLI tool (csdk) for the auth API — provides CRUD commands for 7 tables and 23 custom operations
44
---
55

66
# cli-auth
77

88
<!-- @constructive-io/graphql-codegen - DO NOT EDIT -->
99

10-
CLI tool (csdk) for the auth API — provides CRUD commands for 7 tables and 20 custom operations
10+
CLI tool (csdk) for the auth API — provides CRUD commands for 7 tables and 23 custom operations
1111

1212
## Usage
1313

@@ -83,3 +83,6 @@ See the `references/` directory for detailed per-entity API documentation:
8383
- [send-verification-email](references/send-verification-email.md)
8484
- [verify-password](references/verify-password.md)
8585
- [verify-totp](references/verify-totp.md)
86+
- [request-upload-url](references/request-upload-url.md)
87+
- [confirm-upload](references/confirm-upload.md)
88+
- [provision-bucket](references/provision-bucket.md)
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# confirmUpload
2+
3+
<!-- @constructive-io/graphql-codegen - DO NOT EDIT -->
4+
5+
Confirm that a file has been uploaded to S3.
6+
Verifies the object exists in S3, checks content-type,
7+
and transitions the file status from 'pending' to 'ready'.
8+
9+
## Usage
10+
11+
```bash
12+
csdk confirm-upload --input.fileId <UUID>
13+
```
14+
15+
## Examples
16+
17+
### Run confirmUpload
18+
19+
```bash
20+
csdk confirm-upload --input.fileId <UUID>
21+
```
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# provisionBucket
2+
3+
<!-- @constructive-io/graphql-codegen - DO NOT EDIT -->
4+
5+
Provision an S3 bucket for a logical bucket in the database.
6+
Reads the bucket config via RLS, then creates and configures
7+
the S3 bucket with the appropriate privacy policies, CORS rules,
8+
and lifecycle settings.
9+
10+
## Usage
11+
12+
```bash
13+
csdk provision-bucket --input.bucketKey <String>
14+
```
15+
16+
## Examples
17+
18+
### Run provisionBucket
19+
20+
```bash
21+
csdk provision-bucket --input.bucketKey <String>
22+
```
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# requestUploadUrl
2+
3+
<!-- @constructive-io/graphql-codegen - DO NOT EDIT -->
4+
5+
Request a presigned URL for uploading a file directly to S3.
6+
Client computes SHA-256 of the file content and provides it here.
7+
If a file with the same hash already exists (dedup), returns the
8+
existing file ID and deduplicated=true with no uploadUrl.
9+
10+
## Usage
11+
12+
```bash
13+
csdk request-upload-url --input.bucketKey <String> --input.contentHash <String> --input.contentType <String> --input.size <Int> --input.filename <String>
14+
```
15+
16+
## Examples
17+
18+
### Run requestUploadUrl
19+
20+
```bash
21+
csdk request-upload-url --input.bucketKey <String> --input.contentHash <String> --input.contentType <String> --input.size <Int> --input.filename <String>
22+
```

.agents/skills/cli-objects/SKILL.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
---
22
name: cli-objects
3-
description: CLI tool (csdk) for the objects API — provides CRUD commands for 5 tables and 12 custom operations
3+
description: CLI tool (csdk) for the objects API — provides CRUD commands for 5 tables and 15 custom operations
44
---
55

66
# cli-objects
77

88
<!-- @constructive-io/graphql-codegen - DO NOT EDIT -->
99

10-
CLI tool (csdk) for the objects API — provides CRUD commands for 5 tables and 12 custom operations
10+
CLI tool (csdk) for the objects API — provides CRUD commands for 5 tables and 15 custom operations
1111

1212
## Usage
1313

@@ -73,3 +73,6 @@ See the `references/` directory for detailed per-entity API documentation:
7373
- [insert-node-at-path](references/insert-node-at-path.md)
7474
- [update-node-at-path](references/update-node-at-path.md)
7575
- [set-and-commit](references/set-and-commit.md)
76+
- [request-upload-url](references/request-upload-url.md)
77+
- [confirm-upload](references/confirm-upload.md)
78+
- [provision-bucket](references/provision-bucket.md)
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# confirmUpload
2+
3+
<!-- @constructive-io/graphql-codegen - DO NOT EDIT -->
4+
5+
Confirm that a file has been uploaded to S3.
6+
Verifies the object exists in S3, checks content-type,
7+
and transitions the file status from 'pending' to 'ready'.
8+
9+
## Usage
10+
11+
```bash
12+
csdk confirm-upload --input.fileId <UUID>
13+
```
14+
15+
## Examples
16+
17+
### Run confirmUpload
18+
19+
```bash
20+
csdk confirm-upload --input.fileId <UUID>
21+
```

0 commit comments

Comments
 (0)