@univerjs-pro/exchange-client 0.2.12 → 0.2.14
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/lib/cjs/index.js +2 -2
- package/lib/es/index.js +2 -2
- package/lib/types/plugin.d.ts +1 -1
- package/lib/types/services/exchange.service.d.ts +1 -1
- package/lib/types/services/operate.service.d.ts +1 -1
- package/lib/types/services/request.service.d.ts +1 -1
- package/lib/types/services/upload-notification.service.d.ts +1 -1
- package/lib/types/services/upload-progress.service.d.ts +1 -1
- package/lib/umd/index.js +2 -2
- package/package.json +13 -13
package/lib/types/plugin.d.ts
CHANGED
@@ -5,7 +5,7 @@ export declare class UniverExchangeClientPlugin extends Plugin {
|
|
5
5
|
readonly _injector: Injector;
|
6
6
|
private readonly _configService;
|
7
7
|
static pluginName: string;
|
8
|
-
constructor(_config: IUniverExchangeClientConfig, _injector: Injector, _configService: IConfigService);
|
8
|
+
constructor(_config: IUniverExchangeClientConfig | undefined, _injector: Injector, _configService: IConfigService);
|
9
9
|
initialize(): void;
|
10
10
|
onReady(): void;
|
11
11
|
}
|
@@ -56,7 +56,7 @@ export interface IExchangeService {
|
|
56
56
|
*/
|
57
57
|
importFileToUnitId(file: File | string, univerType: UniverType): Promise<string | undefined>;
|
58
58
|
}
|
59
|
-
export declare const IExchangeService: import('@
|
59
|
+
export declare const IExchangeService: import('@wendellhu/redi').IdentifierDecorator<IExchangeService>;
|
60
60
|
export declare class ExchangeService extends Disposable implements IExchangeService, IDisposable {
|
61
61
|
private readonly _requestService;
|
62
62
|
private readonly _requestState$;
|
@@ -59,7 +59,7 @@ export interface IExchangeOperateService {
|
|
59
59
|
*/
|
60
60
|
registerLink(getLink: (unitId: string, univerType: UniverInstanceType) => string): void;
|
61
61
|
}
|
62
|
-
export declare const IExchangeOperateService: import('@
|
62
|
+
export declare const IExchangeOperateService: import('@wendellhu/redi').IdentifierDecorator<IExchangeOperateService>;
|
63
63
|
export declare class ExchangeOperateService extends Disposable implements IExchangeOperateService, IDisposable {
|
64
64
|
private _univerInstanceService;
|
65
65
|
private readonly _messageService;
|
@@ -75,7 +75,7 @@ export interface IRequestService {
|
|
75
75
|
getTask(taskID: string): Promise<IGetTaskResponse | undefined>;
|
76
76
|
signUrl(fileID: string): Promise<ISignUrlResponse | undefined>;
|
77
77
|
}
|
78
|
-
export declare const IRequestService: import('@
|
78
|
+
export declare const IRequestService: import('@wendellhu/redi').IdentifierDecorator<IRequestService>;
|
79
79
|
/**
|
80
80
|
* TODO@Dushusir maybe move to ExchangeClientPlugin plugin for reuse
|
81
81
|
*/
|
@@ -34,7 +34,7 @@ export interface IUploadNotificationService {
|
|
34
34
|
*/
|
35
35
|
pushLink(link: ILinkList): void;
|
36
36
|
}
|
37
|
-
export declare const IUploadNotificationService: import('@
|
37
|
+
export declare const IUploadNotificationService: import('@wendellhu/redi').IdentifierDecorator<IUploadNotificationService>;
|
38
38
|
export declare class UploadNotificationService extends Disposable implements IUploadNotificationService, IDisposable {
|
39
39
|
private readonly _visible$;
|
40
40
|
private readonly _state$;
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import { IProgressService, ProgressService } from '@univerjs/ui';
|
2
2
|
export declare class UploadProgressService extends ProgressService {
|
3
3
|
}
|
4
|
-
export declare const IUploadProgressService: import('@
|
4
|
+
export declare const IUploadProgressService: import('@wendellhu/redi').IdentifierDecorator<IProgressService>;
|