@cqa-lib/cqa-ui 1.1.557-delta.11 → 1.1.557-delta.13

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.
@@ -10,6 +10,9 @@ export declare class TestCaseApiStepComponent implements OnInit {
10
10
  config: ApiStepConfig;
11
11
  stepNumber: number | string;
12
12
  method: 'GET' | 'POST' | 'PUT' | 'DELETE' | 'PATCH';
13
+ /** When 'graphql', the step row renders a "GraphQL" label instead of the HTTP
14
+ * method. Falls back to 'rest' for any non-graphql value or when omitted. */
15
+ apiType: 'rest' | 'graphql';
13
16
  endpoint: string;
14
17
  description?: string;
15
18
  baseUrl?: string;
@@ -67,5 +70,5 @@ export declare class TestCaseApiStepComponent implements OnInit {
67
70
  onViewDetails(event?: MouseEvent): void;
68
71
  onSelectionChange(checked: boolean): void;
69
72
  static ɵfac: i0.ɵɵFactoryDeclaration<TestCaseApiStepComponent, never>;
70
- static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseApiStepComponent, "cqa-test-case-api-step", never, { "config": "config"; "stepNumber": "stepNumber"; "method": "method"; "endpoint": "endpoint"; "description": "description"; "baseUrl": "baseUrl"; "headersCount": "headersCount"; "hasBody": "hasBody"; "saveTo": "saveTo"; "selected": "selected"; "disabled": "disabled"; "isNested": "isNested"; "isInsideLoop": "isInsideLoop"; "isInsideStepGroup": "isInsideStepGroup"; "nestingLevel": "nestingLevel"; "expanded": "expanded"; "isReorder": "isReorder"; "editable": "editable"; "isDuplicating": "isDuplicating"; "environmentOptions": "environmentOptions"; "httpMethodOptions": "httpMethodOptions"; "headerNameOptions": "headerNameOptions"; }, { "edit": "edit"; "editInDepth": "editInDepth"; "link": "link"; "duplicate": "duplicate"; "delete": "delete"; "moreOptions": "moreOptions"; "viewDetails": "viewDetails"; "selectionChange": "selectionChange"; "toggleExpanded": "toggleExpanded"; "stepUpdate": "stepUpdate"; }, never, never>;
73
+ static ɵcmp: i0.ɵɵComponentDeclaration<TestCaseApiStepComponent, "cqa-test-case-api-step", never, { "config": "config"; "stepNumber": "stepNumber"; "method": "method"; "apiType": "apiType"; "endpoint": "endpoint"; "description": "description"; "baseUrl": "baseUrl"; "headersCount": "headersCount"; "hasBody": "hasBody"; "saveTo": "saveTo"; "selected": "selected"; "disabled": "disabled"; "isNested": "isNested"; "isInsideLoop": "isInsideLoop"; "isInsideStepGroup": "isInsideStepGroup"; "nestingLevel": "nestingLevel"; "expanded": "expanded"; "isReorder": "isReorder"; "editable": "editable"; "isDuplicating": "isDuplicating"; "environmentOptions": "environmentOptions"; "httpMethodOptions": "httpMethodOptions"; "headerNameOptions": "headerNameOptions"; }, { "edit": "edit"; "editInDepth": "editInDepth"; "link": "link"; "duplicate": "duplicate"; "delete": "delete"; "moreOptions": "moreOptions"; "viewDetails": "viewDetails"; "selectionChange": "selectionChange"; "toggleExpanded": "toggleExpanded"; "stepUpdate": "stepUpdate"; }, never, never>;
71
74
  }
@@ -72,6 +72,10 @@ export interface ApiStepConfig extends BaseStepConfig {
72
72
  hasBody?: boolean;
73
73
  saveTo?: string;
74
74
  expectedStatus?: number;
75
+ /** Optional API protocol marker. Defaults to 'rest' when omitted. Used by the
76
+ * step row to hide the HTTP method for GraphQL steps (method is always POST
77
+ * internally and isn't user-configurable in GraphQL mode). */
78
+ apiType?: 'rest' | 'graphql';
75
79
  }
76
80
  /** Database Step Configuration */
77
81
  export interface DatabaseStepConfig extends BaseStepConfig {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cqa-lib/cqa-ui",
3
- "version": "1.1.557-delta.11",
3
+ "version": "1.1.557-delta.13",
4
4
  "description": "UI Kit library for Angular 13.4",
5
5
  "keywords": [
6
6
  "angular",