@chase-shao/vue-component-lib 1.2.45 → 1.2.47

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/main.d.ts CHANGED
@@ -5,12 +5,7 @@ import { default as CreateView } from './components/data-gen/views/CreateView.vu
5
5
  import { default as UpdateView } from './components/data-gen/views/UpdateView.vue';
6
6
  import { default as DetailView } from './components/data-gen/views/DetailView.vue';
7
7
  import { default as ListView } from './components/data-gen/views/ListView.vue';
8
- export interface LibraryConfig {
9
- apiBase?: string;
10
- appSecret?: string;
11
- }
12
- export declare function setLibraryConfig(config: LibraryConfig): void;
13
- export declare function getLibraryConfig(): LibraryConfig;
8
+ import { LibraryConfig } from './stores/libraryConfig';
14
9
  interface PluginOptions {
15
10
  router?: Router;
16
11
  pinia?: Pinia;
@@ -0,0 +1,10 @@
1
+ export interface LibraryConfig {
2
+ apiBase?: string;
3
+ appSecret?: string;
4
+ fieldsGroup?: {
5
+ name: string;
6
+ keys: string[];
7
+ }[];
8
+ }
9
+ export declare function setLibraryConfig(config: LibraryConfig): void;
10
+ export declare function getLibraryConfig(): LibraryConfig;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chase-shao/vue-component-lib",
3
- "version": "1.2.45",
3
+ "version": "1.2.47",
4
4
  "type": "module",
5
5
  "main": "dist/index.cjs.js",
6
6
  "module": "dist/index.es.js",