@salesforce/lds-adapters-graphql 1.124.2 → 1.124.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/es2018/graphql-service.js +2098 -2098
- package/dist/{types → es/es2018/types}/src/__mocks__/@salesforce/lds-adapters-uiapi/sfdc/graphqlAdapters.d.ts +1 -1
- package/dist/{types → es/es2018/types}/src/configuration.d.ts +9 -9
- package/dist/{types → es/es2018/types}/src/custom/connection.d.ts +17 -17
- package/dist/{types → es/es2018/types}/src/custom/record.d.ts +46 -46
- package/dist/{types → es/es2018/types}/src/main.d.ts +20 -20
- package/dist/{types → es/es2018/types}/src/sfdc.d.ts +5 -5
- package/dist/{types → es/es2018/types}/src/type/Argument.d.ts +10 -10
- package/dist/{types → es/es2018/types}/src/type/CustomField.d.ts +4 -4
- package/dist/{types → es/es2018/types}/src/type/Document.d.ts +11 -11
- package/dist/{types → es/es2018/types}/src/type/Field.d.ts +4 -4
- package/dist/{types → es/es2018/types}/src/type/ObjectField.d.ts +2 -2
- package/dist/{types → es/es2018/types}/src/type/Operation.d.ts +5 -5
- package/dist/{types → es/es2018/types}/src/type/ScalarField.d.ts +2 -2
- package/dist/{types → es/es2018/types}/src/type/Selection.d.ts +23 -23
- package/dist/{types → es/es2018/types}/src/type/Variable.d.ts +4 -4
- package/dist/{types → es/es2018/types}/src/util/adapter.d.ts +16 -16
- package/dist/{types → es/es2018/types}/src/util/ast-to-string.d.ts +7 -7
- package/dist/{types → es/es2018/types}/src/util/equal.d.ts +7 -7
- package/dist/{types → es/es2018/types}/src/util/ingest.d.ts +18 -18
- package/dist/{types → es/es2018/types}/src/util/language.d.ts +20 -20
- package/dist/{types → es/es2018/types}/src/util/merge.d.ts +1 -1
- package/dist/{types → es/es2018/types}/src/util/read.d.ts +4 -4
- package/dist/{types → es/es2018/types}/src/util/serialize.d.ts +12 -12
- package/dist/{types → es/es2018/types}/src/util/sortUsingKey.d.ts +1 -1
- package/dist/{types → es/es2018/types}/src/util/synthetic-fields.d.ts +15 -15
- package/package.json +5 -5
- package/sfdc/index.d.ts +1 -1
- package/sfdc/index.js +2112 -2112
- package/dist/umd/es2018/graphql-service.js +0 -2164
- package/dist/umd/es5/graphql-service.js +0 -2182
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function graphQLAdapterFactory(): void;
|
|
1
|
+
export declare function graphQLAdapterFactory(): void;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import type { StoreEval } from '@salesforce/lds-graphql-eval';
|
|
2
|
-
export declare let storeEval: StoreEval<unknown> | undefined;
|
|
3
|
-
export declare const configuration: {
|
|
4
|
-
setStoreEval: (storeEvalArg: typeof storeEval) => void;
|
|
5
|
-
};
|
|
6
|
-
export type Registration = {
|
|
7
|
-
id: '@salesforce/lds-adapters-graphql';
|
|
8
|
-
configuration: typeof configuration;
|
|
9
|
-
};
|
|
1
|
+
import type { StoreEval } from '@salesforce/lds-graphql-eval';
|
|
2
|
+
export declare let storeEval: StoreEval<unknown> | undefined;
|
|
3
|
+
export declare const configuration: {
|
|
4
|
+
setStoreEval: (storeEvalArg: typeof storeEval) => void;
|
|
5
|
+
};
|
|
6
|
+
export type Registration = {
|
|
7
|
+
id: '@salesforce/lds-adapters-graphql';
|
|
8
|
+
configuration: typeof configuration;
|
|
9
|
+
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import type { Luvio, ReaderFragment, ResourceIngest } from '@luvio/engine';
|
|
2
|
-
import type { LuvioSelectionCustomFieldNode } from '@luvio/graphql-parser';
|
|
3
|
-
import type { GqlRecord } from './record';
|
|
4
|
-
import type { GraphQLVariables } from '../type/Variable';
|
|
5
|
-
import type { SerializeState } from '../util/serialize';
|
|
6
|
-
interface GqlEdge {
|
|
7
|
-
node: GqlRecord;
|
|
8
|
-
}
|
|
9
|
-
export type GqlConnection = {
|
|
10
|
-
edges: GqlEdge[];
|
|
11
|
-
};
|
|
12
|
-
export declare const CONNECTION_NODE_TYPE = "Connection";
|
|
13
|
-
export declare function keyBuilder(ast: LuvioSelectionCustomFieldNode, variables: GraphQLVariables): string;
|
|
14
|
-
export declare const createRead: (luvio: Luvio, ast: LuvioSelectionCustomFieldNode, variables: GraphQLVariables) => ReaderFragment['read'];
|
|
15
|
-
export declare const createIngest: (ast: LuvioSelectionCustomFieldNode, key: string, variables: GraphQLVariables) => ResourceIngest;
|
|
16
|
-
export declare function serialize(def: LuvioSelectionCustomFieldNode, state: SerializeState): string;
|
|
17
|
-
export {};
|
|
1
|
+
import type { Luvio, ReaderFragment, ResourceIngest } from '@luvio/engine';
|
|
2
|
+
import type { LuvioSelectionCustomFieldNode } from '@luvio/graphql-parser';
|
|
3
|
+
import type { GqlRecord } from './record';
|
|
4
|
+
import type { GraphQLVariables } from '../type/Variable';
|
|
5
|
+
import type { SerializeState } from '../util/serialize';
|
|
6
|
+
interface GqlEdge {
|
|
7
|
+
node: GqlRecord;
|
|
8
|
+
}
|
|
9
|
+
export type GqlConnection = {
|
|
10
|
+
edges: GqlEdge[];
|
|
11
|
+
};
|
|
12
|
+
export declare const CONNECTION_NODE_TYPE = "Connection";
|
|
13
|
+
export declare function keyBuilder(ast: LuvioSelectionCustomFieldNode, variables: GraphQLVariables): string;
|
|
14
|
+
export declare const createRead: (luvio: Luvio, ast: LuvioSelectionCustomFieldNode, variables: GraphQLVariables) => ReaderFragment['read'];
|
|
15
|
+
export declare const createIngest: (ast: LuvioSelectionCustomFieldNode, key: string, variables: GraphQLVariables) => ResourceIngest;
|
|
16
|
+
export declare function serialize(def: LuvioSelectionCustomFieldNode, state: SerializeState): string;
|
|
17
|
+
export {};
|
|
@@ -1,46 +1,46 @@
|
|
|
1
|
-
import type { Luvio, ReaderFragment, ResourceIngest } from '@luvio/engine';
|
|
2
|
-
import type { LuvioSelectionCustomFieldNode } from '@luvio/graphql-parser';
|
|
3
|
-
import type { RecordRepresentation } from '@salesforce/lds-adapters-uiapi';
|
|
4
|
-
import { createIngestRecordWithFields } from '@salesforce/lds-adapters-uiapi';
|
|
5
|
-
import type { GqlConnection } from './connection';
|
|
6
|
-
import type { GraphQLVariables } from '../type/Variable';
|
|
7
|
-
type RecordFieldTrie = Parameters<typeof createIngestRecordWithFields>[0];
|
|
8
|
-
type GqlScalarField = string | number | boolean;
|
|
9
|
-
interface GqlRecordFieldValue {
|
|
10
|
-
value?: string | null;
|
|
11
|
-
displayValue?: GqlScalarField | null;
|
|
12
|
-
}
|
|
13
|
-
interface GqlRecordStringFieldValue {
|
|
14
|
-
value: string;
|
|
15
|
-
displayValue?: string | null;
|
|
16
|
-
}
|
|
17
|
-
interface DefaultRecordFields {
|
|
18
|
-
ApiName: string;
|
|
19
|
-
Id: string;
|
|
20
|
-
WeakEtag: number;
|
|
21
|
-
DisplayValue: string | null;
|
|
22
|
-
ldsRecordTypeId: GqlRecordStringFieldValue | null;
|
|
23
|
-
LastModifiedById: GqlRecordStringFieldValue;
|
|
24
|
-
LastModifiedDate: GqlRecordStringFieldValue;
|
|
25
|
-
SystemModstamp: GqlRecordStringFieldValue;
|
|
26
|
-
}
|
|
27
|
-
export type CustomDataType = GqlRecord | GqlConnection;
|
|
28
|
-
export interface GqlRecord extends DefaultRecordFields {
|
|
29
|
-
[key: string]: GqlScalarField | GqlRecordFieldValue | CustomDataType | null;
|
|
30
|
-
}
|
|
31
|
-
export declare const CUSTOM_FIELD_NODE_TYPE = "Record";
|
|
32
|
-
export declare const RECORD_DEFAULT_FIELD_VALUES: string[];
|
|
33
|
-
interface RecordRepresentationConversionResult {
|
|
34
|
-
recordRepresentation: RecordRepresentation;
|
|
35
|
-
childRelationships: Record<string, {
|
|
36
|
-
ast: LuvioSelectionCustomFieldNode;
|
|
37
|
-
data: GqlConnection;
|
|
38
|
-
}>;
|
|
39
|
-
fieldsTrie: RecordFieldTrie;
|
|
40
|
-
}
|
|
41
|
-
export declare function convertToRecordRepresentation(ast: LuvioSelectionCustomFieldNode, record: GqlRecord): RecordRepresentationConversionResult;
|
|
42
|
-
export declare const defaultRecordFieldsFragmentName = "defaultRecordFields";
|
|
43
|
-
export declare const defaultRecordFieldsFragment: string;
|
|
44
|
-
export declare const createIngest: (ast: LuvioSelectionCustomFieldNode, variables: GraphQLVariables) => ResourceIngest;
|
|
45
|
-
export declare const createRead: (luvio: Luvio, ast: LuvioSelectionCustomFieldNode, variables: GraphQLVariables) => ReaderFragment['read'];
|
|
46
|
-
export {};
|
|
1
|
+
import type { Luvio, ReaderFragment, ResourceIngest } from '@luvio/engine';
|
|
2
|
+
import type { LuvioSelectionCustomFieldNode } from '@luvio/graphql-parser';
|
|
3
|
+
import type { RecordRepresentation } from '@salesforce/lds-adapters-uiapi';
|
|
4
|
+
import { createIngestRecordWithFields } from '@salesforce/lds-adapters-uiapi';
|
|
5
|
+
import type { GqlConnection } from './connection';
|
|
6
|
+
import type { GraphQLVariables } from '../type/Variable';
|
|
7
|
+
type RecordFieldTrie = Parameters<typeof createIngestRecordWithFields>[0];
|
|
8
|
+
type GqlScalarField = string | number | boolean;
|
|
9
|
+
interface GqlRecordFieldValue {
|
|
10
|
+
value?: string | null;
|
|
11
|
+
displayValue?: GqlScalarField | null;
|
|
12
|
+
}
|
|
13
|
+
interface GqlRecordStringFieldValue {
|
|
14
|
+
value: string;
|
|
15
|
+
displayValue?: string | null;
|
|
16
|
+
}
|
|
17
|
+
interface DefaultRecordFields {
|
|
18
|
+
ApiName: string;
|
|
19
|
+
Id: string;
|
|
20
|
+
WeakEtag: number;
|
|
21
|
+
DisplayValue: string | null;
|
|
22
|
+
ldsRecordTypeId: GqlRecordStringFieldValue | null;
|
|
23
|
+
LastModifiedById: GqlRecordStringFieldValue;
|
|
24
|
+
LastModifiedDate: GqlRecordStringFieldValue;
|
|
25
|
+
SystemModstamp: GqlRecordStringFieldValue;
|
|
26
|
+
}
|
|
27
|
+
export type CustomDataType = GqlRecord | GqlConnection;
|
|
28
|
+
export interface GqlRecord extends DefaultRecordFields {
|
|
29
|
+
[key: string]: GqlScalarField | GqlRecordFieldValue | CustomDataType | null;
|
|
30
|
+
}
|
|
31
|
+
export declare const CUSTOM_FIELD_NODE_TYPE = "Record";
|
|
32
|
+
export declare const RECORD_DEFAULT_FIELD_VALUES: string[];
|
|
33
|
+
interface RecordRepresentationConversionResult {
|
|
34
|
+
recordRepresentation: RecordRepresentation;
|
|
35
|
+
childRelationships: Record<string, {
|
|
36
|
+
ast: LuvioSelectionCustomFieldNode;
|
|
37
|
+
data: GqlConnection;
|
|
38
|
+
}>;
|
|
39
|
+
fieldsTrie: RecordFieldTrie;
|
|
40
|
+
}
|
|
41
|
+
export declare function convertToRecordRepresentation(ast: LuvioSelectionCustomFieldNode, record: GqlRecord): RecordRepresentationConversionResult;
|
|
42
|
+
export declare const defaultRecordFieldsFragmentName = "defaultRecordFields";
|
|
43
|
+
export declare const defaultRecordFieldsFragment: string;
|
|
44
|
+
export declare const createIngest: (ast: LuvioSelectionCustomFieldNode, variables: GraphQLVariables) => ResourceIngest;
|
|
45
|
+
export declare const createRead: (luvio: Luvio, ast: LuvioSelectionCustomFieldNode, variables: GraphQLVariables) => ReaderFragment['read'];
|
|
46
|
+
export {};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import type { AdapterFactory, Luvio, ReaderFragment, Snapshot, StoreLookup } from '@luvio/engine';
|
|
2
|
-
import type { LuvioDocumentNode } from '@luvio/graphql-parser';
|
|
3
|
-
import type { GraphQLVariables } from './type/Variable';
|
|
4
|
-
import type { Registration } from './configuration';
|
|
5
|
-
export { namespace, representationName } from './util/adapter';
|
|
6
|
-
export declare const adapterName = "graphQL";
|
|
7
|
-
interface GraphQLConfig {
|
|
8
|
-
query: LuvioDocumentNode;
|
|
9
|
-
variables: GraphQLVariables;
|
|
10
|
-
useUiApiAdapter?: boolean;
|
|
11
|
-
}
|
|
12
|
-
type BuildSnapshotContext = {
|
|
13
|
-
config: GraphQLConfig;
|
|
14
|
-
fragment: ReaderFragment;
|
|
15
|
-
luvio: Luvio;
|
|
16
|
-
};
|
|
17
|
-
export declare function buildCachedSnapshot(context: BuildSnapshotContext, storeLookup: StoreLookup<unknown>): Promise<Snapshot<unknown, unknown>> | Snapshot<unknown, any>;
|
|
18
|
-
export declare const graphQLAdapterFactory: AdapterFactory<GraphQLConfig, unknown>;
|
|
19
|
-
export type { Registration };
|
|
20
|
-
export { keyBuilder as connectionKeyBuilder } from './custom/connection';
|
|
1
|
+
import type { AdapterFactory, Luvio, ReaderFragment, Snapshot, StoreLookup } from '@luvio/engine';
|
|
2
|
+
import type { LuvioDocumentNode } from '@luvio/graphql-parser';
|
|
3
|
+
import type { GraphQLVariables } from './type/Variable';
|
|
4
|
+
import type { Registration } from './configuration';
|
|
5
|
+
export { namespace, representationName } from './util/adapter';
|
|
6
|
+
export declare const adapterName = "graphQL";
|
|
7
|
+
interface GraphQLConfig {
|
|
8
|
+
query: LuvioDocumentNode;
|
|
9
|
+
variables: GraphQLVariables;
|
|
10
|
+
useUiApiAdapter?: boolean;
|
|
11
|
+
}
|
|
12
|
+
type BuildSnapshotContext = {
|
|
13
|
+
config: GraphQLConfig;
|
|
14
|
+
fragment: ReaderFragment;
|
|
15
|
+
luvio: Luvio;
|
|
16
|
+
};
|
|
17
|
+
export declare function buildCachedSnapshot(context: BuildSnapshotContext, storeLookup: StoreLookup<unknown>): Promise<Snapshot<unknown, unknown>> | Snapshot<unknown, any>;
|
|
18
|
+
export declare const graphQLAdapterFactory: AdapterFactory<GraphQLConfig, unknown>;
|
|
19
|
+
export type { Registration };
|
|
20
|
+
export { keyBuilder as connectionKeyBuilder } from './custom/connection';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
declare let graphQL: any;
|
|
2
|
-
declare let unstable_graphQL_imperative: any;
|
|
3
|
-
declare let graphQLImperative: any;
|
|
4
|
-
export { graphQL, unstable_graphQL_imperative, graphQLImperative };
|
|
5
|
-
export type { Registration } from './main';
|
|
1
|
+
declare let graphQL: any;
|
|
2
|
+
declare let unstable_graphQL_imperative: any;
|
|
3
|
+
declare let graphQLImperative: any;
|
|
4
|
+
export { graphQL, unstable_graphQL_imperative, graphQLImperative };
|
|
5
|
+
export type { Registration } from './main';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type { LuvioArgumentNode } from '@luvio/graphql-parser';
|
|
2
|
-
import type { GraphQLVariables } from './Variable';
|
|
3
|
-
export type SerializationOptions = {
|
|
4
|
-
render: true;
|
|
5
|
-
variables: GraphQLVariables;
|
|
6
|
-
} | {
|
|
7
|
-
render: false;
|
|
8
|
-
};
|
|
9
|
-
export declare function serialize(args: LuvioArgumentNode[]): string;
|
|
10
|
-
export declare function render(args: LuvioArgumentNode[], variables: GraphQLVariables): string;
|
|
1
|
+
import type { LuvioArgumentNode } from '@luvio/graphql-parser';
|
|
2
|
+
import type { GraphQLVariables } from './Variable';
|
|
3
|
+
export type SerializationOptions = {
|
|
4
|
+
render: true;
|
|
5
|
+
variables: GraphQLVariables;
|
|
6
|
+
} | {
|
|
7
|
+
render: false;
|
|
8
|
+
};
|
|
9
|
+
export declare function serialize(args: LuvioArgumentNode[]): string;
|
|
10
|
+
export declare function render(args: LuvioArgumentNode[], variables: GraphQLVariables): string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ResourceIngest } from '@luvio/engine';
|
|
2
|
-
import type { LuvioSelectionCustomFieldNode } from '@luvio/graphql-parser';
|
|
3
|
-
import type { GraphQLVariables } from './Variable';
|
|
4
|
-
export declare const createIngest: (ast: LuvioSelectionCustomFieldNode, variables: GraphQLVariables) => ResourceIngest;
|
|
1
|
+
import type { ResourceIngest } from '@luvio/engine';
|
|
2
|
+
import type { LuvioSelectionCustomFieldNode } from '@luvio/graphql-parser';
|
|
3
|
+
import type { GraphQLVariables } from './Variable';
|
|
4
|
+
export declare const createIngest: (ast: LuvioSelectionCustomFieldNode, variables: GraphQLVariables) => ResourceIngest;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import type { Luvio, ReaderFragment, ResourceIngest } from '@luvio/engine';
|
|
2
|
-
import type { LuvioDocumentNode } from '@luvio/graphql-parser';
|
|
3
|
-
import type { GraphQLVariables } from './Variable';
|
|
4
|
-
export type GraphQL = {
|
|
5
|
-
data: any;
|
|
6
|
-
errors: unknown[];
|
|
7
|
-
};
|
|
8
|
-
export declare function isLuvioDocumentNode(unknown: unknown): unknown is LuvioDocumentNode;
|
|
9
|
-
export declare const createRead: (luvio: Luvio, ast: LuvioDocumentNode, variables: GraphQLVariables) => ReaderFragment['read'];
|
|
10
|
-
export declare function createIngest(ast: LuvioDocumentNode, variables: GraphQLVariables): ResourceIngest;
|
|
11
|
-
export declare function validate(ast: LuvioDocumentNode, variables: GraphQLVariables): string[];
|
|
1
|
+
import type { Luvio, ReaderFragment, ResourceIngest } from '@luvio/engine';
|
|
2
|
+
import type { LuvioDocumentNode } from '@luvio/graphql-parser';
|
|
3
|
+
import type { GraphQLVariables } from './Variable';
|
|
4
|
+
export type GraphQL = {
|
|
5
|
+
data: any;
|
|
6
|
+
errors: unknown[];
|
|
7
|
+
};
|
|
8
|
+
export declare function isLuvioDocumentNode(unknown: unknown): unknown is LuvioDocumentNode;
|
|
9
|
+
export declare const createRead: (luvio: Luvio, ast: LuvioDocumentNode, variables: GraphQLVariables) => ReaderFragment['read'];
|
|
10
|
+
export declare function createIngest(ast: LuvioDocumentNode, variables: GraphQLVariables): ResourceIngest;
|
|
11
|
+
export declare function validate(ast: LuvioDocumentNode, variables: GraphQLVariables): string[];
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { LuvioFieldNode } from '@luvio/graphql-parser';
|
|
2
|
-
import type { GraphQLVariables } from './Variable';
|
|
3
|
-
export declare function serialize(sel: LuvioFieldNode): string;
|
|
4
|
-
export declare function render(sel: LuvioFieldNode, variables: GraphQLVariables): string;
|
|
1
|
+
import type { LuvioFieldNode } from '@luvio/graphql-parser';
|
|
2
|
+
import type { GraphQLVariables } from './Variable';
|
|
3
|
+
export declare function serialize(sel: LuvioFieldNode): string;
|
|
4
|
+
export declare function render(sel: LuvioFieldNode, variables: GraphQLVariables): string;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { createRead } from '../util/read';
|
|
2
|
-
export { createIngest } from '../util/ingest';
|
|
1
|
+
export { createRead } from '../util/read';
|
|
2
|
+
export { createIngest } from '../util/ingest';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { LuvioOperationDefinitionNode } from '@luvio/graphql-parser';
|
|
2
|
-
import type { GraphQLVariables } from './Variable';
|
|
3
|
-
export { createRead } from '../util/read';
|
|
4
|
-
export { createIngest } from '../util/ingest';
|
|
5
|
-
export declare function validate(ast: LuvioOperationDefinitionNode, variables: GraphQLVariables): string[];
|
|
1
|
+
import type { LuvioOperationDefinitionNode } from '@luvio/graphql-parser';
|
|
2
|
+
import type { GraphQLVariables } from './Variable';
|
|
3
|
+
export { createRead } from '../util/read';
|
|
4
|
+
export { createIngest } from '../util/ingest';
|
|
5
|
+
export declare function validate(ast: LuvioOperationDefinitionNode, variables: GraphQLVariables): string[];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import type { Reader } from '@luvio/engine';
|
|
2
|
-
export declare function readScalarFieldSelection(builder: Reader<any>, source: any, fieldName: string, sink: any): void;
|
|
1
|
+
import type { Reader } from '@luvio/engine';
|
|
2
|
+
export declare function readScalarFieldSelection(builder: Reader<any>, source: any, fieldName: string, sink: any): void;
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import type { Luvio, Reader, StoreLink, StoreResolveResultFound } from '@luvio/engine';
|
|
2
|
-
import type { LuvioSelectionNode } from '@luvio/graphql-parser';
|
|
3
|
-
import type { LuvioFieldNode } from '@luvio/graphql-parser';
|
|
4
|
-
import type { StoreResolveResultStale } from '@luvio/engine';
|
|
5
|
-
import type { GraphQLVariables } from './Variable';
|
|
6
|
-
export declare enum PropertyLookupResultState {
|
|
7
|
-
Missing = 0,
|
|
8
|
-
Present = 1
|
|
9
|
-
}
|
|
10
|
-
interface PropertyLookupResultMissing {
|
|
11
|
-
state: PropertyLookupResultState.Missing;
|
|
12
|
-
}
|
|
13
|
-
interface PropertyLookupResultPresent {
|
|
14
|
-
state: PropertyLookupResultState.Present;
|
|
15
|
-
value: any;
|
|
16
|
-
}
|
|
17
|
-
type PropertyLookupResult = PropertyLookupResultMissing | PropertyLookupResultPresent;
|
|
18
|
-
export declare function propertyLookup(builder: Reader<any>, key: string, source: any): PropertyLookupResult;
|
|
19
|
-
export declare function resolveKey<D>(builder: Reader<any>, key: string): StoreResolveResultStale | StoreResolveResultFound<D> | undefined;
|
|
20
|
-
export declare function resolveLink<D>(builder: Reader<any>, storeLink: StoreLink): StoreResolveResultFound<D> | StoreResolveResultStale | undefined;
|
|
21
|
-
export declare function followLink(luvio: Luvio, sel: LuvioSelectionNode, builder: Reader<any>, storeLink: StoreLink, variables: GraphQLVariables): any;
|
|
22
|
-
export declare function getLuvioFieldNodeSelection(ast: LuvioSelectionNode): LuvioFieldNode;
|
|
23
|
-
export {};
|
|
1
|
+
import type { Luvio, Reader, StoreLink, StoreResolveResultFound } from '@luvio/engine';
|
|
2
|
+
import type { LuvioSelectionNode } from '@luvio/graphql-parser';
|
|
3
|
+
import type { LuvioFieldNode } from '@luvio/graphql-parser';
|
|
4
|
+
import type { StoreResolveResultStale } from '@luvio/engine';
|
|
5
|
+
import type { GraphQLVariables } from './Variable';
|
|
6
|
+
export declare enum PropertyLookupResultState {
|
|
7
|
+
Missing = 0,
|
|
8
|
+
Present = 1
|
|
9
|
+
}
|
|
10
|
+
interface PropertyLookupResultMissing {
|
|
11
|
+
state: PropertyLookupResultState.Missing;
|
|
12
|
+
}
|
|
13
|
+
interface PropertyLookupResultPresent {
|
|
14
|
+
state: PropertyLookupResultState.Present;
|
|
15
|
+
value: any;
|
|
16
|
+
}
|
|
17
|
+
type PropertyLookupResult = PropertyLookupResultMissing | PropertyLookupResultPresent;
|
|
18
|
+
export declare function propertyLookup(builder: Reader<any>, key: string, source: any): PropertyLookupResult;
|
|
19
|
+
export declare function resolveKey<D>(builder: Reader<any>, key: string): StoreResolveResultStale | StoreResolveResultFound<D> | undefined;
|
|
20
|
+
export declare function resolveLink<D>(builder: Reader<any>, storeLink: StoreLink): StoreResolveResultFound<D> | StoreResolveResultStale | undefined;
|
|
21
|
+
export declare function followLink(luvio: Luvio, sel: LuvioSelectionNode, builder: Reader<any>, storeLink: StoreLink, variables: GraphQLVariables): any;
|
|
22
|
+
export declare function getLuvioFieldNodeSelection(ast: LuvioSelectionNode): LuvioFieldNode;
|
|
23
|
+
export {};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { LuvioVariableDefinitionNode } from '@luvio/graphql-parser';
|
|
2
|
-
export type GraphQLVariables = Record<string, unknown>;
|
|
3
|
-
export declare function isGraphQLVariables(unknown: unknown): unknown is GraphQLVariables;
|
|
4
|
-
export declare function validateVariableDefinitions(definitons: LuvioVariableDefinitionNode[], variables: GraphQLVariables): string[];
|
|
1
|
+
import type { LuvioVariableDefinitionNode } from '@luvio/graphql-parser';
|
|
2
|
+
export type GraphQLVariables = Record<string, unknown>;
|
|
3
|
+
export declare function isGraphQLVariables(unknown: unknown): unknown is GraphQLVariables;
|
|
4
|
+
export declare function validateVariableDefinitions(definitons: LuvioVariableDefinitionNode[], variables: GraphQLVariables): string[];
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
export declare function untrustedIsObject<Base>(untrusted: unknown): untrusted is Untrusted<Base>;
|
|
2
|
-
export type Untrusted<Base> = Partial<Base>;
|
|
3
|
-
export declare function deepFreeze(value: unknown): object | undefined;
|
|
4
|
-
/**
|
|
5
|
-
* A deterministic JSON stringify implementation. Heavily adapted from https://github.com/epoberezkin/fast-json-stable-stringify.
|
|
6
|
-
* This is needed because insertion order for JSON.stringify(object) affects output:
|
|
7
|
-
* JSON.stringify({a: 1, b: 2})
|
|
8
|
-
* "{"a":1,"b":2}"
|
|
9
|
-
* JSON.stringify({b: 2, a: 1})
|
|
10
|
-
* "{"b":2,"a":1}"
|
|
11
|
-
* @param data Data to be JSON-stringified.
|
|
12
|
-
* @returns JSON.stringified value with consistent ordering of keys.
|
|
13
|
-
*/
|
|
14
|
-
export declare function stableJSONStringify(node: any): string;
|
|
15
|
-
export declare const namespace = "GraphQL";
|
|
16
|
-
export declare const representationName = "graphql";
|
|
1
|
+
export declare function untrustedIsObject<Base>(untrusted: unknown): untrusted is Untrusted<Base>;
|
|
2
|
+
export type Untrusted<Base> = Partial<Base>;
|
|
3
|
+
export declare function deepFreeze(value: unknown): object | undefined;
|
|
4
|
+
/**
|
|
5
|
+
* A deterministic JSON stringify implementation. Heavily adapted from https://github.com/epoberezkin/fast-json-stable-stringify.
|
|
6
|
+
* This is needed because insertion order for JSON.stringify(object) affects output:
|
|
7
|
+
* JSON.stringify({a: 1, b: 2})
|
|
8
|
+
* "{"a":1,"b":2}"
|
|
9
|
+
* JSON.stringify({b: 2, a: 1})
|
|
10
|
+
* "{"b":2,"a":1}"
|
|
11
|
+
* @param data Data to be JSON-stringified.
|
|
12
|
+
* @returns JSON.stringified value with consistent ordering of keys.
|
|
13
|
+
*/
|
|
14
|
+
export declare function stableJSONStringify(node: any): string;
|
|
15
|
+
export declare const namespace = "GraphQL";
|
|
16
|
+
export declare const representationName = "graphql";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { LuvioDocumentNode } from '@luvio/graphql-parser';
|
|
2
|
-
import type { LuvioObjectValueNode, LuvioOperationDefinitionNode, LuvioValueNode } from '@luvio/graphql-parser';
|
|
3
|
-
import type { SerializeState } from './serialize';
|
|
4
|
-
export declare function serializeValueNode(valueDefinition: LuvioValueNode): string | boolean;
|
|
5
|
-
export declare function serializeObjectValueNode(objectValueDefinition: LuvioObjectValueNode): string;
|
|
6
|
-
export declare function serializeOperationDefinition(def: LuvioOperationDefinitionNode, state: SerializeState): string;
|
|
7
|
-
export declare function astToString(ast: LuvioDocumentNode): string;
|
|
1
|
+
import type { LuvioDocumentNode } from '@luvio/graphql-parser';
|
|
2
|
+
import type { LuvioObjectValueNode, LuvioOperationDefinitionNode, LuvioValueNode } from '@luvio/graphql-parser';
|
|
3
|
+
import type { SerializeState } from './serialize';
|
|
4
|
+
export declare function serializeValueNode(valueDefinition: LuvioValueNode): string | boolean;
|
|
5
|
+
export declare function serializeObjectValueNode(objectValueDefinition: LuvioObjectValueNode): string;
|
|
6
|
+
export declare function serializeOperationDefinition(def: LuvioOperationDefinitionNode, state: SerializeState): string;
|
|
7
|
+
export declare function astToString(ast: LuvioDocumentNode): string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import type { StoreLink } from '@luvio/engine';
|
|
2
|
-
import type { LuvioSelectionNode, LuvioSelectionScalarFieldNode } from '@luvio/graphql-parser';
|
|
3
|
-
import type { GraphQLVariables } from '../type/Variable';
|
|
4
|
-
export declare function scalarFieldEquals(ast: LuvioSelectionScalarFieldNode, variables: GraphQLVariables, existing: Record<string, unknown>, incoming: typeof existing): boolean;
|
|
5
|
-
export declare function equals<T extends Record<string, unknown | StoreLink>>(ast: {
|
|
6
|
-
luvioSelections?: LuvioSelectionNode[];
|
|
7
|
-
}, variables: GraphQLVariables, existing: T, incoming: typeof existing): boolean;
|
|
1
|
+
import type { StoreLink } from '@luvio/engine';
|
|
2
|
+
import type { LuvioSelectionNode, LuvioSelectionScalarFieldNode } from '@luvio/graphql-parser';
|
|
3
|
+
import type { GraphQLVariables } from '../type/Variable';
|
|
4
|
+
export declare function scalarFieldEquals(ast: LuvioSelectionScalarFieldNode, variables: GraphQLVariables, existing: Record<string, unknown>, incoming: typeof existing): boolean;
|
|
5
|
+
export declare function equals<T extends Record<string, unknown | StoreLink>>(ast: {
|
|
6
|
+
luvioSelections?: LuvioSelectionNode[];
|
|
7
|
+
}, variables: GraphQLVariables, existing: T, incoming: typeof existing): boolean;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import type { IngestPath, Luvio, Store } from '@luvio/engine';
|
|
2
|
-
import type { LuvioOperationDefinitionNode, LuvioSelectionCustomFieldNode, LuvioSelectionObjectFieldNode } from '@luvio/graphql-parser';
|
|
3
|
-
import type { GraphQLVariables } from '../type/Variable';
|
|
4
|
-
export declare const DEFAULT_GRAPHQL_TTL = 30000;
|
|
5
|
-
export declare const GRAPHQL_INGEST_VERSION = "GRAPHQL_INGEST_VERSION_1";
|
|
6
|
-
type LuvioIngestableNode = LuvioOperationDefinitionNode | LuvioSelectionObjectFieldNode | LuvioSelectionCustomFieldNode;
|
|
7
|
-
export declare function createIngest(ast: LuvioIngestableNode, variables: GraphQLVariables): import("@luvio/engine").ResourceIngest | ((data: any, path: IngestPath<unknown>, luvio: Luvio, store: Store, timestamp: number) => {
|
|
8
|
-
__ref: string | import("@luvio/engine").NormalizedKeyMetadata;
|
|
9
|
-
});
|
|
10
|
-
export declare function publishDataIfChanged(params: {
|
|
11
|
-
ast: LuvioIngestableNode;
|
|
12
|
-
key: string;
|
|
13
|
-
incoming: any;
|
|
14
|
-
luvio: Luvio;
|
|
15
|
-
store: Store;
|
|
16
|
-
variables: GraphQLVariables;
|
|
17
|
-
}): void;
|
|
18
|
-
export {};
|
|
1
|
+
import type { IngestPath, Luvio, Store } from '@luvio/engine';
|
|
2
|
+
import type { LuvioOperationDefinitionNode, LuvioSelectionCustomFieldNode, LuvioSelectionObjectFieldNode } from '@luvio/graphql-parser';
|
|
3
|
+
import type { GraphQLVariables } from '../type/Variable';
|
|
4
|
+
export declare const DEFAULT_GRAPHQL_TTL = 30000;
|
|
5
|
+
export declare const GRAPHQL_INGEST_VERSION = "GRAPHQL_INGEST_VERSION_1";
|
|
6
|
+
type LuvioIngestableNode = LuvioOperationDefinitionNode | LuvioSelectionObjectFieldNode | LuvioSelectionCustomFieldNode;
|
|
7
|
+
export declare function createIngest(ast: LuvioIngestableNode, variables: GraphQLVariables): import("@luvio/engine").ResourceIngest | ((data: any, path: IngestPath<unknown>, luvio: Luvio, store: Store, timestamp: number) => {
|
|
8
|
+
__ref: string | import("@luvio/engine").NormalizedKeyMetadata;
|
|
9
|
+
});
|
|
10
|
+
export declare function publishDataIfChanged(params: {
|
|
11
|
+
ast: LuvioIngestableNode;
|
|
12
|
+
key: string;
|
|
13
|
+
incoming: any;
|
|
14
|
+
luvio: Luvio;
|
|
15
|
+
store: Store;
|
|
16
|
+
variables: GraphQLVariables;
|
|
17
|
+
}): void;
|
|
18
|
+
export {};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
declare const isArray: (arg: any) => arg is any[];
|
|
2
|
-
declare const keys: {
|
|
3
|
-
(o: object): string[];
|
|
4
|
-
(o: {}): string[];
|
|
5
|
-
}, freeze: {
|
|
6
|
-
<T extends Function>(f: T): T;
|
|
7
|
-
<T_1 extends {
|
|
8
|
-
[idx: string]: object | U | null | undefined;
|
|
9
|
-
}, U extends string | number | bigint | boolean | symbol>(o: T_1): Readonly<T_1>;
|
|
10
|
-
<T_2>(o: T_2): Readonly<T_2>;
|
|
11
|
-
}, create: {
|
|
12
|
-
(o: object | null): any;
|
|
13
|
-
(o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any;
|
|
14
|
-
};
|
|
15
|
-
declare const hasOwnProperty: (v: PropertyKey) => boolean;
|
|
16
|
-
declare const parse: (text: string, reviver?: ((this: any, key: string, value: any) => any) | undefined) => any, stringify: {
|
|
17
|
-
(value: any, replacer?: ((this: any, key: string, value: any) => any) | undefined, space?: string | number | undefined): string;
|
|
18
|
-
(value: any, replacer?: (string | number)[] | null | undefined, space?: string | number | undefined): string;
|
|
19
|
-
};
|
|
20
|
-
export { isArray as ArrayIsArray, keys as ObjectKeys, freeze as ObjectFreeze, create as ObjectCreate, hasOwnProperty as ObjectPrototypeHasOwnProperty, parse as JSONParse, stringify as JSONStringify, };
|
|
1
|
+
declare const isArray: (arg: any) => arg is any[];
|
|
2
|
+
declare const keys: {
|
|
3
|
+
(o: object): string[];
|
|
4
|
+
(o: {}): string[];
|
|
5
|
+
}, freeze: {
|
|
6
|
+
<T extends Function>(f: T): T;
|
|
7
|
+
<T_1 extends {
|
|
8
|
+
[idx: string]: object | U | null | undefined;
|
|
9
|
+
}, U extends string | number | bigint | boolean | symbol>(o: T_1): Readonly<T_1>;
|
|
10
|
+
<T_2>(o: T_2): Readonly<T_2>;
|
|
11
|
+
}, create: {
|
|
12
|
+
(o: object | null): any;
|
|
13
|
+
(o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any;
|
|
14
|
+
};
|
|
15
|
+
declare const hasOwnProperty: (v: PropertyKey) => boolean;
|
|
16
|
+
declare const parse: (text: string, reviver?: ((this: any, key: string, value: any) => any) | undefined) => any, stringify: {
|
|
17
|
+
(value: any, replacer?: ((this: any, key: string, value: any) => any) | undefined, space?: string | number | undefined): string;
|
|
18
|
+
(value: any, replacer?: (string | number)[] | null | undefined, space?: string | number | undefined): string;
|
|
19
|
+
};
|
|
20
|
+
export { isArray as ArrayIsArray, keys as ObjectKeys, freeze as ObjectFreeze, create as ObjectCreate, hasOwnProperty as ObjectPrototypeHasOwnProperty, parse as JSONParse, stringify as JSONStringify, };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export default function merge<T extends Record<string, unknown>>(existing: T | undefined, incoming: T): T;
|
|
1
|
+
export default function merge<T extends Record<string, unknown>>(existing: T | undefined, incoming: T): T;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { Luvio, Reader } from '@luvio/engine';
|
|
2
|
-
import type { LuvioOperationDefinitionNode, LuvioSelectionNode } from '@luvio/graphql-parser';
|
|
3
|
-
import type { GraphQLVariables } from '../type/Variable';
|
|
4
|
-
export declare function createRead(luvio: Luvio, ast: LuvioSelectionNode | LuvioOperationDefinitionNode, variables: GraphQLVariables): ((source: any, reader: Reader<any>) => any) | ((reader: Reader<any>) => any);
|
|
1
|
+
import type { Luvio, Reader } from '@luvio/engine';
|
|
2
|
+
import type { LuvioOperationDefinitionNode, LuvioSelectionNode } from '@luvio/graphql-parser';
|
|
3
|
+
import type { GraphQLVariables } from '../type/Variable';
|
|
4
|
+
export declare function createRead(luvio: Luvio, ast: LuvioSelectionNode | LuvioOperationDefinitionNode, variables: GraphQLVariables): ((source: any, reader: Reader<any>) => any) | ((reader: Reader<any>) => any);
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import type { LuvioArgumentNode, LuvioFieldNode, LuvioSelectionCustomFieldNode, LuvioSelectionNode, LuvioSelectionObjectFieldNode } from '@luvio/graphql-parser';
|
|
2
|
-
export declare const TYPENAME_FIELD = "__typename";
|
|
3
|
-
export interface SerializeState {
|
|
4
|
-
fragments: Record<string, string>;
|
|
5
|
-
}
|
|
6
|
-
export declare function serializeFieldNodeName(node: LuvioFieldNode): string;
|
|
7
|
-
export declare function serializeSelections(selections: LuvioSelectionNode[] | undefined, state: SerializeState): string;
|
|
8
|
-
export declare function serializeFieldNode(def: LuvioSelectionNode, state: SerializeState): string;
|
|
9
|
-
export declare function serializeRecordSelections(selections: LuvioSelectionNode[] | undefined, state: SerializeState): string;
|
|
10
|
-
export declare function isLuvioFieldNodeObjectFieldNode(node: LuvioFieldNode): node is LuvioSelectionObjectFieldNode;
|
|
11
|
-
export declare function serializeCustomFieldRecord(def: LuvioSelectionCustomFieldNode, state: SerializeState): string;
|
|
12
|
-
export declare function serializeArguments(argDefinitions: LuvioArgumentNode[] | undefined): string;
|
|
1
|
+
import type { LuvioArgumentNode, LuvioFieldNode, LuvioSelectionCustomFieldNode, LuvioSelectionNode, LuvioSelectionObjectFieldNode } from '@luvio/graphql-parser';
|
|
2
|
+
export declare const TYPENAME_FIELD = "__typename";
|
|
3
|
+
export interface SerializeState {
|
|
4
|
+
fragments: Record<string, string>;
|
|
5
|
+
}
|
|
6
|
+
export declare function serializeFieldNodeName(node: LuvioFieldNode): string;
|
|
7
|
+
export declare function serializeSelections(selections: LuvioSelectionNode[] | undefined, state: SerializeState): string;
|
|
8
|
+
export declare function serializeFieldNode(def: LuvioSelectionNode, state: SerializeState): string;
|
|
9
|
+
export declare function serializeRecordSelections(selections: LuvioSelectionNode[] | undefined, state: SerializeState): string;
|
|
10
|
+
export declare function isLuvioFieldNodeObjectFieldNode(node: LuvioFieldNode): node is LuvioSelectionObjectFieldNode;
|
|
11
|
+
export declare function serializeCustomFieldRecord(def: LuvioSelectionCustomFieldNode, state: SerializeState): string;
|
|
12
|
+
export declare function serializeArguments(argDefinitions: LuvioArgumentNode[] | undefined): string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare function sortAndCopyUsingObjectKey<T>(arr: Array<T>, key: string): Array<T>;
|
|
1
|
+
export declare function sortAndCopyUsingObjectKey<T>(arr: Array<T>, key: string): Array<T>;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import type { LuvioDocumentNode, LuvioSelectionNode, LuvioSelectionObjectFieldNode, LuvioSelectionScalarFieldNode, LuvioSelectionCustomFieldNode, LuvioDefinitionNode, LuvioOperationDefinitionNode } from '@luvio/graphql-parser';
|
|
2
|
-
export declare function shouldInjectFields(ast: LuvioDocumentNode): boolean;
|
|
3
|
-
export declare function injectFieldsGQL(ast: LuvioDocumentNode): LuvioDocumentNode;
|
|
4
|
-
export declare function findRecordSelections(document: LuvioDocumentNode): LuvioSelectionCustomFieldNode[];
|
|
5
|
-
export declare function isOperationDefinition(node: LuvioDefinitionNode): node is LuvioOperationDefinitionNode;
|
|
6
|
-
export declare function isObjectFieldSelection(node: LuvioSelectionNode | undefined): node is LuvioSelectionObjectFieldNode;
|
|
7
|
-
export declare function isCustomFieldNode(node: LuvioSelectionNode | undefined): node is LuvioSelectionCustomFieldNode;
|
|
8
|
-
export declare function isScalarFieldNode(node: LuvioSelectionNode | undefined): node is LuvioSelectionScalarFieldNode;
|
|
9
|
-
export declare function flatMap<T, U>(transform: (t: T) => U[]): (acc: U[], current: T) => U[];
|
|
10
|
-
export declare function luvioSelections(node: {
|
|
11
|
-
luvioSelections?: LuvioSelectionNode[];
|
|
12
|
-
}): LuvioSelectionNode[];
|
|
13
|
-
export declare function named<T extends {
|
|
14
|
-
name: string;
|
|
15
|
-
}>(name: string): (node: T) => boolean;
|
|
1
|
+
import type { LuvioDocumentNode, LuvioSelectionNode, LuvioSelectionObjectFieldNode, LuvioSelectionScalarFieldNode, LuvioSelectionCustomFieldNode, LuvioDefinitionNode, LuvioOperationDefinitionNode } from '@luvio/graphql-parser';
|
|
2
|
+
export declare function shouldInjectFields(ast: LuvioDocumentNode): boolean;
|
|
3
|
+
export declare function injectFieldsGQL(ast: LuvioDocumentNode): LuvioDocumentNode;
|
|
4
|
+
export declare function findRecordSelections(document: LuvioDocumentNode): LuvioSelectionCustomFieldNode[];
|
|
5
|
+
export declare function isOperationDefinition(node: LuvioDefinitionNode): node is LuvioOperationDefinitionNode;
|
|
6
|
+
export declare function isObjectFieldSelection(node: LuvioSelectionNode | undefined): node is LuvioSelectionObjectFieldNode;
|
|
7
|
+
export declare function isCustomFieldNode(node: LuvioSelectionNode | undefined): node is LuvioSelectionCustomFieldNode;
|
|
8
|
+
export declare function isScalarFieldNode(node: LuvioSelectionNode | undefined): node is LuvioSelectionScalarFieldNode;
|
|
9
|
+
export declare function flatMap<T, U>(transform: (t: T) => U[]): (acc: U[], current: T) => U[];
|
|
10
|
+
export declare function luvioSelections(node: {
|
|
11
|
+
luvioSelections?: LuvioSelectionNode[];
|
|
12
|
+
}): LuvioSelectionNode[];
|
|
13
|
+
export declare function named<T extends {
|
|
14
|
+
name: string;
|
|
15
|
+
}>(name: string): (node: T) => boolean;
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-graphql",
|
|
3
|
-
"version": "1.124.
|
|
3
|
+
"version": "1.124.4",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "Wire adapter for GraphQL API endpoint",
|
|
6
|
-
"main": "dist/
|
|
6
|
+
"main": "dist/es/es2018/graphql-service.js",
|
|
7
7
|
"module": "dist/es/es2018/graphql-service.js",
|
|
8
|
-
"types": "dist/types/src/main.d.ts",
|
|
8
|
+
"types": "dist/es/es2018/types/src/main.d.ts",
|
|
9
9
|
"files": [
|
|
10
10
|
"dist",
|
|
11
11
|
"sfdc"
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
"exports": {
|
|
14
14
|
".": {
|
|
15
15
|
"import": "./dist/es/es2018/graphql-service.js",
|
|
16
|
-
"require": "./dist/
|
|
17
|
-
"types": "./dist/
|
|
16
|
+
"require": "./dist/es/es2018/graphql-service.js",
|
|
17
|
+
"types": "./dist/es/es2018types/src/main.d.ts"
|
|
18
18
|
},
|
|
19
19
|
"./sfdc": {
|
|
20
20
|
"import": "./sfdc/index.js",
|
package/sfdc/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from '../dist/types/src/sfdc';
|
|
1
|
+
export * from '../dist/es/es2018/types/src/sfdc';
|