@dovetail-v2/refine 0.2.0-alpha.0 → 0.2.0-alpha.1

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.
@@ -42,10 +42,7 @@ export type UseFormReturnType<TQueryFnData extends BaseRecord = BaseRecord, TErr
42
42
  isLoadingSchema: boolean;
43
43
  loadSchemaError: Error | null;
44
44
  fetchSchema: () => void;
45
- enableEditor: boolean;
46
45
  errorResponseBody?: Record<string, unknown> | null;
47
- switchEditor: () => void;
48
- onFinish: (values?: TVariables) => Promise<CreateResponse<TResponse> | UpdateResponse<TResponse> | void>;
49
46
  };
50
47
  declare const useYamlForm: <TQueryFnData extends Unstructured = Unstructured & {
51
48
  id: string;
@@ -1,4 +1,5 @@
1
1
  import { GlobalStore, Unstructured } from 'k8s-api-provider';
2
+ import { Service } from 'kubernetes-types/core/v1';
2
3
  import type { Ingress } from 'kubernetes-types/networking/v1';
3
4
  import { ResourceModel } from './resource-model';
4
5
  type IngressTypes = Required<Ingress> & Unstructured;
@@ -12,9 +13,8 @@ export type RuleItem = {
12
13
  };
13
14
  export declare class IngressModel extends ResourceModel<IngressTypes> {
14
15
  _rawYaml: IngressTypes;
15
- flattenedRules: RuleItem[];
16
16
  constructor(_rawYaml: IngressTypes, _globalStore: GlobalStore);
17
- init(): Promise<void>;
18
17
  private getFullPath;
18
+ getFlattenedRules(services: Service[]): RuleItem[];
19
19
  }
20
20
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dovetail-v2/refine",
3
- "version": "0.2.0-alpha.0",
3
+ "version": "0.2.0-alpha.1",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist",