@uniformdev/canvas-next 19.88.0 → 19.88.1-alpha.7

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.
@@ -33,6 +33,7 @@ declare const withUniformGetServerSideProps: <TProps extends {
33
33
  withTotalCount?: boolean | undefined;
34
34
  withUIStatus?: boolean | undefined;
35
35
  withContentSourceMap?: boolean | undefined;
36
+ locale?: string | undefined;
36
37
  } & Required<Pick<_uniformdev_canvas.CompositionGetParameters, "projectMapNodePath">> & _uniformdev_canvas.SpecificProjectMap & DataResolutionOption>, "state"> | undefined;
37
38
  /** Custom handler to specify return value and modify composition - e.g. enhance with CMS data */
38
39
  callback?: UniformGetServerSideProps<TProps> | undefined;
@@ -101,6 +102,7 @@ declare const withUniformGetStaticProps: <TProps extends {
101
102
  withTotalCount?: boolean | undefined;
102
103
  withUIStatus?: boolean | undefined;
103
104
  withContentSourceMap?: boolean | undefined;
105
+ locale?: string | undefined;
104
106
  } & Required<Pick<_uniformdev_canvas.CompositionGetParameters, "projectMapNodePath">> & _uniformdev_canvas.SpecificProjectMap & DataResolutionOption>, "state"> | undefined;
105
107
  /** Custom handler to specify return value and modify composition - e.g. enhance with CMS data */
106
108
  callback?: UniformGetStaticProps<TProps> | undefined;
@@ -33,6 +33,7 @@ declare const withUniformGetServerSideProps: <TProps extends {
33
33
  withTotalCount?: boolean | undefined;
34
34
  withUIStatus?: boolean | undefined;
35
35
  withContentSourceMap?: boolean | undefined;
36
+ locale?: string | undefined;
36
37
  } & Required<Pick<_uniformdev_canvas.CompositionGetParameters, "projectMapNodePath">> & _uniformdev_canvas.SpecificProjectMap & DataResolutionOption>, "state"> | undefined;
37
38
  /** Custom handler to specify return value and modify composition - e.g. enhance with CMS data */
38
39
  callback?: UniformGetServerSideProps<TProps> | undefined;
@@ -101,6 +102,7 @@ declare const withUniformGetStaticProps: <TProps extends {
101
102
  withTotalCount?: boolean | undefined;
102
103
  withUIStatus?: boolean | undefined;
103
104
  withContentSourceMap?: boolean | undefined;
105
+ locale?: string | undefined;
104
106
  } & Required<Pick<_uniformdev_canvas.CompositionGetParameters, "projectMapNodePath">> & _uniformdev_canvas.SpecificProjectMap & DataResolutionOption>, "state"> | undefined;
105
107
  /** Custom handler to specify return value and modify composition - e.g. enhance with CMS data */
106
108
  callback?: UniformGetStaticProps<TProps> | undefined;
