@salesforce/lds-adapters-industries-constraints 0.1.0-dev1
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/LICENSE.txt +82 -0
- package/dist/es/es2018/industries-constraints.js +798 -0
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +62 -0
- package/dist/es/es2018/types/src/generated/adapters/createConstraintVersion.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/adapters/getConstraintVersion.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/adapters/updateConstraintVersion.d.ts +19 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +3 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +5 -0
- package/dist/es/es2018/types/src/generated/resources/getIndustriesConstraintsVersionsByExpressionSetId.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/resources/getIndustriesConstraintsVersionsByExpressionSetIdAndExpressionSetVersionId.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/patchIndustriesConstraintsVersionsByExpressionSetId.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/resources/patchIndustriesConstraintsVersionsByExpressionSetIdAndExpressionSetVersionId.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/resources/postIndustriesConstraintsVersionsByExpressionSetId.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/resources/postIndustriesConstraintsVersionsByExpressionSetIdAndExpressionSetVersionId.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/types/ConstraintErrorResponseRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/ConstraintVersionOutputRepresentation.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/CreateConstraintVersionInputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/CreateConstraintVersionOutputRepresentation.d.ts +54 -0
- package/dist/es/es2018/types/src/generated/types/UpdateConstraintVersionInputRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/UpdateConstraintVersionOutputRepresentation.d.ts +51 -0
- package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +32 -0
- package/package.json +66 -0
- package/sfdc/index.d.ts +1 -0
- package/sfdc/index.js +845 -0
- package/src/raml/api.raml +195 -0
- package/src/raml/luvio.raml +41 -0
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { Adapter as $64$luvio_engine_Adapter, Snapshot as $64$luvio_engine_Snapshot, UnfulfilledSnapshot as $64$luvio_engine_UnfulfilledSnapshot, AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata } from '@luvio/engine';
|
|
2
|
+
export declare const ObjectPrototypeHasOwnProperty: (v: PropertyKey) => boolean;
|
|
3
|
+
declare const ObjectKeys: {
|
|
4
|
+
(o: object): string[];
|
|
5
|
+
(o: {}): string[];
|
|
6
|
+
}, ObjectCreate: {
|
|
7
|
+
(o: object | null): any;
|
|
8
|
+
(o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any;
|
|
9
|
+
};
|
|
10
|
+
export { ObjectCreate, ObjectKeys };
|
|
11
|
+
export declare const ArrayIsArray: (arg: any) => arg is any[];
|
|
12
|
+
export declare const ArrayPrototypePush: (...items: any[]) => number;
|
|
13
|
+
export interface AdapterValidationConfig {
|
|
14
|
+
displayName: string;
|
|
15
|
+
parameters: {
|
|
16
|
+
required: string[];
|
|
17
|
+
optional: string[];
|
|
18
|
+
unsupported?: string[];
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Validates an adapter config is well-formed.
|
|
23
|
+
* @param config The config to validate.
|
|
24
|
+
* @param adapter The adapter validation configuration.
|
|
25
|
+
* @param oneOf The keys the config must contain at least one of.
|
|
26
|
+
* @throws A TypeError if config doesn't satisfy the adapter's config validation.
|
|
27
|
+
*/
|
|
28
|
+
export declare function validateConfig<T>(config: Untrusted<T>, adapter: AdapterValidationConfig, oneOf?: string[]): void;
|
|
29
|
+
export declare function untrustedIsObject<Base>(untrusted: unknown): untrusted is Untrusted<Base>;
|
|
30
|
+
export type UncoercedConfiguration<Base, Options extends {
|
|
31
|
+
[key in keyof Base]?: any;
|
|
32
|
+
}> = {
|
|
33
|
+
[Key in keyof Base]?: Base[Key] | Options[Key];
|
|
34
|
+
};
|
|
35
|
+
export type Untrusted<Base> = Partial<Base>;
|
|
36
|
+
export declare function areRequiredParametersPresent<T>(config: any, configPropertyNames: AdapterValidationConfig): config is T;
|
|
37
|
+
export declare function refreshable<C, D, R>(adapter: $64$luvio_engine_Adapter<C, D>, resolve: (config: unknown) => Promise<$64$luvio_engine_Snapshot<R>>): $64$luvio_engine_Adapter<C, D>;
|
|
38
|
+
export declare const SNAPSHOT_STATE_FULFILLED = "Fulfilled";
|
|
39
|
+
export declare const SNAPSHOT_STATE_UNFULFILLED = "Unfulfilled";
|
|
40
|
+
export declare const snapshotRefreshOptions: {
|
|
41
|
+
overrides: {
|
|
42
|
+
headers: {
|
|
43
|
+
'Cache-Control': string;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* A deterministic JSON stringify implementation. Heavily adapted from https://github.com/epoberezkin/fast-json-stable-stringify.
|
|
49
|
+
* This is needed because insertion order for JSON.stringify(object) affects output:
|
|
50
|
+
* JSON.stringify({a: 1, b: 2})
|
|
51
|
+
* "{"a":1,"b":2}"
|
|
52
|
+
* JSON.stringify({b: 2, a: 1})
|
|
53
|
+
* "{"b":2,"a":1}"
|
|
54
|
+
* @param data Data to be JSON-stringified.
|
|
55
|
+
* @returns JSON.stringified value with consistent ordering of keys.
|
|
56
|
+
*/
|
|
57
|
+
export declare function stableJSONStringify(node: any): string | undefined;
|
|
58
|
+
export declare function getFetchResponseStatusText(status: number): string;
|
|
59
|
+
export declare function isUnfulfilledSnapshot<T, U>(snapshot: $64$luvio_engine_Snapshot<T, U>): snapshot is $64$luvio_engine_UnfulfilledSnapshot<T, U>;
|
|
60
|
+
export declare function generateParamConfigMetadata(name: string, required: boolean, resourceType: $64$luvio_engine_AdapterConfigMetadata['resourceType'], typeCheckShape: $64$luvio_engine_AdapterConfigMetadata['typeCheckShape'], isArrayShape?: boolean, coerceFn?: (v: unknown) => unknown): $64$luvio_engine_AdapterConfigMetadata;
|
|
61
|
+
export declare function buildAdapterValidationConfig(displayName: string, paramsMeta: $64$luvio_engine_AdapterConfigMetadata[]): AdapterValidationConfig;
|
|
62
|
+
export declare const keyPrefix = "constraints";
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
2
|
+
import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
|
|
3
|
+
import { ResourceRequestConfig as resources_postIndustriesConstraintsVersionsByExpressionSetId_ResourceRequestConfig } from '../resources/postIndustriesConstraintsVersionsByExpressionSetId';
|
|
4
|
+
import { CreateConstraintVersionOutputRepresentation as types_CreateConstraintVersionOutputRepresentation_CreateConstraintVersionOutputRepresentation } from '../types/CreateConstraintVersionOutputRepresentation';
|
|
5
|
+
export declare const adapterName = "createConstraintVersion";
|
|
6
|
+
export declare const createConstraintVersion_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
+
export declare const createConstraintVersion_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface CreateConstraintVersionConfig {
|
|
9
|
+
expressionSetId: string;
|
|
10
|
+
constraintModel: string;
|
|
11
|
+
description: string;
|
|
12
|
+
status: string;
|
|
13
|
+
}
|
|
14
|
+
export declare const createResourceParams: (config: CreateConstraintVersionConfig) => resources_postIndustriesConstraintsVersionsByExpressionSetId_ResourceRequestConfig;
|
|
15
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<CreateConstraintVersionConfig>): adapter$45$utils_Untrusted<CreateConstraintVersionConfig>;
|
|
16
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): CreateConstraintVersionConfig | null;
|
|
17
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: CreateConstraintVersionConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_CreateConstraintVersionOutputRepresentation_CreateConstraintVersionOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_CreateConstraintVersionOutputRepresentation_CreateConstraintVersionOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_CreateConstraintVersionOutputRepresentation_CreateConstraintVersionOutputRepresentation, any>>;
|
|
18
|
+
export declare const createConstraintVersionAdapterFactory: $64$luvio_engine_AdapterFactory<CreateConstraintVersionConfig, types_CreateConstraintVersionOutputRepresentation_CreateConstraintVersionOutputRepresentation>;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
2
|
+
import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
|
|
3
|
+
import { ResourceRequestConfig as resources_getIndustriesConstraintsVersionsByExpressionSetIdAndExpressionSetVersionId_ResourceRequestConfig } from '../resources/getIndustriesConstraintsVersionsByExpressionSetIdAndExpressionSetVersionId';
|
|
4
|
+
import { ConstraintVersionOutputRepresentation as types_ConstraintVersionOutputRepresentation_ConstraintVersionOutputRepresentation } from '../types/ConstraintVersionOutputRepresentation';
|
|
5
|
+
export declare const adapterName = "getConstraintVersion";
|
|
6
|
+
export declare const getConstraintVersion_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
+
export declare const getConstraintVersion_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface GetConstraintVersionConfig {
|
|
9
|
+
expressionSetId: string;
|
|
10
|
+
expressionSetVersionId: string;
|
|
11
|
+
}
|
|
12
|
+
export declare const createResourceParams: (config: GetConstraintVersionConfig) => resources_getIndustriesConstraintsVersionsByExpressionSetIdAndExpressionSetVersionId_ResourceRequestConfig;
|
|
13
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetConstraintVersionConfig): string;
|
|
14
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetConstraintVersionConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
15
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetConstraintVersionConfig>): adapter$45$utils_Untrusted<GetConstraintVersionConfig>;
|
|
16
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetConstraintVersionConfig | null;
|
|
17
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetConstraintVersionConfig): $64$luvio_engine_Fragment;
|
|
18
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetConstraintVersionConfig): $64$luvio_engine_Snapshot<types_ConstraintVersionOutputRepresentation_ConstraintVersionOutputRepresentation, any>;
|
|
19
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetConstraintVersionConfig, resourceParams: resources_getIndustriesConstraintsVersionsByExpressionSetIdAndExpressionSetVersionId_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ConstraintVersionOutputRepresentation_ConstraintVersionOutputRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_ConstraintVersionOutputRepresentation_ConstraintVersionOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_ConstraintVersionOutputRepresentation_ConstraintVersionOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_ConstraintVersionOutputRepresentation_ConstraintVersionOutputRepresentation, any>>;
|
|
20
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetConstraintVersionConfig, resourceParams: resources_getIndustriesConstraintsVersionsByExpressionSetIdAndExpressionSetVersionId_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
21
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetConstraintVersionConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_ConstraintVersionOutputRepresentation_ConstraintVersionOutputRepresentation, any>>;
|
|
22
|
+
export type BuildSnapshotContext = {
|
|
23
|
+
luvio: $64$luvio_engine_Luvio;
|
|
24
|
+
config: GetConstraintVersionConfig;
|
|
25
|
+
};
|
|
26
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_ConstraintVersionOutputRepresentation_ConstraintVersionOutputRepresentation, any>>;
|
|
27
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_ConstraintVersionOutputRepresentation_ConstraintVersionOutputRepresentation>): $64$luvio_engine_Snapshot<types_ConstraintVersionOutputRepresentation_ConstraintVersionOutputRepresentation, any>;
|
|
28
|
+
export declare const getConstraintVersionAdapterFactory: $64$luvio_engine_AdapterFactory<GetConstraintVersionConfig, types_ConstraintVersionOutputRepresentation_ConstraintVersionOutputRepresentation>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
2
|
+
import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
|
|
3
|
+
import { ResourceRequestConfig as resources_patchIndustriesConstraintsVersionsByExpressionSetIdAndExpressionSetVersionId_ResourceRequestConfig } from '../resources/patchIndustriesConstraintsVersionsByExpressionSetIdAndExpressionSetVersionId';
|
|
4
|
+
import { UpdateConstraintVersionOutputRepresentation as types_UpdateConstraintVersionOutputRepresentation_UpdateConstraintVersionOutputRepresentation } from '../types/UpdateConstraintVersionOutputRepresentation';
|
|
5
|
+
export declare const adapterName = "updateConstraintVersion";
|
|
6
|
+
export declare const updateConstraintVersion_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
+
export declare const updateConstraintVersion_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface UpdateConstraintVersionConfig {
|
|
9
|
+
expressionSetId: string;
|
|
10
|
+
expressionSetVersionId: string;
|
|
11
|
+
constraintModel?: string;
|
|
12
|
+
description?: string;
|
|
13
|
+
status?: string;
|
|
14
|
+
}
|
|
15
|
+
export declare const createResourceParams: (config: UpdateConstraintVersionConfig) => resources_patchIndustriesConstraintsVersionsByExpressionSetIdAndExpressionSetVersionId_ResourceRequestConfig;
|
|
16
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<UpdateConstraintVersionConfig>): adapter$45$utils_Untrusted<UpdateConstraintVersionConfig>;
|
|
17
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): UpdateConstraintVersionConfig | null;
|
|
18
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: UpdateConstraintVersionConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_UpdateConstraintVersionOutputRepresentation_UpdateConstraintVersionOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_UpdateConstraintVersionOutputRepresentation_UpdateConstraintVersionOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_UpdateConstraintVersionOutputRepresentation_UpdateConstraintVersionOutputRepresentation, any>>;
|
|
19
|
+
export declare const updateConstraintVersionAdapterFactory: $64$luvio_engine_AdapterFactory<UpdateConstraintVersionConfig, types_UpdateConstraintVersionOutputRepresentation_UpdateConstraintVersionOutputRepresentation>;
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { createConstraintVersionAdapterFactory } from '../adapters/createConstraintVersion';
|
|
2
|
+
export { getConstraintVersionAdapterFactory } from '../adapters/getConstraintVersion';
|
|
3
|
+
export { updateConstraintVersionAdapterFactory } from '../adapters/updateConstraintVersion';
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
declare let createConstraintVersion: any;
|
|
2
|
+
declare let getConstraintVersion: any;
|
|
3
|
+
declare let updateConstraintVersion: any;
|
|
4
|
+
declare let getConstraintVersion_imperative: any;
|
|
5
|
+
export { createConstraintVersion, getConstraintVersion, updateConstraintVersion, getConstraintVersion_imperative, };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
|
+
import { ConstraintVersionOutputRepresentation as types_ConstraintVersionOutputRepresentation_ConstraintVersionOutputRepresentation } from '../types/ConstraintVersionOutputRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
urlParams: {
|
|
5
|
+
expressionSetId: string;
|
|
6
|
+
};
|
|
7
|
+
}
|
|
8
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
9
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
10
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_ConstraintVersionOutputRepresentation_ConstraintVersionOutputRepresentation): void;
|
|
12
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ConstraintVersionOutputRepresentation_ConstraintVersionOutputRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_ConstraintVersionOutputRepresentation_ConstraintVersionOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_ConstraintVersionOutputRepresentation_ConstraintVersionOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_ConstraintVersionOutputRepresentation_ConstraintVersionOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_ConstraintVersionOutputRepresentation_ConstraintVersionOutputRepresentation, any>;
|
|
13
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_ConstraintVersionOutputRepresentation_ConstraintVersionOutputRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
14
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
15
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
|
+
import { ConstraintVersionOutputRepresentation as types_ConstraintVersionOutputRepresentation_ConstraintVersionOutputRepresentation } from '../types/ConstraintVersionOutputRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
urlParams: {
|
|
5
|
+
expressionSetId: string;
|
|
6
|
+
expressionSetVersionId: string;
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
10
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
11
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
12
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_ConstraintVersionOutputRepresentation_ConstraintVersionOutputRepresentation): void;
|
|
13
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ConstraintVersionOutputRepresentation_ConstraintVersionOutputRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_ConstraintVersionOutputRepresentation_ConstraintVersionOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_ConstraintVersionOutputRepresentation_ConstraintVersionOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_ConstraintVersionOutputRepresentation_ConstraintVersionOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_ConstraintVersionOutputRepresentation_ConstraintVersionOutputRepresentation, any>;
|
|
14
|
+
export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_ConstraintVersionOutputRepresentation_ConstraintVersionOutputRepresentation>): $64$luvio_engine_ErrorSnapshot;
|
|
15
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
16
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, FetchResponse as $64$luvio_engine_FetchResponse, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
|
+
import { UpdateConstraintVersionOutputRepresentation as types_UpdateConstraintVersionOutputRepresentation_UpdateConstraintVersionOutputRepresentation } from '../types/UpdateConstraintVersionOutputRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
urlParams: {
|
|
5
|
+
expressionSetId: string;
|
|
6
|
+
};
|
|
7
|
+
body: {
|
|
8
|
+
constraintModel?: string;
|
|
9
|
+
description?: string;
|
|
10
|
+
status?: string;
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
14
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_UpdateConstraintVersionOutputRepresentation_UpdateConstraintVersionOutputRepresentation): void;
|
|
15
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_UpdateConstraintVersionOutputRepresentation_UpdateConstraintVersionOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_UpdateConstraintVersionOutputRepresentation_UpdateConstraintVersionOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_UpdateConstraintVersionOutputRepresentation_UpdateConstraintVersionOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_UpdateConstraintVersionOutputRepresentation_UpdateConstraintVersionOutputRepresentation, any>;
|
|
16
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
17
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, FetchResponse as $64$luvio_engine_FetchResponse, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
|
+
import { UpdateConstraintVersionOutputRepresentation as types_UpdateConstraintVersionOutputRepresentation_UpdateConstraintVersionOutputRepresentation } from '../types/UpdateConstraintVersionOutputRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
urlParams: {
|
|
5
|
+
expressionSetId: string;
|
|
6
|
+
expressionSetVersionId: string;
|
|
7
|
+
};
|
|
8
|
+
body: {
|
|
9
|
+
constraintModel?: string;
|
|
10
|
+
description?: string;
|
|
11
|
+
status?: string;
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
15
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_UpdateConstraintVersionOutputRepresentation_UpdateConstraintVersionOutputRepresentation): void;
|
|
16
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_UpdateConstraintVersionOutputRepresentation_UpdateConstraintVersionOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_UpdateConstraintVersionOutputRepresentation_UpdateConstraintVersionOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_UpdateConstraintVersionOutputRepresentation_UpdateConstraintVersionOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_UpdateConstraintVersionOutputRepresentation_UpdateConstraintVersionOutputRepresentation, any>;
|
|
17
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
18
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, FetchResponse as $64$luvio_engine_FetchResponse, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
|
+
import { CreateConstraintVersionOutputRepresentation as types_CreateConstraintVersionOutputRepresentation_CreateConstraintVersionOutputRepresentation } from '../types/CreateConstraintVersionOutputRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
urlParams: {
|
|
5
|
+
expressionSetId: string;
|
|
6
|
+
};
|
|
7
|
+
body: {
|
|
8
|
+
constraintModel: string;
|
|
9
|
+
description: string;
|
|
10
|
+
status: string;
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
14
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_CreateConstraintVersionOutputRepresentation_CreateConstraintVersionOutputRepresentation): void;
|
|
15
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_CreateConstraintVersionOutputRepresentation_CreateConstraintVersionOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_CreateConstraintVersionOutputRepresentation_CreateConstraintVersionOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_CreateConstraintVersionOutputRepresentation_CreateConstraintVersionOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_CreateConstraintVersionOutputRepresentation_CreateConstraintVersionOutputRepresentation, any>;
|
|
16
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
17
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, FetchResponse as $64$luvio_engine_FetchResponse, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
|
+
import { CreateConstraintVersionOutputRepresentation as types_CreateConstraintVersionOutputRepresentation_CreateConstraintVersionOutputRepresentation } from '../types/CreateConstraintVersionOutputRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
urlParams: {
|
|
5
|
+
expressionSetId: string;
|
|
6
|
+
expressionSetVersionId: string;
|
|
7
|
+
};
|
|
8
|
+
body: {
|
|
9
|
+
constraintModel: string;
|
|
10
|
+
description: string;
|
|
11
|
+
status: string;
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
15
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_CreateConstraintVersionOutputRepresentation_CreateConstraintVersionOutputRepresentation): void;
|
|
16
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_CreateConstraintVersionOutputRepresentation_CreateConstraintVersionOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_CreateConstraintVersionOutputRepresentation_CreateConstraintVersionOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_CreateConstraintVersionOutputRepresentation_CreateConstraintVersionOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_CreateConstraintVersionOutputRepresentation_CreateConstraintVersionOutputRepresentation, any>;
|
|
17
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
18
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
export declare const TTL = 1000;
|
|
3
|
+
export declare const VERSION = "ced261010494087086be7d8b043d2fda";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: ConstraintErrorResponseRepresentation, existing: ConstraintErrorResponseRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ConstraintErrorResponseRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_BaseFragment;
|
|
8
|
+
export declare function equals(existing: ConstraintErrorResponseRepresentationNormalized, incoming: ConstraintErrorResponseRepresentationNormalized): boolean;
|
|
9
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ConstraintErrorResponseRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* Constraint Service Error Response representation
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface ConstraintErrorResponseRepresentationNormalized {
|
|
18
|
+
/** Error Code from Constraint Service Response. For example, INVALID_INPUT_ERROR, */
|
|
19
|
+
errorCode: string;
|
|
20
|
+
/** Error message from Constraint Service Response. */
|
|
21
|
+
message: string;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Constraint Service Error Response representation
|
|
25
|
+
*
|
|
26
|
+
* Keys:
|
|
27
|
+
* (none)
|
|
28
|
+
*/
|
|
29
|
+
export interface ConstraintErrorResponseRepresentation {
|
|
30
|
+
errorCode: string;
|
|
31
|
+
message: string;
|
|
32
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
export declare const TTL = 1000;
|
|
3
|
+
export declare const VERSION = "77293f36036fd711f0617fb4a5f21057";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: ConstraintVersionOutputRepresentation, existing: ConstraintVersionOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ConstraintVersionOutputRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_BaseFragment;
|
|
8
|
+
export declare function equals(existing: ConstraintVersionOutputRepresentationNormalized, incoming: ConstraintVersionOutputRepresentationNormalized): boolean;
|
|
9
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: ConstraintVersionOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* Constraint Version Connect API output representation
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface ConstraintVersionOutputRepresentationNormalized {
|
|
18
|
+
/** Constraint Model */
|
|
19
|
+
constraintModel: string;
|
|
20
|
+
/** Constraint Description */
|
|
21
|
+
description: string;
|
|
22
|
+
/** Status */
|
|
23
|
+
status: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Constraint Version Connect API output representation
|
|
27
|
+
*
|
|
28
|
+
* Keys:
|
|
29
|
+
* (none)
|
|
30
|
+
*/
|
|
31
|
+
export interface ConstraintVersionOutputRepresentation {
|
|
32
|
+
constraintModel: string;
|
|
33
|
+
description: string;
|
|
34
|
+
status: string;
|
|
35
|
+
}
|
package/dist/es/es2018/types/src/generated/types/CreateConstraintVersionInputRepresentation.d.ts
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "21d2810addc0c5d95b1108ba4df3a647";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: CreateConstraintVersionInputRepresentation, existing: CreateConstraintVersionInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CreateConstraintVersionInputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: CreateConstraintVersionInputRepresentationNormalized, incoming: CreateConstraintVersionInputRepresentationNormalized): boolean;
|
|
8
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: CreateConstraintVersionInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Create new constraint input representation
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface CreateConstraintVersionInputRepresentationNormalized {
|
|
17
|
+
/** Constraint model of the version */
|
|
18
|
+
constraintModel: string;
|
|
19
|
+
/** Description of the constraint version */
|
|
20
|
+
description: string;
|
|
21
|
+
/** Status of the constraint version */
|
|
22
|
+
status: string;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Create new constraint input representation
|
|
26
|
+
*
|
|
27
|
+
* Keys:
|
|
28
|
+
* (none)
|
|
29
|
+
*/
|
|
30
|
+
export interface CreateConstraintVersionInputRepresentation {
|
|
31
|
+
constraintModel: string;
|
|
32
|
+
description: string;
|
|
33
|
+
status: string;
|
|
34
|
+
}
|
package/dist/es/es2018/types/src/generated/types/CreateConstraintVersionOutputRepresentation.d.ts
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, ResourceIngest as $64$luvio_engine_ResourceIngest, FragmentSelection as $64$luvio_engine_FragmentSelection, LinkSelection as $64$luvio_engine_LinkSelection, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
|
+
import { ConstraintErrorResponseRepresentation as ConstraintErrorResponseRepresentation_ConstraintErrorResponseRepresentation } from './ConstraintErrorResponseRepresentation';
|
|
3
|
+
export declare const TTL = 1000;
|
|
4
|
+
export declare const VERSION = "faf4a72fe3721080fa45e289d0a79216";
|
|
5
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
|
+
export declare const RepresentationType: string;
|
|
7
|
+
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
8
|
+
success: boolean;
|
|
9
|
+
}
|
|
10
|
+
export type CreateConstraintVersionOutputRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
|
+
export type PartialCreateConstraintVersionOutputRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
|
|
12
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
|
|
13
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): CreateConstraintVersionOutputRepresentationNormalizedKeyMetadata;
|
|
14
|
+
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: CreateConstraintVersionOutputRepresentation): string;
|
|
15
|
+
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: CreateConstraintVersionOutputRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
16
|
+
export declare function normalize(input: CreateConstraintVersionOutputRepresentation, existing: CreateConstraintVersionOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CreateConstraintVersionOutputRepresentationNormalized;
|
|
17
|
+
export interface DynamicIngestParams {
|
|
18
|
+
errors: $64$luvio_engine_ResourceIngest;
|
|
19
|
+
}
|
|
20
|
+
export declare function dynamicNormalize(ingestParams: DynamicIngestParams): (input: CreateConstraintVersionOutputRepresentation, existing: CreateConstraintVersionOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number) => CreateConstraintVersionOutputRepresentationNormalized;
|
|
21
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
22
|
+
export interface DynamicSelectParams {
|
|
23
|
+
errors?: $64$luvio_engine_LinkSelection;
|
|
24
|
+
}
|
|
25
|
+
export declare const dynamicSelect: (params: DynamicSelectParams) => $64$luvio_engine_FragmentSelection;
|
|
26
|
+
export declare function equals(existing: CreateConstraintVersionOutputRepresentationNormalized, incoming: CreateConstraintVersionOutputRepresentationNormalized): boolean;
|
|
27
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
28
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: CreateConstraintVersionOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
29
|
+
export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$luvio_engine_ResourceIngest;
|
|
30
|
+
/**
|
|
31
|
+
* Create Constraint Version Connect API Output
|
|
32
|
+
*
|
|
33
|
+
* Keys:
|
|
34
|
+
* success (boolean): success
|
|
35
|
+
*/
|
|
36
|
+
export interface CreateConstraintVersionOutputRepresentationNormalized {
|
|
37
|
+
/** List of errors encountered during the API processing. */
|
|
38
|
+
errors: Array<$64$luvio_engine_StoreLink>;
|
|
39
|
+
/** API request successfully completed */
|
|
40
|
+
success: boolean;
|
|
41
|
+
/** New constraint version ID */
|
|
42
|
+
versionId: string;
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Create Constraint Version Connect API Output
|
|
46
|
+
*
|
|
47
|
+
* Keys:
|
|
48
|
+
* success (boolean): success
|
|
49
|
+
*/
|
|
50
|
+
export interface CreateConstraintVersionOutputRepresentation {
|
|
51
|
+
errors: Array<ConstraintErrorResponseRepresentation_ConstraintErrorResponseRepresentation>;
|
|
52
|
+
success: boolean;
|
|
53
|
+
versionId: string;
|
|
54
|
+
}
|
package/dist/es/es2018/types/src/generated/types/UpdateConstraintVersionInputRepresentation.d.ts
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "263cdc808d78644f2322157dbc0dea1f";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: UpdateConstraintVersionInputRepresentation, existing: UpdateConstraintVersionInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): UpdateConstraintVersionInputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: UpdateConstraintVersionInputRepresentationNormalized, incoming: UpdateConstraintVersionInputRepresentationNormalized): boolean;
|
|
8
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: UpdateConstraintVersionInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Update constraint input representation
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface UpdateConstraintVersionInputRepresentationNormalized {
|
|
17
|
+
/** Constraint Model */
|
|
18
|
+
constraintModel?: string;
|
|
19
|
+
/** Constraint Model */
|
|
20
|
+
description?: string;
|
|
21
|
+
/** Status */
|
|
22
|
+
status?: string;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Update constraint input representation
|
|
26
|
+
*
|
|
27
|
+
* Keys:
|
|
28
|
+
* (none)
|
|
29
|
+
*/
|
|
30
|
+
export interface UpdateConstraintVersionInputRepresentation {
|
|
31
|
+
constraintModel?: string;
|
|
32
|
+
description?: string;
|
|
33
|
+
status?: string;
|
|
34
|
+
}
|
package/dist/es/es2018/types/src/generated/types/UpdateConstraintVersionOutputRepresentation.d.ts
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, ResourceIngest as $64$luvio_engine_ResourceIngest, FragmentSelection as $64$luvio_engine_FragmentSelection, LinkSelection as $64$luvio_engine_LinkSelection, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
|
+
import { ConstraintErrorResponseRepresentation as ConstraintErrorResponseRepresentation_ConstraintErrorResponseRepresentation } from './ConstraintErrorResponseRepresentation';
|
|
3
|
+
export declare const TTL = 1000;
|
|
4
|
+
export declare const VERSION = "b590e58041197454c14f0163a2fc28e3";
|
|
5
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
|
+
export declare const RepresentationType: string;
|
|
7
|
+
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
8
|
+
success: boolean;
|
|
9
|
+
}
|
|
10
|
+
export type UpdateConstraintVersionOutputRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
|
+
export type PartialUpdateConstraintVersionOutputRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
|
|
12
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
|
|
13
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): UpdateConstraintVersionOutputRepresentationNormalizedKeyMetadata;
|
|
14
|
+
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: UpdateConstraintVersionOutputRepresentation): string;
|
|
15
|
+
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: UpdateConstraintVersionOutputRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
16
|
+
export declare function normalize(input: UpdateConstraintVersionOutputRepresentation, existing: UpdateConstraintVersionOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): UpdateConstraintVersionOutputRepresentationNormalized;
|
|
17
|
+
export interface DynamicIngestParams {
|
|
18
|
+
errors: $64$luvio_engine_ResourceIngest;
|
|
19
|
+
}
|
|
20
|
+
export declare function dynamicNormalize(ingestParams: DynamicIngestParams): (input: UpdateConstraintVersionOutputRepresentation, existing: UpdateConstraintVersionOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number) => UpdateConstraintVersionOutputRepresentationNormalized;
|
|
21
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
22
|
+
export interface DynamicSelectParams {
|
|
23
|
+
errors?: $64$luvio_engine_LinkSelection;
|
|
24
|
+
}
|
|
25
|
+
export declare const dynamicSelect: (params: DynamicSelectParams) => $64$luvio_engine_FragmentSelection;
|
|
26
|
+
export declare function equals(existing: UpdateConstraintVersionOutputRepresentationNormalized, incoming: UpdateConstraintVersionOutputRepresentationNormalized): boolean;
|
|
27
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
28
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: UpdateConstraintVersionOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
29
|
+
export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$luvio_engine_ResourceIngest;
|
|
30
|
+
/**
|
|
31
|
+
* Update Constraint Version Connect API Output
|
|
32
|
+
*
|
|
33
|
+
* Keys:
|
|
34
|
+
* success (boolean): success
|
|
35
|
+
*/
|
|
36
|
+
export interface UpdateConstraintVersionOutputRepresentationNormalized {
|
|
37
|
+
/** List of errors encountered during the API processing. */
|
|
38
|
+
errors: Array<$64$luvio_engine_StoreLink>;
|
|
39
|
+
/** API request successfully completed */
|
|
40
|
+
success: boolean;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Update Constraint Version Connect API Output
|
|
44
|
+
*
|
|
45
|
+
* Keys:
|
|
46
|
+
* success (boolean): success
|
|
47
|
+
*/
|
|
48
|
+
export interface UpdateConstraintVersionOutputRepresentation {
|
|
49
|
+
errors: Array<ConstraintErrorResponseRepresentation_ConstraintErrorResponseRepresentation>;
|
|
50
|
+
success: boolean;
|
|
51
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
export declare const ObjectKeys: {
|
|
3
|
+
(o: object): string[];
|
|
4
|
+
(o: {}): string[];
|
|
5
|
+
}, ObjectCreate: {
|
|
6
|
+
(o: object | null): any;
|
|
7
|
+
(o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any;
|
|
8
|
+
}, ObjectAssign: {
|
|
9
|
+
<T extends {}, U>(target: T, source: U): T & U;
|
|
10
|
+
<T_1 extends {}, U_1, V>(target: T_1, source1: U_1, source2: V): T_1 & U_1 & V;
|
|
11
|
+
<T_2 extends {}, U_2, V_1, W>(target: T_2, source1: U_2, source2: V_1, source3: W): T_2 & U_2 & V_1 & W;
|
|
12
|
+
(target: object, ...sources: any[]): any;
|
|
13
|
+
};
|
|
14
|
+
export declare const ArrayIsArray: (arg: any) => arg is any[];
|
|
15
|
+
export declare const JSONStringify: {
|
|
16
|
+
(value: any, replacer?: ((this: any, key: string, value: any) => any) | undefined, space?: string | number | undefined): string;
|
|
17
|
+
(value: any, replacer?: (string | number)[] | null | undefined, space?: string | number | undefined): string;
|
|
18
|
+
};
|
|
19
|
+
type AllowedPrimitives = boolean | string | number | Date | null;
|
|
20
|
+
type Value<T> = T extends AllowedPrimitives ? T : RecursivePartial<T>;
|
|
21
|
+
export type RecursivePartial<T> = null | {
|
|
22
|
+
[P in keyof T]?: T[P] extends Array<infer U> ? Array<Value<U>> | null : Value<T[P]> | null;
|
|
23
|
+
};
|
|
24
|
+
export declare function equalsArray<U, V extends U[]>(a: V, b: V, equalsItem: (itemA: U, itemB: U) => boolean | void): boolean;
|
|
25
|
+
export declare function equalsObject<U, V extends {
|
|
26
|
+
[key: string]: U;
|
|
27
|
+
}>(a: V, b: V, equalsProp: (propA: U, propB: U) => boolean | void): boolean;
|
|
28
|
+
export declare function createLink(ref: string | $64$luvio_engine_NormalizedKeyMetadata): {
|
|
29
|
+
__ref: string;
|
|
30
|
+
};
|
|
31
|
+
export declare function assignMetadataLink(entry: any, metadataKey: string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
32
|
+
export {};
|