@kong-ui-public/entities-upstreams-targets 3.12.22 → 3.12.23-pr.2722.b1aa23ae4.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/package.json +4 -4
- package/dist/entities-upstreams-targets.es.js +0 -3701
- package/dist/entities-upstreams-targets.umd.js +0 -1
- package/dist/style.css +0 -1
- package/dist/types/components/TargetForm.vue.d.ts +0 -87
- package/dist/types/components/TargetForm.vue.d.ts.map +0 -1
- package/dist/types/components/TargetsList.vue.d.ts +0 -129
- package/dist/types/components/TargetsList.vue.d.ts.map +0 -1
- package/dist/types/components/UpstreamsConfigCard.vue.d.ts +0 -62
- package/dist/types/components/UpstreamsConfigCard.vue.d.ts.map +0 -1
- package/dist/types/components/UpstreamsForm.vue.d.ts +0 -43
- package/dist/types/components/UpstreamsForm.vue.d.ts.map +0 -1
- package/dist/types/components/UpstreamsFormActiveHealthCheck.vue.d.ts +0 -179
- package/dist/types/components/UpstreamsFormActiveHealthCheck.vue.d.ts.map +0 -1
- package/dist/types/components/UpstreamsFormGeneralInfo.vue.d.ts +0 -69
- package/dist/types/components/UpstreamsFormGeneralInfo.vue.d.ts.map +0 -1
- package/dist/types/components/UpstreamsFormHealthChecks.vue.d.ts +0 -49
- package/dist/types/components/UpstreamsFormHealthChecks.vue.d.ts.map +0 -1
- package/dist/types/components/UpstreamsFormLoadBalancing.vue.d.ts +0 -172
- package/dist/types/components/UpstreamsFormLoadBalancing.vue.d.ts.map +0 -1
- package/dist/types/components/UpstreamsFormPassiveHealthCheck.vue.d.ts +0 -91
- package/dist/types/components/UpstreamsFormPassiveHealthCheck.vue.d.ts.map +0 -1
- package/dist/types/components/UpstreamsList.vue.d.ts +0 -106
- package/dist/types/components/UpstreamsList.vue.d.ts.map +0 -1
- package/dist/types/composables/index.d.ts +0 -10
- package/dist/types/composables/index.d.ts.map +0 -1
- package/dist/types/composables/useHelpers.d.ts +0 -12
- package/dist/types/composables/useHelpers.d.ts.map +0 -1
- package/dist/types/composables/useI18n.d.ts +0 -9
- package/dist/types/composables/useI18n.d.ts.map +0 -1
- package/dist/types/composables/useMultiselectCreation.d.ts +0 -23
- package/dist/types/composables/useMultiselectCreation.d.ts.map +0 -1
- package/dist/types/constants.d.ts +0 -22
- package/dist/types/constants.d.ts.map +0 -1
- package/dist/types/index.d.ts +0 -12
- package/dist/types/index.d.ts.map +0 -1
- package/dist/types/links.d.ts +0 -6
- package/dist/types/links.d.ts.map +0 -1
- package/dist/types/targets-endpoints.d.ts +0 -18
- package/dist/types/targets-endpoints.d.ts.map +0 -1
- package/dist/types/types/index.d.ts +0 -18
- package/dist/types/types/index.d.ts.map +0 -1
- package/dist/types/types/target-form.d.ts +0 -30
- package/dist/types/types/target-form.d.ts.map +0 -1
- package/dist/types/types/targets-list.d.ts +0 -18
- package/dist/types/types/targets-list.d.ts.map +0 -1
- package/dist/types/types/upstreams-config.d.ts +0 -29
- package/dist/types/types/upstreams-config.d.ts.map +0 -1
- package/dist/types/types/upstreams-form.d.ts +0 -168
- package/dist/types/types/upstreams-form.d.ts.map +0 -1
- package/dist/types/types/upstreams-list.d.ts +0 -19
- package/dist/types/types/upstreams-list.d.ts.map +0 -1
- package/dist/types/upstreams-endpoints.d.ts +0 -22
- package/dist/types/upstreams-endpoints.d.ts.map +0 -1
|
@@ -1,91 +0,0 @@
|
|
|
1
|
-
import type { PropType } from 'vue';
|
|
2
|
-
import type { HealthCheckType } from '../types';
|
|
3
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
-
type: {
|
|
5
|
-
type: PropType<HealthCheckType>;
|
|
6
|
-
required: true;
|
|
7
|
-
};
|
|
8
|
-
healthySuccesses: {
|
|
9
|
-
type: StringConstructor;
|
|
10
|
-
required: true;
|
|
11
|
-
};
|
|
12
|
-
healthyHttpStatuses: {
|
|
13
|
-
type: PropType<string[]>;
|
|
14
|
-
required: true;
|
|
15
|
-
};
|
|
16
|
-
unhealthyTimeouts: {
|
|
17
|
-
type: StringConstructor;
|
|
18
|
-
required: true;
|
|
19
|
-
};
|
|
20
|
-
unhealthyHttpFailures: {
|
|
21
|
-
type: StringConstructor;
|
|
22
|
-
required: true;
|
|
23
|
-
};
|
|
24
|
-
unhealthyHttpStatuses: {
|
|
25
|
-
type: PropType<string[]>;
|
|
26
|
-
required: true;
|
|
27
|
-
};
|
|
28
|
-
unhealthyTcpFailures: {
|
|
29
|
-
type: StringConstructor;
|
|
30
|
-
required: true;
|
|
31
|
-
};
|
|
32
|
-
readonly: {
|
|
33
|
-
type: BooleanConstructor;
|
|
34
|
-
required: false;
|
|
35
|
-
default: boolean;
|
|
36
|
-
};
|
|
37
|
-
}>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
38
|
-
"update:type": (val: HealthCheckType) => any;
|
|
39
|
-
"update:healthy-successes": (val: string) => any;
|
|
40
|
-
"update:healthy-http-statuses": (val: string[]) => any;
|
|
41
|
-
"update:unhealthy-http-failures": (val: string) => any;
|
|
42
|
-
"update:unhealthy-tcp-failures": (val: string) => any;
|
|
43
|
-
"update:unhealthy-http-statuses": (val: string[]) => any;
|
|
44
|
-
"update:unhealthy-timeouts": (val: string) => any;
|
|
45
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
46
|
-
type: {
|
|
47
|
-
type: PropType<HealthCheckType>;
|
|
48
|
-
required: true;
|
|
49
|
-
};
|
|
50
|
-
healthySuccesses: {
|
|
51
|
-
type: StringConstructor;
|
|
52
|
-
required: true;
|
|
53
|
-
};
|
|
54
|
-
healthyHttpStatuses: {
|
|
55
|
-
type: PropType<string[]>;
|
|
56
|
-
required: true;
|
|
57
|
-
};
|
|
58
|
-
unhealthyTimeouts: {
|
|
59
|
-
type: StringConstructor;
|
|
60
|
-
required: true;
|
|
61
|
-
};
|
|
62
|
-
unhealthyHttpFailures: {
|
|
63
|
-
type: StringConstructor;
|
|
64
|
-
required: true;
|
|
65
|
-
};
|
|
66
|
-
unhealthyHttpStatuses: {
|
|
67
|
-
type: PropType<string[]>;
|
|
68
|
-
required: true;
|
|
69
|
-
};
|
|
70
|
-
unhealthyTcpFailures: {
|
|
71
|
-
type: StringConstructor;
|
|
72
|
-
required: true;
|
|
73
|
-
};
|
|
74
|
-
readonly: {
|
|
75
|
-
type: BooleanConstructor;
|
|
76
|
-
required: false;
|
|
77
|
-
default: boolean;
|
|
78
|
-
};
|
|
79
|
-
}>> & Readonly<{
|
|
80
|
-
"onUpdate:type"?: ((val: HealthCheckType) => any) | undefined;
|
|
81
|
-
"onUpdate:healthy-successes"?: ((val: string) => any) | undefined;
|
|
82
|
-
"onUpdate:healthy-http-statuses"?: ((val: string[]) => any) | undefined;
|
|
83
|
-
"onUpdate:unhealthy-http-failures"?: ((val: string) => any) | undefined;
|
|
84
|
-
"onUpdate:unhealthy-tcp-failures"?: ((val: string) => any) | undefined;
|
|
85
|
-
"onUpdate:unhealthy-http-statuses"?: ((val: string[]) => any) | undefined;
|
|
86
|
-
"onUpdate:unhealthy-timeouts"?: ((val: string) => any) | undefined;
|
|
87
|
-
}>, {
|
|
88
|
-
readonly: boolean;
|
|
89
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
90
|
-
export default _default;
|
|
91
|
-
//# sourceMappingURL=UpstreamsFormPassiveHealthCheck.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"UpstreamsFormPassiveHealthCheck.vue.d.ts","sourceRoot":"","sources":["../../../src/components/UpstreamsFormPassiveHealthCheck.vue"],"names":[],"mappings":"AAsRA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAEnC,OAAO,KAAK,EAAE,eAAe,EAA6B,MAAM,UAAU,CAAA;;;cAqlBtD,QAAQ,CAAC,eAAe,CAAC;;;;;;;;cAQ1B,QAAQ,CAAC,MAAM,EAAE,CAAC;;;;;;;;;;;;cAYlB,QAAQ,CAAC,MAAM,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;cApBjB,QAAQ,CAAC,eAAe,CAAC;;;;;;;;cAQ1B,QAAQ,CAAC,MAAM,EAAE,CAAC;;;;;;;;;;;;cAYlB,QAAQ,CAAC,MAAM,EAAE,CAAC;;;;;;;;;;;;;;;;;;;;;;;AA1BrC,wBAuCG"}
|
|
@@ -1,106 +0,0 @@
|
|
|
1
|
-
import type { PropType } from 'vue';
|
|
2
|
-
import type { AxiosError } from 'axios';
|
|
3
|
-
import type { KongManagerUpstreamsListConfig, KonnectUpstreamsListConfig, EntityRow, CopyEventPayload } from '../types';
|
|
4
|
-
import '@kong-ui-public/entities-shared/dist/style.css';
|
|
5
|
-
declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
6
|
-
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
7
|
-
config: {
|
|
8
|
-
type: PropType<KonnectUpstreamsListConfig | KongManagerUpstreamsListConfig>;
|
|
9
|
-
required: true;
|
|
10
|
-
validator: (config: KonnectUpstreamsListConfig | KongManagerUpstreamsListConfig) => boolean;
|
|
11
|
-
};
|
|
12
|
-
cacheIdentifier: {
|
|
13
|
-
type: StringConstructor;
|
|
14
|
-
default: string;
|
|
15
|
-
};
|
|
16
|
-
/** A synchronous or asynchronous function, that returns a boolean, that evaluates if the user can create a new entity */
|
|
17
|
-
canCreate: {
|
|
18
|
-
type: PropType<() => boolean | Promise<boolean>>;
|
|
19
|
-
required: false;
|
|
20
|
-
default: () => Promise<boolean>;
|
|
21
|
-
};
|
|
22
|
-
/** A synchronous or asynchronous function, that returns a boolean, that evaluates if the user can delete a given entity */
|
|
23
|
-
canDelete: {
|
|
24
|
-
type: PropType<(row: EntityRow) => boolean | Promise<boolean>>;
|
|
25
|
-
required: false;
|
|
26
|
-
default: () => Promise<boolean>;
|
|
27
|
-
};
|
|
28
|
-
/** A synchronous or asynchronous function, that returns a boolean, that evaluates if the user can edit a given entity */
|
|
29
|
-
canEdit: {
|
|
30
|
-
type: PropType<(row: EntityRow) => boolean | Promise<boolean>>;
|
|
31
|
-
required: false;
|
|
32
|
-
default: () => Promise<boolean>;
|
|
33
|
-
};
|
|
34
|
-
/** A synchronous or asynchronous function, that returns a boolean, that evaluates if the user can retrieve (view details) a given entity */
|
|
35
|
-
canRetrieve: {
|
|
36
|
-
type: PropType<(row: EntityRow) => boolean | Promise<boolean>>;
|
|
37
|
-
required: false;
|
|
38
|
-
default: () => Promise<boolean>;
|
|
39
|
-
};
|
|
40
|
-
/** default to false, setting to true will teleport the toolbar button to the destination in the consuming app */
|
|
41
|
-
useActionOutside: {
|
|
42
|
-
type: BooleanConstructor;
|
|
43
|
-
default: boolean;
|
|
44
|
-
};
|
|
45
|
-
}>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
46
|
-
error: (error: AxiosError<unknown, any>) => any;
|
|
47
|
-
"click:learn-more": () => any;
|
|
48
|
-
"copy:success": (payload: CopyEventPayload) => any;
|
|
49
|
-
"copy:error": (payload: CopyEventPayload) => any;
|
|
50
|
-
"delete:success": (upstream: EntityRow) => any;
|
|
51
|
-
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
52
|
-
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
53
|
-
config: {
|
|
54
|
-
type: PropType<KonnectUpstreamsListConfig | KongManagerUpstreamsListConfig>;
|
|
55
|
-
required: true;
|
|
56
|
-
validator: (config: KonnectUpstreamsListConfig | KongManagerUpstreamsListConfig) => boolean;
|
|
57
|
-
};
|
|
58
|
-
cacheIdentifier: {
|
|
59
|
-
type: StringConstructor;
|
|
60
|
-
default: string;
|
|
61
|
-
};
|
|
62
|
-
/** A synchronous or asynchronous function, that returns a boolean, that evaluates if the user can create a new entity */
|
|
63
|
-
canCreate: {
|
|
64
|
-
type: PropType<() => boolean | Promise<boolean>>;
|
|
65
|
-
required: false;
|
|
66
|
-
default: () => Promise<boolean>;
|
|
67
|
-
};
|
|
68
|
-
/** A synchronous or asynchronous function, that returns a boolean, that evaluates if the user can delete a given entity */
|
|
69
|
-
canDelete: {
|
|
70
|
-
type: PropType<(row: EntityRow) => boolean | Promise<boolean>>;
|
|
71
|
-
required: false;
|
|
72
|
-
default: () => Promise<boolean>;
|
|
73
|
-
};
|
|
74
|
-
/** A synchronous or asynchronous function, that returns a boolean, that evaluates if the user can edit a given entity */
|
|
75
|
-
canEdit: {
|
|
76
|
-
type: PropType<(row: EntityRow) => boolean | Promise<boolean>>;
|
|
77
|
-
required: false;
|
|
78
|
-
default: () => Promise<boolean>;
|
|
79
|
-
};
|
|
80
|
-
/** A synchronous or asynchronous function, that returns a boolean, that evaluates if the user can retrieve (view details) a given entity */
|
|
81
|
-
canRetrieve: {
|
|
82
|
-
type: PropType<(row: EntityRow) => boolean | Promise<boolean>>;
|
|
83
|
-
required: false;
|
|
84
|
-
default: () => Promise<boolean>;
|
|
85
|
-
};
|
|
86
|
-
/** default to false, setting to true will teleport the toolbar button to the destination in the consuming app */
|
|
87
|
-
useActionOutside: {
|
|
88
|
-
type: BooleanConstructor;
|
|
89
|
-
default: boolean;
|
|
90
|
-
};
|
|
91
|
-
}>> & Readonly<{
|
|
92
|
-
onError?: ((error: AxiosError<unknown, any>) => any) | undefined;
|
|
93
|
-
"onClick:learn-more"?: (() => any) | undefined;
|
|
94
|
-
"onCopy:success"?: ((payload: CopyEventPayload) => any) | undefined;
|
|
95
|
-
"onCopy:error"?: ((payload: CopyEventPayload) => any) | undefined;
|
|
96
|
-
"onDelete:success"?: ((upstream: EntityRow) => any) | undefined;
|
|
97
|
-
}>, {
|
|
98
|
-
cacheIdentifier: string;
|
|
99
|
-
canCreate: () => boolean | Promise<boolean>;
|
|
100
|
-
canDelete: (row: EntityRow) => boolean | Promise<boolean>;
|
|
101
|
-
canEdit: (row: EntityRow) => boolean | Promise<boolean>;
|
|
102
|
-
canRetrieve: (row: EntityRow) => boolean | Promise<boolean>;
|
|
103
|
-
useActionOutside: boolean;
|
|
104
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
105
|
-
export default _default;
|
|
106
|
-
//# sourceMappingURL=UpstreamsList.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"UpstreamsList.vue.d.ts","sourceRoot":"","sources":["../../../src/components/UpstreamsList.vue"],"names":[],"mappings":"AA4iBA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAEnC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAGvC,OAAO,KAAK,EACV,8BAA8B,EAC9B,0BAA0B,EAC1B,SAAS,EACT,gBAAgB,EACjB,MAAM,UAAU,CAAA;AAWjB,OAAO,gDAAgD,CAAA;;IAygCrD,oHAAoH;;cAElG,QAAQ,CAAC,0BAA0B,GAAG,8BAA8B,CAAC;;4BAEjE,0BAA0B,GAAG,8BAA8B,KAAG,OAAO;;;;;;IAY3F,yHAAyH;;cAErG,QAAQ,CAAC,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;;;;IAI9D,2HAA2H;;cAEvG,QAAQ,CAAC,CAAC,GAAG,EAAE,SAAS,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;;;;IAI5E,yHAAyH;;cAErG,QAAQ,CAAC,CAAC,GAAG,EAAE,SAAS,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;;;;IAI5E,4IAA4I;;cAExH,QAAQ,CAAC,CAAC,GAAG,EAAE,SAAS,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;;;;IAI5E,iHAAiH;;;;;;;;;;;;IAxCjH,oHAAoH;;cAElG,QAAQ,CAAC,0BAA0B,GAAG,8BAA8B,CAAC;;4BAEjE,0BAA0B,GAAG,8BAA8B,KAAG,OAAO;;;;;;IAY3F,yHAAyH;;cAErG,QAAQ,CAAC,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;;;;IAI9D,2HAA2H;;cAEvG,QAAQ,CAAC,CAAC,GAAG,EAAE,SAAS,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;;;;IAI5E,yHAAyH;;cAErG,QAAQ,CAAC,CAAC,GAAG,EAAE,SAAS,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;;;;IAI5E,4IAA4I;;cAExH,QAAQ,CAAC,CAAC,GAAG,EAAE,SAAS,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;;;;IAI5E,iHAAiH;;;;;;;;;;;;;qBAtB9E,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;qBAM1B,SAAS,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;mBAMxC,SAAS,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;uBAMxC,SAAS,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;;;AAzC7E,wBAmDG"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import useI18n from './useI18n';
|
|
2
|
-
import useMultiselectCreation from './useMultiselectCreation';
|
|
3
|
-
import useHelpers from './useHelpers';
|
|
4
|
-
declare const _default: {
|
|
5
|
-
useI18n: typeof useI18n;
|
|
6
|
-
useMultiselectCreation: typeof useMultiselectCreation;
|
|
7
|
-
useHelpers: typeof useHelpers;
|
|
8
|
-
};
|
|
9
|
-
export default _default;
|
|
10
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/composables/index.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,WAAW,CAAA;AAC/B,OAAO,sBAAsB,MAAM,0BAA0B,CAAA;AAC7D,OAAO,UAAU,MAAM,cAAc,CAAA;;;;;;AAGrC,wBAIC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { UpstreamFormFields, UpstreamResponse } from '../types';
|
|
2
|
-
export default function useHelpers(): {
|
|
3
|
-
isInteger: (val: string) => boolean;
|
|
4
|
-
inRange: (val: string, min: number, max: number) => boolean;
|
|
5
|
-
stringToNumberArray: (arr: string[]) => number[];
|
|
6
|
-
numberToStringArray: (arr: number[]) => string[];
|
|
7
|
-
upstreamsResponseToFields: (response: UpstreamResponse) => UpstreamFormFields;
|
|
8
|
-
getDefaultUpstreamFields: () => UpstreamFormFields;
|
|
9
|
-
objectsAreEqual: (a: Record<string, any>, b: Record<string, any>) => boolean;
|
|
10
|
-
cloneDeep: (val: Record<string, any>) => Record<string, any>;
|
|
11
|
-
};
|
|
12
|
-
//# sourceMappingURL=useHelpers.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useHelpers.d.ts","sourceRoot":"","sources":["../../../src/composables/useHelpers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAA;AAQpE,MAAM,CAAC,OAAO,UAAU,UAAU;qBACR,MAAM,KAAG,OAAO;mBAMlB,MAAM,OAAO,MAAM,OAAO,MAAM,KAAG,OAAO;+BAS9B,MAAM,EAAE,KAAG,MAAM,EAAE;+BAInB,MAAM,EAAE,KAAG,MAAM,EAAE;0CA0FR,gBAAgB,KAAG,kBAAkB;oCAJ7C,kBAAkB;yBAQ3B,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAG,OAAO;qBASzD,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;EAcjE"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { createI18n, i18nTComponent } from '@kong-ui-public/i18n';
|
|
2
|
-
import english from '../locales/en.json';
|
|
3
|
-
interface UseI18nReturn {
|
|
4
|
-
i18n: ReturnType<typeof createI18n<typeof english>>;
|
|
5
|
-
i18nT: ReturnType<typeof i18nTComponent<typeof english>>;
|
|
6
|
-
}
|
|
7
|
-
export default function useI18n(): UseI18nReturn;
|
|
8
|
-
export {};
|
|
9
|
-
//# sourceMappingURL=useI18n.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useI18n.d.ts","sourceRoot":"","sources":["../../../src/composables/useI18n.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AACjE,OAAO,OAAO,MAAM,oBAAoB,CAAA;AAExC,UAAU,aAAa;IACrB,IAAI,EAAE,UAAU,CAAC,OAAO,UAAU,CAAC,OAAO,OAAO,CAAC,CAAC,CAAA;IACnD,KAAK,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,OAAO,OAAO,CAAC,CAAC,CAAA;CACzD;AAED,MAAM,CAAC,OAAO,UAAU,OAAO,IAAI,aAAa,CAO/C"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import type { MultiselectComposableOptions } from '../types';
|
|
2
|
-
import type { MultiselectItem } from '@kong/kongponents';
|
|
3
|
-
export default function useMultiselectCreation(options: MultiselectComposableOptions): {
|
|
4
|
-
addedItems: import("vue").Ref<{
|
|
5
|
-
label: string;
|
|
6
|
-
value: string;
|
|
7
|
-
key?: string | undefined;
|
|
8
|
-
selected?: boolean | undefined;
|
|
9
|
-
disabled?: boolean | undefined;
|
|
10
|
-
custom?: boolean | undefined;
|
|
11
|
-
group?: string | undefined;
|
|
12
|
-
}[], MultiselectItem<string>[] | {
|
|
13
|
-
label: string;
|
|
14
|
-
value: string;
|
|
15
|
-
key?: string | undefined;
|
|
16
|
-
selected?: boolean | undefined;
|
|
17
|
-
disabled?: boolean | undefined;
|
|
18
|
-
custom?: boolean | undefined;
|
|
19
|
-
group?: string | undefined;
|
|
20
|
-
}[]>;
|
|
21
|
-
trackNewItems: (item: MultiselectItem, added: boolean) => void;
|
|
22
|
-
};
|
|
23
|
-
//# sourceMappingURL=useMultiselectCreation.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"useMultiselectCreation.d.ts","sourceRoot":"","sources":["../../../src/composables/useMultiselectCreation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,UAAU,CAAA;AAE5D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAExD,MAAM,CAAC,OAAO,UAAU,sBAAsB,CAAC,OAAO,EAAE,4BAA4B;;;;;;;;;;;;;;;;;;0BAKrD,eAAe,SAAS,OAAO;EAiB7D"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type { MultiselectItem } from '@kong/kongponents';
|
|
2
|
-
export declare const HTTPStatuses: MultiselectItem[];
|
|
3
|
-
export declare const SlotsMinNumber = 10;
|
|
4
|
-
export declare const SlotsMaxNumber = 65536;
|
|
5
|
-
export declare const ThresholdMinNumber = 0;
|
|
6
|
-
export declare const ThresholdMaxNumber = 65535;
|
|
7
|
-
export declare const SuccessOrFailureMinNumber = 0;
|
|
8
|
-
export declare const SuccessOrFailureMaxNumber = 255;
|
|
9
|
-
export declare const TimeoutsMinNumber = 0;
|
|
10
|
-
export declare const TimeoutsMaxNumber = 255;
|
|
11
|
-
export declare const TimeoutMinNumber = 0;
|
|
12
|
-
export declare const TimeoutMaxNumber = 65535;
|
|
13
|
-
export declare const IntervalMinNumber = 0;
|
|
14
|
-
export declare const IntervalMaxNumber = 65535;
|
|
15
|
-
export declare const ConcurrencyMinNumber = 0;
|
|
16
|
-
export declare const ConcurrencyMaxNumber: number;
|
|
17
|
-
export declare const ActiveHealthyHttpStatuses: string[];
|
|
18
|
-
export declare const PassiveHealthyHttpStatuses: string[];
|
|
19
|
-
export declare const ActiveUnhealthyHttpStatuses: string[];
|
|
20
|
-
export declare const PassiveUnhealthyHttpStatuses: string[];
|
|
21
|
-
export declare const ALGORITHMS_WITH_FAILOVER_SUPPORT: string[];
|
|
22
|
-
//# sourceMappingURL=constants.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/constants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAExD,eAAO,MAAM,YAAY,EAAE,eAAe,EAiXzC,CAAA;AAED,eAAO,MAAM,cAAc,KAAK,CAAA;AAChC,eAAO,MAAM,cAAc,QAAQ,CAAA;AAEnC,eAAO,MAAM,kBAAkB,IAAI,CAAA;AACnC,eAAO,MAAM,kBAAkB,QAAQ,CAAA;AAEvC,eAAO,MAAM,yBAAyB,IAAI,CAAA;AAC1C,eAAO,MAAM,yBAAyB,MAAM,CAAA;AAE5C,eAAO,MAAM,iBAAiB,IAAI,CAAA;AAClC,eAAO,MAAM,iBAAiB,MAAM,CAAA;AAEpC,eAAO,MAAM,gBAAgB,IAAI,CAAA;AACjC,eAAO,MAAM,gBAAgB,QAAQ,CAAA;AAErC,eAAO,MAAM,iBAAiB,IAAI,CAAA;AAClC,eAAO,MAAM,iBAAiB,QAAQ,CAAA;AAEtC,eAAO,MAAM,oBAAoB,IAAI,CAAA;AACrC,eAAO,MAAM,oBAAoB,QAAU,CAAA;AAE3C,eAAO,MAAM,yBAAyB,UAAiB,CAAA;AACvD,eAAO,MAAM,0BAA0B,UAAwI,CAAA;AAC/K,eAAO,MAAM,2BAA2B,UAA2D,CAAA;AACnG,eAAO,MAAM,4BAA4B,UAAwB,CAAA;AAEjE,eAAO,MAAM,gCAAgC,UAAkD,CAAA"}
|
package/dist/types/index.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import UpstreamsList from './components/UpstreamsList.vue';
|
|
2
|
-
import TargetsList from './components/TargetsList.vue';
|
|
3
|
-
import TargetForm from './components/TargetForm.vue';
|
|
4
|
-
import UpstreamsForm from './components/UpstreamsForm.vue';
|
|
5
|
-
import UpstreamsConfigCard from './components/UpstreamsConfigCard.vue';
|
|
6
|
-
export { UpstreamsList };
|
|
7
|
-
export { TargetsList };
|
|
8
|
-
export { TargetForm };
|
|
9
|
-
export { UpstreamsForm };
|
|
10
|
-
export { UpstreamsConfigCard };
|
|
11
|
-
export * from './types';
|
|
12
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,aAAa,MAAM,gCAAgC,CAAA;AAC1D,OAAO,WAAW,MAAM,8BAA8B,CAAA;AACtD,OAAO,UAAU,MAAM,6BAA6B,CAAA;AACpD,OAAO,aAAa,MAAM,gCAAgC,CAAA;AAC1D,OAAO,mBAAmB,MAAM,sCAAsC,CAAA;AAEtE,OAAO,EAAE,aAAa,EAAE,CAAA;AACxB,OAAO,EAAE,WAAW,EAAE,CAAA;AACtB,OAAO,EAAE,UAAU,EAAE,CAAA;AACrB,OAAO,EAAE,aAAa,EAAE,CAAA;AACxB,OAAO,EAAE,mBAAmB,EAAE,CAAA;AAE9B,cAAc,SAAS,CAAA"}
|
package/dist/types/links.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"links.d.ts","sourceRoot":"","sources":["../../src/links.ts"],"names":[],"mappings":";;;;AAAA,wBAGC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
list: {
|
|
3
|
-
konnect: string;
|
|
4
|
-
kongManager: string;
|
|
5
|
-
};
|
|
6
|
-
form: {
|
|
7
|
-
konnect: {
|
|
8
|
-
create: string;
|
|
9
|
-
edit: string;
|
|
10
|
-
};
|
|
11
|
-
kongManager: {
|
|
12
|
-
create: string;
|
|
13
|
-
edit: string;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
export default _default;
|
|
18
|
-
//# sourceMappingURL=targets-endpoints.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"targets-endpoints.d.ts","sourceRoot":"","sources":["../../src/targets-endpoints.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAGA,wBAeC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export * from './upstreams-list';
|
|
2
|
-
export * from './targets-list';
|
|
3
|
-
export * from './target-form';
|
|
4
|
-
export * from './upstreams-form';
|
|
5
|
-
export * from './upstreams-config';
|
|
6
|
-
export interface EntityRow extends Record<string, any> {
|
|
7
|
-
id: string;
|
|
8
|
-
}
|
|
9
|
-
/** Copy field event payload */
|
|
10
|
-
export interface CopyEventPayload {
|
|
11
|
-
/** The entity row */
|
|
12
|
-
entity: EntityRow;
|
|
13
|
-
/** The field being copied. If omitted, the entity JSON is being copied. */
|
|
14
|
-
field?: string;
|
|
15
|
-
/** The toaster message */
|
|
16
|
-
message: string;
|
|
17
|
-
}
|
|
18
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":"AAGA,cAAc,kBAAkB,CAAA;AAChC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,eAAe,CAAA;AAC7B,cAAc,kBAAkB,CAAA;AAChC,cAAc,oBAAoB,CAAA;AAElC,MAAM,WAAW,SAAU,SAAQ,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;IACpD,EAAE,EAAE,MAAM,CAAA;CACX;AAED,+BAA+B;AAC/B,MAAM,WAAW,gBAAgB;IAC/B,qBAAqB;IACrB,MAAM,EAAE,SAAS,CAAA;IACjB,2EAA2E;IAC3E,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,0BAA0B;IAC1B,OAAO,EAAE,MAAM,CAAA;CAChB"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import type { KonnectBaseFormConfig, KongManagerBaseFormConfig } from '@kong-ui-public/entities-shared';
|
|
2
|
-
export interface BaseTargetFormConfig {
|
|
3
|
-
upstreamId: string;
|
|
4
|
-
}
|
|
5
|
-
/** Konnect Target form config */
|
|
6
|
-
export interface KonnectTargetFormConfig extends KonnectBaseFormConfig, BaseTargetFormConfig {
|
|
7
|
-
}
|
|
8
|
-
/** Kong Manager Target form config */
|
|
9
|
-
export interface KongManagerTargetFormConfig extends KongManagerBaseFormConfig, BaseTargetFormConfig {
|
|
10
|
-
}
|
|
11
|
-
export interface TargetFormFields {
|
|
12
|
-
target: string;
|
|
13
|
-
weight: number;
|
|
14
|
-
tags?: string;
|
|
15
|
-
failover?: boolean;
|
|
16
|
-
}
|
|
17
|
-
export interface TargetFormState {
|
|
18
|
-
/** Form fields */
|
|
19
|
-
fields: TargetFormFields;
|
|
20
|
-
/** Form readonly state (only used when saving entity details) */
|
|
21
|
-
isReadonly: boolean;
|
|
22
|
-
/** The error message to show on the form */
|
|
23
|
-
errorMessage: string;
|
|
24
|
-
}
|
|
25
|
-
export interface SelectItem {
|
|
26
|
-
label: string;
|
|
27
|
-
value: string | number;
|
|
28
|
-
selected?: boolean;
|
|
29
|
-
}
|
|
30
|
-
//# sourceMappingURL=target-form.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"target-form.d.ts","sourceRoot":"","sources":["../../../src/types/target-form.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,yBAAyB,EAAE,MAAM,iCAAiC,CAAA;AAEvG,MAAM,WAAW,oBAAoB;IACnC,UAAU,EAAE,MAAM,CAAA;CACnB;AAED,iCAAiC;AACjC,MAAM,WAAW,uBAAwB,SAAQ,qBAAqB,EAAE,oBAAoB;CAAG;AAE/F,sCAAsC;AACtC,MAAM,WAAW,2BAA4B,SAAQ,yBAAyB,EAAE,oBAAoB;CAAG;AAEvG,MAAM,WAAW,gBAAgB;IAC/B,MAAM,EAAE,MAAM,CAAA;IACd,MAAM,EAAE,MAAM,CAAA;IACd,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB;AAED,MAAM,WAAW,eAAe;IAC9B,kBAAkB;IAClB,MAAM,EAAE,gBAAgB,CAAA;IACxB,iEAAiE;IACjE,UAAU,EAAE,OAAO,CAAA;IACnB,4CAA4C;IAC5C,YAAY,EAAE,MAAM,CAAA;CACrB;AAGD,MAAM,WAAW,UAAU;IACzB,KAAK,EAAE,MAAM,CAAA;IACb,KAAK,EAAE,MAAM,GAAG,MAAM,CAAA;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type { RouteLocationRaw } from 'vue-router';
|
|
2
|
-
import type { KongManagerBaseTableConfig, KonnectBaseTableConfig } from '@kong-ui-public/entities-shared';
|
|
3
|
-
import type { EntityRow } from './index';
|
|
4
|
-
export interface BaseTargetsListConfig {
|
|
5
|
-
/** Route for creating a target */
|
|
6
|
-
createRoute?: RouteLocationRaw;
|
|
7
|
-
}
|
|
8
|
-
/** Konnect targets list config */
|
|
9
|
-
export interface KonnectTargetsListConfig extends KonnectBaseTableConfig, BaseTargetsListConfig {
|
|
10
|
-
upstreamId: string;
|
|
11
|
-
}
|
|
12
|
-
/** Kong Manager targets list config */
|
|
13
|
-
export interface KongManagerTargetsListConfig extends KongManagerBaseTableConfig, BaseTargetsListConfig {
|
|
14
|
-
upstreamId: string;
|
|
15
|
-
canMarkHealthy: (target: EntityRow) => (boolean | Promise<boolean>);
|
|
16
|
-
canMarkUnhealthy: (target: EntityRow) => (boolean | Promise<boolean>);
|
|
17
|
-
}
|
|
18
|
-
//# sourceMappingURL=targets-list.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"targets-list.d.ts","sourceRoot":"","sources":["../../../src/types/targets-list.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAClD,OAAO,KAAK,EAAE,0BAA0B,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAA;AACzG,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AAExC,MAAM,WAAW,qBAAqB;IACpC,kCAAkC;IAGlC,WAAW,CAAC,EAAE,gBAAgB,CAAA;CAC/B;AAED,kCAAkC;AAClC,MAAM,WAAW,wBAAyB,SAAQ,sBAAsB,EAAE,qBAAqB;IAC7F,UAAU,EAAE,MAAM,CAAA;CACnB;AAED,uCAAuC;AACvC,MAAM,WAAW,4BAA6B,SAAQ,0BAA0B,EAAE,qBAAqB;IACrG,UAAU,EAAE,MAAM,CAAA;IAClB,cAAc,EAAE,CAAC,MAAM,EAAE,SAAS,KAAK,CAAC,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC,CAAA;IACnE,gBAAgB,EAAE,CAAC,MAAM,EAAE,SAAS,KAAK,CAAC,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC,CAAA;CACtE"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import type { ConfigurationSchemaItem, KongManagerBaseEntityConfig, KonnectBaseEntityConfig } from '@kong-ui-public/entities-shared';
|
|
2
|
-
export interface KonnectUpstreamsEntityConfig extends KonnectBaseEntityConfig {
|
|
3
|
-
}
|
|
4
|
-
export interface KongManagerUpstreamsEntityConfig extends KongManagerBaseEntityConfig {
|
|
5
|
-
}
|
|
6
|
-
export interface UpstreamsConfigurationSchema {
|
|
7
|
-
algorithm: ConfigurationSchemaItem;
|
|
8
|
-
created_at: ConfigurationSchemaItem;
|
|
9
|
-
hash_fallback: ConfigurationSchemaItem;
|
|
10
|
-
hash_on: ConfigurationSchemaItem;
|
|
11
|
-
hash_on_cookie: ConfigurationSchemaItem;
|
|
12
|
-
hash_on_cookie_path: ConfigurationSchemaItem;
|
|
13
|
-
hash_on_header: ConfigurationSchemaItem;
|
|
14
|
-
hash_on_query_arg: ConfigurationSchemaItem;
|
|
15
|
-
hash_on_uri_capture: ConfigurationSchemaItem;
|
|
16
|
-
healthchecks: ConfigurationSchemaItem;
|
|
17
|
-
id: ConfigurationSchemaItem;
|
|
18
|
-
name: ConfigurationSchemaItem;
|
|
19
|
-
slots: ConfigurationSchemaItem;
|
|
20
|
-
updated_at: ConfigurationSchemaItem;
|
|
21
|
-
client_certificate: ConfigurationSchemaItem;
|
|
22
|
-
tags: ConfigurationSchemaItem;
|
|
23
|
-
hash_fallback_header: ConfigurationSchemaItem;
|
|
24
|
-
hash_fallback_query_arg: ConfigurationSchemaItem;
|
|
25
|
-
hash_fallback_uri_capture: ConfigurationSchemaItem;
|
|
26
|
-
host_header: ConfigurationSchemaItem;
|
|
27
|
-
use_srv_name: ConfigurationSchemaItem;
|
|
28
|
-
}
|
|
29
|
-
//# sourceMappingURL=upstreams-config.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"upstreams-config.d.ts","sourceRoot":"","sources":["../../../src/types/upstreams-config.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,uBAAuB,EACvB,2BAA2B,EAC3B,uBAAuB,EACxB,MAAM,iCAAiC,CAAA;AAExC,MAAM,WAAW,4BAA6B,SAAQ,uBAAuB;CAAG;AAEhF,MAAM,WAAW,gCAAiC,SAAQ,2BAA2B;CAAG;AAExF,MAAM,WAAW,4BAA4B;IAC3C,SAAS,EAAE,uBAAuB,CAAA;IAClC,UAAU,EAAE,uBAAuB,CAAA;IACnC,aAAa,EAAE,uBAAuB,CAAA;IACtC,OAAO,EAAE,uBAAuB,CAAA;IAChC,cAAc,EAAE,uBAAuB,CAAA;IACvC,mBAAmB,EAAE,uBAAuB,CAAA;IAC5C,cAAc,EAAE,uBAAuB,CAAA;IACvC,iBAAiB,EAAE,uBAAuB,CAAA;IAC1C,mBAAmB,EAAE,uBAAuB,CAAA;IAC5C,YAAY,EAAE,uBAAuB,CAAA;IACrC,EAAE,EAAE,uBAAuB,CAAA;IAC3B,IAAI,EAAE,uBAAuB,CAAA;IAC7B,KAAK,EAAE,uBAAuB,CAAA;IAC9B,UAAU,EAAE,uBAAuB,CAAA;IACnC,kBAAkB,EAAE,uBAAuB,CAAA;IAC3C,IAAI,EAAE,uBAAuB,CAAA;IAC7B,oBAAoB,EAAE,uBAAuB,CAAA;IAC7C,uBAAuB,EAAE,uBAAuB,CAAA;IAChD,yBAAyB,EAAE,uBAAuB,CAAA;IAClD,WAAW,EAAE,uBAAuB,CAAA;IACpC,YAAY,EAAE,uBAAuB,CAAA;CACtC"}
|
|
@@ -1,168 +0,0 @@
|
|
|
1
|
-
import type { BaseFormConfig, KongManagerBaseFormConfig, KonnectBaseFormConfig } from '@kong-ui-public/entities-shared';
|
|
2
|
-
import type { RouteLocationRaw } from 'vue-router';
|
|
3
|
-
import type { SelectItem } from '@kong/kongponents';
|
|
4
|
-
export interface BaseUpstreamsFormConfig extends Omit<BaseFormConfig, 'cancelRoute'> {
|
|
5
|
-
stickySessionsAvailable?: boolean;
|
|
6
|
-
cancelRoute: RouteLocationRaw;
|
|
7
|
-
}
|
|
8
|
-
export interface KonnectUpstreamsFormConfig extends Omit<KonnectBaseFormConfig, 'cancelRoute'>, BaseUpstreamsFormConfig {
|
|
9
|
-
}
|
|
10
|
-
export interface KongManagerUpstreamsFormConfig extends Omit<KongManagerBaseFormConfig, 'cancelRoute'>, BaseUpstreamsFormConfig {
|
|
11
|
-
}
|
|
12
|
-
export type UpstreamAlgorithm = 'round-robin' | 'least-connections' | 'consistent-hashing' | 'latency' | 'sticky-sessions';
|
|
13
|
-
export type UpstreamHash = 'none' | 'consumer' | 'ip' | 'header' | 'cookie' | 'path' | 'query_arg' | 'uri_capture';
|
|
14
|
-
export type HealthCheckType = 'http' | 'https' | 'tcp' | 'grpc' | 'grpcs';
|
|
15
|
-
export interface ActiveHealthCheckHeader {
|
|
16
|
-
key: string;
|
|
17
|
-
values: string;
|
|
18
|
-
}
|
|
19
|
-
export interface ActiveHealthCheck {
|
|
20
|
-
type: HealthCheckType;
|
|
21
|
-
httpPath: string;
|
|
22
|
-
timeout: string;
|
|
23
|
-
concurrency: string;
|
|
24
|
-
httpsSni: string;
|
|
25
|
-
verifySsl: boolean;
|
|
26
|
-
headers: ActiveHealthCheckHeader[];
|
|
27
|
-
healthy: {
|
|
28
|
-
interval: string;
|
|
29
|
-
successes: string;
|
|
30
|
-
httpStatuses: string[];
|
|
31
|
-
};
|
|
32
|
-
unhealthy: {
|
|
33
|
-
interval: string;
|
|
34
|
-
timeouts: string;
|
|
35
|
-
tcpFailures: string;
|
|
36
|
-
httpFailures: string;
|
|
37
|
-
httpStatuses: string[];
|
|
38
|
-
};
|
|
39
|
-
}
|
|
40
|
-
export interface PassiveHealthCheck {
|
|
41
|
-
type: HealthCheckType;
|
|
42
|
-
healthy: {
|
|
43
|
-
successes: string;
|
|
44
|
-
httpStatuses: string[];
|
|
45
|
-
};
|
|
46
|
-
unhealthy: {
|
|
47
|
-
timeouts: string;
|
|
48
|
-
tcpFailures: string;
|
|
49
|
-
httpFailures: string;
|
|
50
|
-
httpStatuses: string[];
|
|
51
|
-
};
|
|
52
|
-
}
|
|
53
|
-
export interface UpstreamFormFields {
|
|
54
|
-
name: string;
|
|
55
|
-
hostHeader: string;
|
|
56
|
-
clientCertificate: string;
|
|
57
|
-
tags: string;
|
|
58
|
-
algorithm: UpstreamAlgorithm;
|
|
59
|
-
stickySessionsCookie: string;
|
|
60
|
-
stickySessionsCookiePath: string;
|
|
61
|
-
slots: string;
|
|
62
|
-
hashOn: UpstreamHash;
|
|
63
|
-
hashFallback: UpstreamHash;
|
|
64
|
-
hashOnHeader: string;
|
|
65
|
-
hashOnCookie: string;
|
|
66
|
-
hashOnCookiePath: string;
|
|
67
|
-
hashOnQueryArgument: string;
|
|
68
|
-
hashOnUriCapture: string;
|
|
69
|
-
hashFallbackHeader: string;
|
|
70
|
-
hashFallbackQueryArgument: string;
|
|
71
|
-
hashFallbackUriCapture: string;
|
|
72
|
-
activeHealthSwitch: boolean;
|
|
73
|
-
passiveHealthSwitch: boolean;
|
|
74
|
-
healthchecksThreshold: string;
|
|
75
|
-
activeHealthCheck: ActiveHealthCheck;
|
|
76
|
-
passiveHealthCheck: PassiveHealthCheck;
|
|
77
|
-
}
|
|
78
|
-
export interface UpstreamFormState {
|
|
79
|
-
fields: UpstreamFormFields;
|
|
80
|
-
readonly: boolean;
|
|
81
|
-
errorMessage: string;
|
|
82
|
-
}
|
|
83
|
-
export interface AlgorithmSelectItem extends Omit<SelectItem, 'value'> {
|
|
84
|
-
value: UpstreamAlgorithm;
|
|
85
|
-
}
|
|
86
|
-
export interface HashSelectItem extends Omit<SelectItem, 'value'> {
|
|
87
|
-
value: UpstreamHash;
|
|
88
|
-
}
|
|
89
|
-
export interface HealthCheckTypeSelectItem extends Omit<SelectItem, 'value'> {
|
|
90
|
-
value: HealthCheckType;
|
|
91
|
-
}
|
|
92
|
-
export interface MultiselectComposableOptions {
|
|
93
|
-
replaceId?: boolean;
|
|
94
|
-
}
|
|
95
|
-
export interface UpstreamActivePayload {
|
|
96
|
-
type: HealthCheckType;
|
|
97
|
-
timeout?: number;
|
|
98
|
-
concurrency?: number;
|
|
99
|
-
http_path?: string;
|
|
100
|
-
headers?: Record<string, string[]> | [];
|
|
101
|
-
https_sni?: string | null;
|
|
102
|
-
https_verify_certificate?: boolean;
|
|
103
|
-
healthy: {
|
|
104
|
-
interval?: number;
|
|
105
|
-
successes?: number;
|
|
106
|
-
http_statuses?: number[];
|
|
107
|
-
};
|
|
108
|
-
unhealthy: {
|
|
109
|
-
interval?: number;
|
|
110
|
-
timeouts?: number;
|
|
111
|
-
tcp_failures?: number;
|
|
112
|
-
http_failures?: number;
|
|
113
|
-
http_statuses?: number[];
|
|
114
|
-
};
|
|
115
|
-
}
|
|
116
|
-
export interface UpstreamActiveResponse extends Omit<UpstreamActivePayload, 'headers'> {
|
|
117
|
-
headers?: Record<string, string[]>;
|
|
118
|
-
}
|
|
119
|
-
export interface UpstreamPassivePayload {
|
|
120
|
-
type: HealthCheckType;
|
|
121
|
-
healthy: {
|
|
122
|
-
successes?: number;
|
|
123
|
-
http_statuses?: number[];
|
|
124
|
-
};
|
|
125
|
-
unhealthy: {
|
|
126
|
-
timeouts?: number;
|
|
127
|
-
http_statuses?: number[];
|
|
128
|
-
http_failures?: number;
|
|
129
|
-
tcp_failures?: number;
|
|
130
|
-
};
|
|
131
|
-
}
|
|
132
|
-
export interface UpstreamFormPayload {
|
|
133
|
-
name: string;
|
|
134
|
-
algorithm: UpstreamAlgorithm;
|
|
135
|
-
sticky_sessions_cookie?: string | null;
|
|
136
|
-
sticky_sessions_cookie_path?: string | null;
|
|
137
|
-
host_header?: string | null;
|
|
138
|
-
client_certificate?: {
|
|
139
|
-
id: string;
|
|
140
|
-
} | null;
|
|
141
|
-
tags?: string[];
|
|
142
|
-
slots: number;
|
|
143
|
-
hash_on: UpstreamHash;
|
|
144
|
-
hash_fallback: UpstreamHash;
|
|
145
|
-
hash_on_header?: string;
|
|
146
|
-
hash_on_cookie?: string;
|
|
147
|
-
hash_on_cookie_path?: string;
|
|
148
|
-
hash_on_query_arg?: string;
|
|
149
|
-
hash_on_uri_capture?: string;
|
|
150
|
-
hash_fallback_header?: string;
|
|
151
|
-
hash_fallback_query_arg?: string;
|
|
152
|
-
hash_fallback_uri_capture?: string;
|
|
153
|
-
healthchecks: {
|
|
154
|
-
threshold?: number;
|
|
155
|
-
active?: UpstreamActivePayload;
|
|
156
|
-
passive?: UpstreamPassivePayload;
|
|
157
|
-
};
|
|
158
|
-
}
|
|
159
|
-
export interface UpstreamResponse extends Omit<UpstreamFormPayload, 'healthchecks'> {
|
|
160
|
-
id: string;
|
|
161
|
-
healthchecks: {
|
|
162
|
-
threshold?: number;
|
|
163
|
-
active?: UpstreamActiveResponse;
|
|
164
|
-
passive?: UpstreamPassivePayload;
|
|
165
|
-
};
|
|
166
|
-
}
|
|
167
|
-
export type UpstreamsFormActions = 'create' | 'edit';
|
|
168
|
-
//# sourceMappingURL=upstreams-form.d.ts.map
|