@gravitee/ui-policy-studio-angular 1.4.4-design-studio-angular-65923df → 1.5.0-design-studio-angular-part2-ed6a516
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/bundles/gravitee-ui-policy-studio-angular-testing.umd.js +5728 -0
- package/bundles/gravitee-ui-policy-studio-angular-testing.umd.js.map +1 -0
- package/bundles/gravitee-ui-policy-studio-angular.umd.js +4589 -36
- package/bundles/gravitee-ui-policy-studio-angular.umd.js.map +1 -1
- package/esm2015/lib/gio-policy-studio.component.js +157 -0
- package/esm2015/lib/gio-policy-studio.module.js +60 -0
- package/esm2015/lib/models/flow/ConfigurationSchema.fixture.js +25 -0
- package/esm2015/lib/models/flow/ConfigurationSchema.js +2 -0
- package/esm2015/lib/models/flow/OrganizationFlowConfiguration.fixture.js +7 -0
- package/esm2015/lib/models/flow/OrganizationFlowConfiguration.js +2 -0
- package/esm2015/lib/models/flow/PlatformFlowSchema.fixture.js +69 -0
- package/esm2015/lib/models/flow/PlatformFlowSchema.js +17 -0
- package/esm2015/lib/models/flow/index.js +19 -0
- package/esm2015/lib/models/flow/testing.js +19 -0
- package/esm2015/lib/models/index.js +21 -0
- package/esm2015/lib/models/json.js +2 -0
- package/esm2015/lib/models/policy/PolicyDocumentation.fixture.js +218 -0
- package/esm2015/lib/models/policy/PolicyDocumentation.js +2 -0
- package/esm2015/lib/models/policy/PolicyListItem.fixture.js +15 -0
- package/esm2015/lib/models/policy/PolicyListItem.js +2 -0
- package/esm2015/lib/models/policy/PolicySchema.fixture.js +5 -0
- package/esm2015/lib/models/policy/PolicySchema.js +2 -0
- package/esm2015/lib/models/policy/index.js +19 -0
- package/esm2015/lib/models/policy/testing.js +19 -0
- package/esm2015/lib/models/resource/ResourceDocumentation.fixture.js +70 -0
- package/esm2015/lib/models/resource/ResourceDocumentation.js +2 -0
- package/esm2015/lib/models/resource/ResourceListItem.fixture.js +12 -0
- package/esm2015/lib/models/resource/ResourceListItem.js +2 -0
- package/esm2015/lib/models/resource/index.js +18 -0
- package/esm2015/lib/models/resource/testing.js +18 -0
- package/esm2015/lib/models/spel/Grammar.fixture.js +3693 -0
- package/esm2015/lib/models/spel/Grammar.js +17 -0
- package/esm2015/lib/models/spel/index.js +17 -0
- package/esm2015/lib/models/spel/testing.js +17 -0
- package/esm2015/lib/services/flow.abstract.service.js +3 -0
- package/esm2015/lib/services/flow.service.fixture.js +37 -0
- package/esm2015/lib/services/index.js +20 -0
- package/esm2015/lib/services/policy.abstract.service.js +3 -0
- package/esm2015/lib/services/policy.service.fixture.js +41 -0
- package/esm2015/lib/services/resource.abstract.service.js +3 -0
- package/esm2015/lib/services/resource.service.fixture.js +34 -0
- package/esm2015/lib/services/spel.abstract.service.js +3 -0
- package/esm2015/lib/services/spel.service.fixture.js +34 -0
- package/esm2015/public-api.js +5 -4
- package/esm2015/testing/gravitee-ui-policy-studio-angular-testing.js +5 -0
- package/esm2015/testing/lib/models/flow/ConfigurationSchema.fixture.js +25 -0
- package/esm2015/testing/lib/models/flow/ConfigurationSchema.js +2 -0
- package/esm2015/testing/lib/models/flow/OrganizationFlowConfiguration.fixture.js +7 -0
- package/esm2015/testing/lib/models/flow/OrganizationFlowConfiguration.js +2 -0
- package/esm2015/testing/lib/models/flow/PlatformFlowSchema.fixture.js +69 -0
- package/esm2015/testing/lib/models/flow/PlatformFlowSchema.js +17 -0
- package/esm2015/testing/lib/models/flow/index.js +19 -0
- package/esm2015/testing/lib/models/flow/testing.js +19 -0
- package/esm2015/testing/lib/models/json.js +2 -0
- package/esm2015/testing/lib/models/policy/PolicyDocumentation.fixture.js +218 -0
- package/esm2015/testing/lib/models/policy/PolicyDocumentation.js +2 -0
- package/esm2015/testing/lib/models/policy/PolicyListItem.fixture.js +15 -0
- package/esm2015/testing/lib/models/policy/PolicyListItem.js +2 -0
- package/esm2015/testing/lib/models/policy/PolicySchema.fixture.js +5 -0
- package/esm2015/testing/lib/models/policy/PolicySchema.js +2 -0
- package/esm2015/testing/lib/models/policy/index.js +19 -0
- package/esm2015/testing/lib/models/policy/testing.js +19 -0
- package/esm2015/testing/lib/models/resource/ResourceDocumentation.fixture.js +70 -0
- package/esm2015/testing/lib/models/resource/ResourceDocumentation.js +2 -0
- package/esm2015/testing/lib/models/resource/ResourceListItem.fixture.js +12 -0
- package/esm2015/testing/lib/models/resource/ResourceListItem.js +2 -0
- package/esm2015/testing/lib/models/resource/index.js +18 -0
- package/esm2015/testing/lib/models/resource/testing.js +18 -0
- package/esm2015/testing/lib/models/spel/Grammar.fixture.js +3693 -0
- package/esm2015/testing/lib/models/spel/Grammar.js +17 -0
- package/esm2015/testing/lib/models/spel/index.js +17 -0
- package/esm2015/testing/lib/models/spel/testing.js +17 -0
- package/esm2015/testing/lib/models/testing.js +20 -0
- package/esm2015/testing/lib/services/flow.abstract.service.js +3 -0
- package/esm2015/testing/lib/services/flow.service.fixture.js +37 -0
- package/esm2015/testing/lib/services/policy.abstract.service.js +3 -0
- package/esm2015/testing/lib/services/policy.service.fixture.js +41 -0
- package/esm2015/testing/lib/services/resource.abstract.service.js +3 -0
- package/esm2015/testing/lib/services/resource.service.fixture.js +34 -0
- package/esm2015/testing/lib/services/spel.abstract.service.js +3 -0
- package/esm2015/testing/lib/services/spel.service.fixture.js +34 -0
- package/esm2015/testing/lib/services/testing.js +20 -0
- package/esm2015/testing/public-testing-api.js +19 -0
- package/esm2015/testing/testing/index.js +17 -0
- package/esm2015/testing/testing/stories-resources/apim-definition.json +405 -0
- package/esm2015/testing/testing/stories-resources/apim-flow.json +54 -0
- package/esm2015/testing/testing/stories-resources/apim-policies.json +486 -0
- package/esm2015/testing/testing/stories-resources/apim-property-providers.json +39 -0
- package/esm2015/testing/testing/stories-resources/apim-resource-types.json +187 -0
- package/esm2015/testing/testing/stories-resources/index.js +26 -0
- package/fesm2015/gravitee-ui-policy-studio-angular-testing.js +5699 -0
- package/fesm2015/gravitee-ui-policy-studio-angular-testing.js.map +1 -0
- package/fesm2015/gravitee-ui-policy-studio-angular.js +4588 -25
- package/fesm2015/gravitee-ui-policy-studio-angular.js.map +1 -1
- package/lib/gio-policy-studio.component.d.ts +79 -0
- package/lib/gio-policy-studio.module.d.ts +8 -0
- package/lib/models/flow/ConfigurationSchema.d.ts +2 -0
- package/lib/models/flow/ConfigurationSchema.fixture.d.ts +2 -0
- package/lib/models/flow/OrganizationFlowConfiguration.d.ts +3 -0
- package/lib/models/flow/OrganizationFlowConfiguration.fixture.d.ts +2 -0
- package/lib/models/flow/PlatformFlowSchema.d.ts +2 -0
- package/lib/models/flow/PlatformFlowSchema.fixture.d.ts +2 -0
- package/lib/models/flow/index.d.ts +3 -0
- package/lib/models/flow/testing.d.ts +3 -0
- package/lib/models/index.d.ts +5 -0
- package/lib/models/json.d.ts +3 -0
- package/lib/models/policy/PolicyDocumentation.d.ts +1 -0
- package/lib/models/policy/PolicyDocumentation.fixture.d.ts +2 -0
- package/lib/models/policy/PolicyListItem.d.ts +13 -0
- package/lib/models/policy/PolicyListItem.fixture.d.ts +2 -0
- package/lib/models/policy/PolicySchema.d.ts +1 -0
- package/lib/models/policy/PolicySchema.fixture.d.ts +2 -0
- package/lib/models/policy/index.d.ts +3 -0
- package/lib/models/policy/testing.d.ts +3 -0
- package/lib/models/resource/ResourceDocumentation.d.ts +1 -0
- package/lib/models/resource/ResourceDocumentation.fixture.d.ts +2 -0
- package/lib/models/resource/ResourceListItem.d.ts +8 -0
- package/lib/models/resource/ResourceListItem.fixture.d.ts +2 -0
- package/lib/models/resource/index.d.ts +2 -0
- package/lib/models/resource/testing.d.ts +2 -0
- package/lib/models/spel/Grammar.d.ts +2 -0
- package/lib/models/spel/Grammar.fixture.d.ts +2 -0
- package/lib/models/spel/index.d.ts +1 -0
- package/lib/models/spel/testing.d.ts +1 -0
- package/lib/services/flow.abstract.service.d.ts +7 -0
- package/lib/services/flow.service.fixture.d.ts +11 -0
- package/lib/services/index.d.ts +4 -0
- package/lib/services/policy.abstract.service.d.ts +14 -0
- package/lib/services/policy.service.fixture.d.ts +13 -0
- package/lib/services/resource.abstract.service.d.ts +11 -0
- package/lib/services/resource.service.fixture.d.ts +10 -0
- package/lib/services/spel.abstract.service.d.ts +5 -0
- package/lib/services/spel.service.fixture.d.ts +9 -0
- package/package.json +5 -2
- package/public-api.d.ts +4 -3
- package/testing/gravitee-ui-policy-studio-angular-testing.d.ts +5 -0
- package/testing/lib/models/flow/ConfigurationSchema.d.ts +2 -0
- package/testing/lib/models/flow/ConfigurationSchema.fixture.d.ts +2 -0
- package/testing/lib/models/flow/OrganizationFlowConfiguration.d.ts +3 -0
- package/testing/lib/models/flow/OrganizationFlowConfiguration.fixture.d.ts +2 -0
- package/testing/lib/models/flow/PlatformFlowSchema.d.ts +2 -0
- package/testing/lib/models/flow/PlatformFlowSchema.fixture.d.ts +2 -0
- package/testing/lib/models/flow/index.d.ts +3 -0
- package/testing/lib/models/flow/testing.d.ts +3 -0
- package/testing/lib/models/json.d.ts +3 -0
- package/testing/lib/models/policy/PolicyDocumentation.d.ts +1 -0
- package/testing/lib/models/policy/PolicyDocumentation.fixture.d.ts +2 -0
- package/testing/lib/models/policy/PolicyListItem.d.ts +13 -0
- package/testing/lib/models/policy/PolicyListItem.fixture.d.ts +2 -0
- package/testing/lib/models/policy/PolicySchema.d.ts +1 -0
- package/testing/lib/models/policy/PolicySchema.fixture.d.ts +2 -0
- package/testing/lib/models/policy/index.d.ts +3 -0
- package/testing/lib/models/policy/testing.d.ts +3 -0
- package/testing/lib/models/resource/ResourceDocumentation.d.ts +1 -0
- package/testing/lib/models/resource/ResourceDocumentation.fixture.d.ts +2 -0
- package/testing/lib/models/resource/ResourceListItem.d.ts +8 -0
- package/testing/lib/models/resource/ResourceListItem.fixture.d.ts +2 -0
- package/testing/lib/models/resource/index.d.ts +2 -0
- package/testing/lib/models/resource/testing.d.ts +2 -0
- package/testing/lib/models/spel/Grammar.d.ts +2 -0
- package/testing/lib/models/spel/Grammar.fixture.d.ts +2 -0
- package/testing/lib/models/spel/index.d.ts +1 -0
- package/testing/lib/models/spel/testing.d.ts +1 -0
- package/testing/lib/models/testing.d.ts +4 -0
- package/testing/lib/services/flow.abstract.service.d.ts +7 -0
- package/testing/lib/services/flow.service.fixture.d.ts +11 -0
- package/testing/lib/services/policy.abstract.service.d.ts +14 -0
- package/testing/lib/services/policy.service.fixture.d.ts +13 -0
- package/testing/lib/services/resource.abstract.service.d.ts +11 -0
- package/testing/lib/services/resource.service.fixture.d.ts +10 -0
- package/testing/lib/services/spel.abstract.service.d.ts +5 -0
- package/testing/lib/services/spel.service.fixture.d.ts +9 -0
- package/testing/lib/services/testing.d.ts +4 -0
- package/testing/package.json +10 -0
- package/testing/public-testing-api.d.ts +3 -0
- package/testing/testing/index.d.ts +1 -0
- package/testing/testing/stories-resources/index.d.ts +592 -0
- package/esm2015/lib/ui-policy-studio-angular.component.js +0 -30
- package/esm2015/lib/ui-policy-studio-angular.module.js +0 -32
- package/esm2015/lib/ui-policy-studio-angular.service.js +0 -29
- package/lib/ui-policy-studio-angular.component.d.ts +0 -5
- package/lib/ui-policy-studio-angular.module.d.ts +0 -7
- package/lib/ui-policy-studio-angular.service.d.ts +0 -6
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare type PolicyDocumentation = string;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface PolicyListItem {
|
|
2
|
+
id: string;
|
|
3
|
+
name: string;
|
|
4
|
+
description: string;
|
|
5
|
+
version: string;
|
|
6
|
+
schema: string;
|
|
7
|
+
icon: string;
|
|
8
|
+
category?: string;
|
|
9
|
+
onRequest: boolean;
|
|
10
|
+
onResponse: boolean;
|
|
11
|
+
documentation?: string;
|
|
12
|
+
type?: 'REQUEST' | 'RESPONSE' | 'REQUEST_RESPONSE';
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare type PolicySchema = string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare type ResourceDocumentation = string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Grammar';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Grammar.fixture';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { FlowConfigurationSchema, OrganizationFlowConfiguration, PlatformFlowSchema } from '../models/flow';
|
|
3
|
+
export declare abstract class FlowServiceAbstract {
|
|
4
|
+
abstract getConfigurationSchemaForm(): Observable<FlowConfigurationSchema>;
|
|
5
|
+
abstract getPlatformFlowSchemaForm(): Observable<PlatformFlowSchema>;
|
|
6
|
+
abstract getConfiguration(): Observable<OrganizationFlowConfiguration>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { FlowConfigurationSchema, PlatformFlowSchema, OrganizationFlowConfiguration } from '../models/flow';
|
|
3
|
+
import { FlowServiceAbstract } from './flow.abstract.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class FlowService extends FlowServiceAbstract {
|
|
6
|
+
getConfigurationSchemaForm(): Observable<FlowConfigurationSchema>;
|
|
7
|
+
getPlatformFlowSchemaForm(): Observable<PlatformFlowSchema>;
|
|
8
|
+
getConfiguration(): Observable<OrganizationFlowConfiguration>;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FlowService, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FlowService>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { PolicyDocumentation, PolicyListItem, PolicySchema } from '../models/policy';
|
|
3
|
+
interface ListParams {
|
|
4
|
+
expandSchema?: boolean;
|
|
5
|
+
expandIcon?: boolean;
|
|
6
|
+
withoutResource?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare abstract class PolicyServiceAbstract {
|
|
9
|
+
abstract list(params: ListParams): Observable<PolicyListItem[]>;
|
|
10
|
+
abstract listSwaggerPolicies(): Observable<PolicyListItem[]>;
|
|
11
|
+
abstract getSchema(policyId: string): Observable<PolicySchema>;
|
|
12
|
+
abstract getDocumentation(policyId: string): Observable<PolicyDocumentation>;
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { PolicyDocumentation, PolicyListItem, PolicySchema } from '../models/policy';
|
|
3
|
+
import { PolicyServiceAbstract } from './policy.abstract.service';
|
|
4
|
+
import { ListParams } from './resource.abstract.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class PolicyService extends PolicyServiceAbstract {
|
|
7
|
+
list(_params: ListParams): Observable<PolicyListItem[]>;
|
|
8
|
+
listSwaggerPolicies(): Observable<PolicyListItem[]>;
|
|
9
|
+
getSchema(_policyId: string): Observable<PolicySchema>;
|
|
10
|
+
getDocumentation(_policyId: string): Observable<PolicyDocumentation>;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PolicyService, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PolicyService>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { ResourceListItem, ResourceDocumentation } from '../models/resource';
|
|
3
|
+
export interface ListParams {
|
|
4
|
+
expandSchema?: boolean;
|
|
5
|
+
expandIcon?: boolean;
|
|
6
|
+
withoutResource?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare abstract class ResourceServiceAbstract {
|
|
9
|
+
abstract list(params: ListParams): Observable<ResourceListItem[]>;
|
|
10
|
+
abstract getDocumentation(resourceId: string): Observable<ResourceDocumentation>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { ResourceDocumentation, ResourceListItem } from '../models/resource';
|
|
3
|
+
import { ListParams, ResourceServiceAbstract } from './resource.abstract.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ResourceService extends ResourceServiceAbstract {
|
|
6
|
+
list(_params: ListParams): Observable<ResourceListItem[]>;
|
|
7
|
+
getDocumentation(_resourceId: string): Observable<ResourceDocumentation>;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ResourceService, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ResourceService>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { Grammar } from '../models/spel';
|
|
3
|
+
import { SpelServiceAbstract } from './spel.abstract.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class SpelService extends SpelServiceAbstract {
|
|
6
|
+
getGrammar(): Observable<Grammar>;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpelService, never>;
|
|
8
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SpelService>;
|
|
9
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gravitee/ui-policy-studio-angular",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.0-design-studio-angular-part2-ed6a516",
|
|
4
4
|
"description": "Gravitee.io - UI Policy Studio Angular",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -16,7 +16,10 @@
|
|
|
16
16
|
"@angular/common": "^12.2.0",
|
|
17
17
|
"@angular/core": "^12.2.0",
|
|
18
18
|
"@angular/forms": "^12.2.0",
|
|
19
|
-
"@angular/material": "^12.2.0"
|
|
19
|
+
"@angular/material": "^12.2.0",
|
|
20
|
+
"@gravitee/ui-components": "^3.28.5",
|
|
21
|
+
"lodash": "^4.17.21",
|
|
22
|
+
"rxjs": "^6.0.0"
|
|
20
23
|
},
|
|
21
24
|
"publishConfig": {
|
|
22
25
|
"access": "public"
|
package/public-api.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
export * from './lib/
|
|
2
|
-
export * from './lib/
|
|
3
|
-
export * from './lib/
|
|
1
|
+
export * from './lib/models';
|
|
2
|
+
export * from './lib/services';
|
|
3
|
+
export * from './lib/gio-policy-studio.module';
|
|
4
|
+
export * from './lib/gio-policy-studio.component';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare type PolicyDocumentation = string;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export interface PolicyListItem {
|
|
2
|
+
id: string;
|
|
3
|
+
name: string;
|
|
4
|
+
description: string;
|
|
5
|
+
version: string;
|
|
6
|
+
schema: string;
|
|
7
|
+
icon: string;
|
|
8
|
+
category?: string;
|
|
9
|
+
onRequest: boolean;
|
|
10
|
+
onResponse: boolean;
|
|
11
|
+
documentation?: string;
|
|
12
|
+
type?: 'REQUEST' | 'RESPONSE' | 'REQUEST_RESPONSE';
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare type PolicySchema = string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare type ResourceDocumentation = string;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Grammar';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Grammar.fixture';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { FlowConfigurationSchema, OrganizationFlowConfiguration, PlatformFlowSchema } from '../models/flow';
|
|
3
|
+
export declare abstract class FlowServiceAbstract {
|
|
4
|
+
abstract getConfigurationSchemaForm(): Observable<FlowConfigurationSchema>;
|
|
5
|
+
abstract getPlatformFlowSchemaForm(): Observable<PlatformFlowSchema>;
|
|
6
|
+
abstract getConfiguration(): Observable<OrganizationFlowConfiguration>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { FlowConfigurationSchema, PlatformFlowSchema, OrganizationFlowConfiguration } from '../models/flow';
|
|
3
|
+
import { FlowServiceAbstract } from './flow.abstract.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class FlowService extends FlowServiceAbstract {
|
|
6
|
+
getConfigurationSchemaForm(): Observable<FlowConfigurationSchema>;
|
|
7
|
+
getPlatformFlowSchemaForm(): Observable<PlatformFlowSchema>;
|
|
8
|
+
getConfiguration(): Observable<OrganizationFlowConfiguration>;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<FlowService, never>;
|
|
10
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<FlowService>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { PolicyDocumentation, PolicyListItem, PolicySchema } from '../models/policy';
|
|
3
|
+
interface ListParams {
|
|
4
|
+
expandSchema?: boolean;
|
|
5
|
+
expandIcon?: boolean;
|
|
6
|
+
withoutResource?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare abstract class PolicyServiceAbstract {
|
|
9
|
+
abstract list(params: ListParams): Observable<PolicyListItem[]>;
|
|
10
|
+
abstract listSwaggerPolicies(): Observable<PolicyListItem[]>;
|
|
11
|
+
abstract getSchema(policyId: string): Observable<PolicySchema>;
|
|
12
|
+
abstract getDocumentation(policyId: string): Observable<PolicyDocumentation>;
|
|
13
|
+
}
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { PolicyDocumentation, PolicyListItem, PolicySchema } from '../models/policy';
|
|
3
|
+
import { PolicyServiceAbstract } from './policy.abstract.service';
|
|
4
|
+
import { ListParams } from './resource.abstract.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class PolicyService extends PolicyServiceAbstract {
|
|
7
|
+
list(_params: ListParams): Observable<PolicyListItem[]>;
|
|
8
|
+
listSwaggerPolicies(): Observable<PolicyListItem[]>;
|
|
9
|
+
getSchema(_policyId: string): Observable<PolicySchema>;
|
|
10
|
+
getDocumentation(_policyId: string): Observable<PolicyDocumentation>;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PolicyService, never>;
|
|
12
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PolicyService>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { ResourceListItem, ResourceDocumentation } from '../models/resource';
|
|
3
|
+
export interface ListParams {
|
|
4
|
+
expandSchema?: boolean;
|
|
5
|
+
expandIcon?: boolean;
|
|
6
|
+
withoutResource?: boolean;
|
|
7
|
+
}
|
|
8
|
+
export declare abstract class ResourceServiceAbstract {
|
|
9
|
+
abstract list(params: ListParams): Observable<ResourceListItem[]>;
|
|
10
|
+
abstract getDocumentation(resourceId: string): Observable<ResourceDocumentation>;
|
|
11
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { ResourceDocumentation, ResourceListItem } from '../models/resource';
|
|
3
|
+
import { ListParams, ResourceServiceAbstract } from './resource.abstract.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ResourceService extends ResourceServiceAbstract {
|
|
6
|
+
list(_params: ListParams): Observable<ResourceListItem[]>;
|
|
7
|
+
getDocumentation(_resourceId: string): Observable<ResourceDocumentation>;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ResourceService, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ResourceService>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { Grammar } from '../models/spel';
|
|
3
|
+
import { SpelServiceAbstract } from './spel.abstract.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class SpelService extends SpelServiceAbstract {
|
|
6
|
+
getGrammar(): Observable<Grammar>;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SpelService, never>;
|
|
8
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<SpelService>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
{
|
|
2
|
+
"main": "../bundles/gravitee-ui-policy-studio-angular-testing.umd.js",
|
|
3
|
+
"module": "../fesm2015/gravitee-ui-policy-studio-angular-testing.js",
|
|
4
|
+
"es2015": "../fesm2015/gravitee-ui-policy-studio-angular-testing.js",
|
|
5
|
+
"esm2015": "../esm2015/testing/gravitee-ui-policy-studio-angular-testing.js",
|
|
6
|
+
"fesm2015": "../fesm2015/gravitee-ui-policy-studio-angular-testing.js",
|
|
7
|
+
"typings": "gravitee-ui-policy-studio-angular-testing.d.ts",
|
|
8
|
+
"sideEffects": false,
|
|
9
|
+
"name": "@gravitee/ui-policy-studio-angular/testing"
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './stories-resources';
|