@gravitee/ui-policy-studio-angular 16.0.1-apim-11657-adapt-ui-for-llm-a32a07d → 16.0.1-renovate-digests-pin-bd697d2
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/fesm2022/gravitee-ui-policy-studio-angular-testing.mjs +1 -124
- package/fesm2022/gravitee-ui-policy-studio-angular-testing.mjs.map +1 -1
- package/fesm2022/gravitee-ui-policy-studio-angular.mjs +23 -256
- package/fesm2022/gravitee-ui-policy-studio-angular.mjs.map +1 -1
- package/index.d.ts +4 -7
- package/package.json +1 -1
- package/testing/index.d.ts +4 -10
package/index.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ declare const toHttpMethod: (value: string) => HttpMethod | undefined;
|
|
|
8
8
|
|
|
9
9
|
type Operation = 'PUBLISH' | 'SUBSCRIBE';
|
|
10
10
|
type Operator = 'EQUALS' | 'STARTS_WITH';
|
|
11
|
-
type BaseSelectorTypeEnum = 'HTTP' | 'CHANNEL' | 'CONDITION' | 'MCP'
|
|
11
|
+
type BaseSelectorTypeEnum = 'HTTP' | 'CHANNEL' | 'CONDITION' | 'MCP';
|
|
12
12
|
interface BaseSelector {
|
|
13
13
|
/**
|
|
14
14
|
* Selector type.
|
|
@@ -44,10 +44,7 @@ interface ConditionSelector extends BaseSelector {
|
|
|
44
44
|
interface McpSelector extends BaseSelector {
|
|
45
45
|
methods?: string[];
|
|
46
46
|
}
|
|
47
|
-
|
|
48
|
-
methods?: string[];
|
|
49
|
-
}
|
|
50
|
-
type Selector = HttpSelector | ChannelSelector | ConditionSelector | McpSelector | LlmSelector;
|
|
47
|
+
type Selector = HttpSelector | ChannelSelector | ConditionSelector | McpSelector;
|
|
51
48
|
|
|
52
49
|
interface Step {
|
|
53
50
|
/**
|
|
@@ -125,7 +122,7 @@ interface Plan {
|
|
|
125
122
|
flows: Flow[];
|
|
126
123
|
}
|
|
127
124
|
|
|
128
|
-
type ApiProtocolType = 'HTTP_MESSAGE' | 'HTTP_PROXY' | 'HTTP_MCP_PROXY' | '
|
|
125
|
+
type ApiProtocolType = 'HTTP_MESSAGE' | 'HTTP_PROXY' | 'HTTP_MCP_PROXY' | 'NATIVE_KAFKA';
|
|
129
126
|
|
|
130
127
|
type FlowPhase = 'REQUEST' | 'RESPONSE' | 'INTERACT' | 'CONNECT' | 'PUBLISH' | 'SUBSCRIBE';
|
|
131
128
|
interface Policy {
|
|
@@ -410,4 +407,4 @@ declare class GioPolicyGroupStudioComponent implements OnChanges {
|
|
|
410
407
|
}
|
|
411
408
|
|
|
412
409
|
export { GioPolicyGroupStudioComponent, GioPolicyStudioComponent, HttpMethods, fromExecutionPhase, fromPolicyInput, isPolicy, isSharedPolicyGroupPolicy, toGenericPolicies, toHttpMethod, toPolicy };
|
|
413
|
-
export type { ApiProtocolType, ApiType, BaseSelector, BaseSelectorTypeEnum, ChannelSelector, ConditionSelector, ConnectorInfo, ConnectorMode, ExecutionPhase, Flow, FlowExecution, FlowMode, FlowPhase, GenericPolicy, GenericPolicyPolicy, GenericPolicySharedPolicyGroupPolicy, HttpMethod, HttpSelector,
|
|
410
|
+
export type { ApiProtocolType, ApiType, BaseSelector, BaseSelectorTypeEnum, ChannelSelector, ConditionSelector, ConnectorInfo, ConnectorMode, ExecutionPhase, Flow, FlowExecution, FlowMode, FlowPhase, GenericPolicy, GenericPolicyPolicy, GenericPolicySharedPolicyGroupPolicy, HttpMethod, HttpSelector, McpSelector, Operation, Operator, Plan, Policy, PolicyDocumentationFetcher, PolicyGroupInput, PolicyGroupOutput, PolicyInput, PolicySchemaFetcher, SaveOutput, Selector, SharedPolicyGroupPolicy, Step };
|
package/package.json
CHANGED
package/testing/index.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ type HttpMethod = (typeof HttpMethods)[number];
|
|
|
6
6
|
|
|
7
7
|
type Operation = 'PUBLISH' | 'SUBSCRIBE';
|
|
8
8
|
type Operator = 'EQUALS' | 'STARTS_WITH';
|
|
9
|
-
type BaseSelectorTypeEnum = 'HTTP' | 'CHANNEL' | 'CONDITION' | 'MCP'
|
|
9
|
+
type BaseSelectorTypeEnum = 'HTTP' | 'CHANNEL' | 'CONDITION' | 'MCP';
|
|
10
10
|
interface BaseSelector {
|
|
11
11
|
/**
|
|
12
12
|
* Selector type.
|
|
@@ -42,10 +42,7 @@ interface ConditionSelector extends BaseSelector {
|
|
|
42
42
|
interface McpSelector extends BaseSelector {
|
|
43
43
|
methods?: string[];
|
|
44
44
|
}
|
|
45
|
-
|
|
46
|
-
methods?: string[];
|
|
47
|
-
}
|
|
48
|
-
type Selector = HttpSelector | ChannelSelector | ConditionSelector | McpSelector | LlmSelector;
|
|
45
|
+
type Selector = HttpSelector | ChannelSelector | ConditionSelector | McpSelector;
|
|
49
46
|
|
|
50
47
|
interface Step {
|
|
51
48
|
/**
|
|
@@ -111,7 +108,6 @@ declare function fakeHttpFlow(modifier?: Partial<Flow> | ((baseApi: Flow) => Flo
|
|
|
111
108
|
declare function fakeConditionedHttpFlow(modifier?: Partial<Flow> | ((baseApi: Flow) => Flow)): Flow;
|
|
112
109
|
declare function fakeNativeFlow(modifier?: Partial<Flow> | ((baseApi: Flow) => Flow)): Flow;
|
|
113
110
|
declare function fakeMcpFlow(modifier?: Partial<Flow> | ((baseApi: Flow) => Flow)): Flow;
|
|
114
|
-
declare function fakeLlmFlow(modifier?: Partial<Flow> | ((baseApi: Flow) => Flow)): Flow;
|
|
115
111
|
|
|
116
112
|
/**
|
|
117
113
|
* API's flow mode.
|
|
@@ -141,7 +137,7 @@ interface Plan {
|
|
|
141
137
|
|
|
142
138
|
declare function fakePlan(modifier?: Partial<Plan> | ((base: Plan) => Plan)): Plan;
|
|
143
139
|
|
|
144
|
-
type ApiProtocolType = 'HTTP_MESSAGE' | 'HTTP_PROXY' | 'HTTP_MCP_PROXY' | '
|
|
140
|
+
type ApiProtocolType = 'HTTP_MESSAGE' | 'HTTP_PROXY' | 'HTTP_MCP_PROXY' | 'NATIVE_KAFKA';
|
|
145
141
|
|
|
146
142
|
type FlowPhase = 'REQUEST' | 'RESPONSE' | 'INTERACT' | 'CONNECT' | 'PUBLISH' | 'SUBSCRIBE';
|
|
147
143
|
interface Policy {
|
|
@@ -188,8 +184,6 @@ declare function fakeKafkaNativeEntrypoint(modifier?: Partial<ConnectorInfo> | (
|
|
|
188
184
|
declare function fakeKafkaNativeEndpoint(modifier?: Partial<ConnectorInfo> | ((base: ConnectorInfo) => ConnectorInfo)): ConnectorInfo;
|
|
189
185
|
declare function fakeMCPProxyEntrypoint(modifier?: Partial<ConnectorInfo> | ((base: ConnectorInfo) => ConnectorInfo)): ConnectorInfo;
|
|
190
186
|
declare function fakeMCPProxyEndpoint(modifier?: Partial<ConnectorInfo> | ((base: ConnectorInfo) => ConnectorInfo)): ConnectorInfo;
|
|
191
|
-
declare function fakeLlmProxyEntrypoint(modifier?: Partial<ConnectorInfo> | ((base: ConnectorInfo) => ConnectorInfo)): ConnectorInfo;
|
|
192
|
-
declare function fakeLlmProxyEndpoint(modifier?: Partial<ConnectorInfo> | ((base: ConnectorInfo) => ConnectorInfo)): ConnectorInfo;
|
|
193
187
|
|
|
194
188
|
type GioPolicyStudioDetailsPhaseStepHarnessFilters = BaseHarnessFilters;
|
|
195
189
|
declare class GioPolicyStudioDetailsPhaseStepHarness extends ComponentHarness {
|
|
@@ -380,4 +374,4 @@ declare class GioPolicyGroupStudioHarness extends ComponentHarness {
|
|
|
380
374
|
} & StepForm): Promise<void>;
|
|
381
375
|
}
|
|
382
376
|
|
|
383
|
-
export { GioPolicyGroupStudioHarness, GioPolicyStudioHarness, POLICIES_V4_UNREGISTERED_ICON, fakeAllPolicies, fakeBestMatchFlowExecution, fakeChannelFlow, fakeConditionedChannelFlow, fakeConditionedHttpFlow, fakeDefaultFlowExecution, fakeHTTPGetMessageEntrypoint, fakeHTTPPostMessageEntrypoint, fakeHTTPProxyEndpoint, fakeHTTPProxyEntrypoint, fakeHttpFlow, fakeJsonToXmlStep, fakeKafkaMessageEndpoint, fakeKafkaNativeEndpoint, fakeKafkaNativeEntrypoint,
|
|
377
|
+
export { GioPolicyGroupStudioHarness, GioPolicyStudioHarness, POLICIES_V4_UNREGISTERED_ICON, fakeAllPolicies, fakeBestMatchFlowExecution, fakeChannelFlow, fakeConditionedChannelFlow, fakeConditionedHttpFlow, fakeDefaultFlowExecution, fakeHTTPGetMessageEntrypoint, fakeHTTPPostMessageEntrypoint, fakeHTTPProxyEndpoint, fakeHTTPProxyEntrypoint, fakeHttpFlow, fakeJsonToXmlStep, fakeKafkaMessageEndpoint, fakeKafkaNativeEndpoint, fakeKafkaNativeEntrypoint, fakeMCPProxyEndpoint, fakeMCPProxyEntrypoint, fakeMcpFlow, fakeMockMessageEndpoint, fakeNativeFlow, fakePlan, fakeRateLimitStep, fakeSSEMessageEntrypoint, fakeSharedPolicyGroupPolicyStep, fakeTestPolicy, fakeTestPolicyStep, fakeWebhookMessageEntrypoint, fakeWebsocketMessageEntrypoint };
|