@salesforce/lds-adapters-industries-epc 1.100.2
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-epc.js +603 -0
- package/dist/types/src/generated/adapters/adapter-utils.d.ts +66 -0
- package/dist/types/src/generated/adapters/createProductAttributeDefinition.d.ts +15 -0
- package/dist/types/src/generated/adapters/deactivate.d.ts +15 -0
- package/dist/types/src/generated/artifacts/main.d.ts +2 -0
- package/dist/types/src/generated/artifacts/sfdc.d.ts +3 -0
- package/dist/types/src/generated/resources/patchConnectEpcActionsDeactivate.d.ts +13 -0
- package/dist/types/src/generated/resources/postConnectEpcProductAttributeDefinition.d.ts +13 -0
- package/dist/types/src/generated/types/DeactivateInputRepresentation.d.ts +35 -0
- package/dist/types/src/generated/types/DeactivateInputRepresentationWrapper.d.ts +30 -0
- package/dist/types/src/generated/types/ErrorOutputRepresentation.d.ts +35 -0
- package/dist/types/src/generated/types/ProductAttributeDefinitionInputRepresentation.d.ts +35 -0
- package/dist/types/src/generated/types/ProductAttributeDefinitionListInputRepresentation.d.ts +29 -0
- package/dist/types/src/generated/types/ProductAttributeDefinitionListInputRepresentationWrapper.d.ts +30 -0
- package/dist/types/src/generated/types/ProductAttributeDefinitionListRepresentation.d.ts +43 -0
- package/dist/types/src/generated/types/ProductAttributeDefinitionRepresentation.d.ts +32 -0
- package/dist/types/src/generated/types/RecordIdMapOutputRepresentation.d.ts +43 -0
- package/dist/types/src/generated/types/type-utils.d.ts +39 -0
- package/dist/umd/es2018/industries-epc.js +612 -0
- package/dist/umd/es5/industries-epc.js +618 -0
- package/package.json +70 -0
- package/sfdc/index.d.ts +1 -0
- package/sfdc/index.js +633 -0
- package/src/raml/api.raml +170 -0
- package/src/raml/luvio.raml +29 -0
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { Adapter as $64$luvio_engine_Adapter, Snapshot as $64$luvio_engine_Snapshot, UnfulfilledSnapshot as $64$luvio_engine_UnfulfilledSnapshot } from '@luvio/engine';
|
|
2
|
+
export declare const ObjectPrototypeHasOwnProperty: (v: PropertyKey) => boolean;
|
|
3
|
+
declare const ObjectKeys: {
|
|
4
|
+
(o: object): string[];
|
|
5
|
+
(o: {}): string[];
|
|
6
|
+
}, ObjectFreeze: {
|
|
7
|
+
<T extends Function>(f: T): T;
|
|
8
|
+
<T_1 extends {
|
|
9
|
+
[idx: string]: object | U | null | undefined;
|
|
10
|
+
}, U extends string | number | bigint | boolean | symbol>(o: T_1): Readonly<T_1>;
|
|
11
|
+
<T_2>(o: T_2): Readonly<T_2>;
|
|
12
|
+
}, ObjectCreate: {
|
|
13
|
+
(o: object | null): any;
|
|
14
|
+
(o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any;
|
|
15
|
+
};
|
|
16
|
+
export { ObjectFreeze, ObjectCreate, ObjectKeys };
|
|
17
|
+
export declare const ArrayIsArray: (arg: any) => arg is any[];
|
|
18
|
+
export declare const ArrayPrototypePush: (...items: any[]) => number;
|
|
19
|
+
export interface AdapterValidationConfig {
|
|
20
|
+
displayName: string;
|
|
21
|
+
parameters: {
|
|
22
|
+
required: string[];
|
|
23
|
+
optional: string[];
|
|
24
|
+
unsupported?: string[];
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Validates an adapter config is well-formed.
|
|
29
|
+
* @param config The config to validate.
|
|
30
|
+
* @param adapter The adapter validation configuration.
|
|
31
|
+
* @param oneOf The keys the config must contain at least one of.
|
|
32
|
+
* @throws A TypeError if config doesn't satisfy the adapter's config validation.
|
|
33
|
+
*/
|
|
34
|
+
export declare function validateConfig<T>(config: Untrusted<T>, adapter: AdapterValidationConfig, oneOf?: string[]): void;
|
|
35
|
+
export declare function untrustedIsObject<Base>(untrusted: unknown): untrusted is Untrusted<Base>;
|
|
36
|
+
export type UncoercedConfiguration<Base, Options extends {
|
|
37
|
+
[key in keyof Base]?: any;
|
|
38
|
+
}> = {
|
|
39
|
+
[Key in keyof Base]?: Base[Key] | Options[Key];
|
|
40
|
+
};
|
|
41
|
+
export type Untrusted<Base> = Partial<Base>;
|
|
42
|
+
export declare function areRequiredParametersPresent<T>(config: any, configPropertyNames: AdapterValidationConfig): config is T;
|
|
43
|
+
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>;
|
|
44
|
+
export declare const SNAPSHOT_STATE_FULFILLED = "Fulfilled";
|
|
45
|
+
export declare const SNAPSHOT_STATE_UNFULFILLED = "Unfulfilled";
|
|
46
|
+
export declare const snapshotRefreshOptions: {
|
|
47
|
+
overrides: {
|
|
48
|
+
headers: {
|
|
49
|
+
'Cache-Control': string;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
/**
|
|
54
|
+
* A deterministic JSON stringify implementation. Heavily adapted from https://github.com/epoberezkin/fast-json-stable-stringify.
|
|
55
|
+
* This is needed because insertion order for JSON.stringify(object) affects output:
|
|
56
|
+
* JSON.stringify({a: 1, b: 2})
|
|
57
|
+
* "{"a":1,"b":2}"
|
|
58
|
+
* JSON.stringify({b: 2, a: 1})
|
|
59
|
+
* "{"b":2,"a":1}"
|
|
60
|
+
* @param data Data to be JSON-stringified.
|
|
61
|
+
* @returns JSON.stringified value with consistent ordering of keys.
|
|
62
|
+
*/
|
|
63
|
+
export declare function stableJSONStringify(node: any): string | undefined;
|
|
64
|
+
export declare function getFetchResponseStatusText(status: number): string;
|
|
65
|
+
export declare function isUnfulfilledSnapshot<T, U>(snapshot: $64$luvio_engine_Snapshot<T, U>): snapshot is $64$luvio_engine_UnfulfilledSnapshot<T, U>;
|
|
66
|
+
export declare const keyPrefix = "epc";
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted } from './adapter-utils';
|
|
2
|
+
import { ProductAttributeDefinitionListInputRepresentation as types_ProductAttributeDefinitionListInputRepresentation_ProductAttributeDefinitionListInputRepresentation } from '../types/ProductAttributeDefinitionListInputRepresentation';
|
|
3
|
+
import { ResourceRequestConfig as resources_postConnectEpcProductAttributeDefinition_ResourceRequestConfig } from '../resources/postConnectEpcProductAttributeDefinition';
|
|
4
|
+
import { Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
5
|
+
import { ProductAttributeDefinitionListRepresentation as types_ProductAttributeDefinitionListRepresentation_ProductAttributeDefinitionListRepresentation } from '../types/ProductAttributeDefinitionListRepresentation';
|
|
6
|
+
export declare const adapterName = "createProductAttributeDefinition";
|
|
7
|
+
export declare const createProductAttributeDefinition_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface CreateProductAttributeDefinitionConfig {
|
|
9
|
+
productAttributeDefinitionListInputPayload: types_ProductAttributeDefinitionListInputRepresentation_ProductAttributeDefinitionListInputRepresentation;
|
|
10
|
+
}
|
|
11
|
+
export declare function createResourceParams(config: CreateProductAttributeDefinitionConfig): resources_postConnectEpcProductAttributeDefinition_ResourceRequestConfig;
|
|
12
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<CreateProductAttributeDefinitionConfig>): adapter$45$utils_Untrusted<CreateProductAttributeDefinitionConfig>;
|
|
13
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): CreateProductAttributeDefinitionConfig | null;
|
|
14
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: CreateProductAttributeDefinitionConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_ProductAttributeDefinitionListRepresentation_ProductAttributeDefinitionListRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_ProductAttributeDefinitionListRepresentation_ProductAttributeDefinitionListRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_ProductAttributeDefinitionListRepresentation_ProductAttributeDefinitionListRepresentation, any>>;
|
|
15
|
+
export declare const createProductAttributeDefinitionAdapterFactory: $64$luvio_engine_AdapterFactory<CreateProductAttributeDefinitionConfig, types_ProductAttributeDefinitionListRepresentation_ProductAttributeDefinitionListRepresentation>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted } from './adapter-utils';
|
|
2
|
+
import { DeactivateInputRepresentation as types_DeactivateInputRepresentation_DeactivateInputRepresentation } from '../types/DeactivateInputRepresentation';
|
|
3
|
+
import { ResourceRequestConfig as resources_patchConnectEpcActionsDeactivate_ResourceRequestConfig } from '../resources/patchConnectEpcActionsDeactivate';
|
|
4
|
+
import { Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
5
|
+
import { RecordIdMapOutputRepresentation as types_RecordIdMapOutputRepresentation_RecordIdMapOutputRepresentation } from '../types/RecordIdMapOutputRepresentation';
|
|
6
|
+
export declare const adapterName = "deactivate";
|
|
7
|
+
export declare const deactivate_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface DeactivateConfig {
|
|
9
|
+
deactivateInputPayload: types_DeactivateInputRepresentation_DeactivateInputRepresentation;
|
|
10
|
+
}
|
|
11
|
+
export declare function createResourceParams(config: DeactivateConfig): resources_patchConnectEpcActionsDeactivate_ResourceRequestConfig;
|
|
12
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<DeactivateConfig>): adapter$45$utils_Untrusted<DeactivateConfig>;
|
|
13
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): DeactivateConfig | null;
|
|
14
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: DeactivateConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_RecordIdMapOutputRepresentation_RecordIdMapOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_RecordIdMapOutputRepresentation_RecordIdMapOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_RecordIdMapOutputRepresentation_RecordIdMapOutputRepresentation, any>>;
|
|
15
|
+
export declare const deactivateAdapterFactory: $64$luvio_engine_AdapterFactory<DeactivateConfig, types_RecordIdMapOutputRepresentation_RecordIdMapOutputRepresentation>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { DeactivateInputRepresentation as types_DeactivateInputRepresentation_DeactivateInputRepresentation } from '../types/DeactivateInputRepresentation';
|
|
2
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, 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';
|
|
3
|
+
import { RecordIdMapOutputRepresentation as types_RecordIdMapOutputRepresentation_RecordIdMapOutputRepresentation } from '../types/RecordIdMapOutputRepresentation';
|
|
4
|
+
export interface ResourceRequestConfig {
|
|
5
|
+
body: {
|
|
6
|
+
deactivateInputPayload: types_DeactivateInputRepresentation_DeactivateInputRepresentation;
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
10
|
+
export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_RecordIdMapOutputRepresentation_RecordIdMapOutputRepresentation): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
11
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_RecordIdMapOutputRepresentation_RecordIdMapOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_RecordIdMapOutputRepresentation_RecordIdMapOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_RecordIdMapOutputRepresentation_RecordIdMapOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_RecordIdMapOutputRepresentation_RecordIdMapOutputRepresentation, any>;
|
|
12
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
13
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { ProductAttributeDefinitionListInputRepresentation as types_ProductAttributeDefinitionListInputRepresentation_ProductAttributeDefinitionListInputRepresentation } from '../types/ProductAttributeDefinitionListInputRepresentation';
|
|
2
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, 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';
|
|
3
|
+
import { ProductAttributeDefinitionListRepresentation as types_ProductAttributeDefinitionListRepresentation_ProductAttributeDefinitionListRepresentation } from '../types/ProductAttributeDefinitionListRepresentation';
|
|
4
|
+
export interface ResourceRequestConfig {
|
|
5
|
+
body: {
|
|
6
|
+
productAttributeDefinitionListInputPayload: types_ProductAttributeDefinitionListInputRepresentation_ProductAttributeDefinitionListInputRepresentation;
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
10
|
+
export declare function getResponseCacheKeys(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_ProductAttributeDefinitionListRepresentation_ProductAttributeDefinitionListRepresentation): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
11
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_ProductAttributeDefinitionListRepresentation_ProductAttributeDefinitionListRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_ProductAttributeDefinitionListRepresentation_ProductAttributeDefinitionListRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_ProductAttributeDefinitionListRepresentation_ProductAttributeDefinitionListRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_ProductAttributeDefinitionListRepresentation_ProductAttributeDefinitionListRepresentation, any>;
|
|
12
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
13
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,35 @@
|
|
|
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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "b8e716dc39f4cb505d7ef9d41e5ccdae";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: DeactivateInputRepresentation, existing: DeactivateInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): DeactivateInputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: DeactivateInputRepresentationNormalized, incoming: DeactivateInputRepresentationNormalized): boolean;
|
|
8
|
+
export declare function deepFreeze(input: DeactivateInputRepresentation): void;
|
|
9
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: DeactivateInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
11
|
+
/**
|
|
12
|
+
* Representation for list of Record Ids
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface DeactivateInputRepresentationNormalized {
|
|
18
|
+
/** Name of entity */
|
|
19
|
+
entityName: string;
|
|
20
|
+
/** Parent Product Id for PAD records */
|
|
21
|
+
parentRecordId?: string;
|
|
22
|
+
/** List of record ids */
|
|
23
|
+
recordIds: Array<string>;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Representation for list of Record Ids
|
|
27
|
+
*
|
|
28
|
+
* Keys:
|
|
29
|
+
* (none)
|
|
30
|
+
*/
|
|
31
|
+
export interface DeactivateInputRepresentation {
|
|
32
|
+
entityName: string;
|
|
33
|
+
parentRecordId?: string;
|
|
34
|
+
recordIds: Array<string>;
|
|
35
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { DeactivateInputRepresentation as DeactivateInputRepresentation_DeactivateInputRepresentation } from './DeactivateInputRepresentation';
|
|
2
|
+
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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
3
|
+
export declare const VERSION = "117396644f3b22050e95c286b4a333c4";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: DeactivateInputRepresentationWrapper, existing: DeactivateInputRepresentationWrapperNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): DeactivateInputRepresentationWrapperNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: DeactivateInputRepresentationWrapperNormalized, incoming: DeactivateInputRepresentationWrapperNormalized): boolean;
|
|
9
|
+
export declare function deepFreeze(input: DeactivateInputRepresentationWrapper): void;
|
|
10
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: DeactivateInputRepresentationWrapper, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
12
|
+
/**
|
|
13
|
+
* Wrapper for DeactivateInputRepresentation
|
|
14
|
+
*
|
|
15
|
+
* Keys:
|
|
16
|
+
* (none)
|
|
17
|
+
*/
|
|
18
|
+
export interface DeactivateInputRepresentationWrapperNormalized {
|
|
19
|
+
/** Input representation for entityName and list of record ids */
|
|
20
|
+
deactivateInputPayload: DeactivateInputRepresentation_DeactivateInputRepresentation;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Wrapper for DeactivateInputRepresentation
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* (none)
|
|
27
|
+
*/
|
|
28
|
+
export interface DeactivateInputRepresentationWrapper {
|
|
29
|
+
deactivateInputPayload: DeactivateInputRepresentation_DeactivateInputRepresentation;
|
|
30
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "52f41974a107642a51b4e39140f07b2a";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: ErrorOutputRepresentation, existing: ErrorOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ErrorOutputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: ErrorOutputRepresentationNormalized, incoming: ErrorOutputRepresentationNormalized): boolean;
|
|
8
|
+
export declare function deepFreeze(input: ErrorOutputRepresentation): void;
|
|
9
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ErrorOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
11
|
+
/**
|
|
12
|
+
* Error description
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface ErrorOutputRepresentationNormalized {
|
|
18
|
+
/** List of record ids creating error */
|
|
19
|
+
details: Array<string>;
|
|
20
|
+
/** Human readable error message */
|
|
21
|
+
message: string;
|
|
22
|
+
/** Machine readable (string) error code */
|
|
23
|
+
reason: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Error description
|
|
27
|
+
*
|
|
28
|
+
* Keys:
|
|
29
|
+
* (none)
|
|
30
|
+
*/
|
|
31
|
+
export interface ErrorOutputRepresentation {
|
|
32
|
+
details: Array<string>;
|
|
33
|
+
message: string;
|
|
34
|
+
reason: string;
|
|
35
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "6a39a09f38a5f83a85b60ef787f3f388";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: ProductAttributeDefinitionInputRepresentation, existing: ProductAttributeDefinitionInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ProductAttributeDefinitionInputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: ProductAttributeDefinitionInputRepresentationNormalized, incoming: ProductAttributeDefinitionInputRepresentationNormalized): boolean;
|
|
8
|
+
export declare function deepFreeze(input: ProductAttributeDefinitionInputRepresentation): void;
|
|
9
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ProductAttributeDefinitionInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
11
|
+
/**
|
|
12
|
+
* An Input Representation for create Product-Attribute Definition Api.
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface ProductAttributeDefinitionInputRepresentationNormalized {
|
|
18
|
+
/** Attribute Definition Id */
|
|
19
|
+
attributeDefinitionId: string;
|
|
20
|
+
/** AttributeDefinition Name */
|
|
21
|
+
attributeDefinitionName: string;
|
|
22
|
+
/** Product Id */
|
|
23
|
+
productId: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* An Input Representation for create Product-Attribute Definition Api.
|
|
27
|
+
*
|
|
28
|
+
* Keys:
|
|
29
|
+
* (none)
|
|
30
|
+
*/
|
|
31
|
+
export interface ProductAttributeDefinitionInputRepresentation {
|
|
32
|
+
attributeDefinitionId: string;
|
|
33
|
+
attributeDefinitionName: string;
|
|
34
|
+
productId: string;
|
|
35
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "41eb6cc4cb1ba3688158e2171a406e51";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: ProductAttributeDefinitionListInputRepresentation, existing: ProductAttributeDefinitionListInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ProductAttributeDefinitionListInputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: ProductAttributeDefinitionListInputRepresentationNormalized, incoming: ProductAttributeDefinitionListInputRepresentationNormalized): boolean;
|
|
8
|
+
export declare function deepFreeze(input: ProductAttributeDefinitionListInputRepresentation): void;
|
|
9
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ProductAttributeDefinitionListInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
11
|
+
/**
|
|
12
|
+
* Input representation for list of Product-Attribute Definition
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface ProductAttributeDefinitionListInputRepresentationNormalized {
|
|
18
|
+
/** List of Product-Attribute Definitions */
|
|
19
|
+
productAttributeDefinitions: Array<{}>;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Input representation for list of Product-Attribute Definition
|
|
23
|
+
*
|
|
24
|
+
* Keys:
|
|
25
|
+
* (none)
|
|
26
|
+
*/
|
|
27
|
+
export interface ProductAttributeDefinitionListInputRepresentation {
|
|
28
|
+
productAttributeDefinitions: Array<{}>;
|
|
29
|
+
}
|
package/dist/types/src/generated/types/ProductAttributeDefinitionListInputRepresentationWrapper.d.ts
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { ProductAttributeDefinitionListInputRepresentation as ProductAttributeDefinitionListInputRepresentation_ProductAttributeDefinitionListInputRepresentation } from './ProductAttributeDefinitionListInputRepresentation';
|
|
2
|
+
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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
3
|
+
export declare const VERSION = "f7d05726a12968840400d55304e6f7af";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: ProductAttributeDefinitionListInputRepresentationWrapper, existing: ProductAttributeDefinitionListInputRepresentationWrapperNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ProductAttributeDefinitionListInputRepresentationWrapperNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: ProductAttributeDefinitionListInputRepresentationWrapperNormalized, incoming: ProductAttributeDefinitionListInputRepresentationWrapperNormalized): boolean;
|
|
9
|
+
export declare function deepFreeze(input: ProductAttributeDefinitionListInputRepresentationWrapper): void;
|
|
10
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ProductAttributeDefinitionListInputRepresentationWrapper, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
12
|
+
/**
|
|
13
|
+
* Wrapper for ProductAttributeDefinitionListInputRepresentation
|
|
14
|
+
*
|
|
15
|
+
* Keys:
|
|
16
|
+
* (none)
|
|
17
|
+
*/
|
|
18
|
+
export interface ProductAttributeDefinitionListInputRepresentationWrapperNormalized {
|
|
19
|
+
/** Input representation for list of Product-Attribute Definition */
|
|
20
|
+
productAttributeDefinitionListInputPayload: ProductAttributeDefinitionListInputRepresentation_ProductAttributeDefinitionListInputRepresentation;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Wrapper for ProductAttributeDefinitionListInputRepresentation
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* (none)
|
|
27
|
+
*/
|
|
28
|
+
export interface ProductAttributeDefinitionListInputRepresentationWrapper {
|
|
29
|
+
productAttributeDefinitionListInputPayload: ProductAttributeDefinitionListInputRepresentation_ProductAttributeDefinitionListInputRepresentation;
|
|
30
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { ProductAttributeDefinitionRepresentation as ProductAttributeDefinitionRepresentation_ProductAttributeDefinitionRepresentation } from './ProductAttributeDefinitionRepresentation';
|
|
2
|
+
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, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
3
|
+
export declare const TTL = 6000;
|
|
4
|
+
export declare const VERSION = "e67d3c8569b9667eac98cc1a9840041c";
|
|
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
|
+
message: string;
|
|
9
|
+
}
|
|
10
|
+
export type ProductAttributeDefinitionListRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
|
+
export type PartialProductAttributeDefinitionListRepresentationNormalizedKeyMetadata = 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): ProductAttributeDefinitionListRepresentationNormalizedKeyMetadata;
|
|
14
|
+
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: ProductAttributeDefinitionListRepresentation): string;
|
|
15
|
+
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: ProductAttributeDefinitionListRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
16
|
+
export declare function normalize(input: ProductAttributeDefinitionListRepresentation, existing: ProductAttributeDefinitionListRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ProductAttributeDefinitionListRepresentationNormalized;
|
|
17
|
+
export declare const select: () => $64$luvio_engine_BaseFragment;
|
|
18
|
+
export declare function equals(existing: ProductAttributeDefinitionListRepresentationNormalized, incoming: ProductAttributeDefinitionListRepresentationNormalized): boolean;
|
|
19
|
+
export declare function deepFreeze(input: ProductAttributeDefinitionListRepresentation): void;
|
|
20
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
21
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ProductAttributeDefinitionListRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
22
|
+
/**
|
|
23
|
+
* Product-Attribute Definition List
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* message (string): message
|
|
27
|
+
*/
|
|
28
|
+
export interface ProductAttributeDefinitionListRepresentationNormalized {
|
|
29
|
+
/** The list of Product-Attribute Definition records created */
|
|
30
|
+
data: Array<ProductAttributeDefinitionRepresentation_ProductAttributeDefinitionRepresentation>;
|
|
31
|
+
/** API result message */
|
|
32
|
+
message: string;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Product-Attribute Definition List
|
|
36
|
+
*
|
|
37
|
+
* Keys:
|
|
38
|
+
* message (string): message
|
|
39
|
+
*/
|
|
40
|
+
export interface ProductAttributeDefinitionListRepresentation {
|
|
41
|
+
data: Array<ProductAttributeDefinitionRepresentation_ProductAttributeDefinitionRepresentation>;
|
|
42
|
+
message: string;
|
|
43
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "b4bef5c942f990bef1dffe3478b32089";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: ProductAttributeDefinitionRepresentation, existing: ProductAttributeDefinitionRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ProductAttributeDefinitionRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: ProductAttributeDefinitionRepresentationNormalized, incoming: ProductAttributeDefinitionRepresentationNormalized): boolean;
|
|
8
|
+
export declare function deepFreeze(input: ProductAttributeDefinitionRepresentation): void;
|
|
9
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: ProductAttributeDefinitionRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
11
|
+
/**
|
|
12
|
+
* Product-Attribute Definition
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface ProductAttributeDefinitionRepresentationNormalized {
|
|
18
|
+
/** The name of the attributeDefinition associated with the Product-Attribute Definition */
|
|
19
|
+
attributeDefinitionName?: string;
|
|
20
|
+
/** The record Id of the Product-Attribute Definition */
|
|
21
|
+
recordId?: string;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Product-Attribute Definition
|
|
25
|
+
*
|
|
26
|
+
* Keys:
|
|
27
|
+
* (none)
|
|
28
|
+
*/
|
|
29
|
+
export interface ProductAttributeDefinitionRepresentation {
|
|
30
|
+
attributeDefinitionName?: string;
|
|
31
|
+
recordId?: string;
|
|
32
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { ErrorOutputRepresentation as ErrorOutputRepresentation_ErrorOutputRepresentation } from './ErrorOutputRepresentation';
|
|
2
|
+
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, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
3
|
+
export declare const TTL = 6000;
|
|
4
|
+
export declare const VERSION = "67abdeaa299bae24f468fd2e78cd1e1e";
|
|
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
|
+
message: string;
|
|
9
|
+
}
|
|
10
|
+
export type RecordIdMapOutputRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
|
+
export type PartialRecordIdMapOutputRepresentationNormalizedKeyMetadata = 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): RecordIdMapOutputRepresentationNormalizedKeyMetadata;
|
|
14
|
+
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: RecordIdMapOutputRepresentation): string;
|
|
15
|
+
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: RecordIdMapOutputRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
16
|
+
export declare function normalize(input: RecordIdMapOutputRepresentation, existing: RecordIdMapOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): RecordIdMapOutputRepresentationNormalized;
|
|
17
|
+
export declare const select: () => $64$luvio_engine_BaseFragment;
|
|
18
|
+
export declare function equals(existing: RecordIdMapOutputRepresentationNormalized, incoming: RecordIdMapOutputRepresentationNormalized): boolean;
|
|
19
|
+
export declare function deepFreeze(input: RecordIdMapOutputRepresentation): void;
|
|
20
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
21
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: RecordIdMapOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
22
|
+
/**
|
|
23
|
+
* Deactivate api response
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* message (string): status
|
|
27
|
+
*/
|
|
28
|
+
export interface RecordIdMapOutputRepresentationNormalized {
|
|
29
|
+
/** The list of error messages */
|
|
30
|
+
errors: Array<ErrorOutputRepresentation_ErrorOutputRepresentation>;
|
|
31
|
+
/** Returns if the operation was a success or not */
|
|
32
|
+
status: string;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Deactivate api response
|
|
36
|
+
*
|
|
37
|
+
* Keys:
|
|
38
|
+
* message (string): status
|
|
39
|
+
*/
|
|
40
|
+
export interface RecordIdMapOutputRepresentation {
|
|
41
|
+
errors: Array<ErrorOutputRepresentation_ErrorOutputRepresentation>;
|
|
42
|
+
status: string;
|
|
43
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
export declare const ObjectFreeze: {
|
|
3
|
+
<T extends Function>(f: T): T;
|
|
4
|
+
<T_1 extends {
|
|
5
|
+
[idx: string]: object | U | null | undefined;
|
|
6
|
+
}, U extends string | number | bigint | boolean | symbol>(o: T_1): Readonly<T_1>;
|
|
7
|
+
<T_2>(o: T_2): Readonly<T_2>;
|
|
8
|
+
}, ObjectKeys: {
|
|
9
|
+
(o: object): string[];
|
|
10
|
+
(o: {}): string[];
|
|
11
|
+
}, ObjectCreate: {
|
|
12
|
+
(o: object | null): any;
|
|
13
|
+
(o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any;
|
|
14
|
+
}, ObjectAssign: {
|
|
15
|
+
<T extends {}, U>(target: T, source: U): T & U;
|
|
16
|
+
<T_1 extends {}, U_1, V>(target: T_1, source1: U_1, source2: V): T_1 & U_1 & V;
|
|
17
|
+
<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;
|
|
18
|
+
(target: object, ...sources: any[]): any;
|
|
19
|
+
};
|
|
20
|
+
export declare const ArrayIsArray: (arg: any) => arg is any[];
|
|
21
|
+
export declare const JSONStringify: {
|
|
22
|
+
(value: any, replacer?: ((this: any, key: string, value: any) => any) | undefined, space?: string | number | undefined): string;
|
|
23
|
+
(value: any, replacer?: (string | number)[] | null | undefined, space?: string | number | undefined): string;
|
|
24
|
+
};
|
|
25
|
+
type AllowedPrimitives = boolean | string | number | Date | null;
|
|
26
|
+
type Value<T> = T extends AllowedPrimitives ? T : RecursivePartial<T>;
|
|
27
|
+
export type RecursivePartial<T> = null | {
|
|
28
|
+
[P in keyof T]?: T[P] extends Array<infer U> ? Array<Value<U>> | null : Value<T[P]> | null;
|
|
29
|
+
};
|
|
30
|
+
export declare function equalsArray<U, V extends U[]>(a: V, b: V, equalsItem: (itemA: U, itemB: U) => boolean | void): boolean;
|
|
31
|
+
export declare function equalsObject<U, V extends {
|
|
32
|
+
[key: string]: U;
|
|
33
|
+
}>(a: V, b: V, equalsProp: (propA: U, propB: U) => boolean | void): boolean;
|
|
34
|
+
export declare function deepFreeze(value: any): void;
|
|
35
|
+
export declare function createLink(ref: string | $64$luvio_engine_NormalizedKeyMetadata): {
|
|
36
|
+
__ref: string;
|
|
37
|
+
};
|
|
38
|
+
export declare function assignMetadataLink(entry: any, metadataKey: string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
39
|
+
export {};
|