@slickgrid-universal/graphql 5.7.0 → 5.9.0
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/cjs/index.js +4 -19
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/interfaces/index.js +0 -24
- package/dist/cjs/interfaces/index.js.map +1 -1
- package/dist/cjs/services/graphql.service.js +6 -6
- package/dist/cjs/services/graphql.service.js.map +1 -1
- package/dist/cjs/services/index.js +3 -3
- package/dist/cjs/services/index.js.map +1 -1
- package/dist/esm/index.js +2 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/interfaces/index.js +1 -10
- package/dist/esm/interfaces/index.js.map +1 -1
- package/dist/esm/services/graphql.service.js +1 -1
- package/dist/esm/services/graphql.service.js.map +1 -1
- package/dist/esm/services/index.js +2 -2
- package/dist/esm/services/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/index.d.ts +3 -3
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/interfaces/graphqlDatasetFilter.interface.d.ts +2 -2
- package/dist/types/interfaces/graphqlDatasetFilter.interface.d.ts.map +1 -1
- package/dist/types/interfaces/graphqlServiceApi.interface.d.ts +4 -4
- package/dist/types/interfaces/graphqlServiceApi.interface.d.ts.map +1 -1
- package/dist/types/interfaces/graphqlServiceOption.interface.d.ts +5 -5
- package/dist/types/interfaces/graphqlServiceOption.interface.d.ts.map +1 -1
- package/dist/types/interfaces/index.d.ts +10 -10
- package/dist/types/interfaces/index.d.ts.map +1 -1
- package/dist/types/services/graphql.service.d.ts +1 -1
- package/dist/types/services/graphql.service.d.ts.map +1 -1
- package/dist/types/services/index.d.ts +2 -2
- package/dist/types/services/index.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/index.ts +3 -3
- package/src/interfaces/graphqlDatasetFilter.interface.ts +2 -2
- package/src/interfaces/graphqlServiceApi.interface.ts +4 -4
- package/src/interfaces/graphqlServiceOption.interface.ts +5 -5
- package/src/interfaces/index.ts +10 -10
- package/src/services/graphql.service.ts +2 -2
- package/src/services/index.ts +2 -2
package/dist/types/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { GraphqlService } from './services/graphql.service';
|
|
2
|
-
export { default as GraphqlQueryBuilder } from './services/graphqlQueryBuilder';
|
|
3
|
-
export * from './interfaces/index';
|
|
1
|
+
export { GraphqlService } from './services/graphql.service.js';
|
|
2
|
+
export { default as GraphqlQueryBuilder } from './services/graphqlQueryBuilder.js';
|
|
3
|
+
export type * from './interfaces/index.js';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC/D,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,mCAAmC,CAAC;AACnF,mBAAmB,uBAAuB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { GraphqlFilteringOption } from './graphqlFilteringOption.interface';
|
|
2
|
-
import type { GraphqlSortingOption } from './graphqlSortingOption.interface';
|
|
1
|
+
import type { GraphqlFilteringOption } from './graphqlFilteringOption.interface.js';
|
|
2
|
+
import type { GraphqlSortingOption } from './graphqlSortingOption.interface.js';
|
|
3
3
|
export interface GraphqlDatasetFilter {
|
|
4
4
|
first?: number;
|
|
5
5
|
last?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"graphqlDatasetFilter.interface.d.ts","sourceRoot":"","sources":["../../../src/interfaces/graphqlDatasetFilter.interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"graphqlDatasetFilter.interface.d.ts","sourceRoot":"","sources":["../../../src/interfaces/graphqlDatasetFilter.interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,uCAAuC,CAAC;AACpF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAEhF,MAAM,WAAW,oBAAoB;IACnC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,CAAC,EAAE,sBAAsB,EAAE,CAAC;IACpC,OAAO,CAAC,EAAE,oBAAoB,EAAE,CAAC;CAClC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { BackendServiceApi, Observable } from '@slickgrid-universal/common';
|
|
2
|
-
import type { GraphqlResult } from './graphqlResult.interface';
|
|
3
|
-
import type { GraphqlPaginatedResult } from './graphqlPaginatedResult.interface';
|
|
4
|
-
import type { GraphqlServiceOption } from './graphqlServiceOption.interface';
|
|
5
|
-
import type { GraphqlService } from '../services/index';
|
|
2
|
+
import type { GraphqlResult } from './graphqlResult.interface.js';
|
|
3
|
+
import type { GraphqlPaginatedResult } from './graphqlPaginatedResult.interface.js';
|
|
4
|
+
import type { GraphqlServiceOption } from './graphqlServiceOption.interface.js';
|
|
5
|
+
import type { GraphqlService } from '../services/index.js';
|
|
6
6
|
export interface GraphqlServiceApi extends BackendServiceApi {
|
|
7
7
|
/** Backend Service Options */
|
|
8
8
|
options: GraphqlServiceOption;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"graphqlServiceApi.interface.d.ts","sourceRoot":"","sources":["../../../src/interfaces/graphqlServiceApi.interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAEjF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"graphqlServiceApi.interface.d.ts","sourceRoot":"","sources":["../../../src/interfaces/graphqlServiceApi.interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAEjF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAClE,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,uCAAuC,CAAC;AACpF,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAChF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAE3D,MAAM,WAAW,iBAAkB,SAAQ,iBAAiB;IAC1D,8BAA8B;IAC9B,OAAO,EAAE,oBAAoB,CAAC;IAE9B,mEAAmE;IACnE,OAAO,EAAE,cAAc,CAAC;IAExB,yDAAyD;IACzD,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC,aAAa,GAAG,sBAAsB,CAAC,GAAG,UAAU,CAAC,aAAa,GAAG,sBAAsB,CAAC,CAAC;IAEjI,mJAAmJ;IACnJ,OAAO,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,OAAO,CAAC,aAAa,GAAG,sBAAsB,CAAC,GAAG,UAAU,CAAC,aAAa,GAAG,sBAAsB,CAAC,CAAC;IAEjI,uFAAuF;IACvF,WAAW,CAAC,EAAE,CAAC,QAAQ,EAAE,aAAa,GAAG,sBAAsB,KAAK,IAAI,CAAC;IAEzE;;;OAGG;IACH,mBAAmB,CAAC,EAAE,CAAC,MAAM,EAAE,aAAa,GAAG,sBAAsB,KAAK,IAAI,CAAC;CAChF"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { BackendServiceOption, BackendServiceFilterQueryOverrideArgs } from '@slickgrid-universal/common';
|
|
2
|
-
import type { GraphqlCustomFilteringOption, GraphqlFilteringOption } from './graphqlFilteringOption.interface';
|
|
3
|
-
import type { GraphqlSortingOption } from './graphqlSortingOption.interface';
|
|
4
|
-
import type { GraphqlCursorPaginationOption } from './graphqlCursorPaginationOption.interface';
|
|
5
|
-
import type { GraphqlPaginationOption } from './graphqlPaginationOption.interface';
|
|
6
|
-
import type { QueryArgument } from './queryArgument.interface';
|
|
2
|
+
import type { GraphqlCustomFilteringOption, GraphqlFilteringOption } from './graphqlFilteringOption.interface.js';
|
|
3
|
+
import type { GraphqlSortingOption } from './graphqlSortingOption.interface.js';
|
|
4
|
+
import type { GraphqlCursorPaginationOption } from './graphqlCursorPaginationOption.interface.js';
|
|
5
|
+
import type { GraphqlPaginationOption } from './graphqlPaginationOption.interface.js';
|
|
6
|
+
import type { QueryArgument } from './queryArgument.interface.js';
|
|
7
7
|
export interface GraphqlServiceOption extends BackendServiceOption {
|
|
8
8
|
/**
|
|
9
9
|
* When using Translation, we probably want to add locale as a query parameter for the filterBy/orderBy to work
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"graphqlServiceOption.interface.d.ts","sourceRoot":"","sources":["../../../src/interfaces/graphqlServiceOption.interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,qCAAqC,EAAE,MAAM,6BAA6B,CAAC;AAE/G,OAAO,KAAK,EAAE,4BAA4B,EAAE,sBAAsB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"graphqlServiceOption.interface.d.ts","sourceRoot":"","sources":["../../../src/interfaces/graphqlServiceOption.interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,qCAAqC,EAAE,MAAM,6BAA6B,CAAC;AAE/G,OAAO,KAAK,EAAE,4BAA4B,EAAE,sBAAsB,EAAE,MAAM,uCAAuC,CAAC;AAClH,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAChF,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,8CAA8C,CAAC;AAClG,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,wCAAwC,CAAC;AACtF,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAC;AAElE,MAAM,WAAW,oBAAqB,SAAQ,oBAAoB;IAChE;;;OAGG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAE7B,8EAA8E;IAC9E,WAAW,EAAE,MAAM,CAAC;IAEpB,2EAA2E;IAC3E,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;;;OAIG;IACH,mBAAmB,CAAC,EAAE,aAAa,EAAE,CAAC;IAEtC,qFAAqF;IACrF,gBAAgB,CAAC,EAAE,sBAAsB,EAAE,CAAC;IAE5C,kFAAkF;IAClF,mBAAmB,CAAC,EAAE,CAAC,IAAI,EAAE,qCAAqC,KAAK,4BAA4B,GAAG,SAAS,CAAC;IAEhH,kEAAkE;IAClE,iBAAiB,CAAC,EAAE,uBAAuB,GAAG,6BAA6B,CAAC;IAE5E,yEAAyE;IACzE,cAAc,CAAC,EAAE,oBAAoB,EAAE,CAAC;IAExC;;;OAGG;IACH,6BAA6B,CAAC,EAAE,OAAO,CAAC;IAExC,kDAAkD;IAClD,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;;OAGG;IACH,sBAAsB,CAAC,EAAE,OAAO,CAAC;CAClC"}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export * from './graphqlCursorPaginationOption.interface';
|
|
2
|
-
export * from './graphqlDatasetFilter.interface';
|
|
3
|
-
export * from './graphqlFilteringOption.interface';
|
|
4
|
-
export * from './graphqlPaginatedResult.interface';
|
|
5
|
-
export * from './graphqlPaginationOption.interface';
|
|
6
|
-
export * from './graphqlResult.interface';
|
|
7
|
-
export * from './graphqlServiceApi.interface';
|
|
8
|
-
export * from './graphqlServiceOption.interface';
|
|
9
|
-
export * from './graphqlSortingOption.interface';
|
|
10
|
-
export * from './queryArgument.interface';
|
|
1
|
+
export type * from './graphqlCursorPaginationOption.interface.js';
|
|
2
|
+
export type * from './graphqlDatasetFilter.interface.js';
|
|
3
|
+
export type * from './graphqlFilteringOption.interface.js';
|
|
4
|
+
export type * from './graphqlPaginatedResult.interface.js';
|
|
5
|
+
export type * from './graphqlPaginationOption.interface.js';
|
|
6
|
+
export type * from './graphqlResult.interface.js';
|
|
7
|
+
export type * from './graphqlServiceApi.interface.js';
|
|
8
|
+
export type * from './graphqlServiceOption.interface.js';
|
|
9
|
+
export type * from './graphqlSortingOption.interface.js';
|
|
10
|
+
export type * from './queryArgument.interface.js';
|
|
11
11
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/interfaces/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/interfaces/index.ts"],"names":[],"mappings":"AAAA,mBAAmB,8CAA8C,CAAC;AAClE,mBAAmB,qCAAqC,CAAC;AACzD,mBAAmB,uCAAuC,CAAC;AAC3D,mBAAmB,uCAAuC,CAAC;AAC3D,mBAAmB,wCAAwC,CAAC;AAC5D,mBAAmB,8BAA8B,CAAC;AAClD,mBAAmB,kCAAkC,CAAC;AACtD,mBAAmB,qCAAqC,CAAC;AACzD,mBAAmB,qCAAqC,CAAC;AACzD,mBAAmB,8BAA8B,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { BackendService, Column, ColumnFilters, ColumnSort, CurrentFilter, CurrentPagination, CurrentSorter, FilterChangedArgs, GridOption, MultiColumnSort, Pagination, PaginationChangedArgs, PaginationCursorChangedArgs, SharedService, SingleColumnSort, SlickGrid } from '@slickgrid-universal/common';
|
|
2
2
|
import { FieldType } from '@slickgrid-universal/common';
|
|
3
|
-
import type { GraphqlDatasetFilter, GraphqlPaginatedResult, GraphqlPaginationOption, GraphqlServiceOption } from '../interfaces/index';
|
|
3
|
+
import type { GraphqlDatasetFilter, GraphqlPaginatedResult, GraphqlPaginationOption, GraphqlServiceOption } from '../interfaces/index.js';
|
|
4
4
|
export declare class GraphqlService implements BackendService {
|
|
5
5
|
protected _currentFilters: ColumnFilters | CurrentFilter[];
|
|
6
6
|
protected _currentPagination: CurrentPagination | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"graphql.service.d.ts","sourceRoot":"","sources":["../../../src/services/graphql.service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EACd,MAAM,EAEN,aAAa,EACb,UAAU,EACV,aAAa,EACb,iBAAiB,EACjB,aAAa,EACb,iBAAiB,EACjB,UAAU,EAEV,eAAe,EAEf,UAAU,EACV,qBAAqB,EACrB,2BAA2B,EAC3B,aAAa,EACb,gBAAgB,EAChB,SAAS,EAEV,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,SAAS,EAKV,MAAM,6BAA6B,CAAC;AAGrC,OAAO,KAAK,EAGV,oBAAoB,EAEpB,sBAAsB,EACtB,uBAAuB,EACvB,oBAAoB,EAErB,MAAM,
|
|
1
|
+
{"version":3,"file":"graphql.service.d.ts","sourceRoot":"","sources":["../../../src/services/graphql.service.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EACd,MAAM,EAEN,aAAa,EACb,UAAU,EACV,aAAa,EACb,iBAAiB,EACjB,aAAa,EACb,iBAAiB,EACjB,UAAU,EAEV,eAAe,EAEf,UAAU,EACV,qBAAqB,EACrB,2BAA2B,EAC3B,aAAa,EACb,gBAAgB,EAChB,SAAS,EAEV,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,SAAS,EAKV,MAAM,6BAA6B,CAAC;AAGrC,OAAO,KAAK,EAGV,oBAAoB,EAEpB,sBAAsB,EACtB,uBAAuB,EACvB,oBAAoB,EAErB,MAAM,wBAAwB,CAA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graphql.service';
|
|
2
|
-
export { default as GraphqlQueryBuilder } from './graphqlQueryBuilder';
|
|
1
|
+
export * from './graphql.service.js';
|
|
2
|
+
export { default as GraphqlQueryBuilder } from './graphqlQueryBuilder.js';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/services/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/services/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,0BAA0B,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@slickgrid-universal/graphql",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.9.0",
|
|
4
4
|
"description": "GraphQL Service to sync a grid with a GraphQL backend server",
|
|
5
5
|
"main": "./dist/cjs/index.js",
|
|
6
6
|
"types": "./dist/types/index.d.ts",
|
|
@@ -38,12 +38,12 @@
|
|
|
38
38
|
"not dead"
|
|
39
39
|
],
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"@slickgrid-universal/common": "~5.
|
|
42
|
-
"@slickgrid-universal/utils": "~5.
|
|
41
|
+
"@slickgrid-universal/common": "~5.9.0",
|
|
42
|
+
"@slickgrid-universal/utils": "~5.9.0"
|
|
43
43
|
},
|
|
44
44
|
"funding": {
|
|
45
45
|
"type": "ko_fi",
|
|
46
46
|
"url": "https://ko-fi.com/ghiscoding"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "2f6ea0833a0fd3b59e71c5cf2e228a57afbfc53a"
|
|
49
49
|
}
|
package/src/index.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export { GraphqlService } from './services/graphql.service';
|
|
2
|
-
export { default as GraphqlQueryBuilder } from './services/graphqlQueryBuilder';
|
|
3
|
-
export * from './interfaces/index';
|
|
1
|
+
export { GraphqlService } from './services/graphql.service.js';
|
|
2
|
+
export { default as GraphqlQueryBuilder } from './services/graphqlQueryBuilder.js';
|
|
3
|
+
export type * from './interfaces/index.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { GraphqlFilteringOption } from './graphqlFilteringOption.interface';
|
|
2
|
-
import type { GraphqlSortingOption } from './graphqlSortingOption.interface';
|
|
1
|
+
import type { GraphqlFilteringOption } from './graphqlFilteringOption.interface.js';
|
|
2
|
+
import type { GraphqlSortingOption } from './graphqlSortingOption.interface.js';
|
|
3
3
|
|
|
4
4
|
export interface GraphqlDatasetFilter {
|
|
5
5
|
first?: number;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { BackendServiceApi, Observable } from '@slickgrid-universal/common';
|
|
2
2
|
|
|
3
|
-
import type { GraphqlResult } from './graphqlResult.interface';
|
|
4
|
-
import type { GraphqlPaginatedResult } from './graphqlPaginatedResult.interface';
|
|
5
|
-
import type { GraphqlServiceOption } from './graphqlServiceOption.interface';
|
|
6
|
-
import type { GraphqlService } from '../services/index';
|
|
3
|
+
import type { GraphqlResult } from './graphqlResult.interface.js';
|
|
4
|
+
import type { GraphqlPaginatedResult } from './graphqlPaginatedResult.interface.js';
|
|
5
|
+
import type { GraphqlServiceOption } from './graphqlServiceOption.interface.js';
|
|
6
|
+
import type { GraphqlService } from '../services/index.js';
|
|
7
7
|
|
|
8
8
|
export interface GraphqlServiceApi extends BackendServiceApi {
|
|
9
9
|
/** Backend Service Options */
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import type { BackendServiceOption, BackendServiceFilterQueryOverrideArgs } from '@slickgrid-universal/common';
|
|
2
2
|
|
|
3
|
-
import type { GraphqlCustomFilteringOption, GraphqlFilteringOption } from './graphqlFilteringOption.interface';
|
|
4
|
-
import type { GraphqlSortingOption } from './graphqlSortingOption.interface';
|
|
5
|
-
import type { GraphqlCursorPaginationOption } from './graphqlCursorPaginationOption.interface';
|
|
6
|
-
import type { GraphqlPaginationOption } from './graphqlPaginationOption.interface';
|
|
7
|
-
import type { QueryArgument } from './queryArgument.interface';
|
|
3
|
+
import type { GraphqlCustomFilteringOption, GraphqlFilteringOption } from './graphqlFilteringOption.interface.js';
|
|
4
|
+
import type { GraphqlSortingOption } from './graphqlSortingOption.interface.js';
|
|
5
|
+
import type { GraphqlCursorPaginationOption } from './graphqlCursorPaginationOption.interface.js';
|
|
6
|
+
import type { GraphqlPaginationOption } from './graphqlPaginationOption.interface.js';
|
|
7
|
+
import type { QueryArgument } from './queryArgument.interface.js';
|
|
8
8
|
|
|
9
9
|
export interface GraphqlServiceOption extends BackendServiceOption {
|
|
10
10
|
/**
|
package/src/interfaces/index.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export * from './graphqlCursorPaginationOption.interface';
|
|
2
|
-
export * from './graphqlDatasetFilter.interface';
|
|
3
|
-
export * from './graphqlFilteringOption.interface';
|
|
4
|
-
export * from './graphqlPaginatedResult.interface';
|
|
5
|
-
export * from './graphqlPaginationOption.interface';
|
|
6
|
-
export * from './graphqlResult.interface';
|
|
7
|
-
export * from './graphqlServiceApi.interface';
|
|
8
|
-
export * from './graphqlServiceOption.interface';
|
|
9
|
-
export * from './graphqlSortingOption.interface';
|
|
10
|
-
export * from './queryArgument.interface';
|
|
1
|
+
export type * from './graphqlCursorPaginationOption.interface.js';
|
|
2
|
+
export type * from './graphqlDatasetFilter.interface.js';
|
|
3
|
+
export type * from './graphqlFilteringOption.interface.js';
|
|
4
|
+
export type * from './graphqlPaginatedResult.interface.js';
|
|
5
|
+
export type * from './graphqlPaginationOption.interface.js';
|
|
6
|
+
export type * from './graphqlResult.interface.js';
|
|
7
|
+
export type * from './graphqlServiceApi.interface.js';
|
|
8
|
+
export type * from './graphqlServiceOption.interface.js';
|
|
9
|
+
export type * from './graphqlSortingOption.interface.js';
|
|
10
|
+
export type * from './queryArgument.interface.js';
|
|
@@ -38,9 +38,9 @@ import type {
|
|
|
38
38
|
GraphqlPaginationOption,
|
|
39
39
|
GraphqlServiceOption,
|
|
40
40
|
GraphqlSortingOption,
|
|
41
|
-
} from '../interfaces/index';
|
|
41
|
+
} from '../interfaces/index.js';
|
|
42
42
|
|
|
43
|
-
import QueryBuilder from './graphqlQueryBuilder';
|
|
43
|
+
import QueryBuilder from './graphqlQueryBuilder.js';
|
|
44
44
|
|
|
45
45
|
const DEFAULT_ITEMS_PER_PAGE = 25;
|
|
46
46
|
const DEFAULT_PAGE_SIZE = 20;
|
package/src/services/index.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './graphql.service';
|
|
2
|
-
export { default as GraphqlQueryBuilder } from './graphqlQueryBuilder';
|
|
1
|
+
export * from './graphql.service.js';
|
|
2
|
+
export { default as GraphqlQueryBuilder } from './graphqlQueryBuilder.js';
|