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: 3 additions & 3 deletions .agents/skills/cli-public/references/entity-type-provision.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ csdk entity-type-provision list --where.<field>.<op> <value> --orderBy <values>
csdk entity-type-provision list --limit 10 --after <cursor>
csdk entity-type-provision find-first --where.<field>.<op> <value>
csdk entity-type-provision get --id <UUID>
csdk entity-type-provision create --databaseId <UUID> --name <String> --prefix <String> [--description <String>] [--parentEntity <String>] [--tableName <String>] [--isVisible <Boolean>] [--hasLimits <Boolean>] [--hasProfiles <Boolean>] [--hasLevels <Boolean>] [--hasStorage <Boolean>] [--storageConfig <JSON>] [--skipEntityPolicies <Boolean>] [--tableProvision <JSON>] [--outMembershipType <Int>] [--outEntityTableId <UUID>] [--outEntityTableName <String>] [--outInstalledModules <String>] [--outStorageModuleId <UUID>] [--outBucketsTableId <UUID>] [--outFilesTableId <UUID>]
csdk entity-type-provision update --id <UUID> [--databaseId <UUID>] [--name <String>] [--prefix <String>] [--description <String>] [--parentEntity <String>] [--tableName <String>] [--isVisible <Boolean>] [--hasLimits <Boolean>] [--hasProfiles <Boolean>] [--hasLevels <Boolean>] [--hasStorage <Boolean>] [--storageConfig <JSON>] [--skipEntityPolicies <Boolean>] [--tableProvision <JSON>] [--outMembershipType <Int>] [--outEntityTableId <UUID>] [--outEntityTableName <String>] [--outInstalledModules <String>] [--outStorageModuleId <UUID>] [--outBucketsTableId <UUID>] [--outFilesTableId <UUID>]
csdk entity-type-provision create --databaseId <UUID> --name <String> --prefix <String> [--description <String>] [--parentEntity <String>] [--tableName <String>] [--isVisible <Boolean>] [--hasLimits <Boolean>] [--hasProfiles <Boolean>] [--hasLevels <Boolean>] [--hasStorage <Boolean>] [--hasInvites <Boolean>] [--storageConfig <JSON>] [--skipEntityPolicies <Boolean>] [--tableProvision <JSON>] [--outMembershipType <Int>] [--outEntityTableId <UUID>] [--outEntityTableName <String>] [--outInstalledModules <String>] [--outStorageModuleId <UUID>] [--outBucketsTableId <UUID>] [--outFilesTableId <UUID>] [--outInvitesModuleId <UUID>]
csdk entity-type-provision update --id <UUID> [--databaseId <UUID>] [--name <String>] [--prefix <String>] [--description <String>] [--parentEntity <String>] [--tableName <String>] [--isVisible <Boolean>] [--hasLimits <Boolean>] [--hasProfiles <Boolean>] [--hasLevels <Boolean>] [--hasStorage <Boolean>] [--hasInvites <Boolean>] [--storageConfig <JSON>] [--skipEntityPolicies <Boolean>] [--tableProvision <JSON>] [--outMembershipType <Int>] [--outEntityTableId <UUID>] [--outEntityTableName <String>] [--outInstalledModules <String>] [--outStorageModuleId <UUID>] [--outBucketsTableId <UUID>] [--outFilesTableId <UUID>] [--outInvitesModuleId <UUID>]
csdk entity-type-provision delete --id <UUID>
```

Expand Down Expand Up @@ -58,7 +58,7 @@ csdk entity-type-provision list --where.id.equalTo <value> --orderBy ID_ASC
### Create a entityTypeProvision

```bash
csdk entity-type-provision create --databaseId <UUID> --name <String> --prefix <String> [--description <String>] [--parentEntity <String>] [--tableName <String>] [--isVisible <Boolean>] [--hasLimits <Boolean>] [--hasProfiles <Boolean>] [--hasLevels <Boolean>] [--hasStorage <Boolean>] [--storageConfig <JSON>] [--skipEntityPolicies <Boolean>] [--tableProvision <JSON>] [--outMembershipType <Int>] [--outEntityTableId <UUID>] [--outEntityTableName <String>] [--outInstalledModules <String>] [--outStorageModuleId <UUID>] [--outBucketsTableId <UUID>] [--outFilesTableId <UUID>]
csdk entity-type-provision create --databaseId <UUID> --name <String> --prefix <String> [--description <String>] [--parentEntity <String>] [--tableName <String>] [--isVisible <Boolean>] [--hasLimits <Boolean>] [--hasProfiles <Boolean>] [--hasLevels <Boolean>] [--hasStorage <Boolean>] [--hasInvites <Boolean>] [--storageConfig <JSON>] [--skipEntityPolicies <Boolean>] [--tableProvision <JSON>] [--outMembershipType <Int>] [--outEntityTableId <UUID>] [--outEntityTableName <String>] [--outInstalledModules <String>] [--outStorageModuleId <UUID>] [--outBucketsTableId <UUID>] [--outFilesTableId <UUID>] [--outInvitesModuleId <UUID>]
```

### Get a entityTypeProvision by id
Expand Down
4 changes: 2 additions & 2 deletions .agents/skills/cli-public/references/provision-table.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ Composable table provisioning: creates or finds a table, then creates fields (so
## Usage

```bash
csdk provision-table --input.clientMutationId <String> --input.databaseId <UUID> --input.schemaId <UUID> --input.tableName <String> --input.tableId <UUID> --input.nodes <JSON> --input.fields <JSON> --input.policies <JSON> --input.grants <JSON> --input.useRls <Boolean> --input.indexes <JSON> --input.fullTextSearches <JSON> --input.uniqueConstraints <JSON>
csdk provision-table --input.clientMutationId <String> --input.databaseId <UUID> --input.schemaId <UUID> --input.tableName <String> --input.tableId <UUID> --input.nodes <JSON> --input.fields <JSON> --input.policies <JSON> --input.grants <JSON> --input.useRls <Boolean> --input.indexes <JSON> --input.fullTextSearches <JSON> --input.uniqueConstraints <JSON> --input.description <String>
```

## Examples

### Run provisionTable

```bash
csdk provision-table --input.clientMutationId <String> --input.databaseId <UUID> --input.schemaId <UUID> --input.tableName <String> --input.tableId <UUID> --input.nodes <JSON> --input.fields <JSON> --input.policies <JSON> --input.grants <JSON> --input.useRls <Boolean> --input.indexes <JSON> --input.fullTextSearches <JSON> --input.uniqueConstraints <JSON>
csdk provision-table --input.clientMutationId <String> --input.databaseId <UUID> --input.schemaId <UUID> --input.tableName <String> --input.tableId <UUID> --input.nodes <JSON> --input.fields <JSON> --input.policies <JSON> --input.grants <JSON> --input.useRls <Boolean> --input.indexes <JSON> --input.fullTextSearches <JSON> --input.uniqueConstraints <JSON> --input.description <String>
```
6 changes: 3 additions & 3 deletions .agents/skills/cli-public/references/storage-module.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ csdk storage-module list --where.<field>.<op> <value> --orderBy <values>
csdk storage-module list --limit 10 --after <cursor>
csdk storage-module find-first --where.<field>.<op> <value>
csdk storage-module get --id <UUID>
csdk storage-module create --databaseId <UUID> [--schemaId <UUID>] [--privateSchemaId <UUID>] [--bucketsTableId <UUID>] [--filesTableId <UUID>] [--uploadRequestsTableId <UUID>] [--bucketsTableName <String>] [--filesTableName <String>] [--uploadRequestsTableName <String>] [--membershipType <Int>] [--policies <String>] [--entityTableId <UUID>] [--endpoint <String>] [--publicUrlPrefix <String>] [--provider <String>] [--allowedOrigins <String>] [--uploadUrlExpirySeconds <Int>] [--downloadUrlExpirySeconds <Int>] [--defaultMaxFileSize <BigInt>] [--maxFilenameLength <Int>] [--cacheTtlSeconds <Int>]
csdk storage-module update --id <UUID> [--databaseId <UUID>] [--schemaId <UUID>] [--privateSchemaId <UUID>] [--bucketsTableId <UUID>] [--filesTableId <UUID>] [--uploadRequestsTableId <UUID>] [--bucketsTableName <String>] [--filesTableName <String>] [--uploadRequestsTableName <String>] [--membershipType <Int>] [--policies <String>] [--entityTableId <UUID>] [--endpoint <String>] [--publicUrlPrefix <String>] [--provider <String>] [--allowedOrigins <String>] [--uploadUrlExpirySeconds <Int>] [--downloadUrlExpirySeconds <Int>] [--defaultMaxFileSize <BigInt>] [--maxFilenameLength <Int>] [--cacheTtlSeconds <Int>]
csdk storage-module create --databaseId <UUID> [--schemaId <UUID>] [--privateSchemaId <UUID>] [--bucketsTableId <UUID>] [--filesTableId <UUID>] [--uploadRequestsTableId <UUID>] [--bucketsTableName <String>] [--filesTableName <String>] [--uploadRequestsTableName <String>] [--membershipType <Int>] [--policies <JSON>] [--skipDefaultPolicyTables <String>] [--entityTableId <UUID>] [--endpoint <String>] [--publicUrlPrefix <String>] [--provider <String>] [--allowedOrigins <String>] [--uploadUrlExpirySeconds <Int>] [--downloadUrlExpirySeconds <Int>] [--defaultMaxFileSize <BigInt>] [--maxFilenameLength <Int>] [--cacheTtlSeconds <Int>]
csdk storage-module update --id <UUID> [--databaseId <UUID>] [--schemaId <UUID>] [--privateSchemaId <UUID>] [--bucketsTableId <UUID>] [--filesTableId <UUID>] [--uploadRequestsTableId <UUID>] [--bucketsTableName <String>] [--filesTableName <String>] [--uploadRequestsTableName <String>] [--membershipType <Int>] [--policies <JSON>] [--skipDefaultPolicyTables <String>] [--entityTableId <UUID>] [--endpoint <String>] [--publicUrlPrefix <String>] [--provider <String>] [--allowedOrigins <String>] [--uploadUrlExpirySeconds <Int>] [--downloadUrlExpirySeconds <Int>] [--defaultMaxFileSize <BigInt>] [--maxFilenameLength <Int>] [--cacheTtlSeconds <Int>]
csdk storage-module delete --id <UUID>
```

