Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions .agents/skills/cli-public/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
name: cli-public
description: CLI tool (csdk) for the public API — provides CRUD commands for 148 tables and 72 custom operations
description: CLI tool (csdk) for the public API — provides CRUD commands for 148 tables and 70 custom operations
---

# cli-public

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

CLI tool (csdk) for the public API — provides CRUD commands for 148 tables and 72 custom operations
CLI tool (csdk) for the public API — provides CRUD commands for 148 tables and 70 custom operations

## Usage

Expand Down Expand Up @@ -252,8 +252,6 @@ See the `references/` directory for detailed per-entity API documentation:
- [provision-spatial-relation](references/provision-spatial-relation.md)
- [bootstrap-user](references/bootstrap-user.md)
- [set-field-order](references/set-field-order.md)
- [append-field-smart-tags](references/append-field-smart-tags.md)
- [append-table-smart-tags](references/append-table-smart-tags.md)
- [provision-unique-constraint](references/provision-unique-constraint.md)
- [provision-full-text-search](references/provision-full-text-search.md)
- [provision-index](references/provision-index.md)
Expand Down
6 changes: 2 additions & 4 deletions .agents/skills/hooks-public/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
name: hooks-public
description: React Query hooks for the public API — provides typed query and mutation hooks for 148 tables and 72 custom operations
description: React Query hooks for the public API — provides typed query and mutation hooks for 148 tables and 70 custom operations
---

# hooks-public

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

React Query hooks for the public API — provides typed query and mutation hooks for 148 tables and 72 custom operations
React Query hooks for the public API — provides typed query and mutation hooks for 148 tables and 70 custom operations

## Usage

Expand Down Expand Up @@ -233,8 +233,6 @@ See the `references/` directory for detailed per-entity API documentation:
- [provision-spatial-relation](references/provision-spatial-relation.md)
- [bootstrap-user](references/bootstrap-user.md)
- [set-field-order](references/set-field-order.md)
- [append-field-smart-tags](references/append-field-smart-tags.md)
- [append-table-smart-tags](references/append-table-smart-tags.md)
- [provision-unique-constraint](references/provision-unique-constraint.md)
- [provision-full-text-search](references/provision-full-text-search.md)
- [provision-index](references/provision-index.md)
Expand Down
6 changes: 2 additions & 4 deletions .agents/skills/orm-public/SKILL.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
name: orm-public
description: ORM client for the public API — provides typed CRUD operations for 148 tables and 72 custom operations
description: ORM client for the public API — provides typed CRUD operations for 148 tables and 70 custom operations
---

# orm-public

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

ORM client for the public API — provides typed CRUD operations for 148 tables and 72 custom operations
ORM client for the public API — provides typed CRUD operations for 148 tables and 70 custom operations

## Usage

Expand Down Expand Up @@ -233,8 +233,6 @@ See the `references/` directory for detailed per-entity API documentation:
- [provision-spatial-relation](references/provision-spatial-relation.md)
- [bootstrap-user](references/bootstrap-user.md)
- [set-field-order](references/set-field-order.md)
- [append-field-smart-tags](references/append-field-smart-tags.md)
- [append-table-smart-tags](references/append-table-smart-tags.md)
- [provision-unique-constraint](references/provision-unique-constraint.md)
- [provision-full-text-search](references/provision-full-text-search.md)
- [provision-index](references/provision-index.md)
Expand Down
2 changes: 1 addition & 1 deletion sdk/constructive-cli/src/public/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

- **Tables:** 148
- **Custom queries:** 22
- **Custom mutations:** 50
- **Custom mutations:** 48

**Generators:** ORM, CLI

