image-salon-sdk 1.0.38 → 1.0.40
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/api/file-service.d.ts +1 -0
- package/dist/components/loader/loader.d.ts +1 -1
- package/dist/grpc/generated/exposed-file-service.client.d.ts +13 -1
- package/dist/grpc/generated/exposed-file-service.d.ts +31 -0
- package/dist/image-salon-sdk.js +1050 -877
- package/dist/image-salon-sdk.umd.cjs +5 -5
- package/dist/image-salon.d.ts +5 -1
- package/dist/style.css +1 -1
- package/dist/types/image-salon-types.d.ts +5 -1
- package/package.json +1 -1
|
@@ -3,6 +3,7 @@ import { FileType } from '../utils/types';
|
|
|
3
3
|
import { RpcOptions } from '@protobuf-ts/runtime-rpc/build/types/rpc-options';
|
|
4
4
|
|
|
5
5
|
export declare const createFileReq: (name: string, nestedFolderName: string, url: string, type: FileType, folderName: string, options: RpcOptions) => Promise<any>;
|
|
6
|
+
export declare const createFileReqForUser: (url: string, type: FileType, options: RpcOptions) => Promise<any>;
|
|
6
7
|
export declare const getFilesByFolder: (folderName: string, cursor: string, limit: number, options: RpcOptions) => Promise<import('@protobuf-ts/runtime-rpc').FinishedUnaryCall<GetFilesByFolderRequest, import('../grpc/generated/exposed-file-service').GetFilesByFolderResponse>>;
|
|
7
8
|
export declare const searchFiles: (query: string, cursor: string, limit: number, options: RpcOptions) => Promise<import('@protobuf-ts/runtime-rpc').FinishedUnaryCall<SearchRequest, import('../grpc/generated/exposed-file-service').SearchResult>>;
|
|
8
9
|
export declare const updateFileReq: (key: string, name: string, nestedFolderName: string, url: string, thumborUrl: string, proxyUrl: string, type: FileType, folderName: string, options: RpcOptions) => Promise<any>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { RpcTransport, ServiceInfo, UnaryCall, RpcOptions } from '@protobuf-ts/runtime-rpc';
|
|
2
|
-
import { SearchResult, SearchRequest, GetFilesByFolderResponse, GetFilesByFolderRequest, DeleteFileResponse, DeleteFileRequest, File, CreateFileRequest } from './exposed-file-service';
|
|
2
|
+
import { SearchResult, SearchRequest, CreateUserFileRequest, GetFilesByFolderResponse, GetFilesByFolderRequest, DeleteFileResponse, DeleteFileRequest, File, CreateFileRequest } from './exposed-file-service';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* @generated from protobuf service com.hamropatro.grpc.cms.FileService
|
|
@@ -21,6 +21,12 @@ export interface IFileServiceClient {
|
|
|
21
21
|
* @generated from protobuf rpc: getFilesByFolder(com.hamropatro.grpc.cms.GetFilesByFolderRequest) returns (com.hamropatro.grpc.cms.GetFilesByFolderResponse);
|
|
22
22
|
*/
|
|
23
23
|
getFilesByFolder(input: GetFilesByFolderRequest, options?: RpcOptions): UnaryCall<GetFilesByFolderRequest, GetFilesByFolderResponse>;
|
|
24
|
+
/**
|
|
25
|
+
* user sepecific file
|
|
26
|
+
*
|
|
27
|
+
* @generated from protobuf rpc: createUserFile(com.hamropatro.grpc.cms.CreateUserFileRequest) returns (com.hamropatro.grpc.cms.File);
|
|
28
|
+
*/
|
|
29
|
+
createUserFile(input: CreateUserFileRequest, options?: RpcOptions): UnaryCall<CreateUserFileRequest, File>;
|
|
24
30
|
/**
|
|
25
31
|
* @generated from protobuf rpc: search(com.hamropatro.grpc.cms.SearchRequest) returns (com.hamropatro.grpc.cms.SearchResult);
|
|
26
32
|
*/
|
|
@@ -53,6 +59,12 @@ export declare class FileServiceClient implements IFileServiceClient, ServiceInf
|
|
|
53
59
|
* @generated from protobuf rpc: getFilesByFolder(com.hamropatro.grpc.cms.GetFilesByFolderRequest) returns (com.hamropatro.grpc.cms.GetFilesByFolderResponse);
|
|
54
60
|
*/
|
|
55
61
|
getFilesByFolder(input: GetFilesByFolderRequest, options?: RpcOptions): UnaryCall<GetFilesByFolderRequest, GetFilesByFolderResponse>;
|
|
62
|
+
/**
|
|
63
|
+
* user sepecific file
|
|
64
|
+
*
|
|
65
|
+
* @generated from protobuf rpc: createUserFile(com.hamropatro.grpc.cms.CreateUserFileRequest) returns (com.hamropatro.grpc.cms.File);
|
|
66
|
+
*/
|
|
67
|
+
createUserFile(input: CreateUserFileRequest, options?: RpcOptions): UnaryCall<CreateUserFileRequest, File>;
|
|
56
68
|
/**
|
|
57
69
|
* @generated from protobuf rpc: search(com.hamropatro.grpc.cms.SearchRequest) returns (com.hamropatro.grpc.cms.SearchResult);
|
|
58
70
|
*/
|
|
@@ -55,6 +55,27 @@ export interface CreateFileRequest {
|
|
|
55
55
|
* @generated from protobuf field: com.hamropatro.grpc.cms.FileType type = 5;
|
|
56
56
|
*/
|
|
57
57
|
type: FileType;
|
|
58
|
+
/**
|
|
59
|
+
* @generated from protobuf field: string extension = 6;
|
|
60
|
+
*/
|
|
61
|
+
extension: string;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* @generated from protobuf message com.hamropatro.grpc.cms.CreateUserFileRequest
|
|
65
|
+
*/
|
|
66
|
+
export interface CreateUserFileRequest {
|
|
67
|
+
/**
|
|
68
|
+
* @generated from protobuf field: string url = 1;
|
|
69
|
+
*/
|
|
70
|
+
url: string;
|
|
71
|
+
/**
|
|
72
|
+
* @generated from protobuf field: com.hamropatro.grpc.cms.FileType type = 2;
|
|
73
|
+
*/
|
|
74
|
+
type: FileType;
|
|
75
|
+
/**
|
|
76
|
+
* @generated from protobuf field: string extension = 3;
|
|
77
|
+
*/
|
|
78
|
+
extension: string;
|
|
58
79
|
}
|
|
59
80
|
/**
|
|
60
81
|
* @generated from protobuf message com.hamropatro.grpc.cms.File
|
|
@@ -225,6 +246,16 @@ declare class CreateFileRequest$Type extends MessageType<CreateFileRequest> {
|
|
|
225
246
|
* @generated MessageType for protobuf message com.hamropatro.grpc.cms.CreateFileRequest
|
|
226
247
|
*/
|
|
227
248
|
export declare const CreateFileRequest: CreateFileRequest$Type;
|
|
249
|
+
declare class CreateUserFileRequest$Type extends MessageType<CreateUserFileRequest> {
|
|
250
|
+
constructor();
|
|
251
|
+
create(value?: PartialMessage<CreateUserFileRequest>): CreateUserFileRequest;
|
|
252
|
+
internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: CreateUserFileRequest): CreateUserFileRequest;
|
|
253
|
+
internalBinaryWrite(message: CreateUserFileRequest, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
|
|
254
|
+
}
|
|
255
|
+
/**
|
|
256
|
+
* @generated MessageType for protobuf message com.hamropatro.grpc.cms.CreateUserFileRequest
|
|
257
|
+
*/
|
|
258
|
+
export declare const CreateUserFileRequest: CreateUserFileRequest$Type;
|
|
228
259
|
declare class File$Type extends MessageType<File> {
|
|
229
260
|
constructor();
|
|
230
261
|
create(value?: PartialMessage<File>): File;
|