@dovetail-v2/refine 0.3.11-alpha.2 → 0.3.11-alpha.3

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.
@@ -2,4 +2,6 @@ import { i18n as I18nType } from 'i18next';
2
2
  import { ResourceModel, PodModel } from 'src/models';
3
3
  import { ShowTab } from './fields';
4
4
  export declare const EventsTab: <Model extends ResourceModel<import("k8s-api-provider").Unstructured>>(i18n: I18nType) => ShowTab<Model>;
5
+ export declare const ConditionsTab: <Model extends ResourceModel<import("k8s-api-provider").Unstructured>>(i18n: I18nType) => ShowTab<Model>;
6
+ export declare const LabelAnnotationsTab: <Model extends ResourceModel<import("k8s-api-provider").Unstructured>>(i18n: I18nType) => ShowTab<Model>;
5
7
  export declare const PodLogTab: <Model extends PodModel>(i18n: I18nType, apiUrl: string) => ShowTab<Model>;
@@ -9,6 +9,7 @@ type Props = {
9
9
  color: Record<string, StatusCapsuleColor | 'loading'>;
10
10
  text: Record<string, string>;
11
11
  };
12
+ size?: 'small' | 'medium';
12
13
  };
13
14
  export declare const StateTag: React.FC<Props>;
14
15
  export {};
@@ -5,5 +5,5 @@ type Props = {
5
5
  height?: string;
6
6
  modified: string;
7
7
  };
8
- declare const MonacoYamlDiffEditor: React.FC<Props>;
8
+ export declare const MonacoYamlDiffEditor: React.FC<Props>;
9
9
  export default MonacoYamlDiffEditor;
@@ -15,5 +15,5 @@ type Props<T extends string | Record<string, unknown> = string> = {
15
15
  schemas?: JSONSchema7[] | null;
16
16
  readOnly?: boolean;
17
17
  };
18
- declare function MonacoYamlEditor<T extends string | Record<string, unknown> = string>(props: Props<T>): JSX.Element;
18
+ export declare function MonacoYamlEditor<T extends string | Record<string, unknown> = string>(props: Props<T>): JSX.Element;
19
19
  export default MonacoYamlEditor;
@@ -1 +1,3 @@
1
1
  export * from './YamlEditorComponent';
2
+ export * from './MonacoYamlDiffEditor';
3
+ export * from './MonacoYamlEditor';
@@ -16,6 +16,7 @@ export * from './WorkloadPodsTable';
16
16
  export * from './Dropdowns/CronJobDropdown';
17
17
  export * from './Dropdowns/K8sDropdown';
18
18
  export * from './DropdownMenuItems';
19
+ export * from './EventsTable';
19
20
  export * from './ResourceUsageBar';
20
21
  export * from './WorkloadReplicas';
21
22
  export * from './CronjobJobsTable';
package/dist/i18n.d.ts CHANGED
@@ -252,6 +252,7 @@ export declare const resources: {
252
252
  name_duplicated: string;
253
253
  input_correct_port: string;
254
254
  optional_with_bracket: string;
255
+ label_annotations: string;
255
256
  };
256
257
  };
257
258
  'zh-CN': {
@@ -520,6 +521,7 @@ export declare const resources: {
520
521
  node_port_duplicated: string;
521
522
  all: string;
522
523
  optional_with_bracket: string;
524
+ label_annotations: string;
523
525
  };
524
526
  };
525
527
  };
@@ -249,6 +249,7 @@ declare const _default: {
249
249
  name_duplicated: string;
250
250
  input_correct_port: string;
251
251
  optional_with_bracket: string;
252
+ label_annotations: string;
252
253
  };
253
254
  };
254
255
  export default _default;
@@ -264,6 +264,7 @@ declare const _default: {
264
264
  node_port_duplicated: string;
265
265
  all: string;
266
266
  optional_with_bracket: string;
267
+ label_annotations: string;
267
268
  };
268
269
  };
269
270
  export default _default;
@@ -13,5 +13,7 @@ export declare class DeploymentModel extends WorkloadModel {
13
13
  init(): Promise<void>;
14
14
  private getReplicaSets;
15
15
  get stateDisplay(): ResourceState.UPDATING | ResourceState.READY | ResourceState.STOPPED;
16
+ get revision(): string | undefined;
17
+ get currentReplicaSet(): ReplicaSetModel | undefined;
16
18
  }
17
19
  export {};
@@ -12,6 +12,7 @@ export declare class ReplicaSetModel extends ResourceModel<RequiredReplicaSet> {
12
12
  constructor(_rawYaml: RequiredReplicaSet, _globalStore: GlobalStore);
13
13
  init(): Promise<void>;
14
14
  private getPods;
15
+ get revision(): string | undefined;
15
16
  get ownerDeploymentName(): string | undefined;
16
17
  }
17
18
  export {};