Skip to content

CreateContextsOptions

Defined in: packages/synapse-sdk/src/types.ts:229

optional callbacks: StorageContextCallbacks

Defined in: packages/synapse-sdk/src/types.ts:252

Callbacks for creation process (will need to change to handle multiples)


optional count: number

Defined in: packages/synapse-sdk/src/types.ts:231

Number of contexts to create (optional, defaults to 2)


optional dataSetIds: bigint[]

Defined in: packages/synapse-sdk/src/types.ts:235

Specific data set IDs to use


optional excludeProviderIds: bigint[]

Defined in: packages/synapse-sdk/src/types.ts:241

Do not select any of these providers


optional forceCreateDataSets: boolean

Defined in: packages/synapse-sdk/src/types.ts:250

Create new data sets, even if candidates exist


optional metadata: Record<string, string>

Defined in: packages/synapse-sdk/src/types.ts:248

Custom metadata for the data sets (key-value pairs) When smart-selecting data sets, this metadata will be used to match.


optional providerIds: bigint[]

Defined in: packages/synapse-sdk/src/types.ts:239

Specific provider IDs to use


optional uploadBatchSize: number

Defined in: packages/synapse-sdk/src/types.ts:254

Maximum number of uploads to process in a single batch (default: 32, minimum: 1)


optional withCDN: boolean

Defined in: packages/synapse-sdk/src/types.ts:243

Whether to enable CDN services