@api-client/core 0.8.3 → 0.8.4
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/build/src/amf/AmfMixin.d.ts +1 -1
- package/build/src/amf/definitions/Api.d.ts +6 -6
- package/build/src/amf/definitions/Shapes.d.ts +2 -2
- package/build/src/amf/models/AmfDataNode.d.ts +1 -1
- package/build/src/cookies/CookieParser.d.ts +1 -1
- package/build/src/lib/parsers/UrlProcessor.d.ts +1 -1
- package/build/src/lib/transformers/PayloadSerializer.d.ts +3 -3
- package/build/src/mocking/LegacyInterfaces.d.ts +1 -1
- package/build/src/models/Authorization.d.ts +3 -3
- package/build/src/models/ClientCertificate.d.ts +4 -4
- package/build/src/models/HttpCookie.d.ts +2 -2
- package/build/src/models/ProjectItem.d.ts +1 -1
- package/build/src/models/Property.d.ts +1 -1
- package/build/src/models/data/DataNamespace.d.ts +1 -1
- package/build/src/models/data/DataProperty.d.ts +2 -2
- package/build/src/models/legacy/actions/Actions.d.ts +5 -5
- package/build/src/models/legacy/authorization/Authorization.d.ts +2 -2
- package/build/src/models/store/Backend.d.ts +2 -2
- package/build/src/models/store/Permission.d.ts +3 -3
- package/build/src/models/transformers/PostmanTransformer.d.ts +1 -1
- package/build/src/models/transformers/PostmanV21Transformer.d.ts +1 -1
- package/build/src/models/transformers/har.d.ts +1 -1
- package/build/src/runtime/http-runner/HttpFlowRunner.d.ts +1 -1
- package/build/src/runtime/node/ProjectParallelRunner.d.ts +1 -1
- package/build/src/runtime/node/ProjectRunner.d.ts +1 -1
- package/build/src/runtime/store/FilesSdk.d.ts +1 -1
- package/data/models/APIC-187.json +13 -3
- package/data/models/APIC-188.json +13 -3
- package/data/models/APIC-233.json +1 -1
- package/data/models/APIC-391.json +23 -2
- package/data/models/APIC-483.json +22 -1
- package/data/models/APIC-487.json +1 -1
- package/data/models/APIC-655.json +21 -1
- package/data/models/APIC-689.json +21 -1
- package/data/models/APIC-690.json +5 -5
- package/data/models/SE-10469.json +11 -1
- package/data/models/SE-13092.json +35 -5
- package/data/models/SE-22063.json +22 -2
- package/data/models/amf-helper-api.json +740 -42
- package/data/models/arc-demo-api.json +328 -28
- package/data/models/async-api.json +86 -36
- package/data/models/example-generator-api.json +280 -10
- package/data/models/expanded-api.json +1 -1
- package/data/models/flattened-api.json +1 -1
- package/data/models/multiple-servers.json +1 -1
- package/data/models/oas-3-api.json +71 -1
- package/data/models/oas-date.json +1 -1
- package/data/models/oas-types.json +1 -1
- package/data/models/oas-unions.json +31 -1
- package/data/models/petstore.json +201 -1
- package/data/models/raml-date.json +11 -1
- package/data/models/recursive.json +1 -1
- package/data/models/schema-api.json +84 -4
- package/data/models/secured-api.json +16 -16
- package/data/models/tracked-to-linked.json +88 -4
- package/package.json +3 -3
|
@@ -41,7 +41,7 @@ export interface ServerQueryOptions {
|
|
|
41
41
|
*/
|
|
42
42
|
id?: string;
|
|
43
43
|
}
|
|
44
|
-
|
|
44
|
+
type Constructor<T = {}> = new (...args: any[]) => T;
|
|
45
45
|
export declare class AmfMixinInterface {
|
|
46
46
|
amf?: IAmfDocument;
|
|
47
47
|
_amf?: IAmfDocument;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IApiDomainProperty } from "./Base.js";
|
|
2
2
|
import { IApiDataExample, IApiDataNode, IApiDataNodeUnion, IShapeUnion } from "./Shapes.js";
|
|
3
|
-
export
|
|
3
|
+
export type IScalarDataTypes = 'string' | 'base64Binary' | 'boolean' | 'date' | 'dateTime' | 'double' | 'float' | 'integer' | 'long' | 'number' | 'time';
|
|
4
4
|
export interface IApiSummary extends IApiDomainProperty {
|
|
5
5
|
name?: string;
|
|
6
6
|
description?: string;
|
|
@@ -182,7 +182,7 @@ export interface IApiSecurityOpenIdConnectSettings extends IApiSecuritySettings
|
|
|
182
182
|
url?: string;
|
|
183
183
|
sourceMaps?: IApiDocumentSourceMaps;
|
|
184
184
|
}
|
|
185
|
-
export
|
|
185
|
+
export type IApiSecuritySettingsUnion = IApiSecuritySettings | IApiSecurityOAuth1Settings | IApiSecurityOAuth2Settings | IApiSecurityApiKeySettings | IApiSecurityHttpSettings | IApiSecurityOpenIdConnectSettings;
|
|
186
186
|
export interface IApiSecurityOAuth2Flow extends IApiDomainProperty {
|
|
187
187
|
authorizationUri?: string;
|
|
188
188
|
accessTokenUri?: string;
|
|
@@ -304,8 +304,8 @@ export interface IShapeProcessingOptions {
|
|
|
304
304
|
* - `custom`: custom base URI value (entered by the user)
|
|
305
305
|
* - `extra`: an application controlled server value selected by the user.
|
|
306
306
|
*/
|
|
307
|
-
export
|
|
308
|
-
export
|
|
307
|
+
export type IServerType = 'server' | 'custom' | 'extra';
|
|
308
|
+
export type ISelectionType = 'summary' | 'resource' | 'operation' | 'schema' | 'security' | 'documentation';
|
|
309
309
|
/**
|
|
310
310
|
* API navigation layout options.
|
|
311
311
|
*
|
|
@@ -314,7 +314,7 @@ export declare type ISelectionType = 'summary' | 'resource' | 'operation' | 'sch
|
|
|
314
314
|
* - natural-sort - as `natural` but endpoints are sorted by name.
|
|
315
315
|
* - off (or none) - just like in the API spec.
|
|
316
316
|
*/
|
|
317
|
-
export
|
|
317
|
+
export type INavigationLayout = 'tree' | 'natural' | 'natural-sort' | 'off';
|
|
318
318
|
export interface ISelectableMenuItem {
|
|
319
319
|
/**
|
|
320
320
|
* Whether the item is a selected menu item.
|
|
@@ -378,4 +378,4 @@ export interface ISecurityItem extends IApiSecuritySchemeListItem, ISelectableMe
|
|
|
378
378
|
}
|
|
379
379
|
export interface IDocumentationItem extends IApiDocumentation, ISelectableMenuItem, IEditableMenuItem {
|
|
380
380
|
}
|
|
381
|
-
export
|
|
381
|
+
export type ISchemaAddType = 'scalar' | 'object' | 'file' | 'array' | 'union';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IApiDocumentation, IApiDocumentSourceMaps } from './Api.js';
|
|
2
2
|
import { IApiDomainProperty } from './Base.js';
|
|
3
|
-
export
|
|
3
|
+
export type IShapeUnion = IApiScalarShape | IApiNodeShape | IApiUnionShape | IApiFileShape | IApiSchemaShape | IApiAnyShape | IApiArrayShape | IApiTupleShape | IApiRecursiveShape;
|
|
4
4
|
export interface IApiAssociationShape {
|
|
5
5
|
/**
|
|
6
6
|
* This is custom property not available in AMF and used with data associations.
|
|
@@ -306,4 +306,4 @@ export interface IApiScalarNode extends IApiDataNode {
|
|
|
306
306
|
export interface IApiArrayNode extends IApiDataNode {
|
|
307
307
|
members: IApiDataNodeUnion[];
|
|
308
308
|
}
|
|
309
|
-
export
|
|
309
|
+
export type IApiDataNodeUnion = IApiDataNode | IApiObjectNode | IApiScalarNode | IApiArrayNode;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IApiCustomDomainProperty } from '../definitions/Base.js';
|
|
2
2
|
import { IApiDataNodeUnion } from '../definitions/Shapes.js';
|
|
3
|
-
export
|
|
3
|
+
export type IDataNodeInit = 'scalar' | 'object' | 'array';
|
|
4
4
|
/**
|
|
5
5
|
* A class that manipulates the AMF's DataNode node.
|
|
6
6
|
*/
|
|
@@ -130,7 +130,7 @@ export interface IUrlExpandOptions {
|
|
|
130
130
|
*/
|
|
131
131
|
strict?: boolean;
|
|
132
132
|
}
|
|
133
|
-
export
|
|
133
|
+
export type UrlPart = IUrlPart | IUrlParamPart | IUrlExpressionPart;
|
|
134
134
|
export declare class UrlSearchParams {
|
|
135
135
|
/**
|
|
136
136
|
* A reference to the URL processor's parts.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
|
-
export
|
|
3
|
-
export
|
|
2
|
+
export type PayloadTypes = 'string' | 'file' | 'blob' | 'buffer' | 'arraybuffer' | 'formdata' | 'x-www-form-urlencoded';
|
|
3
|
+
export type DeserializedPayload = string | Blob | File | FormData | Buffer | ArrayBuffer | undefined;
|
|
4
4
|
export declare const SupportedPayloadTypes: PayloadTypes[];
|
|
5
5
|
export interface IMultipartBody {
|
|
6
6
|
/**
|
|
@@ -80,7 +80,7 @@ export interface ISafePayload {
|
|
|
80
80
|
* A Buffer / ArrayBuffer is stored as type 'buffer' / 'arraybuffer' respectively
|
|
81
81
|
* with the `data` being an UInt8Array of the content.
|
|
82
82
|
*/
|
|
83
|
-
export
|
|
83
|
+
export type Payload = string | ISafePayload;
|
|
84
84
|
export declare class PayloadSerializer {
|
|
85
85
|
/**
|
|
86
86
|
* Checked whether the passed payload can be safely stored in the data store.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IDataMockInit, IHarTimingInit, IHttpResponseRedirectStatusInit } from '@pawel-up/data-mock';
|
|
2
|
-
export
|
|
2
|
+
export type ArcDataMockInit = IDataMockInit;
|
|
3
3
|
export interface VariableInit {
|
|
4
4
|
defaultEnv?: boolean;
|
|
5
5
|
randomEnv?: boolean;
|
|
@@ -246,7 +246,7 @@ export interface IOAuth2Authorization extends IBaseOAuth2Authorization {
|
|
|
246
246
|
*/
|
|
247
247
|
deviceCode?: string;
|
|
248
248
|
}
|
|
249
|
-
export
|
|
249
|
+
export type OAuth2DeliveryMethod = 'header' | 'query' | 'body';
|
|
250
250
|
/**
|
|
251
251
|
* Options for removing the OAuth 2 token from the cache.
|
|
252
252
|
*/
|
|
@@ -445,6 +445,6 @@ export interface IPassThroughAuthorization {
|
|
|
445
445
|
*/
|
|
446
446
|
export interface IRamlCustomAuthorization extends IPassThroughAuthorization {
|
|
447
447
|
}
|
|
448
|
-
export
|
|
449
|
-
export
|
|
448
|
+
export type IAuthorizationSettingsUnion = IBasicAuthorization | IBearerAuthorization | INtlmAuthorization | IDigestAuthorization | IOAuth1Authorization | IOAuth2Authorization | ICCAuthorization | IApiKeyAuthorization | IPassThroughAuthorization | IRamlCustomAuthorization | IOidcAuthorization;
|
|
449
|
+
export type AuthorizationType = 'basic' | 'bearer' | 'ntlm' | 'digest' | 'oauth 1' | 'oauth 2' | 'client certificate' | 'api key' | 'pass through' | 'raml custom' | 'open id';
|
|
450
450
|
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
import { ARCCertificateIndex, RequestCertificate } from './legacy/models/ClientCertificate.js';
|
|
3
|
-
export
|
|
3
|
+
export type CertificateType = 'p12' | 'pem';
|
|
4
4
|
export declare const Kind = "Core#Certificate";
|
|
5
|
-
export
|
|
5
|
+
export type CertificateDataFormat = string | ArrayBuffer | Buffer | Uint8Array;
|
|
6
6
|
/**
|
|
7
7
|
* Represents a single certificate object (cert/key)
|
|
8
8
|
*/
|
|
@@ -62,7 +62,7 @@ export interface IPemCertificate extends ICertificate {
|
|
|
62
62
|
*/
|
|
63
63
|
certKey: ICertificateData;
|
|
64
64
|
}
|
|
65
|
-
export
|
|
65
|
+
export type HttpCertificate = IP12Certificate | IPemCertificate | ICertificate;
|
|
66
66
|
export interface IPemCreateOptions {
|
|
67
67
|
type: 'p12';
|
|
68
68
|
/**
|
|
@@ -97,7 +97,7 @@ export interface IP12CreateOptions {
|
|
|
97
97
|
*/
|
|
98
98
|
passphrase?: string;
|
|
99
99
|
}
|
|
100
|
-
export
|
|
100
|
+
export type ICertificateCreateOptions = IPemCreateOptions | IP12CreateOptions;
|
|
101
101
|
/**
|
|
102
102
|
* A class that represents a certificate in the system
|
|
103
103
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ARCCookie as LegacyARCCookie } from './legacy/models/Cookies.js';
|
|
2
|
-
export
|
|
3
|
-
export
|
|
2
|
+
export type CookieSameSiteType = 'unspecified' | 'no_restriction' | 'lax' | 'strict';
|
|
3
|
+
export type CookieChangeReason = 'explicit' | 'overwrite' | 'expired' | 'evicted' | 'expired-overwrite';
|
|
4
4
|
export interface IElectronCookie {
|
|
5
5
|
name: string;
|
|
6
6
|
value: string;
|
|
@@ -3,7 +3,7 @@ import { Kind as ProjectRequestKind, ProjectRequest } from './ProjectRequest.js'
|
|
|
3
3
|
import { Kind as EnvironmentKind, Environment } from './Environment.js';
|
|
4
4
|
import { HttpProject } from './HttpProject.js';
|
|
5
5
|
import { IAppProjectItem } from './AppProject.js';
|
|
6
|
-
|
|
6
|
+
type Kind = typeof ProjectFolderKind | typeof ProjectRequestKind | typeof EnvironmentKind;
|
|
7
7
|
export interface IProjectItem {
|
|
8
8
|
/**
|
|
9
9
|
* The kind of the item.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ApiType } from './legacy/models/ApiTypes.js';
|
|
2
|
-
export
|
|
2
|
+
export type PropertyType = 'string' | 'integer' | 'float' | 'nil' | 'boolean' | 'date' | 'datetime' | 'time' | 'int32' | 'int64' | 'uint32' | 'uint64' | 'sint32' | 'sint64' | 'fixed32' | 'fixed64' | 'sfixed32' | 'sfixed64' | 'double' | 'bytes';
|
|
3
3
|
export interface IProperty {
|
|
4
4
|
kind: typeof Kind;
|
|
5
5
|
/**
|
|
@@ -4,7 +4,7 @@ import { IDataEntity, DataEntity } from "./DataEntity.js";
|
|
|
4
4
|
import { IDataModel, DataModel, Kind as DataModelKind } from "./DataModel.js";
|
|
5
5
|
import { IDataProperty, DataProperty } from "./DataProperty.js";
|
|
6
6
|
export declare const Kind = "Core#DataNamespace";
|
|
7
|
-
|
|
7
|
+
type ItemKind = typeof Kind | typeof DataModelKind;
|
|
8
8
|
interface IDataDefinitions {
|
|
9
9
|
models?: IDataModel[];
|
|
10
10
|
entities?: IDataEntity[];
|
|
@@ -2,7 +2,7 @@ import { IThing, Thing } from "../Thing.js";
|
|
|
2
2
|
import { DataNamespace } from "./DataNamespace.js";
|
|
3
3
|
import { IApiPropertyShape } from "../../amf/definitions/Shapes.js";
|
|
4
4
|
import { IPropertyBindings, IPropertySchema } from './Bindings.js';
|
|
5
|
-
export
|
|
5
|
+
export type DataPropertyType = 'string' | 'number' | 'integer' | 'nil' | 'boolean' | 'date' | 'datetime' | 'time' | 'any' | 'binary';
|
|
6
6
|
export declare const DataPropertyTypes: DataPropertyType[];
|
|
7
7
|
export declare enum DataPropertyList {
|
|
8
8
|
string = "string",
|
|
@@ -16,7 +16,7 @@ export declare enum DataPropertyList {
|
|
|
16
16
|
any = "any",
|
|
17
17
|
file = "binary"
|
|
18
18
|
}
|
|
19
|
-
export
|
|
19
|
+
export type DateFormat = 'rfc3339' | 'rfc2616';
|
|
20
20
|
export declare const DateFormats: DateFormat[];
|
|
21
21
|
export declare enum DateFormatList {
|
|
22
22
|
/**
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export
|
|
1
|
+
export type ActionType = 'request' | 'response';
|
|
2
2
|
/**
|
|
3
3
|
* A base interface describing a configuration to extract data from a request or a response.
|
|
4
4
|
* @deprecated
|
|
@@ -139,7 +139,7 @@ export interface Action {
|
|
|
139
139
|
* Convenience type that gathers all configurations in one type.
|
|
140
140
|
* @deprecated
|
|
141
141
|
*/
|
|
142
|
-
export
|
|
142
|
+
export type ActionConfiguration = SetCookieConfig | SetVariableConfig | DeleteCookieConfig;
|
|
143
143
|
/**
|
|
144
144
|
* @deprecated
|
|
145
145
|
*/
|
|
@@ -236,15 +236,15 @@ export interface IteratorConfiguration {
|
|
|
236
236
|
/**
|
|
237
237
|
* @deprecated
|
|
238
238
|
*/
|
|
239
|
-
export
|
|
239
|
+
export type OperatorEnum = "equal" | "not-equal" | "greater-than" | "greater-than-equal" | "less-than" | "less-than-equal" | "contains" | "regex";
|
|
240
240
|
/**
|
|
241
241
|
* @deprecated
|
|
242
242
|
*/
|
|
243
|
-
export
|
|
243
|
+
export type RequestDataSourceEnum = "url" | "method" | "headers" | "body";
|
|
244
244
|
/**
|
|
245
245
|
* @deprecated
|
|
246
246
|
*/
|
|
247
|
-
export
|
|
247
|
+
export type ResponseDataSourceEnum = "url" | "status" | "headers" | "body";
|
|
248
248
|
/**
|
|
249
249
|
* An UI controlling configuration for an action.
|
|
250
250
|
* @deprecated
|
|
@@ -306,7 +306,7 @@ export interface OAuth2Authorization extends BaseOAuth2Authorization {
|
|
|
306
306
|
/**
|
|
307
307
|
* @deprecated
|
|
308
308
|
*/
|
|
309
|
-
export
|
|
309
|
+
export type OAuth2DeliveryMethod = 'header' | 'query' | 'body';
|
|
310
310
|
/**
|
|
311
311
|
* Options for removing the OAuth 2 token from the cache.
|
|
312
312
|
* @deprecated
|
|
@@ -536,5 +536,5 @@ export interface RamlCustomAuthorization extends PassThroughAuthorization {
|
|
|
536
536
|
/**
|
|
537
537
|
* @deprecated
|
|
538
538
|
*/
|
|
539
|
-
export
|
|
539
|
+
export type AuthorizationSettingsUnion = LegacyAuth | BasicAuthorization | BearerAuthorization | NtlmAuthorization | DigestAuthorization | OAuth1Authorization | OAuth2Authorization | CCAuthorization | ApiKeyAuthorization | PassThroughAuthorization | RamlCustomAuthorization;
|
|
540
540
|
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { JsonPatch } from '@api-client/json';
|
|
2
2
|
import { AccessOperation } from './Permission.js';
|
|
3
|
-
export
|
|
3
|
+
export type BackendMode = 'single-user' | 'multi-user';
|
|
4
4
|
export interface IBackendInfo {
|
|
5
5
|
/**
|
|
6
6
|
* The model the store is on.
|
|
@@ -196,7 +196,7 @@ export interface ICursorOptions {
|
|
|
196
196
|
/**
|
|
197
197
|
* Listing options for the HTTP history.
|
|
198
198
|
*/
|
|
199
|
-
export
|
|
199
|
+
export type HistoryListOptions = IHistorySpaceListOptions | IHistoryProjectListOptions | IHistoryRequestListOptions | IHistoryUserListOptions | IHistoryAppListOptions;
|
|
200
200
|
/**
|
|
201
201
|
* Query options to list history for a user space.
|
|
202
202
|
* The user has to have access to the user space to read / create / delete the history.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export declare const Kind = "Core#Permission";
|
|
2
|
-
export
|
|
3
|
-
export
|
|
2
|
+
export type PermissionType = 'user' | 'group' | 'anyone';
|
|
3
|
+
export type PermissionRole = 'owner' | 'reader' | 'commenter' | 'writer';
|
|
4
4
|
interface IBasePermission {
|
|
5
5
|
/**
|
|
6
6
|
* The type of the permission.
|
|
@@ -207,5 +207,5 @@ export interface IAccessAddOperation extends IAccessOperation {
|
|
|
207
207
|
export interface IAccessRemoveOperation extends IAccessOperation {
|
|
208
208
|
op: "remove";
|
|
209
209
|
}
|
|
210
|
-
export
|
|
210
|
+
export type AccessOperation = IAccessAddOperation | IAccessRemoveOperation;
|
|
211
211
|
export {};
|
|
@@ -17,7 +17,7 @@ export declare function variablesReplacerFunction(match: string, value: string):
|
|
|
17
17
|
*/
|
|
18
18
|
export declare function paramValue(input: string): string;
|
|
19
19
|
export declare const dataValue: unique symbol;
|
|
20
|
-
export
|
|
20
|
+
export type PostmanImportLogLevel = 'error' | 'warning' | 'info';
|
|
21
21
|
export interface PostmanImportLog {
|
|
22
22
|
type: PostmanImportLogLevel;
|
|
23
23
|
message: string;
|
|
@@ -655,7 +655,7 @@ export interface QueryString {
|
|
|
655
655
|
*
|
|
656
656
|
* http://www.softwareishard.com/blog/har-12-spec/#postData
|
|
657
657
|
*/
|
|
658
|
-
export
|
|
658
|
+
export type PostData = PostDataCommon & (PostDataParams | PostDataText);
|
|
659
659
|
/**
|
|
660
660
|
* The common properties of PostData
|
|
661
661
|
*/
|
|
@@ -4,7 +4,7 @@ import { ISentRequest } from "../../models/SentRequest.js";
|
|
|
4
4
|
import { IResponse } from "../../models/Response.js";
|
|
5
5
|
import { IErrorResponse } from "../../models/ErrorResponse.js";
|
|
6
6
|
import { IActionStep, IDeleteCookieStep, IHttpAction, IHttpActionFlow, IHttpCondition, IReadDataStep, ISetCookieStep, ISetDataStep, ISetVariableStep } from '../../models/http-actions/HttpActions.js';
|
|
7
|
-
|
|
7
|
+
type FlowValue = string | number | boolean | null | undefined;
|
|
8
8
|
export declare class HttpFlowRunner {
|
|
9
9
|
/**
|
|
10
10
|
* The cumulative list of all variables to be applied to the request and other properties.
|
|
@@ -6,7 +6,7 @@ import { IProjectExecutionLog } from '../reporters/Reporter.js';
|
|
|
6
6
|
import { BaseRunner } from './BaseRunner.js';
|
|
7
7
|
import { State } from './enums.js';
|
|
8
8
|
import { IProjectParallelRunnerOptions } from './InteropInterfaces.js';
|
|
9
|
-
export
|
|
9
|
+
export type WorkerStatus = 'initializing' | 'ready' | 'running' | 'finished' | 'error';
|
|
10
10
|
export interface IWorkerInfo {
|
|
11
11
|
/**
|
|
12
12
|
* Whether the worker is online.
|
|
@@ -9,7 +9,7 @@ import { BaseRunner } from './BaseRunner.js';
|
|
|
9
9
|
import { IProjectRunnerOptions, IRequestRunnerOptions } from './InteropInterfaces.js';
|
|
10
10
|
import { State } from './enums.js';
|
|
11
11
|
import { AppProject, AppProjectFolder } from '../../models/AppProject.js';
|
|
12
|
-
|
|
12
|
+
type ProjectParent = HttpProject | ProjectFolder | AppProject | AppProjectFolder;
|
|
13
13
|
export interface ProjectRunner {
|
|
14
14
|
/**
|
|
15
15
|
* Event dispatched when an iteration is about to start.
|
|
@@ -22,7 +22,7 @@ export interface IMediaCreateOptions {
|
|
|
22
22
|
}
|
|
23
23
|
export interface IFileCreateOptions extends IMetaCreateOptions, IMediaCreateOptions {
|
|
24
24
|
}
|
|
25
|
-
export
|
|
25
|
+
export type ListFileKind = typeof ProjectKind | typeof WorkspaceKind | typeof DataNamespaceKind;
|
|
26
26
|
/**
|
|
27
27
|
* In the store, the file is represented by the meta and the media.
|
|
28
28
|
*
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"@type": [
|
|
6
6
|
"doc:APIContractProcessingData"
|
|
7
7
|
],
|
|
8
|
-
"apiContract:modelVersion": "3.
|
|
8
|
+
"apiContract:modelVersion": "3.8.0",
|
|
9
9
|
"doc:transformed": true,
|
|
10
10
|
"doc:sourceSpec": "RAML 1.0"
|
|
11
11
|
},
|
|
@@ -224,6 +224,11 @@
|
|
|
224
224
|
{
|
|
225
225
|
"@id": "#182/source-map/lexical/element_0"
|
|
226
226
|
}
|
|
227
|
+
],
|
|
228
|
+
"sourcemaps:virtual-element": [
|
|
229
|
+
{
|
|
230
|
+
"@id": "#182/source-map/virtual-element/element_0"
|
|
231
|
+
}
|
|
227
232
|
]
|
|
228
233
|
},
|
|
229
234
|
{
|
|
@@ -343,6 +348,11 @@
|
|
|
343
348
|
"sourcemaps:value": "[(13,4)-(18,0)]"
|
|
344
349
|
},
|
|
345
350
|
{
|
|
351
|
+
"@id": "#182/source-map/virtual-element/element_0",
|
|
352
|
+
"sourcemaps:element": "amf://id#182",
|
|
353
|
+
"sourcemaps:value": "true"
|
|
354
|
+
},
|
|
355
|
+
{
|
|
346
356
|
"@id": "#3",
|
|
347
357
|
"@type": [
|
|
348
358
|
"shacl:PropertyShape",
|
|
@@ -11288,7 +11298,7 @@
|
|
|
11288
11298
|
"@type": [
|
|
11289
11299
|
"doc:APIContractProcessingData"
|
|
11290
11300
|
],
|
|
11291
|
-
"apiContract:modelVersion": "3.
|
|
11301
|
+
"apiContract:modelVersion": "3.8.0",
|
|
11292
11302
|
"doc:sourceSpec": "RAML 1.0"
|
|
11293
11303
|
},
|
|
11294
11304
|
{
|
|
@@ -11316,7 +11326,7 @@
|
|
|
11316
11326
|
"@type": [
|
|
11317
11327
|
"doc:APIContractProcessingData"
|
|
11318
11328
|
],
|
|
11319
|
-
"apiContract:modelVersion": "3.
|
|
11329
|
+
"apiContract:modelVersion": "3.8.0",
|
|
11320
11330
|
"doc:sourceSpec": "RAML 1.0"
|
|
11321
11331
|
},
|
|
11322
11332
|
{
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"@type": [
|
|
6
6
|
"doc:APIContractProcessingData"
|
|
7
7
|
],
|
|
8
|
-
"apiContract:modelVersion": "3.
|
|
8
|
+
"apiContract:modelVersion": "3.8.0",
|
|
9
9
|
"doc:transformed": true,
|
|
10
10
|
"doc:sourceSpec": "RAML 1.0"
|
|
11
11
|
},
|
|
@@ -224,6 +224,11 @@
|
|
|
224
224
|
{
|
|
225
225
|
"@id": "#182/source-map/lexical/element_0"
|
|
226
226
|
}
|
|
227
|
+
],
|
|
228
|
+
"sourcemaps:virtual-element": [
|
|
229
|
+
{
|
|
230
|
+
"@id": "#182/source-map/virtual-element/element_0"
|
|
231
|
+
}
|
|
227
232
|
]
|
|
228
233
|
},
|
|
229
234
|
{
|
|
@@ -343,6 +348,11 @@
|
|
|
343
348
|
"sourcemaps:value": "[(13,4)-(18,0)]"
|
|
344
349
|
},
|
|
345
350
|
{
|
|
351
|
+
"@id": "#182/source-map/virtual-element/element_0",
|
|
352
|
+
"sourcemaps:element": "amf://id#182",
|
|
353
|
+
"sourcemaps:value": "true"
|
|
354
|
+
},
|
|
355
|
+
{
|
|
346
356
|
"@id": "#3",
|
|
347
357
|
"@type": [
|
|
348
358
|
"shacl:PropertyShape",
|
|
@@ -11288,7 +11298,7 @@
|
|
|
11288
11298
|
"@type": [
|
|
11289
11299
|
"doc:APIContractProcessingData"
|
|
11290
11300
|
],
|
|
11291
|
-
"apiContract:modelVersion": "3.
|
|
11301
|
+
"apiContract:modelVersion": "3.8.0",
|
|
11292
11302
|
"doc:sourceSpec": "RAML 1.0"
|
|
11293
11303
|
},
|
|
11294
11304
|
{
|
|
@@ -11316,7 +11326,7 @@
|
|
|
11316
11326
|
"@type": [
|
|
11317
11327
|
"doc:APIContractProcessingData"
|
|
11318
11328
|
],
|
|
11319
|
-
"apiContract:modelVersion": "3.
|
|
11329
|
+
"apiContract:modelVersion": "3.8.0",
|
|
11320
11330
|
"doc:sourceSpec": "RAML 1.0"
|
|
11321
11331
|
},
|
|
11322
11332
|
{
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"@type": [
|
|
6
6
|
"doc:APIContractProcessingData"
|
|
7
7
|
],
|
|
8
|
-
"apiContract:modelVersion": "3.
|
|
8
|
+
"apiContract:modelVersion": "3.8.0",
|
|
9
9
|
"doc:transformed": true,
|
|
10
10
|
"doc:sourceSpec": "RAML 1.0"
|
|
11
11
|
},
|
|
@@ -147,6 +147,11 @@
|
|
|
147
147
|
{
|
|
148
148
|
"@id": "#28"
|
|
149
149
|
}
|
|
150
|
+
],
|
|
151
|
+
"sourcemaps:sources": [
|
|
152
|
+
{
|
|
153
|
+
"@id": "#27/source-map"
|
|
154
|
+
}
|
|
150
155
|
]
|
|
151
156
|
},
|
|
152
157
|
{
|
|
@@ -188,6 +193,17 @@
|
|
|
188
193
|
]
|
|
189
194
|
},
|
|
190
195
|
{
|
|
196
|
+
"@id": "#27/source-map",
|
|
197
|
+
"@type": [
|
|
198
|
+
"sourcemaps:SourceMap"
|
|
199
|
+
],
|
|
200
|
+
"sourcemaps:virtual-element": [
|
|
201
|
+
{
|
|
202
|
+
"@id": "#27/source-map/virtual-element/element_0"
|
|
203
|
+
}
|
|
204
|
+
]
|
|
205
|
+
},
|
|
206
|
+
{
|
|
191
207
|
"@id": "#26/source-map/lexical/element_0",
|
|
192
208
|
"sourcemaps:element": "amf://id#26",
|
|
193
209
|
"sourcemaps:value": "[(40,2)-(45,0)]"
|
|
@@ -232,6 +248,11 @@
|
|
|
232
248
|
]
|
|
233
249
|
},
|
|
234
250
|
{
|
|
251
|
+
"@id": "#27/source-map/virtual-element/element_0",
|
|
252
|
+
"sourcemaps:element": "amf://id#27",
|
|
253
|
+
"sourcemaps:value": "true"
|
|
254
|
+
},
|
|
255
|
+
{
|
|
235
256
|
"@id": "#14",
|
|
236
257
|
"@type": [
|
|
237
258
|
"shacl:NodeShape",
|
|
@@ -1837,7 +1858,7 @@
|
|
|
1837
1858
|
"@type": [
|
|
1838
1859
|
"doc:APIContractProcessingData"
|
|
1839
1860
|
],
|
|
1840
|
-
"apiContract:modelVersion": "3.
|
|
1861
|
+
"apiContract:modelVersion": "3.8.0",
|
|
1841
1862
|
"doc:sourceSpec": "RAML 1.0"
|
|
1842
1863
|
},
|
|
1843
1864
|
{
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
"@type": [
|
|
6
6
|
"doc:APIContractProcessingData"
|
|
7
7
|
],
|
|
8
|
-
"apiContract:modelVersion": "3.
|
|
8
|
+
"apiContract:modelVersion": "3.8.0",
|
|
9
9
|
"doc:transformed": true,
|
|
10
10
|
"doc:sourceSpec": "RAML 1.0"
|
|
11
11
|
},
|
|
@@ -263,6 +263,11 @@
|
|
|
263
263
|
{
|
|
264
264
|
"@id": "#12"
|
|
265
265
|
}
|
|
266
|
+
],
|
|
267
|
+
"sourcemaps:sources": [
|
|
268
|
+
{
|
|
269
|
+
"@id": "#11/source-map"
|
|
270
|
+
}
|
|
266
271
|
]
|
|
267
272
|
},
|
|
268
273
|
{
|
|
@@ -317,6 +322,17 @@
|
|
|
317
322
|
]
|
|
318
323
|
},
|
|
319
324
|
{
|
|
325
|
+
"@id": "#11/source-map",
|
|
326
|
+
"@type": [
|
|
327
|
+
"sourcemaps:SourceMap"
|
|
328
|
+
],
|
|
329
|
+
"sourcemaps:virtual-element": [
|
|
330
|
+
{
|
|
331
|
+
"@id": "#11/source-map/virtual-element/element_0"
|
|
332
|
+
}
|
|
333
|
+
]
|
|
334
|
+
},
|
|
335
|
+
{
|
|
320
336
|
"@id": "#10/source-map/lexical/element_1",
|
|
321
337
|
"sourcemaps:element": "amf://id#10",
|
|
322
338
|
"sourcemaps:value": "[(11,2)-(17,0)]"
|
|
@@ -370,6 +386,11 @@
|
|
|
370
386
|
]
|
|
371
387
|
},
|
|
372
388
|
{
|
|
389
|
+
"@id": "#11/source-map/virtual-element/element_0",
|
|
390
|
+
"sourcemaps:element": "amf://id#11",
|
|
391
|
+
"sourcemaps:value": "true"
|
|
392
|
+
},
|
|
393
|
+
{
|
|
373
394
|
"@id": "#39",
|
|
374
395
|
"@type": [
|
|
375
396
|
"shacl:PropertyShape",
|