Getting Started
Authoring
Access Control
Reference
-
- Overview
-
- Overview
- collection
- collection/client
- collection/schemas
- manifest/context
- manifest/parse
- manifest/types
- remote
- remote/collection\_wire\_schemas
- remote/sveltekit-guard.server
- runtime/binding
- scope/types
- seed/authoring
- seed/execute
- seed/manifest
- seed/plan
- storage/minio
- system/collections
- system/column\_names
- system/types
- system/workspace-schema
- tenant\_db/bootstrap
- tenant\_db/neon-branch-utils
- tenant\_db/neon-provider
- tenant\_db/provider
- tenant\_db/schema
- tenant\_workspace
- tenant\_workspace/build-output
- tenant\_workspace/migrations/apply
- tenant\_workspace/migrations/errors
- tenant\_workspace/migrations/generate
- tenant\_workspace/migrations/read
- tenant\_workspace/source
Examples
collection/client
collection/client
Functions
createCollectionClient()
function createCollectionClient<TCollections>(
collections,
transport,
extensions?): CollectionClient<TCollections>;Defined in: platform-utils/src/collection/client.ts:27
Type Parameters
| Type Parameter |
|---|
TCollections extends Readonly<Record<string, CollectionType<object, object, object>>> |
Parameters
| Parameter | Type |
|---|---|
collections |
{ readonly [TName in string | number | symbol]: CollectionDefinition<TCollections[TName]> } |
transport |
CollectionTransport |
extensions? |
Pick<CollectionClient<TCollections>, "approvals"> |
Returns
CollectionClient<TCollections>