Expand Down Expand Up @@ -58,7 +58,7 @@ csdk storage-module list --where.id.equalTo <value> --orderBy ID_ASC
### Create a storageModule

```bash
csdk storage-module create --databaseId <UUID> [--schemaId <UUID>] [--privateSchemaId <UUID>] [--bucketsTableId <UUID>] [--filesTableId <UUID>] [--uploadRequestsTableId <UUID>] [--bucketsTableName <String>] [--filesTableName <String>] [--uploadRequestsTableName <String>] [--membershipType <Int>] [--policies <String>] [--entityTableId <UUID>] [--endpoint <String>] [--publicUrlPrefix <String>] [--provider <String>] [--allowedOrigins <String>] [--uploadUrlExpirySeconds <Int>] [--downloadUrlExpirySeconds <Int>] [--defaultMaxFileSize <BigInt>] [--maxFilenameLength <Int>] [--cacheTtlSeconds <Int>]
csdk storage-module create --databaseId <UUID> [--schemaId <UUID>] [--privateSchemaId <UUID>] [--bucketsTableId <UUID>] [--filesTableId <UUID>] [--uploadRequestsTableId <UUID>] [--bucketsTableName <String>] [--filesTableName <String>] [--uploadRequestsTableName <String>] [--membershipType <Int>] [--policies <JSON>] [--skipDefaultPolicyTables <String>] [--entityTableId <UUID>] [--endpoint <String>] [--publicUrlPrefix <String>] [--provider <String>] [--allowedOrigins <String>] [--uploadUrlExpirySeconds <Int>] [--downloadUrlExpirySeconds <Int>] [--defaultMaxFileSize <BigInt>] [--maxFilenameLength <Int>] [--cacheTtlSeconds <Int>]
```

