@univerjs-pro/exchange-client 0.2.10 → 0.2.12

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.
@@ -0,0 +1,5 @@
1
+ export declare const PLUGIN_CONFIG_KEY = "exchange-client.config";
2
+ export declare const configSymbol: unique symbol;
3
+ export interface IUniverExchangeClientConfig {
4
+ }
5
+ export declare const defaultPluginConfig: IUniverExchangeClientConfig;
@@ -1,10 +1,11 @@
1
- import { Injector, LocaleService, Plugin } from '@univerjs/core';
1
+ import { IConfigService, Injector, Plugin } from '@univerjs/core';
2
+ import { IUniverExchangeClientConfig } from './controllers/config.schema';
2
3
  export declare class UniverExchangeClientPlugin extends Plugin {
3
- private readonly _;
4
+ private readonly _config;
4
5
  readonly _injector: Injector;
5
- private readonly _localeService;
6
+ private readonly _configService;
6
7
  static pluginName: string;
7
- constructor(_: undefined, _injector: Injector, _localeService: LocaleService);
8
+ constructor(_config: IUniverExchangeClientConfig, _injector: Injector, _configService: IConfigService);
8
9
  initialize(): void;
9
10
  onReady(): void;
10
11
  }
@@ -0,0 +1,16 @@
1
+ /**
2
+ * Copyright 2023-present DreamNum Inc.
3
+ *
4
+ * Licensed under the Apache License, Version 2.0 (the "License");
5
+ * you may not use this file except in compliance with the License.
6
+ * You may obtain a copy of the License at
7
+ *
8
+ * http://www.apache.org/licenses/LICENSE-2.0
9
+ *
10
+ * Unless required by applicable law or agreed to in writing, software
11
+ * distributed under the License is distributed on an "AS IS" BASIS,
12
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
+ * See the License for the specific language governing permissions and
14
+ * limitations under the License.
15
+ */
16
+ export {};