@dovetail-v2/refine 0.0.65 → 0.0.66-alpha.0
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/{MonacoYamlDiffEditor-da40ae05.js → MonacoYamlDiffEditor-bcc9a5fe.js} +1 -1
- package/dist/{index-cd2b9e5c.js → index-4ac6ee9d.js} +323 -307
- package/dist/refine.js +5 -1
- package/dist/refine.umd.cjs +322 -306
- package/lib/src/plugins/index.d.ts +2 -0
- package/lib/src/plugins/model-plugin.d.ts +3 -2
- package/lib/src/plugins/relation-plugin.d.ts +1 -2
- package/package.json +1 -1
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { GlobalStore, Unstructured, UnstructuredList, IProviderPlugin, DataList } from 'k8s-api-provider';
|
|
2
2
|
import { ResourceModel } from '../models';
|
|
3
|
-
declare class ModelPlugin implements IProviderPlugin<ResourceModel> {
|
|
3
|
+
export declare class ModelPlugin implements IProviderPlugin<ResourceModel> {
|
|
4
4
|
_globalStore?: GlobalStore;
|
|
5
|
+
private ModelMap;
|
|
5
6
|
init(globalStore: GlobalStore): void;
|
|
6
7
|
processData(res: UnstructuredList): Promise<DataList<ResourceModel<Unstructured>>>;
|
|
7
8
|
processItem(item: Unstructured): Promise<ResourceModel>;
|
|
8
9
|
restoreData(res: DataList<ResourceModel>): UnstructuredList;
|
|
9
10
|
restoreItem(item: ResourceModel): Unstructured;
|
|
11
|
+
setModelMap(key: string, model: ResourceModel): void;
|
|
10
12
|
}
|
|
11
13
|
export declare const modelPlugin: ModelPlugin;
|
|
12
|
-
export {};
|
|
@@ -13,7 +13,7 @@ export type Relation = {
|
|
|
13
13
|
export type ExtendObjectMeta = ObjectMeta & {
|
|
14
14
|
relations?: Relation[];
|
|
15
15
|
};
|
|
16
|
-
declare class RelationPlugin {
|
|
16
|
+
export declare class RelationPlugin {
|
|
17
17
|
private globalStore?;
|
|
18
18
|
init(globalStore: GlobalStore): void;
|
|
19
19
|
processData(res: UnstructuredList): Promise<UnstructuredList>;
|
|
@@ -24,4 +24,3 @@ declare class RelationPlugin {
|
|
|
24
24
|
private appendRelation;
|
|
25
25
|
}
|
|
26
26
|
export declare const relationPlugin: RelationPlugin;
|
|
27
|
-
export {};
|