@maioradv/cms-basic-lib 1.6.0 → 1.6.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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Permission } from "../auth/types";
|
|
2
|
-
import { StringClause, WhereClausesDto } from "../core/dto/clauses";
|
|
2
|
+
import { BooleanClause, StringClause, WhereClausesDto } from "../core/dto/clauses";
|
|
3
3
|
import { Sorting, SortingParamsDto } from "../core/dto/sorting";
|
|
4
4
|
import { QueryParamsDto } from "../core/utils/queryParams";
|
|
5
5
|
export type ApiToken = {
|
|
@@ -18,5 +18,6 @@ export type SortingApiTokenDto = SortingParamsDto<{
|
|
|
18
18
|
}>;
|
|
19
19
|
export type ClausesApiTokenDto = WhereClausesDto<{
|
|
20
20
|
name?: StringClause;
|
|
21
|
+
readOnly?: BooleanClause;
|
|
21
22
|
}>;
|
|
22
23
|
export type QueryApiTokenDto = QueryParamsDto<SortingApiTokenDto, ClausesApiTokenDto>;
|
package/dist/bundles/graphql.js
CHANGED
package/dist/bundles/types.d.ts
CHANGED
|
@@ -19,8 +19,11 @@ export type Bundle = {
|
|
|
19
19
|
};
|
|
20
20
|
export type BundleVariant = {
|
|
21
21
|
id: number;
|
|
22
|
+
title: string | null;
|
|
23
|
+
subtitle: string | null;
|
|
22
24
|
description: string | null;
|
|
23
25
|
translations: Translation[];
|
|
26
|
+
metafields: Metafield[];
|
|
24
27
|
price: number | null;
|
|
25
28
|
fullPrice: number | null;
|
|
26
29
|
bundleId: number;
|
package/dist/products/graphql.js
CHANGED
package/dist/products/types.d.ts
CHANGED
|
@@ -21,8 +21,11 @@ export type Product = {
|
|
|
21
21
|
};
|
|
22
22
|
export type ProductVariant = {
|
|
23
23
|
id: number;
|
|
24
|
+
title: string | null;
|
|
25
|
+
subtitle: string | null;
|
|
24
26
|
description: string | null;
|
|
25
27
|
translations: Translation[];
|
|
28
|
+
metafields: Metafield[];
|
|
26
29
|
price: number | null;
|
|
27
30
|
fullPrice: number | null;
|
|
28
31
|
productId: number;
|
package/dist/roles/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Permission } from "../auth/types";
|
|
2
|
-
import { StringClause, WhereClausesDto } from "../core/dto/clauses";
|
|
2
|
+
import { BooleanClause, StringClause, WhereClausesDto } from "../core/dto/clauses";
|
|
3
3
|
import { Sorting, SortingParamsDto } from "../core/dto/sorting";
|
|
4
4
|
import { QueryParamsDto } from "../core/utils/queryParams";
|
|
5
5
|
import { OmitRequire, Translation } from "../types";
|
|
@@ -21,5 +21,6 @@ export type SortingRoleDto = SortingParamsDto<{
|
|
|
21
21
|
export type ClausesRoleDto = WhereClausesDto<{
|
|
22
22
|
name?: StringClause;
|
|
23
23
|
description?: StringClause;
|
|
24
|
+
readOnly?: BooleanClause;
|
|
24
25
|
}>;
|
|
25
26
|
export type QueryRoleDto = QueryParamsDto<SortingRoleDto, ClausesRoleDto>;
|