@module-federation/enhanced 0.8.9 → 0.8.10

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.
Files changed (43) hide show
  1. package/dist/package.json +15 -13
  2. package/dist/src/schemas/container/ContainerPlugin.check.d.ts +3 -2
  3. package/dist/src/schemas/container/ContainerPlugin.check.js +812 -1064
  4. package/dist/src/schemas/container/ContainerPlugin.check.js.map +1 -1
  5. package/dist/src/schemas/container/ContainerPlugin.d.ts +218 -257
  6. package/dist/src/schemas/container/ContainerPlugin.js +32 -31
  7. package/dist/src/schemas/container/ContainerPlugin.js.map +1 -1
  8. package/dist/src/schemas/container/ContainerReferencePlugin.check.d.ts +4 -3
  9. package/dist/src/schemas/container/ContainerReferencePlugin.check.js +258 -853
  10. package/dist/src/schemas/container/ContainerReferencePlugin.check.js.map +1 -1
  11. package/dist/src/schemas/container/ContainerReferencePlugin.d.ts +72 -67
  12. package/dist/src/schemas/container/ContainerReferencePlugin.js +6 -1
  13. package/dist/src/schemas/container/ContainerReferencePlugin.js.map +1 -1
  14. package/dist/src/schemas/container/ExternalsType.check.d.ts +8 -0
  15. package/dist/src/schemas/container/ExternalsType.check.js +64 -0
  16. package/dist/src/schemas/container/ExternalsType.check.js.map +1 -0
  17. package/dist/src/schemas/container/ExternalsType.d.ts +4 -0
  18. package/dist/src/schemas/container/ExternalsType.js +12 -0
  19. package/dist/src/schemas/container/ExternalsType.js.map +1 -0
  20. package/dist/src/schemas/container/ModuleFederationPlugin.check.js +3100 -0
  21. package/dist/src/schemas/container/ModuleFederationPlugin.check.js.map +1 -0
  22. package/dist/src/schemas/container/ModuleFederationPlugin.d.ts +622 -0
  23. package/dist/src/schemas/container/ModuleFederationPlugin.js +753 -0
  24. package/dist/src/schemas/container/ModuleFederationPlugin.js.map +1 -1
  25. package/dist/src/schemas/sharing/ConsumeSharedPlugin.check.d.ts +8 -0
  26. package/dist/src/schemas/sharing/ConsumeSharedPlugin.check.js +357 -0
  27. package/dist/src/schemas/sharing/ConsumeSharedPlugin.check.js.map +1 -0
  28. package/dist/src/schemas/sharing/ConsumeSharedPlugin.d.ts +106 -0
  29. package/dist/src/schemas/sharing/ConsumeSharedPlugin.js +129 -0
  30. package/dist/src/schemas/sharing/ConsumeSharedPlugin.js.map +1 -0
  31. package/dist/src/schemas/sharing/ProvideSharedPlugin.check.d.ts +8 -0
  32. package/dist/src/schemas/sharing/ProvideSharedPlugin.check.js +281 -0
  33. package/dist/src/schemas/sharing/ProvideSharedPlugin.check.js.map +1 -0
  34. package/dist/src/schemas/sharing/ProvideSharedPlugin.d.ts +83 -0
  35. package/dist/src/schemas/sharing/ProvideSharedPlugin.js +103 -0
  36. package/dist/src/schemas/sharing/ProvideSharedPlugin.js.map +1 -0
  37. package/dist/src/schemas/sharing/SharePlugin.check.d.ts +8 -0
  38. package/dist/src/schemas/sharing/SharePlugin.check.js +388 -0
  39. package/dist/src/schemas/sharing/SharePlugin.check.js.map +1 -0
  40. package/dist/src/schemas/sharing/SharePlugin.d.ts +116 -0
  41. package/dist/src/schemas/sharing/SharePlugin.js +142 -0
  42. package/dist/src/schemas/sharing/SharePlugin.js.map +1 -0
  43. package/package.json +17 -15
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConsumeSharedPlugin.js","sourceRoot":"","sources":["../../../../src/schemas/sharing/ConsumeSharedPlugin.ts"],"names":[],"mappings":";AAAA,cAAc;AACd,oBAAoB;AACpB;;;GAGG;;AAEH,kBAAe;IACb,WAAW,EAAE;QACX,QAAQ,EAAE;YACR,WAAW,EACT,0IAA0I;YAC5I,KAAK,EAAE;gBACL;oBACE,IAAI,EAAE,OAAO;oBACb,KAAK,EAAE;wBACL,WAAW,EAAE,mDAAmD;wBAChE,KAAK,EAAE;4BACL;gCACE,IAAI,EAAE,4BAA4B;6BACnC;4BACD;gCACE,IAAI,EAAE,8BAA8B;6BACrC;yBACF;qBACF;iBACF;gBACD;oBACE,IAAI,EAAE,8BAA8B;iBACrC;aACF;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YACd,oBAAoB,EAAE;gBACpB,WAAW,EAAE,mDAAmD;gBAChE,KAAK,EAAE;oBACL;wBACE,IAAI,EAAE,8BAA8B;qBACrC;oBACD;wBACE,IAAI,EAAE,4BAA4B;qBACnC;iBACF;aACF;SACF;KACF;IACD,KAAK,EAAE,4BAA4B;IACnC,WAAW,EAAE,uCAAuC;IACpD,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,KAAK;IAC3B,UAAU,EAAE;QACV,QAAQ,EAAE;YACR,IAAI,EAAE,wBAAwB;SAC/B;QACD,UAAU,EAAE;YACV,WAAW,EACT,yEAAyE;YAC3E,IAAI,EAAE,QAAQ;YACd,SAAS,EAAE,CAAC;SACb;KACF;IACD,QAAQ,EAAE,CAAC,UAAU,CAAC;CACd,CAAC"}
@@ -0,0 +1,8 @@
1
+ export declare const validate: typeof n;
2
+ export default n;
3
+ declare function n(r: any, { instancePath: e, parentData: s, parentDataProperty: a, rootData: o, }?: {
4
+ instancePath?: string | undefined;
5
+ parentData: any;
6
+ parentDataProperty: any;
7
+ rootData?: any;
8
+ }): any;
@@ -0,0 +1,281 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.validate = void 0;
4
+ // @ts-nocheck
5
+ /* eslint-disable */
6
+ /*
7
+ * This file was automatically generated.
8
+ * DO NOT MODIFY BY HAND.
9
+ */
10
+ exports.validate = n;
11
+ exports.default = n;
12
+ const r = {
13
+ type: 'object',
14
+ additionalProperties: !1,
15
+ properties: {
16
+ eager: { type: 'boolean' },
17
+ shareKey: { type: 'string', minLength: 1 },
18
+ shareScope: { type: 'string', minLength: 1 },
19
+ version: { anyOf: [{ enum: [!1] }, { type: 'string' }] },
20
+ },
21
+ };
22
+ function e(t, { instancePath: n = '', parentData: s, parentDataProperty: a, rootData: o = t, } = {}) {
23
+ let l = null, i = 0;
24
+ if (0 === i) {
25
+ if (!t || 'object' != typeof t || Array.isArray(t))
26
+ return (e.errors = [{ params: { type: 'object' } }]), !1;
27
+ for (const n in t) {
28
+ let s = t[n];
29
+ const a = i, o = i;
30
+ let u = !1;
31
+ const h = i;
32
+ if (i == i)
33
+ if (s && 'object' == typeof s && !Array.isArray(s)) {
34
+ const e = i;
35
+ for (const r in s)
36
+ if ('eager' !== r &&
37
+ 'shareKey' !== r &&
38
+ 'shareScope' !== r &&
39
+ 'version' !== r) {
40
+ const e = { params: { additionalProperty: r } };
41
+ null === l ? (l = [e]) : l.push(e), i++;
42
+ break;
43
+ }
44
+ if (e === i) {
45
+ if (void 0 !== s.eager) {
46
+ const r = i;
47
+ if ('boolean' != typeof s.eager) {
48
+ const r = { params: { type: 'boolean' } };
49
+ null === l ? (l = [r]) : l.push(r), i++;
50
+ }
51
+ var p = r === i;
52
+ }
53
+ else
54
+ p = !0;
55
+ if (p) {
56
+ if (void 0 !== s.shareKey) {
57
+ let r = s.shareKey;
58
+ const e = i;
59
+ if (i === e)
60
+ if ('string' == typeof r) {
61
+ if (r.length < 1) {
62
+ const r = { params: {} };
63
+ null === l ? (l = [r]) : l.push(r), i++;
64
+ }
65
+ }
66
+ else {
67
+ const r = { params: { type: 'string' } };
68
+ null === l ? (l = [r]) : l.push(r), i++;
69
+ }
70
+ p = e === i;
71
+ }
72
+ else
73
+ p = !0;
74
+ if (p) {
75
+ if (void 0 !== s.shareScope) {
76
+ let r = s.shareScope;
77
+ const e = i;
78
+ if (i === e)
79
+ if ('string' == typeof r) {
80
+ if (r.length < 1) {
81
+ const r = { params: {} };
82
+ null === l ? (l = [r]) : l.push(r), i++;
83
+ }
84
+ }
85
+ else {
86
+ const r = { params: { type: 'string' } };
87
+ null === l ? (l = [r]) : l.push(r), i++;
88
+ }
89
+ p = e === i;
90
+ }
91
+ else
92
+ p = !0;
93
+ if (p)
94
+ if (void 0 !== s.version) {
95
+ let e = s.version;
96
+ const t = i, n = i;
97
+ let a = !1;
98
+ const o = i;
99
+ if (!1 !== e) {
100
+ const e = {
101
+ params: {
102
+ allowedValues: r.properties.version.anyOf[0].enum,
103
+ },
104
+ };
105
+ null === l ? (l = [e]) : l.push(e), i++;
106
+ }
107
+ var c = o === i;
108
+ if (((a = a || c), !a)) {
109
+ const r = i;
110
+ if ('string' != typeof e) {
111
+ const r = { params: { type: 'string' } };
112
+ null === l ? (l = [r]) : l.push(r), i++;
113
+ }
114
+ (c = r === i), (a = a || c);
115
+ }
116
+ if (a)
117
+ (i = n), null !== l && (n ? (l.length = n) : (l = null));
118
+ else {
119
+ const r = { params: {} };
120
+ null === l ? (l = [r]) : l.push(r), i++;
121
+ }
122
+ p = t === i;
123
+ }
124
+ else
125
+ p = !0;
126
+ }
127
+ }
128
+ }
129
+ }
130
+ else {
131
+ const r = { params: { type: 'object' } };
132
+ null === l ? (l = [r]) : l.push(r), i++;
133
+ }
134
+ var f = h === i;
135
+ if (((u = u || f), !u)) {
136
+ const r = i;
137
+ if (i == i)
138
+ if ('string' == typeof s) {
139
+ if (s.length < 1) {
140
+ const r = { params: {} };
141
+ null === l ? (l = [r]) : l.push(r), i++;
142
+ }
143
+ }
144
+ else {
145
+ const r = { params: { type: 'string' } };
146
+ null === l ? (l = [r]) : l.push(r), i++;
147
+ }
148
+ (f = r === i), (u = u || f);
149
+ }
150
+ if (!u) {
151
+ const r = { params: {} };
152
+ return null === l ? (l = [r]) : l.push(r), i++, (e.errors = l), !1;
153
+ }
154
+ if (((i = o), null !== l && (o ? (l.length = o) : (l = null)), a !== i))
155
+ break;
156
+ }
157
+ }
158
+ return (e.errors = l), 0 === i;
159
+ }
160
+ function t(r, { instancePath: n = '', parentData: s, parentDataProperty: a, rootData: o = r, } = {}) {
161
+ let l = null, i = 0;
162
+ const p = i;
163
+ let c = !1;
164
+ const f = i;
165
+ if (i === f)
166
+ if (Array.isArray(r)) {
167
+ const t = r.length;
168
+ for (let s = 0; s < t; s++) {
169
+ let t = r[s];
170
+ const a = i, p = i;
171
+ let c = !1;
172
+ const f = i;
173
+ if (i == i)
174
+ if ('string' == typeof t) {
175
+ if (t.length < 1) {
176
+ const r = { params: {} };
177
+ null === l ? (l = [r]) : l.push(r), i++;
178
+ }
179
+ }
180
+ else {
181
+ const r = { params: { type: 'string' } };
182
+ null === l ? (l = [r]) : l.push(r), i++;
183
+ }
184
+ var u = f === i;
185
+ if (((c = c || u), !c)) {
186
+ const a = i;
187
+ e(t, {
188
+ instancePath: n + '/' + s,
189
+ parentData: r,
190
+ parentDataProperty: s,
191
+ rootData: o,
192
+ }) ||
193
+ ((l = null === l ? e.errors : l.concat(e.errors)), (i = l.length)),
194
+ (u = a === i),
195
+ (c = c || u);
196
+ }
197
+ if (c)
198
+ (i = p), null !== l && (p ? (l.length = p) : (l = null));
199
+ else {
200
+ const r = { params: {} };
201
+ null === l ? (l = [r]) : l.push(r), i++;
202
+ }
203
+ if (a !== i)
204
+ break;
205
+ }
206
+ }
207
+ else {
208
+ const r = { params: { type: 'array' } };
209
+ null === l ? (l = [r]) : l.push(r), i++;
210
+ }
211
+ var h = f === i;
212
+ if (((c = c || h), !c)) {
213
+ const t = i;
214
+ e(r, {
215
+ instancePath: n,
216
+ parentData: s,
217
+ parentDataProperty: a,
218
+ rootData: o,
219
+ }) || ((l = null === l ? e.errors : l.concat(e.errors)), (i = l.length)),
220
+ (h = t === i),
221
+ (c = c || h);
222
+ }
223
+ if (!c) {
224
+ const r = { params: {} };
225
+ return null === l ? (l = [r]) : l.push(r), i++, (t.errors = l), !1;
226
+ }
227
+ return ((i = p),
228
+ null !== l && (p ? (l.length = p) : (l = null)),
229
+ (t.errors = l),
230
+ 0 === i);
231
+ }
232
+ function n(r, { instancePath: e = '', parentData: s, parentDataProperty: a, rootData: o = r, } = {}) {
233
+ let l = null, i = 0;
234
+ if (0 === i) {
235
+ if (!r || 'object' != typeof r || Array.isArray(r))
236
+ return (n.errors = [{ params: { type: 'object' } }]), !1;
237
+ {
238
+ let s;
239
+ if (void 0 === r.provides && (s = 'provides'))
240
+ return (n.errors = [{ params: { missingProperty: s } }]), !1;
241
+ {
242
+ const s = i;
243
+ for (const e in r)
244
+ if ('provides' !== e && 'shareScope' !== e)
245
+ return (n.errors = [{ params: { additionalProperty: e } }]), !1;
246
+ if (s === i) {
247
+ if (void 0 !== r.provides) {
248
+ const n = i;
249
+ t(r.provides, {
250
+ instancePath: e + '/provides',
251
+ parentData: r,
252
+ parentDataProperty: 'provides',
253
+ rootData: o,
254
+ }) ||
255
+ ((l = null === l ? t.errors : l.concat(t.errors)),
256
+ (i = l.length));
257
+ var p = n === i;
258
+ }
259
+ else
260
+ p = !0;
261
+ if (p)
262
+ if (void 0 !== r.shareScope) {
263
+ let e = r.shareScope;
264
+ const t = i;
265
+ if (i === t) {
266
+ if ('string' != typeof e)
267
+ return (n.errors = [{ params: { type: 'string' } }]), !1;
268
+ if (e.length < 1)
269
+ return (n.errors = [{ params: {} }]), !1;
270
+ }
271
+ p = t === i;
272
+ }
273
+ else
274
+ p = !0;
275
+ }
276
+ }
277
+ }
278
+ }
279
+ return (n.errors = l), 0 === i;
280
+ }
281
+ //# sourceMappingURL=ProvideSharedPlugin.check.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProvideSharedPlugin.check.js","sourceRoot":"","sources":["../../../../src/schemas/sharing/ProvideSharedPlugin.check.ts"],"names":[],"mappings":";;;AAAA,cAAc;AACd,oBAAoB;AACpB;;;GAGG;AACU,QAAA,QAAQ,GAAG,CAAC,CAAC;AAC1B,kBAAe,CAAC,CAAC;AACjB,MAAM,CAAC,GAAG;IACR,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,CAAC,CAAC;IACxB,UAAU,EAAE;QACV,KAAK,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE;QAC1B,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC,EAAE;QAC1C,UAAU,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC,EAAE;QAC5C,OAAO,EAAE,EAAE,KAAK,EAAE,CAAC,EAAE,IAAI,EAAE,CAAC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AC,GAAG,CAAC,CAAC,CAAC;oBACd,IAAI,CAAC;wBACH,IAAI,KAAK,CAAC,KAAK,CAAC,CAAC,UAAU,EAAE,CAAC;4BAC5B,IAAI,CAAC,GAAG,CAAC,CAAC,UAAU,CAAC;4BACrB,MAAM,CAAC,GAAG,CAAC,CAAC;4BACZ,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC;gCACZ,IAAI,QAAQ,IAAI,OAAO,CAAC;oCACtB,OAAO,CAAC,CAAC,CAAC,MAAM,GAAG,CAAC,EAAE,MAAM,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;gCAC3D,IAAI,CAAC,CAAC,MAAM,GAAG,CAAC;oCAAE,OAAO,CAAC,CAAC,CAAC,MAAM,GAAG,CAAC,EAAE,MAAM,EAAE,EAAE,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;4BAC7D,CAAC;4BACD,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;wBACd,CAAC;;4BAAM,CAAC,GAAG,CAAC,CAAC,CAAC;gBAClB,CAAC;YACH,CAAC;QACH,CAAC;IACH,CAAC;IACD,OAAO,CAAC,CAAC,CAAC,MAAM,GAAG,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC;AACjC,CAAC"}
@@ -0,0 +1,83 @@
1
+ declare const _default: {
2
+ readonly definitions: {
3
+ readonly Provides: {
4
+ readonly description: "Modules that should be provided as shared modules to the share scope. When provided, property name is used to match modules, otherwise this is automatically inferred from share key.";
5
+ readonly anyOf: readonly [{
6
+ readonly type: "array";
7
+ readonly items: {
8
+ readonly description: "Modules that should be provided as shared modules to the share scope.";
9
+ readonly anyOf: readonly [{
10
+ readonly $ref: "#/definitions/ProvidesItem";
11
+ }, {
12
+ readonly $ref: "#/definitions/ProvidesObject";
13
+ }];
14
+ };
15
+ }, {
16
+ readonly $ref: "#/definitions/ProvidesObject";
17
+ }];
18
+ };
19
+ readonly ProvidesConfig: {
20
+ readonly description: "Advanced configuration for modules that should be provided as shared modules to the share scope.";
21
+ readonly type: "object";
22
+ readonly additionalProperties: false;
23
+ readonly properties: {
24
+ readonly eager: {
25
+ readonly description: "Include the provided module directly instead behind an async request. This allows to use this shared module in initial load too. All possible shared modules need to be eager too.";
26
+ readonly type: "boolean";
27
+ };
28
+ readonly shareKey: {
29
+ readonly description: "Key in the share scope under which the shared modules should be stored.";
30
+ readonly type: "string";
31
+ readonly minLength: 1;
32
+ };
33
+ readonly shareScope: {
34
+ readonly description: "Share scope name.";
35
+ readonly type: "string";
36
+ readonly minLength: 1;
37
+ };
38
+ readonly version: {
39
+ readonly description: "Version of the provided module. Will replace lower matching versions, but not higher.";
40
+ readonly anyOf: readonly [{
41
+ readonly description: "Don't provide a version.";
42
+ readonly enum: readonly [false];
43
+ }, {
44
+ readonly description: "Version as string. Each part of the version should be separated by a dot '.'.";
45
+ readonly type: "string";
46
+ }];
47
+ };
48
+ };
49
+ };
50
+ readonly ProvidesItem: {
51
+ readonly description: "Request to a module that should be provided as shared module to the share scope (will be resolved when relative).";
52
+ readonly type: "string";
53
+ readonly minLength: 1;
54
+ };
55
+ readonly ProvidesObject: {
56
+ readonly description: "Modules that should be provided as shared modules to the share scope. Property names are used as share keys.";
57
+ readonly type: "object";
58
+ readonly additionalProperties: {
59
+ readonly description: "Modules that should be provided as shared modules to the share scope.";
60
+ readonly anyOf: readonly [{
61
+ readonly $ref: "#/definitions/ProvidesConfig";
62
+ }, {
63
+ readonly $ref: "#/definitions/ProvidesItem";
64
+ }];
65
+ };
66
+ };
67
+ };
68
+ readonly title: "ProvideSharedPluginOptions";
69
+ readonly type: "object";
70
+ readonly additionalProperties: false;
71
+ readonly properties: {
72
+ readonly provides: {
73
+ readonly $ref: "#/definitions/Provides";
74
+ };
75
+ readonly shareScope: {
76
+ readonly description: "Share scope name used for all provided modules (defaults to 'default').";
77
+ readonly type: "string";
78
+ readonly minLength: 1;
79
+ };
80
+ };
81
+ readonly required: readonly ["provides"];
82
+ };
83
+ export default _default;
@@ -0,0 +1,103 @@
1
+ "use strict";
2
+ // @ts-nocheck
3
+ /* eslint-disable */
4
+ /*
5
+ * This file was automatically generated.
6
+ * DO NOT MODIFY BY HAND.
7
+ */
8
+ Object.defineProperty(exports, "__esModule", { value: true });
9
+ exports.default = {
10
+ definitions: {
11
+ Provides: {
12
+ description: 'Modules that should be provided as shared modules to the share scope. When provided, property name is used to match modules, otherwise this is automatically inferred from share key.',
13
+ anyOf: [
14
+ {
15
+ type: 'array',
16
+ items: {
17
+ description: 'Modules that should be provided as shared modules to the share scope.',
18
+ anyOf: [
19
+ {
20
+ $ref: '#/definitions/ProvidesItem',
21
+ },
22
+ {
23
+ $ref: '#/definitions/ProvidesObject',
24
+ },
25
+ ],
26
+ },
27
+ },
28
+ {
29
+ $ref: '#/definitions/ProvidesObject',
30
+ },
31
+ ],
32
+ },
33
+ ProvidesConfig: {
34
+ description: 'Advanced configuration for modules that should be provided as shared modules to the share scope.',
35
+ type: 'object',
36
+ additionalProperties: false,
37
+ properties: {
38
+ eager: {
39
+ description: 'Include the provided module directly instead behind an async request. This allows to use this shared module in initial load too. All possible shared modules need to be eager too.',
40
+ type: 'boolean',
41
+ },
42
+ shareKey: {
43
+ description: 'Key in the share scope under which the shared modules should be stored.',
44
+ type: 'string',
45
+ minLength: 1,
46
+ },
47
+ shareScope: {
48
+ description: 'Share scope name.',
49
+ type: 'string',
50
+ minLength: 1,
51
+ },
52
+ version: {
53
+ description: 'Version of the provided module. Will replace lower matching versions, but not higher.',
54
+ anyOf: [
55
+ {
56
+ description: "Don't provide a version.",
57
+ enum: [false],
58
+ },
59
+ {
60
+ description: "Version as string. Each part of the version should be separated by a dot '.'.",
61
+ type: 'string',
62
+ },
63
+ ],
64
+ },
65
+ },
66
+ },
67
+ ProvidesItem: {
68
+ description: 'Request to a module that should be provided as shared module to the share scope (will be resolved when relative).',
69
+ type: 'string',
70
+ minLength: 1,
71
+ },
72
+ ProvidesObject: {
73
+ description: 'Modules that should be provided as shared modules to the share scope. Property names are used as share keys.',
74
+ type: 'object',
75
+ additionalProperties: {
76
+ description: 'Modules that should be provided as shared modules to the share scope.',
77
+ anyOf: [
78
+ {
79
+ $ref: '#/definitions/ProvidesConfig',
80
+ },
81
+ {
82
+ $ref: '#/definitions/ProvidesItem',
83
+ },
84
+ ],
85
+ },
86
+ },
87
+ },
88
+ title: 'ProvideSharedPluginOptions',
89
+ type: 'object',
90
+ additionalProperties: false,
91
+ properties: {
92
+ provides: {
93
+ $ref: '#/definitions/Provides',
94
+ },
95
+ shareScope: {
96
+ description: "Share scope name used for all provided modules (defaults to 'default').",
97
+ type: 'string',
98
+ minLength: 1,
99
+ },
100
+ },
101
+ required: ['provides'],
102
+ };
103
+ //# sourceMappingURL=ProvideSharedPlugin.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProvideSharedPlugin.js","sourceRoot":"","sources":["../../../../src/schemas/sharing/ProvideSharedPlugin.ts"],"names":[],"mappings":";AAAA,cAAc;AACd,oBAAoB;AACpB;;;GAGG;;AAEH,kBAAe;IACb,WAAW,EAAE;QACX,QAAQ,EAAE;YACR,WAAW,EACT,uLAAuL;YACzL,KAAK,EAAE;gBACL;oBACE,IAAI,EAAE,OAAO;oBACb,KAAK,EAAE;wBACL,WAAW,EACT,uEAAuE;wBACzE,KAAK,EAAE;4BACL;gCACE,IAAI,EAAE,4BAA4B;6BACnC;4BACD;gCACE,IAAI,EAAE,8BAA8B;6BACrC;yBACF;qBACF;iBACF;gBACD;oBACE,IAAI,EAAE,8BAA8B;iBACrC;aACF;SACF;QACD,cAAc,EAAE;YACd,WAAW,EACT,kGAAkG;YACpG,IAAI,EAAE,QAAQ;YACd,oBAAoB,EAAE,KAAK;YAC3B,UAAU,EAAE;gBACV,KAAK,EAAE;oBACL,WAAW,EACT,oLAAoL;oBACtL,IAAI,EAAE,SAAS;iBAChB;gBACD,QAAQ,EAAE;oBACR,WAAW,EACT,yEAAyE;oBAC3E,IAAI,EAAE,QAAQ;oBACd,SAAS,EAAE,CAAC;iBACb;gBACD,UAAU,EAAE;oBACV,WAAW,EAAE,mBAAmB;oBAChC,IAAI,EAAE,QAAQ;oBACd,SAAS,EAAE,CAAC;iBACb;gBACD,OAAO,EAAE;oBACP,WAAW,EACT,uFAAuF;oBACzF,KAAK,EAAE;wBACL;4BACE,WAAW,EAAE,0BAA0B;4BACvC,IAAI,EAAE,CAAC,KAAK,CAAC;yBACd;wBACD;4BACE,WAAW,EACT,+EAA+E;4BACjF,IAAI,EAAE,QAAQ;yBACf;qBACF;iBACF;aACF;SACF;QACD,YAAY,EAAE;YACZ,WAAW,EACT,mHAAmH;YACrH,IAAI,EAAE,QAAQ;YACd,SAAS,EAAE,CAAC;SACb;QACD,cAAc,EAAE;YACd,WAAW,EACT,8GAA8G;YAChH,IAAI,EAAE,QAAQ;YACd,oBAAoB,EAAE;gBACpB,WAAW,EACT,uEAAuE;gBACzE,KAAK,EAAE;oBACL;wBACE,IAAI,EAAE,8BAA8B;qBACrC;oBACD;wBACE,IAAI,EAAE,4BAA4B;qBACnC;iBACF;aACF;SACF;KACF;IACD,KAAK,EAAE,4BAA4B;IACnC,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,KAAK;IAC3B,UAAU,EAAE;QACV,QAAQ,EAAE;YACR,IAAI,EAAE,wBAAwB;SAC/B;QACD,UAAU,EAAE;YACV,WAAW,EACT,yEAAyE;YAC3E,IAAI,EAAE,QAAQ;YACd,SAAS,EAAE,CAAC;SACb;KACF;IACD,QAAQ,EAAE,CAAC,UAAU,CAAC;CACd,CAAC"}
@@ -0,0 +1,8 @@
1
+ export declare const validate: typeof s;
2
+ export default s;
3
+ declare function s(r: any, { instancePath: e, parentData: t, parentDataProperty: n, rootData: o, }?: {
4
+ instancePath?: string | undefined;
5
+ parentData: any;
6
+ parentDataProperty: any;
7
+ rootData?: any;
8
+ }): any;