@tinycloud/sdk-services 3.1.0-beta.1 → 3.1.0-beta.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/encryption/index.cjs +106 -97
- package/dist/encryption/index.cjs.map +1 -1
- package/dist/encryption/index.js +106 -97
- package/dist/encryption/index.js.map +1 -1
- package/dist/index.cjs +344 -227
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +53 -1
- package/dist/index.d.ts +53 -1
- package/dist/index.js +319 -209
- package/dist/index.js.map +1 -1
- package/dist/kv/index.cjs +236 -58
- package/dist/kv/index.cjs.map +1 -1
- package/dist/kv/index.d.cts +5 -2
- package/dist/kv/index.d.ts +5 -2
- package/dist/kv/index.js +236 -58
- package/dist/kv/index.js.map +1 -1
- package/dist/sql/index.cjs +77 -26
- package/dist/sql/index.cjs.map +1 -1
- package/dist/sql/index.js +68 -17
- package/dist/sql/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1083,6 +1083,24 @@ declare function authUnauthorizedError(service: string, message: string, meta?:
|
|
|
1083
1083
|
* - `"other"`: a non-authorization HTTP error status (4xx/5xx).
|
|
1084
1084
|
*/
|
|
1085
1085
|
type AuthorizationVerdict = "unauthenticated" | "forbidden" | "other";
|
|
1086
|
+
/**
|
|
1087
|
+
* Parse a canonical TinyCloud resource, keeping nested space names intact.
|
|
1088
|
+
* The first registered service segment is authoritative: a later matching
|
|
1089
|
+
* segment in the path cannot turn a different service into grant advice.
|
|
1090
|
+
*/
|
|
1091
|
+
declare function parseCapabilityResource(resource: string, service: string): {
|
|
1092
|
+
space: string;
|
|
1093
|
+
path: string;
|
|
1094
|
+
} | undefined;
|
|
1095
|
+
/**
|
|
1096
|
+
* Return a grantable missing capability only when typed authorization evidence
|
|
1097
|
+
* and both safe, service-matched capability fields are present. Status alone,
|
|
1098
|
+
* message text, wildcard actions and unrecognized actions cannot grant scope.
|
|
1099
|
+
*/
|
|
1100
|
+
declare function validatedCapabilityOf(error: unknown): {
|
|
1101
|
+
resource: string;
|
|
1102
|
+
requiredAction: string;
|
|
1103
|
+
} | undefined;
|
|
1086
1104
|
/**
|
|
1087
1105
|
* Classify an error from its typed HTTP error status (`status`, `statusCode`,
|
|
1088
1106
|
* or `meta.status`, 4xx/5xx only) and `AUTH_UNAUTHORIZED` code, following the
|
|
@@ -1101,6 +1119,36 @@ declare function storageQuotaExceededError(service: string, message: string, met
|
|
|
1101
1119
|
* Create a service error for storage limit reached (413 Payload Too Large).
|
|
1102
1120
|
*/
|
|
1103
1121
|
declare function storageLimitReachedError(service: string, message: string, meta?: Record<string, unknown>): ServiceError;
|
|
1122
|
+
/** Shown when a write is rejected because the owner's storage is full. */
|
|
1123
|
+
declare const STORAGE_FULL_MESSAGE = "TinyCloud storage is full, so this change was not saved. Reading still works. Free up space or upgrade your plan to save again.";
|
|
1124
|
+
/** Shown when a write is larger than the storage the owner has left. */
|
|
1125
|
+
declare const STORAGE_WRITE_TOO_LARGE_MESSAGE = "This change is larger than the TinyCloud storage you have left, so it was not saved. Reading still works. Free up space or upgrade your plan to save it.";
|
|
1126
|
+
/**
|
|
1127
|
+
* Parse the byte counts from a node storage rejection
|
|
1128
|
+
* ("... Used: 155744 bytes, Limit: 0 bytes"). The limit is the share of the
|
|
1129
|
+
* owner's account-wide budget left for this space, so it is 0 when the
|
|
1130
|
+
* owner's other spaces already use the whole budget.
|
|
1131
|
+
*/
|
|
1132
|
+
declare function parseStorageQuotaBytes(responseText: string): {
|
|
1133
|
+
usedBytes: number;
|
|
1134
|
+
limitBytes: number;
|
|
1135
|
+
} | undefined;
|
|
1136
|
+
/**
|
|
1137
|
+
* Build the error for a write the node rejected for storage: 402 when storage
|
|
1138
|
+
* is already full, 413 when this write is larger than what is left. KV, SQL
|
|
1139
|
+
* and DuckDB all report it with the same codes and message so an app can
|
|
1140
|
+
* detect "storage full" in one place with {@link isStorageFullError}.
|
|
1141
|
+
*/
|
|
1142
|
+
declare function storageRejectionError(service: string, status: 402 | 413, meta: Record<string, unknown>, responseText: string): ServiceError;
|
|
1143
|
+
/**
|
|
1144
|
+
* True when a write failed for storage: the owner's TinyCloud storage is full
|
|
1145
|
+
* (`STORAGE_QUOTA_EXCEEDED`), or this write is larger than what is left
|
|
1146
|
+
* (`STORAGE_LIMIT_REACHED`). Reads keep working in both cases, so apps should
|
|
1147
|
+
* stay usable read-only and point the user at freeing up space or upgrading.
|
|
1148
|
+
*/
|
|
1149
|
+
declare function isStorageFullError(error: {
|
|
1150
|
+
code?: string;
|
|
1151
|
+
} | null | undefined): boolean;
|
|
1104
1152
|
/**
|
|
1105
1153
|
* Wrap an unknown error in a ServiceError.
|
|
1106
1154
|
*/
|
|
@@ -1719,6 +1767,10 @@ type VaultErrorInput = {
|
|
|
1719
1767
|
code: "STORAGE_ERROR";
|
|
1720
1768
|
cause: Error;
|
|
1721
1769
|
message?: string;
|
|
1770
|
+
} | {
|
|
1771
|
+
code: "STORAGE_QUOTA_EXCEEDED" | "STORAGE_LIMIT_REACHED";
|
|
1772
|
+
message: string;
|
|
1773
|
+
meta?: Record<string, unknown>;
|
|
1722
1774
|
};
|
|
1723
1775
|
/**
|
|
1724
1776
|
* Vault error with service field (compatible with ServiceError).
|
|
@@ -2263,4 +2315,4 @@ declare class SecretsService implements ISecretsService {
|
|
|
2263
2315
|
listAll(): Promise<Result<SecretCatalogEntry[], SecretsError>>;
|
|
2264
2316
|
}
|
|
2265
2317
|
|
|
2266
|
-
export { type AuthorizationVerdict, BaseService, type BaseServiceOptions, type ColumnInfo, type DataVaultConfig, DataVaultService, DecryptCapabilityProof, DuckDbAction, type DuckDbActionType, type DuckDbBatchOptions, type BatchResponse as DuckDbBatchResponse, DuckDbDatabaseHandle, type DuckDbExecuteOptions, type ExecuteResponse as DuckDbExecuteResponse, type DuckDbOptions, type DuckDbQueryOptions, type QueryResponse as DuckDbQueryResponse, DuckDbService, type DuckDbServiceConfig, type DuckDbStatement, type DuckDbValue, EventHandler, FetchFunction, GenericKVResponseSchema, type GenericKVResponseType, GenericResultSchema, type HookEvent, type HookServiceName, type HookStreamEvent, type HookSubscription, type HookWebhookListOptions, type HookWebhookRecord, type HookWebhookRegistration, type HookWebhookScope, type HookWebhookUnregisterOptions, HooksService, type HooksServiceConfig, type IDataVaultService, type IDuckDbDatabaseHandle, type IDuckDbService, IEncryptionService, type IHooksService, IKVService, type ISecretsService, IService, IServiceContext, InvokeAnyFunction, InvokeFunction, KVListResponseSchema, type KVListResponseType, KVListResultSchema, type KVListResultType, KVResponseHeadersSchema, type KVResponseHeadersType, type ParsedSecretCatalogKey, PermissionHint, type QuotaConfig, type QuotaStatus, type ResolvedSecretPath, Result, RetryPolicy, RetryPolicySchema, type RetryPolicyType, SECRET_NAME_RE, type SchemaInfo, type SecretCatalogEntry, type SecretPayload, type SecretScopeOptions, type SecretsError, SecretsService, type ServiceConstructor, ServiceContext, type ServiceContextConfig, ServiceError, ServiceErrorEventSchema, type ServiceErrorEventType, ServiceErrorSchema, type ServiceErrorType, type ServiceRegistration, ServiceRequestEventSchema, type ServiceRequestEventType, ServiceResponseEventSchema, type ServiceResponseEventType, ServiceRetryEventSchema, type ServiceRetryEventType, ServiceSession, ServiceSessionSchema, type ServiceSessionType, StorageQuotaInfo, type SubscribeOptions, type TableInfo, TelemetryConfig, TelemetrySpanEventSchema, type TelemetrySpanEventType, type TinyCloudDebugEnableOptions, type TinyCloudDebugEvent, type TinyCloudDebugLevel, TinyCloudDebugLogger, type TinyCloudDebugTimer, TinyCloudQuota, type ValidationError, type VaultCrypto, type VaultEntry, type VaultError, type VaultGetOptions, type VaultGrantOptions, VaultHeaders, type VaultListOptions, type VaultListPage, type VaultNetworkReadResult, VaultPublicSpaceKVActions, type VaultPutOptions, type ViewInfo, type WasmVaultFunctions, abortedError, authExpiredError, authRequiredError, authUnauthorizedError, authorizationVerdictOf, canonicalizeSecretScope, clearTinyCloudDebugLogs, createKVResponseSchema, createResultSchema, createVaultCrypto, disableTinyCloudDebug, enableTinyCloudDebug, errorResult, getTinyCloudDebugLogs, installTinyCloudDebugGlobals, networkError, notFoundError, parseAuthError, parsePermissionHint, parsePermissionHintFromErrorText, parseSecretCatalogKey, permissionDeniedError, resolveSecretListPrefix, resolveSecretPath, storageLimitReachedError, storageQuotaExceededError, timeoutError, tinyCloudDebugLogger, validateKVListResponse, validateKVResponseHeaders, validateRetryPolicy, validateServiceError, validateServiceRequestEvent, validateServiceResponseEvent, validateServiceSession, validateTelemetrySpanEvent, wrapError };
|
|
2318
|
+
export { type AuthorizationVerdict, BaseService, type BaseServiceOptions, type ColumnInfo, type DataVaultConfig, DataVaultService, DecryptCapabilityProof, DuckDbAction, type DuckDbActionType, type DuckDbBatchOptions, type BatchResponse as DuckDbBatchResponse, DuckDbDatabaseHandle, type DuckDbExecuteOptions, type ExecuteResponse as DuckDbExecuteResponse, type DuckDbOptions, type DuckDbQueryOptions, type QueryResponse as DuckDbQueryResponse, DuckDbService, type DuckDbServiceConfig, type DuckDbStatement, type DuckDbValue, EventHandler, FetchFunction, GenericKVResponseSchema, type GenericKVResponseType, GenericResultSchema, type HookEvent, type HookServiceName, type HookStreamEvent, type HookSubscription, type HookWebhookListOptions, type HookWebhookRecord, type HookWebhookRegistration, type HookWebhookScope, type HookWebhookUnregisterOptions, HooksService, type HooksServiceConfig, type IDataVaultService, type IDuckDbDatabaseHandle, type IDuckDbService, IEncryptionService, type IHooksService, IKVService, type ISecretsService, IService, IServiceContext, InvokeAnyFunction, InvokeFunction, KVListResponseSchema, type KVListResponseType, KVListResultSchema, type KVListResultType, KVResponseHeadersSchema, type KVResponseHeadersType, type ParsedSecretCatalogKey, PermissionHint, type QuotaConfig, type QuotaStatus, type ResolvedSecretPath, Result, RetryPolicy, RetryPolicySchema, type RetryPolicyType, SECRET_NAME_RE, STORAGE_FULL_MESSAGE, STORAGE_WRITE_TOO_LARGE_MESSAGE, type SchemaInfo, type SecretCatalogEntry, type SecretPayload, type SecretScopeOptions, type SecretsError, SecretsService, type ServiceConstructor, ServiceContext, type ServiceContextConfig, ServiceError, ServiceErrorEventSchema, type ServiceErrorEventType, ServiceErrorSchema, type ServiceErrorType, type ServiceRegistration, ServiceRequestEventSchema, type ServiceRequestEventType, ServiceResponseEventSchema, type ServiceResponseEventType, ServiceRetryEventSchema, type ServiceRetryEventType, ServiceSession, ServiceSessionSchema, type ServiceSessionType, StorageQuotaInfo, type SubscribeOptions, type TableInfo, TelemetryConfig, TelemetrySpanEventSchema, type TelemetrySpanEventType, type TinyCloudDebugEnableOptions, type TinyCloudDebugEvent, type TinyCloudDebugLevel, TinyCloudDebugLogger, type TinyCloudDebugTimer, TinyCloudQuota, type ValidationError, type VaultCrypto, type VaultEntry, type VaultError, type VaultGetOptions, type VaultGrantOptions, VaultHeaders, type VaultListOptions, type VaultListPage, type VaultNetworkReadResult, VaultPublicSpaceKVActions, type VaultPutOptions, type ViewInfo, type WasmVaultFunctions, abortedError, authExpiredError, authRequiredError, authUnauthorizedError, authorizationVerdictOf, canonicalizeSecretScope, clearTinyCloudDebugLogs, createKVResponseSchema, createResultSchema, createVaultCrypto, disableTinyCloudDebug, enableTinyCloudDebug, errorResult, getTinyCloudDebugLogs, installTinyCloudDebugGlobals, isStorageFullError, networkError, notFoundError, parseAuthError, parseCapabilityResource, parsePermissionHint, parsePermissionHintFromErrorText, parseSecretCatalogKey, parseStorageQuotaBytes, permissionDeniedError, resolveSecretListPrefix, resolveSecretPath, storageLimitReachedError, storageQuotaExceededError, storageRejectionError, timeoutError, tinyCloudDebugLogger, validateKVListResponse, validateKVResponseHeaders, validateRetryPolicy, validateServiceError, validateServiceRequestEvent, validateServiceResponseEvent, validateServiceSession, validateTelemetrySpanEvent, validatedCapabilityOf, wrapError };
|
package/dist/index.d.ts
CHANGED
|
@@ -1083,6 +1083,24 @@ declare function authUnauthorizedError(service: string, message: string, meta?:
|
|
|
1083
1083
|
* - `"other"`: a non-authorization HTTP error status (4xx/5xx).
|
|
1084
1084
|
*/
|
|
1085
1085
|
type AuthorizationVerdict = "unauthenticated" | "forbidden" | "other";
|
|
1086
|
+
/**
|
|
1087
|
+
* Parse a canonical TinyCloud resource, keeping nested space names intact.
|
|
1088
|
+
* The first registered service segment is authoritative: a later matching
|
|
1089
|
+
* segment in the path cannot turn a different service into grant advice.
|
|
1090
|
+
*/
|
|
1091
|
+
declare function parseCapabilityResource(resource: string, service: string): {
|
|
1092
|
+
space: string;
|
|
1093
|
+
path: string;
|
|
1094
|
+
} | undefined;
|
|
1095
|
+
/**
|
|
1096
|
+
* Return a grantable missing capability only when typed authorization evidence
|
|
1097
|
+
* and both safe, service-matched capability fields are present. Status alone,
|
|
1098
|
+
* message text, wildcard actions and unrecognized actions cannot grant scope.
|
|
1099
|
+
*/
|
|
1100
|
+
declare function validatedCapabilityOf(error: unknown): {
|
|
1101
|
+
resource: string;
|
|
1102
|
+
requiredAction: string;
|
|
1103
|
+
} | undefined;
|
|
1086
1104
|
/**
|
|
1087
1105
|
* Classify an error from its typed HTTP error status (`status`, `statusCode`,
|
|
1088
1106
|
* or `meta.status`, 4xx/5xx only) and `AUTH_UNAUTHORIZED` code, following the
|
|
@@ -1101,6 +1119,36 @@ declare function storageQuotaExceededError(service: string, message: string, met
|
|
|
1101
1119
|
* Create a service error for storage limit reached (413 Payload Too Large).
|
|
1102
1120
|
*/
|
|
1103
1121
|
declare function storageLimitReachedError(service: string, message: string, meta?: Record<string, unknown>): ServiceError;
|
|
1122
|
+
/** Shown when a write is rejected because the owner's storage is full. */
|
|
1123
|
+
declare const STORAGE_FULL_MESSAGE = "TinyCloud storage is full, so this change was not saved. Reading still works. Free up space or upgrade your plan to save again.";
|
|
1124
|
+
/** Shown when a write is larger than the storage the owner has left. */
|
|
1125
|
+
declare const STORAGE_WRITE_TOO_LARGE_MESSAGE = "This change is larger than the TinyCloud storage you have left, so it was not saved. Reading still works. Free up space or upgrade your plan to save it.";
|
|
1126
|
+
/**
|
|
1127
|
+
* Parse the byte counts from a node storage rejection
|
|
1128
|
+
* ("... Used: 155744 bytes, Limit: 0 bytes"). The limit is the share of the
|
|
1129
|
+
* owner's account-wide budget left for this space, so it is 0 when the
|
|
1130
|
+
* owner's other spaces already use the whole budget.
|
|
1131
|
+
*/
|
|
1132
|
+
declare function parseStorageQuotaBytes(responseText: string): {
|
|
1133
|
+
usedBytes: number;
|
|
1134
|
+
limitBytes: number;
|
|
1135
|
+
} | undefined;
|
|
1136
|
+
/**
|
|
1137
|
+
* Build the error for a write the node rejected for storage: 402 when storage
|
|
1138
|
+
* is already full, 413 when this write is larger than what is left. KV, SQL
|
|
1139
|
+
* and DuckDB all report it with the same codes and message so an app can
|
|
1140
|
+
* detect "storage full" in one place with {@link isStorageFullError}.
|
|
1141
|
+
*/
|
|
1142
|
+
declare function storageRejectionError(service: string, status: 402 | 413, meta: Record<string, unknown>, responseText: string): ServiceError;
|
|
1143
|
+
/**
|
|
1144
|
+
* True when a write failed for storage: the owner's TinyCloud storage is full
|
|
1145
|
+
* (`STORAGE_QUOTA_EXCEEDED`), or this write is larger than what is left
|
|
1146
|
+
* (`STORAGE_LIMIT_REACHED`). Reads keep working in both cases, so apps should
|
|
1147
|
+
* stay usable read-only and point the user at freeing up space or upgrading.
|
|
1148
|
+
*/
|
|
1149
|
+
declare function isStorageFullError(error: {
|
|
1150
|
+
code?: string;
|
|
1151
|
+
} | null | undefined): boolean;
|
|
1104
1152
|
/**
|
|
1105
1153
|
* Wrap an unknown error in a ServiceError.
|
|
1106
1154
|
*/
|
|
@@ -1719,6 +1767,10 @@ type VaultErrorInput = {
|
|
|
1719
1767
|
code: "STORAGE_ERROR";
|
|
1720
1768
|
cause: Error;
|
|
1721
1769
|
message?: string;
|
|
1770
|
+
} | {
|
|
1771
|
+
code: "STORAGE_QUOTA_EXCEEDED" | "STORAGE_LIMIT_REACHED";
|
|
1772
|
+
message: string;
|
|
1773
|
+
meta?: Record<string, unknown>;
|
|
1722
1774
|
};
|
|
1723
1775
|
/**
|
|
1724
1776
|
* Vault error with service field (compatible with ServiceError).
|
|
@@ -2263,4 +2315,4 @@ declare class SecretsService implements ISecretsService {
|
|
|
2263
2315
|
listAll(): Promise<Result<SecretCatalogEntry[], SecretsError>>;
|
|
2264
2316
|
}
|
|
2265
2317
|
|
|
2266
|
-
export { type AuthorizationVerdict, BaseService, type BaseServiceOptions, type ColumnInfo, type DataVaultConfig, DataVaultService, DecryptCapabilityProof, DuckDbAction, type DuckDbActionType, type DuckDbBatchOptions, type BatchResponse as DuckDbBatchResponse, DuckDbDatabaseHandle, type DuckDbExecuteOptions, type ExecuteResponse as DuckDbExecuteResponse, type DuckDbOptions, type DuckDbQueryOptions, type QueryResponse as DuckDbQueryResponse, DuckDbService, type DuckDbServiceConfig, type DuckDbStatement, type DuckDbValue, EventHandler, FetchFunction, GenericKVResponseSchema, type GenericKVResponseType, GenericResultSchema, type HookEvent, type HookServiceName, type HookStreamEvent, type HookSubscription, type HookWebhookListOptions, type HookWebhookRecord, type HookWebhookRegistration, type HookWebhookScope, type HookWebhookUnregisterOptions, HooksService, type HooksServiceConfig, type IDataVaultService, type IDuckDbDatabaseHandle, type IDuckDbService, IEncryptionService, type IHooksService, IKVService, type ISecretsService, IService, IServiceContext, InvokeAnyFunction, InvokeFunction, KVListResponseSchema, type KVListResponseType, KVListResultSchema, type KVListResultType, KVResponseHeadersSchema, type KVResponseHeadersType, type ParsedSecretCatalogKey, PermissionHint, type QuotaConfig, type QuotaStatus, type ResolvedSecretPath, Result, RetryPolicy, RetryPolicySchema, type RetryPolicyType, SECRET_NAME_RE, type SchemaInfo, type SecretCatalogEntry, type SecretPayload, type SecretScopeOptions, type SecretsError, SecretsService, type ServiceConstructor, ServiceContext, type ServiceContextConfig, ServiceError, ServiceErrorEventSchema, type ServiceErrorEventType, ServiceErrorSchema, type ServiceErrorType, type ServiceRegistration, ServiceRequestEventSchema, type ServiceRequestEventType, ServiceResponseEventSchema, type ServiceResponseEventType, ServiceRetryEventSchema, type ServiceRetryEventType, ServiceSession, ServiceSessionSchema, type ServiceSessionType, StorageQuotaInfo, type SubscribeOptions, type TableInfo, TelemetryConfig, TelemetrySpanEventSchema, type TelemetrySpanEventType, type TinyCloudDebugEnableOptions, type TinyCloudDebugEvent, type TinyCloudDebugLevel, TinyCloudDebugLogger, type TinyCloudDebugTimer, TinyCloudQuota, type ValidationError, type VaultCrypto, type VaultEntry, type VaultError, type VaultGetOptions, type VaultGrantOptions, VaultHeaders, type VaultListOptions, type VaultListPage, type VaultNetworkReadResult, VaultPublicSpaceKVActions, type VaultPutOptions, type ViewInfo, type WasmVaultFunctions, abortedError, authExpiredError, authRequiredError, authUnauthorizedError, authorizationVerdictOf, canonicalizeSecretScope, clearTinyCloudDebugLogs, createKVResponseSchema, createResultSchema, createVaultCrypto, disableTinyCloudDebug, enableTinyCloudDebug, errorResult, getTinyCloudDebugLogs, installTinyCloudDebugGlobals, networkError, notFoundError, parseAuthError, parsePermissionHint, parsePermissionHintFromErrorText, parseSecretCatalogKey, permissionDeniedError, resolveSecretListPrefix, resolveSecretPath, storageLimitReachedError, storageQuotaExceededError, timeoutError, tinyCloudDebugLogger, validateKVListResponse, validateKVResponseHeaders, validateRetryPolicy, validateServiceError, validateServiceRequestEvent, validateServiceResponseEvent, validateServiceSession, validateTelemetrySpanEvent, wrapError };
|
|
2318
|
+
export { type AuthorizationVerdict, BaseService, type BaseServiceOptions, type ColumnInfo, type DataVaultConfig, DataVaultService, DecryptCapabilityProof, DuckDbAction, type DuckDbActionType, type DuckDbBatchOptions, type BatchResponse as DuckDbBatchResponse, DuckDbDatabaseHandle, type DuckDbExecuteOptions, type ExecuteResponse as DuckDbExecuteResponse, type DuckDbOptions, type DuckDbQueryOptions, type QueryResponse as DuckDbQueryResponse, DuckDbService, type DuckDbServiceConfig, type DuckDbStatement, type DuckDbValue, EventHandler, FetchFunction, GenericKVResponseSchema, type GenericKVResponseType, GenericResultSchema, type HookEvent, type HookServiceName, type HookStreamEvent, type HookSubscription, type HookWebhookListOptions, type HookWebhookRecord, type HookWebhookRegistration, type HookWebhookScope, type HookWebhookUnregisterOptions, HooksService, type HooksServiceConfig, type IDataVaultService, type IDuckDbDatabaseHandle, type IDuckDbService, IEncryptionService, type IHooksService, IKVService, type ISecretsService, IService, IServiceContext, InvokeAnyFunction, InvokeFunction, KVListResponseSchema, type KVListResponseType, KVListResultSchema, type KVListResultType, KVResponseHeadersSchema, type KVResponseHeadersType, type ParsedSecretCatalogKey, PermissionHint, type QuotaConfig, type QuotaStatus, type ResolvedSecretPath, Result, RetryPolicy, RetryPolicySchema, type RetryPolicyType, SECRET_NAME_RE, STORAGE_FULL_MESSAGE, STORAGE_WRITE_TOO_LARGE_MESSAGE, type SchemaInfo, type SecretCatalogEntry, type SecretPayload, type SecretScopeOptions, type SecretsError, SecretsService, type ServiceConstructor, ServiceContext, type ServiceContextConfig, ServiceError, ServiceErrorEventSchema, type ServiceErrorEventType, ServiceErrorSchema, type ServiceErrorType, type ServiceRegistration, ServiceRequestEventSchema, type ServiceRequestEventType, ServiceResponseEventSchema, type ServiceResponseEventType, ServiceRetryEventSchema, type ServiceRetryEventType, ServiceSession, ServiceSessionSchema, type ServiceSessionType, StorageQuotaInfo, type SubscribeOptions, type TableInfo, TelemetryConfig, TelemetrySpanEventSchema, type TelemetrySpanEventType, type TinyCloudDebugEnableOptions, type TinyCloudDebugEvent, type TinyCloudDebugLevel, TinyCloudDebugLogger, type TinyCloudDebugTimer, TinyCloudQuota, type ValidationError, type VaultCrypto, type VaultEntry, type VaultError, type VaultGetOptions, type VaultGrantOptions, VaultHeaders, type VaultListOptions, type VaultListPage, type VaultNetworkReadResult, VaultPublicSpaceKVActions, type VaultPutOptions, type ViewInfo, type WasmVaultFunctions, abortedError, authExpiredError, authRequiredError, authUnauthorizedError, authorizationVerdictOf, canonicalizeSecretScope, clearTinyCloudDebugLogs, createKVResponseSchema, createResultSchema, createVaultCrypto, disableTinyCloudDebug, enableTinyCloudDebug, errorResult, getTinyCloudDebugLogs, installTinyCloudDebugGlobals, isStorageFullError, networkError, notFoundError, parseAuthError, parseCapabilityResource, parsePermissionHint, parsePermissionHintFromErrorText, parseSecretCatalogKey, parseStorageQuotaBytes, permissionDeniedError, resolveSecretListPrefix, resolveSecretPath, storageLimitReachedError, storageQuotaExceededError, storageRejectionError, timeoutError, tinyCloudDebugLogger, validateKVListResponse, validateKVResponseHeaders, validateRetryPolicy, validateServiceError, validateServiceRequestEvent, validateServiceResponseEvent, validateServiceSession, validateTelemetrySpanEvent, validatedCapabilityOf, wrapError };
|