@evenicanpm/storefront-graphql-codegen 1.1.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/README.md +9 -0
- package/codegen.ts +26 -0
- package/documents/Account/index.ts +1 -0
- package/documents/Account/interfaces.ts +124 -0
- package/documents/Account/read.ts +22 -0
- package/documents/Account/readList.ts +28 -0
- package/documents/Account/update.ts +12 -0
- package/documents/Address/addressType.ts +12 -0
- package/documents/Address/countries.ts +27 -0
- package/documents/Address/create.ts +12 -0
- package/documents/Address/delete.ts +7 -0
- package/documents/Address/fragments.ts +56 -0
- package/documents/Address/index.ts +2 -0
- package/documents/Address/interfaces.ts +41 -0
- package/documents/Address/update.ts +12 -0
- package/documents/Cart/add.ts +64 -0
- package/documents/Cart/checkoutRead.ts +88 -0
- package/documents/Cart/checkoutSubmit.ts +18 -0
- package/documents/Cart/createCartAddress.ts +12 -0
- package/documents/Cart/deleteLine.ts +64 -0
- package/documents/Cart/fragments.ts +204 -0
- package/documents/Cart/interfaces.ts +56 -0
- package/documents/Cart/read.ts +44 -0
- package/documents/Cart/setOrderEmail.ts +9 -0
- package/documents/Cart/shippingMethodRead.ts +44 -0
- package/documents/Cart/shippingMethodUpdate.ts +64 -0
- package/documents/Cart/submit.ts +18 -0
- package/documents/Cart/updateCartAddress.ts +9 -0
- package/documents/Cart/updateLine.ts +64 -0
- package/documents/Catalog/create.ts +15 -0
- package/documents/Catalog/delete.ts +9 -0
- package/documents/Catalog/deleteProducts.ts +10 -0
- package/documents/Catalog/fragments.ts +80 -0
- package/documents/Catalog/interfaces.ts +34 -0
- package/documents/Catalog/linkMedia/create.ts +20 -0
- package/documents/Catalog/linkMedia/delete.ts +9 -0
- package/documents/Catalog/linkMedia/update.ts +11 -0
- package/documents/Catalog/linkProduct.ts +12 -0
- package/documents/Catalog/list.ts +23 -0
- package/documents/Catalog/read.ts +56 -0
- package/documents/Catalog/removeProduct.ts +11 -0
- package/documents/Catalog/save.ts +17 -0
- package/documents/Catalog/statusList.ts +12 -0
- package/documents/Catalog/update.ts +15 -0
- package/documents/Category/fragments.ts +54 -0
- package/documents/Category/interfaces.ts +18 -0
- package/documents/Category/list.ts +55 -0
- package/documents/MediaLibrary/File/create.ts +44 -0
- package/documents/MediaLibrary/File/delete.ts +12 -0
- package/documents/MediaLibrary/File/read.ts +36 -0
- package/documents/MediaLibrary/File/update.ts +43 -0
- package/documents/MediaLibrary/Folder/create.ts +24 -0
- package/documents/MediaLibrary/Folder/delete.ts +11 -0
- package/documents/MediaLibrary/Folder/read.ts +101 -0
- package/documents/MediaLibrary/Folder/update.ts +10 -0
- package/documents/MediaLibrary/move.ts +44 -0
- package/documents/MediaLibrary/search.ts +84 -0
- package/documents/Order/fragments.ts +116 -0
- package/documents/Order/index.ts +2 -0
- package/documents/Order/interfaces.ts +30 -0
- package/documents/Order/list.ts +129 -0
- package/documents/Order/read.ts +44 -0
- package/documents/Product/facets.ts +34 -0
- package/documents/Product/fragments.ts +167 -0
- package/documents/Product/getAll.ts +77 -0
- package/documents/Product/interfaces.ts +45 -0
- package/documents/Product/list.ts +248 -0
- package/documents/Product/read.ts +70 -0
- package/documents/Product/search.ts +170 -0
- package/documents/Review/create.ts +22 -0
- package/documents/ServerCache/productIndex.ts +11 -0
- package/documents/Session/Customer/init.ts +12 -0
- package/documents/Session/Customer/logout.ts +11 -0
- package/documents/Session/Customer/read.ts +15 -0
- package/documents/Session/fragments.ts +69 -0
- package/documents/Session/index.ts +8 -0
- package/documents/Session/interfaces.ts +11 -0
- package/documents/Session/login.ts +36 -0
- package/documents/Session/logout.ts +11 -0
- package/documents/Session/read.ts +43 -0
- package/documents/Settings/ClearCache/clearcache.ts +10 -0
- package/documents/Settings/SystemInformation/index.ts +1 -0
- package/documents/Settings/SystemInformation/interfaces.ts +16 -0
- package/documents/Settings/SystemInformation/system-information.ts +20 -0
- package/documents/Settings/aliases.ts +96 -0
- package/documents/Settings/claims.ts +124 -0
- package/documents/Settings/contacts.ts +133 -0
- package/documents/Settings/index.ts +12 -0
- package/documents/Settings/indexes.ts +73 -0
- package/documents/Settings/roles.ts +93 -0
- package/documents/Settings/settingsGroup.ts +266 -0
- package/documents/Settings/users.ts +19 -0
- package/documents/Settings/words.ts +115 -0
- package/documents/Theme/create.ts +46 -0
- package/documents/Theme/delete.ts +9 -0
- package/documents/Theme/interfaces.ts +63 -0
- package/documents/Theme/read.ts +83 -0
- package/documents/User/changePassword.ts +11 -0
- package/documents/User/counts.ts +8 -0
- package/documents/User/fragments.ts +61 -0
- package/documents/User/index.ts +2 -0
- package/documents/User/interfaces.ts +29 -0
- package/documents/User/read.ts +44 -0
- package/documents/User/register.ts +11 -0
- package/documents/User/resetPassword.ts +11 -0
- package/documents/User/update.ts +44 -0
- package/documents/WishList/add.ts +10 -0
- package/documents/WishList/create.ts +12 -0
- package/documents/WishList/delete.ts +7 -0
- package/documents/WishList/deleteLine.ts +7 -0
- package/documents/WishList/fragments.ts +98 -0
- package/documents/WishList/index.ts +2 -0
- package/documents/WishList/interfaces.ts +68 -0
- package/documents/WishList/list.ts +136 -0
- package/documents/WishList/read.ts +44 -0
- package/documents/base/interfaces.ts +34 -0
- package/documents/base/logger.ts +20 -0
- package/documents/base/pageInfoFragments.ts +25 -0
- package/documents/base/refresh-token.ts +15 -0
- package/documents/core/Logger/create.ts +64 -0
- package/documents/core/Logger/delete.ts +14 -0
- package/documents/core/Logger/fragments.ts +55 -0
- package/documents/core/Logger/index.ts +2 -0
- package/documents/core/Logger/interfaces.ts +39 -0
- package/documents/core/Logger/list.ts +56 -0
- package/documents/core/Logger/read.ts +44 -0
- package/documents/core/Logger/update.ts +64 -0
- package/documents/core/SampleData/create.ts +76 -0
- package/documents/core/SampleData/delete.ts +14 -0
- package/documents/core/SampleData/fragments.ts +48 -0
- package/documents/core/SampleData/index.ts +7 -0
- package/documents/core/SampleData/interfaces.ts +11 -0
- package/documents/core/SampleData/list.ts +233 -0
- package/documents/core/SampleData/read.ts +44 -0
- package/documents/core/SampleData/update.ts +76 -0
- package/documents/core/index.ts +2 -0
- package/documents/messages/messages.ts +21 -0
- package/package.json +22 -0
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { gql } from "graphql-request";
|
|
2
|
+
|
|
3
|
+
export const LOGGER_FRAGMENT_XS = gql`
|
|
4
|
+
fragment LoggerFragmentXS on Logger {
|
|
5
|
+
id
|
|
6
|
+
level
|
|
7
|
+
message
|
|
8
|
+
}
|
|
9
|
+
`;
|
|
10
|
+
|
|
11
|
+
export const LOGGER_FRAGMENT_SM = gql`
|
|
12
|
+
fragment LoggerFragmentSM on Logger {
|
|
13
|
+
id
|
|
14
|
+
environment
|
|
15
|
+
aspNetUserId
|
|
16
|
+
location
|
|
17
|
+
date
|
|
18
|
+
level
|
|
19
|
+
message
|
|
20
|
+
}
|
|
21
|
+
`;
|
|
22
|
+
|
|
23
|
+
export const LOGGER_FRAGMENT_MD = gql`
|
|
24
|
+
fragment LoggerFragmentMD on Logger {
|
|
25
|
+
id
|
|
26
|
+
application
|
|
27
|
+
version
|
|
28
|
+
environment
|
|
29
|
+
aspNetUserId
|
|
30
|
+
location
|
|
31
|
+
line
|
|
32
|
+
date
|
|
33
|
+
level
|
|
34
|
+
message
|
|
35
|
+
}
|
|
36
|
+
`;
|
|
37
|
+
|
|
38
|
+
export const LOGGER_FRAGMENT_LG = gql`
|
|
39
|
+
fragment LoggerFragmentLG on Logger {
|
|
40
|
+
id
|
|
41
|
+
application
|
|
42
|
+
version
|
|
43
|
+
environment
|
|
44
|
+
sessionId
|
|
45
|
+
aspNetUserId
|
|
46
|
+
location
|
|
47
|
+
line
|
|
48
|
+
date
|
|
49
|
+
level
|
|
50
|
+
message
|
|
51
|
+
stack
|
|
52
|
+
graphql
|
|
53
|
+
info
|
|
54
|
+
}
|
|
55
|
+
`;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
export type LogLevel =
|
|
2
|
+
| "assert"
|
|
3
|
+
| "clear"
|
|
4
|
+
| "count"
|
|
5
|
+
| "countReset"
|
|
6
|
+
| "debug"
|
|
7
|
+
| "dir"
|
|
8
|
+
| "dirxml"
|
|
9
|
+
| "error"
|
|
10
|
+
| "group"
|
|
11
|
+
| "groupCollapsed"
|
|
12
|
+
| "groupEnd"
|
|
13
|
+
| "info"
|
|
14
|
+
| "log"
|
|
15
|
+
| "profile"
|
|
16
|
+
| "profileEnd"
|
|
17
|
+
| "table"
|
|
18
|
+
| "time"
|
|
19
|
+
| "timeEnd"
|
|
20
|
+
| "timeLog"
|
|
21
|
+
| "timeStamp"
|
|
22
|
+
| "trace"
|
|
23
|
+
| "warn";
|
|
24
|
+
|
|
25
|
+
export interface LoggerMessage {
|
|
26
|
+
application: string;
|
|
27
|
+
version: string;
|
|
28
|
+
environment: string;
|
|
29
|
+
sessionId: string;
|
|
30
|
+
date: string;
|
|
31
|
+
message: string;
|
|
32
|
+
aspNetUserId?: number;
|
|
33
|
+
location?: string;
|
|
34
|
+
line?: number;
|
|
35
|
+
level: LogLevel;
|
|
36
|
+
stack?: any;
|
|
37
|
+
graphQLErrors?: any;
|
|
38
|
+
info?: any;
|
|
39
|
+
}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { gql } from "graphql-request";
|
|
2
|
+
|
|
3
|
+
import {
|
|
4
|
+
LOGGER_FRAGMENT_XS,
|
|
5
|
+
LOGGER_FRAGMENT_SM,
|
|
6
|
+
LOGGER_FRAGMENT_MD,
|
|
7
|
+
LOGGER_FRAGMENT_LG,
|
|
8
|
+
} from "./fragments";
|
|
9
|
+
|
|
10
|
+
const LOGGER_LIST_XS = gql`
|
|
11
|
+
${LOGGER_FRAGMENT_XS}
|
|
12
|
+
query e4LoggerListXS {
|
|
13
|
+
loggerList {
|
|
14
|
+
recordCount
|
|
15
|
+
nodes {
|
|
16
|
+
...LoggerFragmentXS
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
`;
|
|
21
|
+
|
|
22
|
+
const LOGGER_LIST_SM = gql`
|
|
23
|
+
${LOGGER_FRAGMENT_SM}
|
|
24
|
+
query e4LoggerListSM {
|
|
25
|
+
loggerList {
|
|
26
|
+
recordCount
|
|
27
|
+
nodes {
|
|
28
|
+
...LoggerFragmentSM
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
`;
|
|
33
|
+
|
|
34
|
+
const LOGGER_LIST_MD = gql`
|
|
35
|
+
${LOGGER_FRAGMENT_MD}
|
|
36
|
+
query e4LoggerListMD {
|
|
37
|
+
loggerList {
|
|
38
|
+
recordCount
|
|
39
|
+
nodes {
|
|
40
|
+
...LoggerFragmentMD
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
`;
|
|
45
|
+
|
|
46
|
+
const LOGGER_LIST_LG = gql`
|
|
47
|
+
${LOGGER_FRAGMENT_LG}
|
|
48
|
+
query e4LoggerListLG {
|
|
49
|
+
loggerList {
|
|
50
|
+
recordCount
|
|
51
|
+
nodes {
|
|
52
|
+
...LoggerFragmentLG
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
`;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { gql } from "graphql-request";
|
|
2
|
+
|
|
3
|
+
import {
|
|
4
|
+
LOGGER_FRAGMENT_XS,
|
|
5
|
+
LOGGER_FRAGMENT_SM,
|
|
6
|
+
LOGGER_FRAGMENT_MD,
|
|
7
|
+
LOGGER_FRAGMENT_LG,
|
|
8
|
+
} from "./fragments";
|
|
9
|
+
|
|
10
|
+
const LOGGER_READ_XS = gql`
|
|
11
|
+
${LOGGER_FRAGMENT_XS}
|
|
12
|
+
query e4LoggerReadXS($id: ID!) {
|
|
13
|
+
loggerRead(id: $id) {
|
|
14
|
+
...LoggerFragmentXS
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
`;
|
|
18
|
+
|
|
19
|
+
const LOGGER_READ_SM = gql`
|
|
20
|
+
${LOGGER_FRAGMENT_SM}
|
|
21
|
+
query e4LoggerReadSM($id: ID!) {
|
|
22
|
+
loggerRead(id: $id) {
|
|
23
|
+
...LoggerFragmentSM
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
`;
|
|
27
|
+
|
|
28
|
+
const LOGGER_READ_MD = gql`
|
|
29
|
+
${LOGGER_FRAGMENT_MD}
|
|
30
|
+
query e4LoggerReadMD($id: ID!) {
|
|
31
|
+
loggerRead(id: $id) {
|
|
32
|
+
...LoggerFragmentMD
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
`;
|
|
36
|
+
|
|
37
|
+
const LOGGER_READ_LG = gql`
|
|
38
|
+
${LOGGER_FRAGMENT_LG}
|
|
39
|
+
query e4LoggerReadLG($id: ID!) {
|
|
40
|
+
loggerRead(id: $id) {
|
|
41
|
+
...LoggerFragmentLG
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
`;
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { gql } from "graphql-request";
|
|
2
|
+
|
|
3
|
+
import {
|
|
4
|
+
LOGGER_FRAGMENT_XS,
|
|
5
|
+
LOGGER_FRAGMENT_SM,
|
|
6
|
+
LOGGER_FRAGMENT_MD,
|
|
7
|
+
LOGGER_FRAGMENT_LG,
|
|
8
|
+
} from "./fragments";
|
|
9
|
+
|
|
10
|
+
const LOGGER_UPDATE_XS = gql`
|
|
11
|
+
${LOGGER_FRAGMENT_XS}
|
|
12
|
+
mutation e4LoggerUpdateXS($logger: LoggerInputUpdate) {
|
|
13
|
+
loggerUpdate(logger: $logger) {
|
|
14
|
+
success
|
|
15
|
+
code
|
|
16
|
+
message
|
|
17
|
+
logger {
|
|
18
|
+
...LoggerFragmentXS
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
`;
|
|
23
|
+
|
|
24
|
+
const LOGGER_UPDATE_SM = gql`
|
|
25
|
+
${LOGGER_FRAGMENT_SM}
|
|
26
|
+
mutation e4LoggerUpdateSM($logger: LoggerInputUpdate) {
|
|
27
|
+
loggerUpdate(logger: $logger) {
|
|
28
|
+
success
|
|
29
|
+
code
|
|
30
|
+
message
|
|
31
|
+
logger {
|
|
32
|
+
...LoggerFragmentSM
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
`;
|
|
37
|
+
|
|
38
|
+
const LOGGER_UPDATE_MD = gql`
|
|
39
|
+
${LOGGER_FRAGMENT_MD}
|
|
40
|
+
mutation e4LoggerUpdateMD($logger: LoggerInputUpdate) {
|
|
41
|
+
loggerUpdate(logger: $logger) {
|
|
42
|
+
success
|
|
43
|
+
code
|
|
44
|
+
message
|
|
45
|
+
logger {
|
|
46
|
+
...LoggerFragmentMD
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
`;
|
|
51
|
+
|
|
52
|
+
const LOGGER_UPDATE_LG = gql`
|
|
53
|
+
${LOGGER_FRAGMENT_LG}
|
|
54
|
+
mutation e4LoggerUpdateLG($logger: LoggerInputUpdate) {
|
|
55
|
+
loggerUpdate(logger: $logger) {
|
|
56
|
+
success
|
|
57
|
+
code
|
|
58
|
+
message
|
|
59
|
+
logger {
|
|
60
|
+
...LoggerFragmentLG
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
`;
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { gql } from "graphql-request";
|
|
2
|
+
|
|
3
|
+
import {
|
|
4
|
+
SAMPLE_DATA_FRAGMENT_XS,
|
|
5
|
+
SAMPLE_DATA_FRAGMENT_SM,
|
|
6
|
+
SAMPLE_DATA_FRAGMENT_MD,
|
|
7
|
+
SAMPLE_DATA_FRAGMENT_LG,
|
|
8
|
+
} from "./fragments";
|
|
9
|
+
|
|
10
|
+
export const SAMPLE_DATA_CREATE_XS = gql`
|
|
11
|
+
${SAMPLE_DATA_FRAGMENT_XS}
|
|
12
|
+
mutation e4SampleDataCreateXS(
|
|
13
|
+
$input: SampleDataInputCreate!
|
|
14
|
+
$withExtendedFields: Boolean = false
|
|
15
|
+
) {
|
|
16
|
+
sampleDataCreate(input: $input, withExtendedFields: $withExtendedFields) {
|
|
17
|
+
success
|
|
18
|
+
code
|
|
19
|
+
message
|
|
20
|
+
sampleData {
|
|
21
|
+
...SampleDataFragmentXS
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
`;
|
|
26
|
+
|
|
27
|
+
export const SAMPLE_DATA_CREATE_SM = gql`
|
|
28
|
+
${SAMPLE_DATA_FRAGMENT_SM}
|
|
29
|
+
mutation e4SampleDataCreateSM(
|
|
30
|
+
$input: SampleDataInputCreate!
|
|
31
|
+
$withExtendedFields: Boolean = false
|
|
32
|
+
) {
|
|
33
|
+
sampleDataCreate(input: $input, withExtendedFields: $withExtendedFields) {
|
|
34
|
+
success
|
|
35
|
+
code
|
|
36
|
+
message
|
|
37
|
+
sampleData {
|
|
38
|
+
...SampleDataFragmentSM
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
`;
|
|
43
|
+
|
|
44
|
+
export const SAMPLE_DATA_CREATE_MD = gql`
|
|
45
|
+
${SAMPLE_DATA_FRAGMENT_MD}
|
|
46
|
+
mutation e4SampleDataCreateMD(
|
|
47
|
+
$input: SampleDataInputCreate!
|
|
48
|
+
$withExtendedFields: Boolean = false
|
|
49
|
+
) {
|
|
50
|
+
sampleDataCreate(input: $input, withExtendedFields: $withExtendedFields) {
|
|
51
|
+
success
|
|
52
|
+
code
|
|
53
|
+
message
|
|
54
|
+
sampleData {
|
|
55
|
+
...SampleDataFragmentMD
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
`;
|
|
60
|
+
|
|
61
|
+
export const SAMPLE_DATA_CREATE_LG = gql`
|
|
62
|
+
${SAMPLE_DATA_FRAGMENT_LG}
|
|
63
|
+
mutation e4SampleDataCreateLG(
|
|
64
|
+
$input: SampleDataInputCreate!
|
|
65
|
+
$withExtendedFields: Boolean = false
|
|
66
|
+
) {
|
|
67
|
+
sampleDataCreate(input: $input, withExtendedFields: $withExtendedFields) {
|
|
68
|
+
success
|
|
69
|
+
code
|
|
70
|
+
message
|
|
71
|
+
sampleData {
|
|
72
|
+
...SampleDataFragmentLG
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
`;
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { gql } from "graphql-request";
|
|
2
|
+
|
|
3
|
+
export const SAMPLE_DATA_FRAGMENT_XS = gql`
|
|
4
|
+
fragment SampleDataFragment_XS on SampleData {
|
|
5
|
+
id
|
|
6
|
+
name
|
|
7
|
+
}
|
|
8
|
+
`;
|
|
9
|
+
|
|
10
|
+
export const SAMPLE_DATA_FRAGMENT_SM = gql`
|
|
11
|
+
fragment SampleDataFragmentSM on SampleData {
|
|
12
|
+
id
|
|
13
|
+
code
|
|
14
|
+
name
|
|
15
|
+
status
|
|
16
|
+
sort
|
|
17
|
+
extendedFields @include(if: $withExtendedFields)
|
|
18
|
+
modified
|
|
19
|
+
}
|
|
20
|
+
`;
|
|
21
|
+
|
|
22
|
+
export const SAMPLE_DATA_FRAGMENT_MD = gql`
|
|
23
|
+
fragment SampleDataFragmentMD on SampleData {
|
|
24
|
+
id
|
|
25
|
+
code
|
|
26
|
+
name
|
|
27
|
+
description
|
|
28
|
+
status
|
|
29
|
+
sort
|
|
30
|
+
extendedFields @include(if: $withExtendedFields)
|
|
31
|
+
modified
|
|
32
|
+
created
|
|
33
|
+
}
|
|
34
|
+
`;
|
|
35
|
+
|
|
36
|
+
export const SAMPLE_DATA_FRAGMENT_LG = gql`
|
|
37
|
+
fragment SampleDataFragmentLG on SampleData {
|
|
38
|
+
id
|
|
39
|
+
code
|
|
40
|
+
name
|
|
41
|
+
description
|
|
42
|
+
status
|
|
43
|
+
sort
|
|
44
|
+
extendedFields @include(if: $withExtendedFields)
|
|
45
|
+
modified
|
|
46
|
+
created
|
|
47
|
+
}
|
|
48
|
+
`;
|
|
@@ -0,0 +1,233 @@
|
|
|
1
|
+
import { gql } from "graphql-request";
|
|
2
|
+
|
|
3
|
+
import { PAGE_INFO, PAGE_INFO_ENDLESS } from "../../base/fragments";
|
|
4
|
+
import {
|
|
5
|
+
SAMPLE_DATA_FRAGMENT_XS,
|
|
6
|
+
SAMPLE_DATA_FRAGMENT_SM,
|
|
7
|
+
SAMPLE_DATA_FRAGMENT_MD,
|
|
8
|
+
SAMPLE_DATA_FRAGMENT_LG,
|
|
9
|
+
} from "./fragments";
|
|
10
|
+
|
|
11
|
+
// PAGINATION
|
|
12
|
+
export const SAMPLE_DATA_LIST_XS_PN = gql`
|
|
13
|
+
${PAGE_INFO}
|
|
14
|
+
${SAMPLE_DATA_FRAGMENT_XS}
|
|
15
|
+
query e4SampleDataListXS(
|
|
16
|
+
$input: SampleDataInputList
|
|
17
|
+
$withExtendedFields: Boolean = false
|
|
18
|
+
) {
|
|
19
|
+
sampleDataList(input: $input, withExtendedFields: $withExtendedFields) {
|
|
20
|
+
recordCount
|
|
21
|
+
pageInfo {
|
|
22
|
+
...PageInfo
|
|
23
|
+
}
|
|
24
|
+
nodes {
|
|
25
|
+
...SampleDataFragmentXS
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
`;
|
|
30
|
+
|
|
31
|
+
export const SAMPLE_DATA_LIST_SM_PN = gql`
|
|
32
|
+
${PAGE_INFO}
|
|
33
|
+
${SAMPLE_DATA_FRAGMENT_SM}
|
|
34
|
+
query e4SampleDataListSM(
|
|
35
|
+
$input: SampleDataInputList
|
|
36
|
+
$withExtendedFields: Boolean = false
|
|
37
|
+
) {
|
|
38
|
+
sampleDataList(input: $input, withExtendedFields: $withExtendedFields) {
|
|
39
|
+
recordCount
|
|
40
|
+
pageInfo {
|
|
41
|
+
...PageInfo
|
|
42
|
+
}
|
|
43
|
+
nodes {
|
|
44
|
+
...SampleDataFragmentSM
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
`;
|
|
49
|
+
|
|
50
|
+
export const SAMPLE_DATA_LIST_MD_PN = gql`
|
|
51
|
+
${PAGE_INFO}
|
|
52
|
+
${SAMPLE_DATA_FRAGMENT_MD}
|
|
53
|
+
query e4SampleDataListMD(
|
|
54
|
+
$input: SampleDataInputList
|
|
55
|
+
$withExtendedFields: Boolean = false
|
|
56
|
+
) {
|
|
57
|
+
sampleDataList(input: $input, withExtendedFields: $withExtendedFields) {
|
|
58
|
+
recordCount
|
|
59
|
+
pageInfo {
|
|
60
|
+
...PageInfo
|
|
61
|
+
}
|
|
62
|
+
nodes {
|
|
63
|
+
...SampleDataFragmentMD
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
`;
|
|
68
|
+
|
|
69
|
+
export const SAMPLE_DATA_LIST_LG_PN = gql`
|
|
70
|
+
${PAGE_INFO}
|
|
71
|
+
${SAMPLE_DATA_FRAGMENT_LG}
|
|
72
|
+
query e4SampleDataListLG(
|
|
73
|
+
$input: SampleDataInputList
|
|
74
|
+
$withExtendedFields: Boolean = false
|
|
75
|
+
) {
|
|
76
|
+
sampleDataList(input: $input, withExtendedFields: $withExtendedFields) {
|
|
77
|
+
recordCount
|
|
78
|
+
pageInfo {
|
|
79
|
+
...PageInfo
|
|
80
|
+
}
|
|
81
|
+
nodes {
|
|
82
|
+
...SampleDataFragmentLG
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
`;
|
|
87
|
+
|
|
88
|
+
// ENDLESS
|
|
89
|
+
export const SAMPLE_DATA_LIST_XS_EL = gql`
|
|
90
|
+
<<<<<<< HEAD
|
|
91
|
+
${PAGE_INFO_ENDLESS}
|
|
92
|
+
${SAMPLE_DATA_FRAGMENT_XS}
|
|
93
|
+
query e4SampleDataListXS_Endless(
|
|
94
|
+
$input: SampleDataInputList
|
|
95
|
+
$withExtendedFields: Boolean = false
|
|
96
|
+
) {
|
|
97
|
+
sampleDataList(input: $input, withExtendedFields: $withExtendedFields) {
|
|
98
|
+
recordCount
|
|
99
|
+
pageInfo {
|
|
100
|
+
...PageInfoEndless
|
|
101
|
+
}
|
|
102
|
+
nodes {
|
|
103
|
+
...SampleDataFragmentXS
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
`;
|
|
108
|
+
|
|
109
|
+
export const SAMPLE_DATA_LIST_SM_EL = gql`
|
|
110
|
+
${PAGE_INFO_ENDLESS}
|
|
111
|
+
${SAMPLE_DATA_FRAGMENT_SM}
|
|
112
|
+
query e4SampleDataListSM_Endless(
|
|
113
|
+
$input: SampleDataInputList
|
|
114
|
+
$withExtendedFields: Boolean = false
|
|
115
|
+
) {
|
|
116
|
+
sampleDataList(input: $input, withExtendedFields: $withExtendedFields) {
|
|
117
|
+
recordCount
|
|
118
|
+
pageInfo {
|
|
119
|
+
...PageInfoEndless
|
|
120
|
+
}
|
|
121
|
+
nodes {
|
|
122
|
+
...SampleDataFragmentSM
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
`;
|
|
127
|
+
|
|
128
|
+
export const SAMPLE_DATA_LIST_MD_EL = gql`
|
|
129
|
+
${PAGE_INFO_ENDLESS}
|
|
130
|
+
${SAMPLE_DATA_FRAGMENT_MD}
|
|
131
|
+
query e4SampleDataListMD_Endless(
|
|
132
|
+
$input: SampleDataInputList
|
|
133
|
+
$withExtendedFields: Boolean = false
|
|
134
|
+
) {
|
|
135
|
+
sampleDataList(input: $input, withExtendedFields: $withExtendedFields) {
|
|
136
|
+
recordCount
|
|
137
|
+
pageInfo {
|
|
138
|
+
...PageInfoEndless
|
|
139
|
+
}
|
|
140
|
+
nodes {
|
|
141
|
+
...SampleDataFragmentMD
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
`;
|
|
146
|
+
|
|
147
|
+
export const SAMPLE_DATA_LIST_LG_EL = gql`
|
|
148
|
+
${PAGE_INFO_ENDLESS}
|
|
149
|
+
${SAMPLE_DATA_FRAGMENT_LG}
|
|
150
|
+
query e4SampleDataListLG_Endless(
|
|
151
|
+
$input: SampleDataInputList
|
|
152
|
+
$withExtendedFields: Boolean = false
|
|
153
|
+
) {
|
|
154
|
+
sampleDataList(input: $input, withExtendedFields: $withExtendedFields) {
|
|
155
|
+
recordCount
|
|
156
|
+
pageInfo {
|
|
157
|
+
...PageInfoEndless
|
|
158
|
+
}
|
|
159
|
+
nodes {
|
|
160
|
+
...SampleDataFragmentLG
|
|
161
|
+
}
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
=======
|
|
165
|
+
${PAGE_INFO_ENDLESS}
|
|
166
|
+
${SAMPLE_DATA_FRAGMENT_XS}
|
|
167
|
+
query e4SampleDataListXS_Endless($input: SampleDataInputList, $withExtendedFields: Boolean = false) {
|
|
168
|
+
sampleDataList(input: $input, withExtendedFields: $withExtendedFields) {
|
|
169
|
+
recordCount
|
|
170
|
+
pageInfo {
|
|
171
|
+
...PageInfoEndless
|
|
172
|
+
}
|
|
173
|
+
nodes {
|
|
174
|
+
...SampleDataFragmentXS
|
|
175
|
+
}
|
|
176
|
+
}
|
|
177
|
+
}
|
|
178
|
+
`;
|
|
179
|
+
|
|
180
|
+
export const SAMPLE_DATA_LIST_SM_EL = gql`
|
|
181
|
+
${PAGE_INFO_ENDLESS}
|
|
182
|
+
${SAMPLE_DATA_FRAGMENT_SM}
|
|
183
|
+
query e4SampleDataListSM_Endless(
|
|
184
|
+
$input: SampleDataInputList
|
|
185
|
+
$withExtendedFields: Boolean = false
|
|
186
|
+
) {
|
|
187
|
+
sampleDataList(input: $input, withExtendedFields: $withExtendedFields) {
|
|
188
|
+
recordCount
|
|
189
|
+
pageInfo {
|
|
190
|
+
...PageInfoEndless
|
|
191
|
+
}
|
|
192
|
+
nodes {
|
|
193
|
+
...SampleDataFragmentSM
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
`;
|
|
198
|
+
|
|
199
|
+
export const SAMPLE_DATA_LIST_MD_EL = gql`
|
|
200
|
+
${PAGE_INFO_ENDLESS}
|
|
201
|
+
${SAMPLE_DATA_FRAGMENT_MD}
|
|
202
|
+
query e4SampleDataListMD_Endless(
|
|
203
|
+
$input: SampleDataInputList
|
|
204
|
+
$withExtendedFields: Boolean = false
|
|
205
|
+
) {
|
|
206
|
+
sampleDataList(input: $input, withExtendedFields: $withExtendedFields) {
|
|
207
|
+
recordCount
|
|
208
|
+
pageInfo {
|
|
209
|
+
...PageInfoEndless
|
|
210
|
+
}
|
|
211
|
+
nodes {
|
|
212
|
+
...SampleDataFragmentMD
|
|
213
|
+
}
|
|
214
|
+
}
|
|
215
|
+
}
|
|
216
|
+
`;
|
|
217
|
+
|
|
218
|
+
export const SAMPLE_DATA_LIST_LG_EL = gql`
|
|
219
|
+
${PAGE_INFO_ENDLESS}
|
|
220
|
+
${SAMPLE_DATA_FRAGMENT_LG}
|
|
221
|
+
query e4SampleDataListLG_Endless($input: SampleDataInputList, $withExtendedFields: Boolean = false) {
|
|
222
|
+
sampleDataList(input: $input, withExtendedFields: $withExtendedFields) {
|
|
223
|
+
recordCount
|
|
224
|
+
pageInfo {
|
|
225
|
+
...PageInfoEndless
|
|
226
|
+
}
|
|
227
|
+
nodes {
|
|
228
|
+
...SampleDataFragmentLG
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
>>>>>>> develop
|
|
233
|
+
`;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { gql } from "graphql-request";
|
|
2
|
+
|
|
3
|
+
import {
|
|
4
|
+
SAMPLE_DATA_FRAGMENT_XS,
|
|
5
|
+
SAMPLE_DATA_FRAGMENT_SM,
|
|
6
|
+
SAMPLE_DATA_FRAGMENT_MD,
|
|
7
|
+
SAMPLE_DATA_FRAGMENT_LG,
|
|
8
|
+
} from "./fragments";
|
|
9
|
+
|
|
10
|
+
export const SAMPLE_DATA_READ_XS = gql`
|
|
11
|
+
${SAMPLE_DATA_FRAGMENT_XS}
|
|
12
|
+
query e4SampleDataReadXS($input: ID!, $withExtendedFields: Boolean = false) {
|
|
13
|
+
sampleDataRead(input: $input, withExtendedFields: $withExtendedFields) {
|
|
14
|
+
...SampleDataFragmentXS
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
`;
|
|
18
|
+
|
|
19
|
+
export const SAMPLE_DATA_READ_SM = gql`
|
|
20
|
+
${SAMPLE_DATA_FRAGMENT_SM}
|
|
21
|
+
query e4SampleDataReadSM($input: ID!, $withExtendedFields: Boolean = false) {
|
|
22
|
+
sampleDataRead(input: $input, withExtendedFields: $withExtendedFields) {
|
|
23
|
+
...SampleDataFragmentSM
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
`;
|
|
27
|
+
|
|
28
|
+
export const SAMPLE_DATA_READ_MD = gql`
|
|
29
|
+
${SAMPLE_DATA_FRAGMENT_MD}
|
|
30
|
+
query e4SampleDataReadMD($input: ID!, $withExtendedFields: Boolean = false) {
|
|
31
|
+
sampleDataRead(input: $input, withExtendedFields: $withExtendedFields) {
|
|
32
|
+
...SampleDataFragmentMD
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
`;
|
|
36
|
+
|
|
37
|
+
export const SAMPLE_DATA_READ_LG = gql`
|
|
38
|
+
${SAMPLE_DATA_FRAGMENT_LG}
|
|
39
|
+
query e4SampleDataReadLG($input: ID!, $withExtendedFields: Boolean = false) {
|
|
40
|
+
sampleDataRead(input: $input, withExtendedFields: $withExtendedFields) {
|
|
41
|
+
...SampleDataFragmentLG
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
`;
|