@@ -108,12 +108,15 @@ declare const getServerSideProps: next.GetServerSideProps<{
108
108
  type: string;
109
109
  parameters?: {
110
110
  [key: string]: {
111
- value: unknown;
111
+ value?: unknown;
112
112
  type: string;
113
113
  connectedData?: {
114
114
  pointer: string;
115
115
  syntax: "jptr";
116
116
  } | undefined;
117
+ locales?: {
118
+ [key: string]: unknown;
119
+ } | undefined;
117
120
  };
118
121
  } | undefined;
119
122
  variant?: string | undefined;
@@ -127,12 +130,15 @@ declare const getServerSideProps: next.GetServerSideProps<{
127
130
  type: string;
128
131
  parameters?: {
129
132
  [key: string]: {
130
- value: unknown;
133
+ value?: unknown;
131
134
  type: string;
132
135
  connectedData?: {
133
136
  pointer: string;
134
137
  syntax: "jptr";
135
138
  } | undefined;
139
+ locales?: {
140
+ [key: string]: unknown;
141
+ } | undefined;
136
142
  };
137
143
  } | undefined;
138
144
  variant?: string | undefined;
@@ -166,12 +172,15 @@ declare const getServerSideProps: next.GetServerSideProps<{
166
172
  [key: string]: {
167
173
  parameters?: {
168
174
  [key: string]: {
169
- value: unknown;
175
+ value?: unknown;
170
176
  type: string;
171
177
  connectedData?: {
172
178
  pointer: string;
173
179
  syntax: "jptr";
174
180
  } | undefined;
181
+ locales?: {
182
+ [key: string]: unknown;
183
+ } | undefined;
175
184
  };
176
185
  } | undefined;
177
186
  variant?: string | undefined;
@@ -202,12 +211,15 @@ declare const getServerSideProps: next.GetServerSideProps<{
202
211
  [key: string]: {
203
212
  parameters?: {
204
213
  [key: string]: {
205
- value: unknown;
214
+ value?: unknown;
206
215
  type: string;
207
216
  connectedData?: {
208
217
  pointer: string;
209
218
  syntax: "jptr";
210
219
  } | undefined;
220
+ locales?: {
221
+ [key: string]: unknown;
222
+ } | undefined;
211
223
  };
212
224
  } | undefined;
213
225
  variant?: string | undefined;
@@ -219,6 +231,7 @@ declare const getServerSideProps: next.GetServerSideProps<{
219
231
  } | undefined;
220
232
  variants?: boolean | undefined;
221
233
  } | undefined;
234
+ _locales?: string[] | undefined;
222
235
  };
223
236
  }, querystring.ParsedUrlQuery, UniformPreviewData>;
224
237
  /**
@@ -231,12 +244,15 @@ declare const getStaticProps: next.GetStaticProps<{
231
244
  type: string;
232
245
  parameters?: {
233
246
  [key: string]: {
234
- value: unknown;
247
+ value?: unknown;
235
248
  type: string;
236
249
  connectedData?: {
237
250
  pointer: string;
238
251
  syntax: "jptr";
239
252
  } | undefined;
253
+ locales?: {
254
+ [key: string]: unknown;
255
+ } | undefined;
240
256
  };
241
257
  } | undefined;
242
258
  variant?: string | undefined;
@@ -250,12 +266,15 @@ declare const getStaticProps: next.GetStaticProps<{
250
266
  type: string;
251
267
  parameters?: {
252
268
  [key: string]: {
253
- value: unknown;
269
+ value?: unknown;
254
270
  type: string;
255
271
  connectedData?: {
256
272
  pointer: string;
257
273
  syntax: "jptr";
258
274
  } | undefined;
275
+ locales?: {
276
+ [key: string]: unknown;
277
+ } | undefined;
259
278
  };
260
279
  } | undefined;
261
280
  variant?: string | undefined;
@@ -289,12 +308,15 @@ declare const getStaticProps: next.GetStaticProps<{
289
308
  [key: string]: {
290
309
  parameters?: {
291
310
  [key: string]: {
292
- value: unknown;
311
+ value?: unknown;
293
312
  type: string;
294
313
  connectedData?: {
295
314
  pointer: string;
296
315
  syntax: "jptr";
297
316
  } | undefined;
317
+ locales?: {
318
+ [key: string]: unknown;
319
+ } | undefined;
298
320
  };
299
321
  } | undefined;
300
322
  variant?: string | undefined;
@@ -325,12 +347,15 @@ declare const getStaticProps: next.GetStaticProps<{
325
347
  [key: string]: {
326
348
  parameters?: {
327
349
  [key: string]: {
328
- value: unknown;
350
+ value?: unknown;
329
351
  type: string;
330
352
  connectedData?: {
331
353
  pointer: string;
332
354
  syntax: "jptr";
333
355
  } | undefined;
356
+ locales?: {
357
+ [key: string]: unknown;
358
+ } | undefined;
334
359
  };
335
360
  } | undefined;
336
361
  variant?: string | undefined;
@@ -342,6 +367,7 @@ declare const getStaticProps: next.GetStaticProps<{
342
367
  } | undefined;
343
368
  variants?: boolean | undefined;
344
369
  } | undefined;
370
+ _locales?: string[] | undefined;
345
371
  };
346
372
  }, querystring.ParsedUrlQuery, UniformPreviewData>;
347
373
  /**
@@ -108,12 +108,15 @@ declare const getServerSideProps: next.GetServerSideProps<{
108
108
  type: string;
109
109
  parameters?: {
110
110
  [key: string]: {
111
- value: unknown;
111
+ value?: unknown;
112
112
  type: string;
113
113
  connectedData?: {
114
114
  pointer: string;
115
115
  syntax: "jptr";
116
116
  } | undefined;
117
+ locales?: {
118
+ [key: string]: unknown;
119
+ } | undefined;
117
120
  };
118
121
  } | undefined;
119
122
  variant?: string | undefined;
@@ -127,12 +130,15 @@ declare const getServerSideProps: next.GetServerSideProps<{
127
130
  type: string;
128
131
  parameters?: {
129
132
  [key: string]: {
130
- value: unknown;
133
+ value?: unknown;
131
134
  type: string;
132
135
  connectedData?: {
133
136
  pointer: string;
134
137
  syntax: "jptr";
135
138
  } | undefined;
139
+ locales?: {
140
+ [key: string]: unknown;
141
+ } | undefined;
136
142
  };
137
143
  } | undefined;
138
144
  variant?: string | undefined;
@@ -166,12 +172,15 @@ declare const getServerSideProps: next.GetServerSideProps<{
166
172
  [key: string]: {
167
173
  parameters?: {
168
174
  [key: string]: {
169
- value: unknown;
175
+ value?: unknown;
170
176
  type: string;
171
177
  connectedData?: {
172
178
  pointer: string;
173
179
  syntax: "jptr";
174
180
  } | undefined;
181
+ locales?: {
182
+ [key: string]: unknown;
183
+ } | undefined;
175
184
  };
176
185
  } | undefined;
177
186
  variant?: string | undefined;
@@ -202,12 +211,15 @@ declare const getServerSideProps: next.GetServerSideProps<{
202
211
  [key: string]: {
203
212
  parameters?: {
204
213
  [key: string]: {
205
- value: unknown;
214
+ value?: unknown;
206
215
  type: string;
207
216
  connectedData?: {
208
217
  pointer: string;
209
218
  syntax: "jptr";
210
219
  } | undefined;
220
+ locales?: {
221
+ [key: string]: unknown;
222
+ } | undefined;
211
223
  };
212
224
  } | undefined;
213
225
  variant?: string | undefined;
@@ -219,6 +231,7 @@ declare const getServerSideProps: next.GetServerSideProps<{
219
231
  } | undefined;
220
232
  variants?: boolean | undefined;
221
233
  } | undefined;
234
+ _locales?: string[] | undefined;
222
235
  };
223
236
  }, querystring.ParsedUrlQuery, UniformPreviewData>;
224
237
  /**
@@ -231,12 +244,15 @@ declare const getStaticProps: next.GetStaticProps<{
231
244
  type: string;
232
245
  parameters?: {
233
246
  [key: string]: {
234
- value: unknown;
247
+ value?: unknown;
235
248
  type: string;
236
249
  connectedData?: {
237
250
  pointer: string;
238
251
  syntax: "jptr";
239
252
  } | undefined;
253
+ locales?: {
254
+ [key: string]: unknown;
255
+ } | undefined;
240
256
  };
241
257
  } | undefined;
242
258
  variant?: string | undefined;
@@ -250,12 +266,15 @@ declare const getStaticProps: next.GetStaticProps<{
250
266
  type: string;
251
267
  parameters?: {
252
268
  [key: string]: {
253
- value: unknown;
269
+ value?: unknown;
254
270
  type: string;
255
271
  connectedData?: {
256
272
  pointer: string;
257
273
  syntax: "jptr";
258
274
  } | undefined;
275
+ locales?: {
276
+ [key: string]: unknown;
277
+ } | undefined;
259
278
  };
260
279
  } | undefined;
261
280
  variant?: string | undefined;
@@ -289,12 +308,15 @@ declare const getStaticProps: next.GetStaticProps<{
289
308
  [key: string]: {
290
309
  parameters?: {
291
310
  [key: string]: {
292
- value: unknown;
311
+ value?: unknown;
293
312
  type: string;
294
313
  connectedData?: {
295
314
  pointer: string;
296
315
  syntax: "jptr";
297
316
  } | undefined;
317
+ locales?: {
318
+ [key: string]: unknown;
319
+ } | undefined;
298
320
  };
299
321
  } | undefined;
300
322
  variant?: string | undefined;
@@ -325,12 +347,15 @@ declare const getStaticProps: next.GetStaticProps<{
325
347
  [key: string]: {
326
348
  parameters?: {
327
349
  [key: string]: {
328
- value: unknown;
350
+ value?: unknown;
329
351
  type: string;
330
352
  connectedData?: {
331
353
  pointer: string;
332
354
  syntax: "jptr";
333
355
  } | undefined;
356
+ locales?: {
357
+ [key: string]: unknown;
358
+ } | undefined;
334
359
  };
335
360
  } | undefined;
336
361
  variant?: string | undefined;
@@ -342,6 +367,7 @@ declare const getStaticProps: next.GetStaticProps<{
342
367
  } | undefined;
343
368
  variants?: boolean | undefined;
344
369
  } | undefined;
370
+ _locales?: string[] | undefined;
345
371
  };
346
372
  }, querystring.ParsedUrlQuery, UniformPreviewData>;
347
373
  /**
@@ -30,6 +30,7 @@ declare const withUniformGetServerSideProps: <TProps extends {
30
30
  withTotalCount?: boolean | undefined;
31
31
  withUIStatus?: boolean | undefined;
32
32
  withContentSourceMap?: boolean | undefined;
33
+ locale?: string | undefined;
33
34
  } & Required<Pick<_uniformdev_canvas.CompositionGetParameters, "slug">> & DataResolutionOption>, "state"> | undefined;
34
35
  callback?: UniformGetServerSideProps<TProps> | undefined;
35
36
  /** Disables logging of response information and timings */
@@ -77,6 +78,7 @@ declare const withUniformGetStaticProps: <TProps extends {
77
78
  withTotalCount?: boolean | undefined;
78
79
  withUIStatus?: boolean | undefined;
79
80
  withContentSourceMap?: boolean | undefined;
81
+ locale?: string | undefined;
80
82
  } & Required<Pick<_uniformdev_canvas.CompositionGetParameters, "slug">> & DataResolutionOption>, "state"> | undefined;
81
83
  /** Custom handler to specify return value and modify composition - e.g. enhance with CMS data */
82
84
  callback?: UniformGetStaticProps<TProps> | undefined;
@@ -30,6 +30,7 @@ declare const withUniformGetServerSideProps: <TProps extends {
30
30
  withTotalCount?: boolean | undefined;
31
31
  withUIStatus?: boolean | undefined;
32
32
  withContentSourceMap?: boolean | undefined;
33
+ locale?: string | undefined;
33
34
  } & Required<Pick<_uniformdev_canvas.CompositionGetParameters, "slug">> & DataResolutionOption>, "state"> | undefined;
34
35
  callback?: UniformGetServerSideProps<TProps> | undefined;
35
36
  /** Disables logging of response information and timings */
@@ -77,6 +78,7 @@ declare const withUniformGetStaticProps: <TProps extends {
77
78
  withTotalCount?: boolean | undefined;
78
79
  withUIStatus?: boolean | undefined;
79
80
  withContentSourceMap?: boolean | undefined;
81
+ locale?: string | undefined;
80
82
  } & Required<Pick<_uniformdev_canvas.CompositionGetParameters, "slug">> & DataResolutionOption>, "state"> | undefined;
81
83
  /** Custom handler to specify return value and modify composition - e.g. enhance with CMS data */
82
84
  callback?: UniformGetStaticProps<TProps> | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/canvas-next",
3
- "version": "19.88.0",
3
+ "version": "19.88.1-alpha.7+69b3ccba4",
4
4
  "description": "Next.js SDK for Uniform Canvas",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -67,11 +67,11 @@
67
67
  "document": "api-extractor run --local"
68
68
  },
69
69
  "dependencies": {
70
- "@uniformdev/canvas": "19.88.0",
71
- "@uniformdev/canvas-react": "19.88.0",
72
- "@uniformdev/project-map": "19.88.0",
73
- "@uniformdev/redirect": "19.88.0",
74
- "@uniformdev/richtext": "19.88.0",
70
+ "@uniformdev/canvas": "19.88.1-alpha.7+69b3ccba4",
71
+ "@uniformdev/canvas-react": "19.88.1-alpha.7+69b3ccba4",
72
+ "@uniformdev/project-map": "19.88.1-alpha.7+69b3ccba4",
73
+ "@uniformdev/redirect": "19.88.1-alpha.7+69b3ccba4",
74
+ "@uniformdev/richtext": "19.88.1-alpha.7+69b3ccba4",
75
75
  "colorette": "2.0.20"
76
76
  },
77
77
  "peerDependencies": {
@@ -91,5 +91,5 @@
91
91
  "publishConfig": {
92
92
  "access": "public"
93
93
  },
94
- "gitHead": "0a02f919a6b0f0c41307f120adada2e5d45a947b"
94
+ "gitHead": "69b3ccba4050c4ff412c4f226f54a36d74cf9a39"
95
95
  }