Comparing version 0.1.35 to 0.1.36
@@ -120,2 +120,3 @@ import { CosmosClientOptions } from '@azure/cosmos'; | ||
drivers?: Record<string, DriverConstructor>; | ||
fileUploadDriver?: FileUploadDriver; | ||
computed?: Record<string, Record<string, Function>>; | ||
@@ -138,2 +139,12 @@ context?: Record<string, any>; | ||
} | ||
interface FileUploadDriver { | ||
driverName: string; | ||
uploadFile(args: FileUploadArgs): Promise<string>; | ||
} | ||
interface FileUploadArgs { | ||
blob: Blob; | ||
containerName?: string; | ||
fileName?: string; | ||
options: any; | ||
} | ||
interface MinimalDriver { | ||
@@ -195,2 +206,9 @@ driverName: string; | ||
} | ||
interface MemoryFileUploadDriverOptions { | ||
} | ||
interface AzureStorageBlobUploadDriverOptions { | ||
connectionString: string; | ||
defaultContainer?: string; | ||
fileNamePrefix?: string; | ||
} | ||
interface AzureCosmosDriverOptions { | ||
@@ -223,2 +241,2 @@ endpoint: string; | ||
export { AzureCosmosDriverOptions, Change, ComputedContext, ComputedDecoratorArgs, CreateRadsArgs, DeepPartial, Driver, DriverConstructor, DriverOptions, EntityDecoratorArgs, EntityMethods, FieldDecoratorArgs, FieldDefinition, GenerateClientNormalizedOptions, GenerateClientOptions, GetAggArgs, GetAggArgsAgg, GetAggArgsAny, GetAggResponse, GetArgs, GetArgsAny, GetArgsInclude, GetManyArgs, GetManyArgsAny, GetManyResponse, GetResponse, GetResponseInclude, GetResponseIncludeSelect, GetResponseNoInclude, MemoryDriverOptions, MinimalDriver, PutArgs, PutEffect, RadsRequestContext, Relation, RestDriverOptions, Schema, SchemaValidators, TypeDefinition, UiDecoratorArgs, UiFieldDecoratorArgs, computed, createRads, entity, field, getRestRoutes, precomputed, ui }; | ||
export { AzureCosmosDriverOptions, AzureStorageBlobUploadDriverOptions, Change, ComputedContext, ComputedDecoratorArgs, CreateRadsArgs, DeepPartial, Driver, DriverConstructor, DriverOptions, EntityDecoratorArgs, EntityMethods, FieldDecoratorArgs, FieldDefinition, FileUploadArgs, FileUploadDriver, GenerateClientNormalizedOptions, GenerateClientOptions, GetAggArgs, GetAggArgsAgg, GetAggArgsAny, GetAggResponse, GetArgs, GetArgsAny, GetArgsInclude, GetManyArgs, GetManyArgsAny, GetManyResponse, GetResponse, GetResponseInclude, GetResponseIncludeSelect, GetResponseNoInclude, MemoryDriverOptions, MemoryFileUploadDriverOptions, MinimalDriver, PutArgs, PutEffect, RadsRequestContext, Relation, RestDriverOptions, Schema, SchemaValidators, TypeDefinition, UiDecoratorArgs, UiFieldDecoratorArgs, computed, createRads, entity, field, getRestRoutes, precomputed, ui }; |
@@ -31,3 +31,3 @@ { | ||
}, | ||
"version": "0.1.35", | ||
"version": "0.1.36", | ||
"description": "Say goodbye to boilerplate code and hello to efficient and elegant syntax.", | ||
@@ -38,2 +38,3 @@ "keywords": [], | ||
"peerDependencies": { | ||
"@azure/storage-blob": ">=12", | ||
"@azure/cosmos": ">=3", | ||
@@ -44,2 +45,5 @@ "h3": "*", | ||
"peerDependenciesMeta": { | ||
"@azure/storage-blob": { | ||
"optional": true | ||
}, | ||
"@azure/cosmos": { | ||
@@ -46,0 +50,0 @@ "optional": true |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
188849
5179
10