### Get a storageModule by id
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ Provisions a new membership entity type. Each INSERT creates an entity table, re
## Usage

```typescript
useEntityTypeProvisionsQuery({ selection: { fields: { id: true, databaseId: true, name: true, prefix: true, description: true, parentEntity: true, tableName: true, isVisible: true, hasLimits: true, hasProfiles: true, hasLevels: true, hasStorage: true, storageConfig: true, skipEntityPolicies: true, tableProvision: true, outMembershipType: true, outEntityTableId: true, outEntityTableName: true, outInstalledModules: true, outStorageModuleId: true, outBucketsTableId: true, outFilesTableId: true } } })
useEntityTypeProvisionQuery({ id: '<UUID>', selection: { fields: { id: true, databaseId: true, name: true, prefix: true, description: true, parentEntity: true, tableName: true, isVisible: true, hasLimits: true, hasProfiles: true, hasLevels: true, hasStorage: true, storageConfig: true, skipEntityPolicies: true, tableProvision: true, outMembershipType: true, outEntityTableId: true, outEntityTableName: true, outInstalledModules: true, outStorageModuleId: true, outBucketsTableId: true, outFilesTableId: true } } })
useEntityTypeProvisionsQuery({ selection: { fields: { id: true, databaseId: true, name: true, prefix: true, description: true, parentEntity: true, tableName: true, isVisible: true, hasLimits: true, hasProfiles: true, hasLevels: true, hasStorage: true, hasInvites: true, storageConfig: true, skipEntityPolicies: true, tableProvision: true, outMembershipType: true, outEntityTableId: true, outEntityTableName: true, outInstalledModules: true, outStorageModuleId: true, outBucketsTableId: true, outFilesTableId: true, outInvitesModuleId: true } } })
useEntityTypeProvisionQuery({ id: '<UUID>', selection: { fields: { id: true, databaseId: true, name: true, prefix: true, description: true, parentEntity: true, tableName: true, isVisible: true, hasLimits: true, hasProfiles: true, hasLevels: true, hasStorage: true, hasInvites: true, storageConfig: true, skipEntityPolicies: true, tableProvision: true, outMembershipType: true, outEntityTableId: true, outEntityTableName: true, outInstalledModules: true, outStorageModuleId: true, outBucketsTableId: true, outFilesTableId: true, outInvitesModuleId: true } } })
useCreateEntityTypeProvisionMutation({ selection: { fields: { id: true } } })
useUpdateEntityTypeProvisionMutation({ selection: { fields: { id: true } } })
useDeleteEntityTypeProvisionMutation({})
Expand All @@ -27,7 +27,7 @@ useDeleteEntityTypeProvisionMutation({})

```typescript
const { data, isLoading } = useEntityTypeProvisionsQuery({
selection: { fields: { id: true, databaseId: true, name: true, prefix: true, description: true, parentEntity: true, tableName: true, isVisible: true, hasLimits: true, hasProfiles: true, hasLevels: true, hasStorage: true, storageConfig: true, skipEntityPolicies: true, tableProvision: true, outMembershipType: true, outEntityTableId: true, outEntityTableName: true, outInstalledModules: true, outStorageModuleId: true, outBucketsTableId: true, outFilesTableId: true } },
selection: { fields: { id: true, databaseId: true, name: true, prefix: true, description: true, parentEntity: true, tableName: true, isVisible: true, hasLimits: true, hasProfiles: true, hasLevels: true, hasStorage: true, hasInvites: true, storageConfig: true, skipEntityPolicies: true, tableProvision: true, outMembershipType: true, outEntityTableId: true, outEntityTableName: true, outInstalledModules: true, outStorageModuleId: true, outBucketsTableId: true, outFilesTableId: true, outInvitesModuleId: true } },
});
```

Expand All @@ -37,5 +37,5 @@ const { data, isLoading } = useEntityTypeProvisionsQuery({
const { mutate } = useCreateEntityTypeProvisionMutation({
selection: { fields: { id: true } },
});
mutate({ databaseId: '<UUID>', name: '<String>', prefix: '<String>', description: '<String>', parentEntity: '<String>', tableName: '<String>', isVisible: '<Boolean>', hasLimits: '<Boolean>', hasProfiles: '<Boolean>', hasLevels: '<Boolean>', hasStorage: '<Boolean>', storageConfig: '<JSON>', skipEntityPolicies: '<Boolean>', tableProvision: '<JSON>', outMembershipType: '<Int>', outEntityTableId: '<UUID>', outEntityTableName: '<String>', outInstalledModules: '<String>', outStorageModuleId: '<UUID>', outBucketsTableId: '<UUID>', outFilesTableId: '<UUID>' });
mutate({ databaseId: '<UUID>', name: '<String>', prefix: '<String>', description: '<String>', parentEntity: '<String>', tableName: '<String>', isVisible: '<Boolean>', hasLimits: '<Boolean>', hasProfiles: '<Boolean>', hasLevels: '<Boolean>', hasStorage: '<Boolean>', hasInvites: '<Boolean>', storageConfig: '<JSON>', skipEntityPolicies: '<Boolean>', tableProvision: '<JSON>', outMembershipType: '<Int>', outEntityTableId: '<UUID>', outEntityTableName: '<String>', outInstalledModules: '<String>', outStorageModuleId: '<UUID>', outBucketsTableId: '<UUID>', outFilesTableId: '<UUID>', outInvitesModuleId: '<UUID>' });
```
8 changes: 4 additions & 4 deletions .agents/skills/hooks-public/references/storage-module.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ React Query hooks for StorageModule data operations
## Usage

