@anywayseo/gatsby-plugin 2.3.0 → 2.5.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/package.json +1 -1
- package/utils/strapi-source/schema/collections/author.d.ts +1 -0
- package/utils/strapi-source/schema/collections/author.js +13 -0
- package/utils/strapi-source/schema/collections/page.d.ts +1 -0
- package/utils/strapi-source/schema/{page.js → collections/page.js} +1 -1
- package/utils/strapi-source/schema/components/base.d.ts +1 -0
- package/utils/strapi-source/schema/components/base.js +77 -0
- package/utils/strapi-source/schema/components/content.d.ts +1 -0
- package/utils/strapi-source/schema/{components.js → components/content.js} +40 -98
- package/utils/strapi-source/schema/components/shared.d.ts +1 -0
- package/utils/strapi-source/schema/{shared.js → components/shared.js} +5 -9
- package/utils/strapi-source/schema/index.js +10 -7
- package/utils/strapi-source/schema/primitives/index.d.ts +1 -0
- package/utils/strapi-source/schema/primitives/index.js +22 -0
- package/utils/strapi-source/schema/single/site.d.ts +1 -0
- package/utils/strapi-source/schema/{site.js → single/site.js} +7 -5
- package/utils/strapi-source/strapi-content/index.js +47 -2
- package/utils/strapi-source/schema/components.d.ts +0 -1
- package/utils/strapi-source/schema/page.d.ts +0 -1
- package/utils/strapi-source/schema/shared.d.ts +0 -1
- package/utils/strapi-source/schema/site.d.ts +0 -1
- /package/utils/strapi-source/schema/{localization.d.ts → single/localization.d.ts} +0 -0
- /package/utils/strapi-source/schema/{localization.js → single/localization.js} +0 -0
- /package/utils/strapi-source/schema/{navigation.d.ts → single/navigation.d.ts} +0 -0
- /package/utils/strapi-source/schema/{navigation.js → single/navigation.js} +0 -0
package/package.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const author = "\n # === AUTHOR DEFINITION ===\n type Author {\n name: String!\n role: String!\n bio: String!\n avatar: Image!\n socialNetworks: SocialNetworkList \n }\n ";
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.author = void 0;
|
|
4
|
+
exports.author = `
|
|
5
|
+
# === AUTHOR DEFINITION ===
|
|
6
|
+
type Author {
|
|
7
|
+
name: String!
|
|
8
|
+
role: String!
|
|
9
|
+
bio: String!
|
|
10
|
+
avatar: Image!
|
|
11
|
+
socialNetworks: SocialNetworkList
|
|
12
|
+
}
|
|
13
|
+
`;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const page = "\n # === STRAPI PAGE DEFINITION ===\n type StrapiPage implements Node {\n id: ID!\n locale: String\n title: String\n slug: String\n seo: Seo\n author: Author\n createdAt: Date @dateformat\n updatedAt: Date @dateformat\n content: [ContentComponent]\n }\n";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const base = "\n # === BASE DEFINITIONS ===\n type Currency {\n code: String!\n }\n\n type FaqItem {\n question: String!\n answer: String!\n }\n\n type FeaturesItem {\n title: String!\n description: String\n }\n\n type GameCard {\n name: String!\n description: String\n url: String\n image: Image\n }\n\n type GameCardTab {\n label: String!\n content: [GameCard!]\n }\n\n type GameInfoFeatures {\n HAS_DEMO: Boolean\n HAS_AUTOPLAY: Boolean\n HAS_FREE_SPINS: Boolean\n HAS_FAST_SPIN: Boolean\n HAS_BONUS_PURCHASE: Boolean\n HAS_COLLECTION_SYMBOLS: Boolean\n HAS_PROGRESSIVE_JACKPOT: Boolean\n BONUS_FEATURES: String\n LANGUAGES: String\n FUNCTIONS: String\n }\n\n type GameInfoGeneral {\n NAME: String\n DEVELOPER: String\n RELEASE_DATE: Date @dateformat\n THEME: String\n TYPE: String\n RTP: String\n VOLATILITY: String\n REELS_NUMBER: String\n PAY_LINES: String\n ROWS_WITH_PINS: String\n MIN_BET: String\n MAX_BET: String\n MAX_WIN: String\n COMPATIBILITY: String\n }\n\n type HowToStep {\n title: String!\n description: String\n thumbnail: Image\n }\n\n type ProsConsItem {\n title: String!\n description: String\n }\n\n type SocialNetwork {\n kind: String!\n url: String!\n }\n ";
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.base = void 0;
|
|
4
|
+
exports.base = `
|
|
5
|
+
# === BASE DEFINITIONS ===
|
|
6
|
+
type Currency {
|
|
7
|
+
code: String!
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
type FaqItem {
|
|
11
|
+
question: String!
|
|
12
|
+
answer: String!
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
type FeaturesItem {
|
|
16
|
+
title: String!
|
|
17
|
+
description: String
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
type GameCard {
|
|
21
|
+
name: String!
|
|
22
|
+
description: String
|
|
23
|
+
url: String
|
|
24
|
+
image: Image
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
type GameCardTab {
|
|
28
|
+
label: String!
|
|
29
|
+
content: [GameCard!]
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
type GameInfoFeatures {
|
|
33
|
+
HAS_DEMO: Boolean
|
|
34
|
+
HAS_AUTOPLAY: Boolean
|
|
35
|
+
HAS_FREE_SPINS: Boolean
|
|
36
|
+
HAS_FAST_SPIN: Boolean
|
|
37
|
+
HAS_BONUS_PURCHASE: Boolean
|
|
38
|
+
HAS_COLLECTION_SYMBOLS: Boolean
|
|
39
|
+
HAS_PROGRESSIVE_JACKPOT: Boolean
|
|
40
|
+
BONUS_FEATURES: String
|
|
41
|
+
LANGUAGES: String
|
|
42
|
+
FUNCTIONS: String
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
type GameInfoGeneral {
|
|
46
|
+
NAME: String
|
|
47
|
+
DEVELOPER: String
|
|
48
|
+
RELEASE_DATE: Date @dateformat
|
|
49
|
+
THEME: String
|
|
50
|
+
TYPE: String
|
|
51
|
+
RTP: String
|
|
52
|
+
VOLATILITY: String
|
|
53
|
+
REELS_NUMBER: String
|
|
54
|
+
PAY_LINES: String
|
|
55
|
+
ROWS_WITH_PINS: String
|
|
56
|
+
MIN_BET: String
|
|
57
|
+
MAX_BET: String
|
|
58
|
+
MAX_WIN: String
|
|
59
|
+
COMPATIBILITY: String
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
type HowToStep {
|
|
63
|
+
title: String!
|
|
64
|
+
description: String
|
|
65
|
+
thumbnail: Image
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
type ProsConsItem {
|
|
69
|
+
title: String!
|
|
70
|
+
description: String
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
type SocialNetwork {
|
|
74
|
+
kind: String!
|
|
75
|
+
url: String!
|
|
76
|
+
}
|
|
77
|
+
`;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const content = "\n # === COMPONENT DEFINITIONS ===\n union ContentComponent =\n STRAPI__COMPONENT_CONTENT_FAQ\n | STRAPI__COMPONENT_CONTENT_FEATURES\n | STRAPI__COMPONENT_CONTENT_GAME_CARDS\n | STRAPI__COMPONENT_CONTENT_GAME_CARD_TABS\n | STRAPI__COMPONENT_CONTENT_GAME_DEMO\n | STRAPI__COMPONENT_CONTENT_GAME_INFO\n | STRAPI__COMPONENT_CONTENT_HOW_TO\n | STRAPI__COMPONENT_CONTENT_LIST\n | STRAPI__COMPONENT_CONTENT_MEDIA\n | STRAPI__COMPONENT_CONTENT_PROS_CONS\n | STRAPI__COMPONENT_CONTENT_RICH_TEXT\n | STRAPI__COMPONENT_CONTENT_TABLE\n | STRAPI__COMPONENT_CONTENT_TIP\n\n\n # === FAQ ===\n type STRAPI__COMPONENT_CONTENT_FAQ @dontInfer {\n items: [FaqItem!]\n }\n\n # === FEATURES ===\n type STRAPI__COMPONENT_CONTENT_FEATURES @dontInfer {\n items: [FeaturesItem!]\n }\n\n # === GAME CARDS ===\n type STRAPI__COMPONENT_CONTENT_GAME_CARDS @dontInfer {\n items: [GameCard!]\n order: String!\n randomSeed: Int\n cardHeight: String\n }\n\n # === GAME CARD TABS ===\n type STRAPI__COMPONENT_CONTENT_GAME_CARD_TABS @dontInfer {\n items: [GameCardTab!]\n }\n\n # === GAME_DEMO ===\n type STRAPI__COMPONENT_CONTENT_GAME_DEMO @dontInfer {\n name: String!\n src: String!\n href: String\n previewImage: Image!\n }\n\n # === GAME_INFO ===\n type STRAPI__COMPONENT_CONTENT_GAME_INFO @dontInfer {\n general: GameInfoGeneral\n features: GameInfoFeatures\n currency: CurrencyList\n }\n\n # === HOW_TO ===\n type STRAPI__COMPONENT_CONTENT_HOW_TO @dontInfer {\n steps: [HowToStep!]\n }\n\n # === LIST ===\n type STRAPI__COMPONENT_CONTENT_LIST @dontInfer {\n bullet: String\n content: JsonValue\n }\n\n # === MEDIA ===\n type STRAPI__COMPONENT_CONTENT_MEDIA @dontInfer {\n file: Image\n }\n\n # === PROS_CONS ===\n type STRAPI__COMPONENT_CONTENT_PROS_CONS @dontInfer {\n pros: [ProsConsItem!]\n cons: [ProsConsItem!]\n }\n\n # === RICH_TEXT ===\n type STRAPI__COMPONENT_CONTENT_RICH_TEXT @dontInfer {\n content: RichTextContent\n }\n\n # === TABLE ===\n type STRAPI__COMPONENT_CONTENT_TABLE @dontInfer {\n columnNumber: Int!\n content: JsonValue\n caption: String\n striped: Boolean\n bordered: Boolean\n scrollable: Boolean\n }\n\n # === TIP ===\n type STRAPI__COMPONENT_CONTENT_TIP @dontInfer {\n tip: String!\n author: Author\n }\n ";
|
|
@@ -1,20 +1,22 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
3
|
+
exports.content = void 0;
|
|
4
|
+
exports.content = `
|
|
5
5
|
# === COMPONENT DEFINITIONS ===
|
|
6
6
|
union ContentComponent =
|
|
7
7
|
STRAPI__COMPONENT_CONTENT_FAQ
|
|
8
8
|
| STRAPI__COMPONENT_CONTENT_FEATURES
|
|
9
|
-
|
|
|
9
|
+
| STRAPI__COMPONENT_CONTENT_GAME_CARDS
|
|
10
|
+
| STRAPI__COMPONENT_CONTENT_GAME_CARD_TABS
|
|
10
11
|
| STRAPI__COMPONENT_CONTENT_GAME_DEMO
|
|
11
12
|
| STRAPI__COMPONENT_CONTENT_GAME_INFO
|
|
12
13
|
| STRAPI__COMPONENT_CONTENT_HOW_TO
|
|
13
|
-
| STRAPI__COMPONENT_CONTENT_TIP
|
|
14
|
-
| STRAPI__COMPONENT_CONTENT_RICH_TEXT
|
|
15
|
-
| STRAPI__COMPONENT_CONTENT_MEDIA
|
|
16
14
|
| STRAPI__COMPONENT_CONTENT_LIST
|
|
15
|
+
| STRAPI__COMPONENT_CONTENT_MEDIA
|
|
16
|
+
| STRAPI__COMPONENT_CONTENT_PROS_CONS
|
|
17
|
+
| STRAPI__COMPONENT_CONTENT_RICH_TEXT
|
|
17
18
|
| STRAPI__COMPONENT_CONTENT_TABLE
|
|
19
|
+
| STRAPI__COMPONENT_CONTENT_TIP
|
|
18
20
|
|
|
19
21
|
|
|
20
22
|
# === FAQ ===
|
|
@@ -22,39 +24,32 @@ exports.components = `
|
|
|
22
24
|
items: [FaqItem!]
|
|
23
25
|
}
|
|
24
26
|
|
|
25
|
-
type FaqItem {
|
|
26
|
-
question: String
|
|
27
|
-
answer: String
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
|
|
31
27
|
# === FEATURES ===
|
|
32
28
|
type STRAPI__COMPONENT_CONTENT_FEATURES @dontInfer {
|
|
33
|
-
items: [
|
|
29
|
+
items: [FeaturesItem!]
|
|
34
30
|
}
|
|
35
31
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
32
|
+
# === GAME CARDS ===
|
|
33
|
+
type STRAPI__COMPONENT_CONTENT_GAME_CARDS @dontInfer {
|
|
34
|
+
items: [GameCard!]
|
|
35
|
+
order: String!
|
|
36
|
+
randomSeed: Int
|
|
37
|
+
cardHeight: String
|
|
41
38
|
}
|
|
42
39
|
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
40
|
+
# === GAME CARD TABS ===
|
|
41
|
+
type STRAPI__COMPONENT_CONTENT_GAME_CARD_TABS @dontInfer {
|
|
42
|
+
items: [GameCardTab!]
|
|
46
43
|
}
|
|
47
44
|
|
|
48
|
-
|
|
49
45
|
# === GAME_DEMO ===
|
|
50
46
|
type STRAPI__COMPONENT_CONTENT_GAME_DEMO @dontInfer {
|
|
51
|
-
name: String
|
|
52
|
-
src: String
|
|
47
|
+
name: String!
|
|
48
|
+
src: String!
|
|
53
49
|
href: String
|
|
54
|
-
previewImage: Image
|
|
50
|
+
previewImage: Image!
|
|
55
51
|
}
|
|
56
52
|
|
|
57
|
-
|
|
58
53
|
# === GAME_INFO ===
|
|
59
54
|
type STRAPI__COMPONENT_CONTENT_GAME_INFO @dontInfer {
|
|
60
55
|
general: GameInfoGeneral
|
|
@@ -62,99 +57,46 @@ exports.components = `
|
|
|
62
57
|
currency: CurrencyList
|
|
63
58
|
}
|
|
64
59
|
|
|
65
|
-
type GameInfoGeneral @dontInfer {
|
|
66
|
-
NAME: String
|
|
67
|
-
DEVELOPER: String
|
|
68
|
-
RELEASE_DATE: Date @dateformat
|
|
69
|
-
THEME: String
|
|
70
|
-
TYPE: String
|
|
71
|
-
VOLATILITY: String
|
|
72
|
-
RTP: String
|
|
73
|
-
PAY_LINES: String
|
|
74
|
-
ROWS_WITH_PINS: String
|
|
75
|
-
REELS_NUMBER: String
|
|
76
|
-
MIN_BET: String
|
|
77
|
-
MAX_BET: String
|
|
78
|
-
MAX_WIN: String
|
|
79
|
-
COMPATIBILITY: String
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
type GameInfoFeatures @dontInfer {
|
|
83
|
-
HAS_DEMO: Boolean
|
|
84
|
-
HAS_AUTOPLAY: Boolean
|
|
85
|
-
HAS_FREE_SPINS: Boolean
|
|
86
|
-
HAS_FAST_SPIN: Boolean
|
|
87
|
-
HAS_BONUS_PURCHASE: Boolean
|
|
88
|
-
HAS_COLLECTION_SYMBOLS: Boolean
|
|
89
|
-
HAS_PROGRESSIVE_JACKPOT: Boolean
|
|
90
|
-
BONUS_FEATURES: String
|
|
91
|
-
FUNCTIONS: String
|
|
92
|
-
LANGUAGES: String
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
type Currency {
|
|
96
|
-
code: String!
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
type CurrencyList @dontInfer {
|
|
100
|
-
items: [Currency!]
|
|
101
|
-
}
|
|
102
|
-
|
|
103
60
|
# === HOW_TO ===
|
|
104
61
|
type STRAPI__COMPONENT_CONTENT_HOW_TO @dontInfer {
|
|
105
62
|
steps: [HowToStep!]
|
|
106
63
|
}
|
|
107
64
|
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
65
|
+
# === LIST ===
|
|
66
|
+
type STRAPI__COMPONENT_CONTENT_LIST @dontInfer {
|
|
67
|
+
bullet: String
|
|
68
|
+
content: JsonValue
|
|
112
69
|
}
|
|
113
70
|
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
tip: String
|
|
118
|
-
author: Author
|
|
71
|
+
# === MEDIA ===
|
|
72
|
+
type STRAPI__COMPONENT_CONTENT_MEDIA @dontInfer {
|
|
73
|
+
file: Image
|
|
119
74
|
}
|
|
120
75
|
|
|
76
|
+
# === PROS_CONS ===
|
|
77
|
+
type STRAPI__COMPONENT_CONTENT_PROS_CONS @dontInfer {
|
|
78
|
+
pros: [ProsConsItem!]
|
|
79
|
+
cons: [ProsConsItem!]
|
|
80
|
+
}
|
|
121
81
|
|
|
122
82
|
# === RICH_TEXT ===
|
|
123
83
|
type STRAPI__COMPONENT_CONTENT_RICH_TEXT @dontInfer {
|
|
124
84
|
content: RichTextContent
|
|
125
85
|
}
|
|
126
86
|
|
|
127
|
-
type RichTextContent {
|
|
128
|
-
data: RichTextData
|
|
129
|
-
}
|
|
130
|
-
|
|
131
|
-
type RichTextData {
|
|
132
|
-
content: String
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
# === MEDIA ===
|
|
137
|
-
type STRAPI__COMPONENT_CONTENT_MEDIA @dontInfer {
|
|
138
|
-
file: Image
|
|
139
|
-
}
|
|
140
|
-
|
|
141
|
-
# === LIST ===
|
|
142
|
-
type STRAPI__COMPONENT_CONTENT_LIST @dontInfer {
|
|
143
|
-
bullet: String
|
|
144
|
-
content: JsonValue
|
|
145
|
-
}
|
|
146
|
-
|
|
147
87
|
# === TABLE ===
|
|
148
88
|
type STRAPI__COMPONENT_CONTENT_TABLE @dontInfer {
|
|
149
|
-
columnNumber: Int
|
|
89
|
+
columnNumber: Int!
|
|
90
|
+
content: JsonValue
|
|
91
|
+
caption: String
|
|
150
92
|
striped: Boolean
|
|
151
93
|
bordered: Boolean
|
|
152
94
|
scrollable: Boolean
|
|
153
|
-
caption: String
|
|
154
|
-
content: JsonValue
|
|
155
95
|
}
|
|
156
96
|
|
|
157
|
-
|
|
158
|
-
|
|
97
|
+
# === TIP ===
|
|
98
|
+
type STRAPI__COMPONENT_CONTENT_TIP @dontInfer {
|
|
99
|
+
tip: String!
|
|
100
|
+
author: Author
|
|
159
101
|
}
|
|
160
102
|
`;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const shared = "\n # === SHARED DEFINITIONS ===\n type CurrencyList @dontInfer {\n items: [Currency!]\n }\n\n type Seo @dontInfer {\n metaTitle: String\n metaDescription: String\n }\n\n type SocialNetworkList @dontInfer {\n items: [SocialNetwork!]\n }\n ";
|
|
@@ -3,20 +3,16 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.shared = void 0;
|
|
4
4
|
exports.shared = `
|
|
5
5
|
# === SHARED DEFINITIONS ===
|
|
6
|
-
type
|
|
7
|
-
|
|
8
|
-
alternativeText: String
|
|
6
|
+
type CurrencyList @dontInfer {
|
|
7
|
+
items: [Currency!]
|
|
9
8
|
}
|
|
10
9
|
|
|
11
|
-
type Seo {
|
|
10
|
+
type Seo @dontInfer {
|
|
12
11
|
metaTitle: String
|
|
13
12
|
metaDescription: String
|
|
14
13
|
}
|
|
15
14
|
|
|
16
|
-
type
|
|
17
|
-
|
|
18
|
-
role: String
|
|
19
|
-
bio: String
|
|
20
|
-
avatar: Image
|
|
15
|
+
type SocialNetworkList @dontInfer {
|
|
16
|
+
items: [SocialNetwork!]
|
|
21
17
|
}
|
|
22
18
|
`;
|
|
@@ -1,10 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.typeDefs = void 0;
|
|
4
|
-
const
|
|
5
|
-
const
|
|
6
|
-
const
|
|
7
|
-
const
|
|
8
|
-
const shared_1 = require("./shared");
|
|
9
|
-
const
|
|
10
|
-
|
|
4
|
+
const author_1 = require("./collections/author");
|
|
5
|
+
const page_1 = require("./collections/page");
|
|
6
|
+
const base_1 = require("./components/base");
|
|
7
|
+
const content_1 = require("./components/content");
|
|
8
|
+
const shared_1 = require("./components/shared");
|
|
9
|
+
const primitives_1 = require("./primitives");
|
|
10
|
+
const localization_1 = require("./single/localization");
|
|
11
|
+
const navigation_1 = require("./single/navigation");
|
|
12
|
+
const site_1 = require("./single/site");
|
|
13
|
+
exports.typeDefs = [author_1.author, page_1.page, base_1.base, content_1.content, shared_1.shared, primitives_1.primitives, localization_1.localization, navigation_1.navigation, site_1.site].join('\n');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const primitives = "\n # === PRIMITIVE DEFINITIONS ===\n type Image {\n localFile: File @link(from: \"localFile\")\n alternativeText: String\n }\n\n type RichTextContent {\n data: RichTextData\n }\n\n type RichTextData {\n content: String\n }\n\n type JsonValue {\n strapi_json_value: JSON\n }\n ";
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.primitives = void 0;
|
|
4
|
+
exports.primitives = `
|
|
5
|
+
# === PRIMITIVE DEFINITIONS ===
|
|
6
|
+
type Image {
|
|
7
|
+
localFile: File @link(from: "localFile")
|
|
8
|
+
alternativeText: String
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
type RichTextContent {
|
|
12
|
+
data: RichTextData
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
type RichTextData {
|
|
16
|
+
content: String
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
type JsonValue {
|
|
20
|
+
strapi_json_value: JSON
|
|
21
|
+
}
|
|
22
|
+
`;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const site = "\n # === STRAPI SITE DEFINITION ===\n type StrapiSite implements Node {\n id: ID!\n name: String\n locale: String!\n currency: String!\n seo: Seo!\n logo: Image!\n favicon: Image\n socialNetworks: SocialNetworkList \n }\n ";
|
|
@@ -2,13 +2,15 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.site = void 0;
|
|
4
4
|
exports.site = `
|
|
5
|
-
# === STRAPI SITE
|
|
5
|
+
# === STRAPI SITE DEFINITION ===
|
|
6
6
|
type StrapiSite implements Node {
|
|
7
7
|
id: ID!
|
|
8
8
|
name: String
|
|
9
|
-
locale: String
|
|
10
|
-
currency: String
|
|
11
|
-
seo: Seo
|
|
12
|
-
logo: Image
|
|
9
|
+
locale: String!
|
|
10
|
+
currency: String!
|
|
11
|
+
seo: Seo!
|
|
12
|
+
logo: Image!
|
|
13
|
+
favicon: Image
|
|
14
|
+
socialNetworks: SocialNetworkList
|
|
13
15
|
}
|
|
14
16
|
`;
|
|
@@ -27,7 +27,19 @@ function sourceStrapiContentNode(args, strapiClient, config) {
|
|
|
27
27
|
const singleTypes = [
|
|
28
28
|
{
|
|
29
29
|
singularName: 'site',
|
|
30
|
-
queryParams: {
|
|
30
|
+
queryParams: {
|
|
31
|
+
populate: {
|
|
32
|
+
logo: {
|
|
33
|
+
populate: '*',
|
|
34
|
+
},
|
|
35
|
+
seo: {
|
|
36
|
+
populate: '*',
|
|
37
|
+
},
|
|
38
|
+
socialNetworks: {
|
|
39
|
+
populate: '*',
|
|
40
|
+
},
|
|
41
|
+
},
|
|
42
|
+
},
|
|
31
43
|
},
|
|
32
44
|
];
|
|
33
45
|
const collectionTypes = [
|
|
@@ -46,6 +58,32 @@ function sourceStrapiContentNode(args, strapiClient, config) {
|
|
|
46
58
|
'content.features': {
|
|
47
59
|
populate: '*',
|
|
48
60
|
},
|
|
61
|
+
'content.game-cards': {
|
|
62
|
+
populate: {
|
|
63
|
+
items: {
|
|
64
|
+
populate: {
|
|
65
|
+
image: {
|
|
66
|
+
populate: '*',
|
|
67
|
+
},
|
|
68
|
+
},
|
|
69
|
+
},
|
|
70
|
+
},
|
|
71
|
+
},
|
|
72
|
+
'content.game-card-tabs': {
|
|
73
|
+
populate: {
|
|
74
|
+
items: {
|
|
75
|
+
populate: {
|
|
76
|
+
content: {
|
|
77
|
+
populate: {
|
|
78
|
+
image: {
|
|
79
|
+
populate: '*',
|
|
80
|
+
},
|
|
81
|
+
},
|
|
82
|
+
},
|
|
83
|
+
},
|
|
84
|
+
},
|
|
85
|
+
},
|
|
86
|
+
},
|
|
49
87
|
'content.game-demo': {
|
|
50
88
|
populate: '*',
|
|
51
89
|
},
|
|
@@ -86,7 +124,14 @@ function sourceStrapiContentNode(args, strapiClient, config) {
|
|
|
86
124
|
},
|
|
87
125
|
},
|
|
88
126
|
author: {
|
|
89
|
-
populate:
|
|
127
|
+
populate: {
|
|
128
|
+
avatar: {
|
|
129
|
+
populate: '*',
|
|
130
|
+
},
|
|
131
|
+
socialNetworks: {
|
|
132
|
+
populate: '*',
|
|
133
|
+
},
|
|
134
|
+
},
|
|
90
135
|
},
|
|
91
136
|
},
|
|
92
137
|
locale: '*',
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const components = "\n # === COMPONENT DEFINITIONS ===\n union ContentComponent =\n STRAPI__COMPONENT_CONTENT_FAQ\n | STRAPI__COMPONENT_CONTENT_FEATURES\n | STRAPI__COMPONENT_CONTENT_PROS_CONS\n | STRAPI__COMPONENT_CONTENT_GAME_DEMO\n | STRAPI__COMPONENT_CONTENT_GAME_INFO\n | STRAPI__COMPONENT_CONTENT_HOW_TO\n | STRAPI__COMPONENT_CONTENT_TIP\n | STRAPI__COMPONENT_CONTENT_RICH_TEXT\n | STRAPI__COMPONENT_CONTENT_MEDIA\n | STRAPI__COMPONENT_CONTENT_LIST\n | STRAPI__COMPONENT_CONTENT_TABLE\n\n\n # === FAQ ===\n type STRAPI__COMPONENT_CONTENT_FAQ @dontInfer {\n items: [FaqItem!]\n }\n\n type FaqItem {\n question: String\n answer: String\n }\n\n\n # === FEATURES ===\n type STRAPI__COMPONENT_CONTENT_FEATURES @dontInfer {\n items: [ListItem!]\n }\n\n\n # === PROS_CONS ===\n type STRAPI__COMPONENT_CONTENT_PROS_CONS @dontInfer {\n pros: [ListItem!]\n cons: [ListItem!]\n }\n\n type ListItem {\n title: String\n description: String\n }\n\n\n # === GAME_DEMO ===\n type STRAPI__COMPONENT_CONTENT_GAME_DEMO @dontInfer {\n name: String\n src: String\n href: String\n previewImage: Image\n }\n\n\n # === GAME_INFO ===\n type STRAPI__COMPONENT_CONTENT_GAME_INFO @dontInfer {\n general: GameInfoGeneral\n features: GameInfoFeatures\n currency: CurrencyList\n }\n\n type GameInfoGeneral @dontInfer {\n NAME: String\n DEVELOPER: String\n RELEASE_DATE: Date @dateformat\n THEME: String\n TYPE: String\n VOLATILITY: String\n RTP: String\n PAY_LINES: String\n ROWS_WITH_PINS: String\n REELS_NUMBER: String\n MIN_BET: String\n MAX_BET: String\n MAX_WIN: String\n COMPATIBILITY: String\n }\n\n type GameInfoFeatures @dontInfer {\n HAS_DEMO: Boolean\n HAS_AUTOPLAY: Boolean\n HAS_FREE_SPINS: Boolean\n HAS_FAST_SPIN: Boolean\n HAS_BONUS_PURCHASE: Boolean\n HAS_COLLECTION_SYMBOLS: Boolean\n HAS_PROGRESSIVE_JACKPOT: Boolean\n BONUS_FEATURES: String\n FUNCTIONS: String\n LANGUAGES: String\n }\n\n type Currency {\n code: String!\n }\n\n type CurrencyList @dontInfer {\n items: [Currency!]\n }\n\n # === HOW_TO ===\n type STRAPI__COMPONENT_CONTENT_HOW_TO @dontInfer {\n steps: [HowToStep!]\n }\n\n type HowToStep {\n title: String!\n description: String\n thumbnail: Image\n }\n\n\n # === TIP ===\n type STRAPI__COMPONENT_CONTENT_TIP @dontInfer {\n tip: String\n author: Author\n }\n\n\n # === RICH_TEXT ===\n type STRAPI__COMPONENT_CONTENT_RICH_TEXT @dontInfer {\n content: RichTextContent\n }\n\n type RichTextContent {\n data: RichTextData\n }\n\n type RichTextData {\n content: String\n }\n\n\n # === MEDIA ===\n type STRAPI__COMPONENT_CONTENT_MEDIA @dontInfer {\n file: Image\n }\n\n # === LIST ===\n type STRAPI__COMPONENT_CONTENT_LIST @dontInfer {\n bullet: String\n content: JsonValue\n }\n\n # === TABLE ===\n type STRAPI__COMPONENT_CONTENT_TABLE @dontInfer {\n columnNumber: Int\n striped: Boolean\n bordered: Boolean\n scrollable: Boolean\n caption: String\n content: JsonValue\n }\n\n type JsonValue {\n strapi_json_value: JSON\n }\n ";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const page = "\n # === STRAPI PAGE DEFINITIONS ===\n type StrapiPage implements Node {\n id: ID!\n locale: String\n title: String\n slug: String\n seo: Seo\n author: Author\n createdAt: Date @dateformat\n updatedAt: Date @dateformat\n content: [ContentComponent]\n }\n";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const shared = "\n # === SHARED DEFINITIONS ===\n type Image {\n localFile: File @link(from: \"localFile\")\n alternativeText: String\n }\n\n type Seo {\n metaTitle: String\n metaDescription: String\n }\n\n type Author {\n name: String\n role: String\n bio: String\n avatar: Image\n }\n ";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const site = "\n # === STRAPI SITE DEFINITIONS ===\n type StrapiSite implements Node {\n id: ID!\n name: String\n locale: String\n currency: String\n seo: Seo\n logo: Image\n }\n ";
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|