Expand Down
28 changes: 0 additions & 28 deletions sdk/constructive-cli/src/public/cli/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -222,8 +222,6 @@ csdk auth set-token <your-token>
| `provision-spatial-relation` | Idempotent provisioner for metaschema_public.spatial_relation. Inserts a row declaring a spatial predicate between two geometry/geography columns (owner and target). Called from construct_blueprint when a relation entry has $type=RelationSpatial. Graceful: re-running with the same (source_table_id, name) returns the existing id without modifying the row. Operator whitelist and st_dwithin ↔ param_name pairing are enforced by the spatial_relation table CHECKs. Both fields must already exist — this is a metadata-only insert. |
| `bootstrap-user` | bootstrapUser |
| `set-field-order` | setFieldOrder |
| `append-field-smart-tags` | appendFieldSmartTags |
| `append-table-smart-tags` | appendTableSmartTags |
| `provision-unique-constraint` | Creates a unique constraint on a table. Accepts a jsonb definition with columns (array of field names). Graceful: skips if the exact same unique constraint already exists. |
| `provision-full-text-search` | Creates a full-text search configuration on a table. Accepts a jsonb definition with field (tsvector column name) and sources (array of {field, weight, lang}). Graceful: skips if FTS config already exists for the same (table_id, field_id). Returns the fts_id. |
| `provision-index` | Creates an index on a table. Accepts a jsonb definition with columns (array of names or single column string), access_method (default BTREE), is_unique, op_classes, options, and name (auto-generated if omitted). Graceful: skips if an index with the same (table_id, field_ids, access_method) already exists. Returns the index_id. |
Expand Down Expand Up @@ -5510,32 +5508,6 @@ setFieldOrder
| `--input.clientMutationId` | String |
| `--input.fieldIds` | UUID |

### `append-field-smart-tags`

appendFieldSmartTags

- **Type:** mutation
- **Arguments:**

| Argument | Type |
|----------|------|
| `--input.clientMutationId` | String |
| `--input.pFieldId` | UUID |
| `--input.pTags` | JSON |

### `append-table-smart-tags`

appendTableSmartTags

- **Type:** mutation
- **Arguments:**

| Argument | Type |
|----------|------|
| `--input.clientMutationId` | String |
| `--input.pTableId` | UUID |
| `--input.pTags` | JSON |

### `provision-unique-constraint`

Creates a unique constraint on a table. Accepts a jsonb definition with columns (array of field names). Graceful: skips if the exact same unique constraint already exists.
Expand Down
6 changes: 1 addition & 5 deletions sdk/constructive-cli/src/public/cli/commands.ts

Large diffs are not rendered by default.

This file was deleted.

This file was deleted.

30 changes: 0 additions & 30 deletions sdk/constructive-cli/src/public/orm/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6553,36 +6553,6 @@ setFieldOrder
const result = await db.mutation.setFieldOrder({ input: { fieldIds: '<UUID>' } }).execute();
```

### `db.mutation.appendFieldSmartTags`

appendFieldSmartTags

- **Type:** mutation
- **Arguments:**

| Argument | Type |
|----------|------|
| `input` | AppendFieldSmartTagsInput (required) |

```typescript
const result = await db.mutation.appendFieldSmartTags({ input: { pFieldId: '<UUID>', pTags: '<JSON>' } }).execute();
```

### `db.mutation.appendTableSmartTags`

appendTableSmartTags

- **Type:** mutation
- **Arguments:**

| Argument | Type |
|----------|------|
| `input` | AppendTableSmartTagsInput (required) |

```typescript
const result = await db.mutation.appendTableSmartTags({ input: { pTableId: '<UUID>', pTags: '<JSON>' } }).execute();
```

### `db.mutation.provisionUniqueConstraint`

Creates a unique constraint on a table. Accepts a jsonb definition with columns (array of field names). Graceful: skips if the exact same unique constraint already exists.
Expand Down
22 changes: 0 additions & 22 deletions sdk/constructive-cli/src/public/orm/input-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22844,16 +22844,6 @@ export interface SetFieldOrderInput {
clientMutationId?: string;
fieldIds?: string[];
}
export interface AppendFieldSmartTagsInput {
clientMutationId?: string;
pFieldId?: string;
pTags?: Record<string, unknown>;
}
export interface AppendTableSmartTagsInput {
clientMutationId?: string;
pTableId?: string;
pTags?: Record<string, unknown>;
}
export interface ProvisionUniqueConstraintInput {
clientMutationId?: string;
databaseId?: string;
Expand Down Expand Up @@ -31366,18 +31356,6 @@ export interface SetFieldOrderPayload {
export type SetFieldOrderPayloadSelect = {
clientMutationId?: boolean;
};
export interface AppendFieldSmartTagsPayload {
clientMutationId?: string | null;
}
export type AppendFieldSmartTagsPayloadSelect = {
clientMutationId?: boolean;
};
export interface AppendTableSmartTagsPayload {
clientMutationId?: string | null;
}
export type AppendTableSmartTagsPayloadSelect = {
clientMutationId?: boolean;
};
export interface ProvisionUniqueConstraintPayload {
clientMutationId?: string | null;
}
Expand Down
Loading
Loading