```typescript
useStorageModulesQuery({ selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, bucketsTableId: true, filesTableId: true, uploadRequestsTableId: true, bucketsTableName: true, filesTableName: true, uploadRequestsTableName: true, membershipType: true, policies: true, entityTableId: true, endpoint: true, publicUrlPrefix: true, provider: true, allowedOrigins: true, uploadUrlExpirySeconds: true, downloadUrlExpirySeconds: true, defaultMaxFileSize: true, maxFilenameLength: true, cacheTtlSeconds: true } } })
useStorageModuleQuery({ id: '<UUID>', selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, bucketsTableId: true, filesTableId: true, uploadRequestsTableId: true, bucketsTableName: true, filesTableName: true, uploadRequestsTableName: true, membershipType: true, policies: true, entityTableId: true, endpoint: true, publicUrlPrefix: true, provider: true, allowedOrigins: true, uploadUrlExpirySeconds: true, downloadUrlExpirySeconds: true, defaultMaxFileSize: true, maxFilenameLength: true, cacheTtlSeconds: true } } })
useStorageModulesQuery({ selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, bucketsTableId: true, filesTableId: true, uploadRequestsTableId: true, bucketsTableName: true, filesTableName: true, uploadRequestsTableName: true, membershipType: true, policies: true, skipDefaultPolicyTables: true, entityTableId: true, endpoint: true, publicUrlPrefix: true, provider: true, allowedOrigins: true, uploadUrlExpirySeconds: true, downloadUrlExpirySeconds: true, defaultMaxFileSize: true, maxFilenameLength: true, cacheTtlSeconds: true } } })
useStorageModuleQuery({ id: '<UUID>', selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, bucketsTableId: true, filesTableId: true, uploadRequestsTableId: true, bucketsTableName: true, filesTableName: true, uploadRequestsTableName: true, membershipType: true, policies: true, skipDefaultPolicyTables: true, entityTableId: true, endpoint: true, publicUrlPrefix: true, provider: true, allowedOrigins: true, uploadUrlExpirySeconds: true, downloadUrlExpirySeconds: true, defaultMaxFileSize: true, maxFilenameLength: true, cacheTtlSeconds: true } } })
useCreateStorageModuleMutation({ selection: { fields: { id: true } } })
useUpdateStorageModuleMutation({ selection: { fields: { id: true } } })
useDeleteStorageModuleMutation({})
Expand All @@ -20,7 +20,7 @@ useDeleteStorageModuleMutation({})

```typescript
const { data, isLoading } = useStorageModulesQuery({
selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, bucketsTableId: true, filesTableId: true, uploadRequestsTableId: true, bucketsTableName: true, filesTableName: true, uploadRequestsTableName: true, membershipType: true, policies: true, entityTableId: true, endpoint: true, publicUrlPrefix: true, provider: true, allowedOrigins: true, uploadUrlExpirySeconds: true, downloadUrlExpirySeconds: true, defaultMaxFileSize: true, maxFilenameLength: true, cacheTtlSeconds: true } },
selection: { fields: { id: true, databaseId: true, schemaId: true, privateSchemaId: true, bucketsTableId: true, filesTableId: true, uploadRequestsTableId: true, bucketsTableName: true, filesTableName: true, uploadRequestsTableName: true, membershipType: true, policies: true, skipDefaultPolicyTables: true, entityTableId: true, endpoint: true, publicUrlPrefix: true, provider: true, allowedOrigins: true, uploadUrlExpirySeconds: true, downloadUrlExpirySeconds: true, defaultMaxFileSize: true, maxFilenameLength: true, cacheTtlSeconds: true } },
});
```

Expand All @@ -30,5 +30,5 @@ const { data, isLoading } = useStorageModulesQuery({
const { mutate } = useCreateStorageModuleMutation({
selection: { fields: { id: true } },
});
mutate({ databaseId: '<UUID>', schemaId: '<UUID>', privateSchemaId: '<UUID>', bucketsTableId: '<UUID>', filesTableId: '<UUID>', uploadRequestsTableId: '<UUID>', bucketsTableName: '<String>', filesTableName: '<String>', uploadRequestsTableName: '<String>', membershipType: '<Int>', policies: '<String>', entityTableId: '<UUID>', endpoint: '<String>', publicUrlPrefix: '<String>', provider: '<String>', allowedOrigins: '<String>', uploadUrlExpirySeconds: '<Int>', downloadUrlExpirySeconds: '<Int>', defaultMaxFileSize: '<BigInt>', maxFilenameLength: '<Int>', cacheTtlSeconds: '<Int>' });
mutate({ databaseId: '<UUID>', schemaId: '<UUID>', privateSchemaId: '<UUID>', bucketsTableId: '<UUID>', filesTableId: '<UUID>', uploadRequestsTableId: '<UUID>', bucketsTableName: '<String>', filesTableName: '<String>', uploadRequestsTableName: '<String>', membershipType: '<Int>', policies: '<JSON>', skipDefaultPolicyTables: '<String>', entityTableId: '<UUID>', endpoint: '<String>', publicUrlPrefix: '<String>', provider: '<String>', allowedOrigins: '<String>', uploadUrlExpirySeconds: '<Int>', downloadUrlExpirySeconds: '<Int>', defaultMaxFileSize: '<BigInt>', maxFilenameLength: '<Int>', cacheTtlSeconds: '<Int>' });
```
Loading
Loading