@uniformdev/canvas-next 19.79.1-alpha.13 → 19.79.1-alpha.25
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/LICENSE.txt +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/project-map/index.d.mts +4 -1
- package/dist/project-map/index.d.ts +4 -1
- package/dist/route/index.d.mts +50 -1
- package/dist/route/index.d.ts +50 -1
- package/dist/slug/index.d.mts +3 -1
- package/dist/slug/index.d.ts +3 -1
- package/package.json +7 -7
- /package/dist/{models--s4UGr5M.d.mts → models-IAhm-va2.d.mts} +0 -0
- /package/dist/{models--s4UGr5M.d.ts → models-IAhm-va2.d.ts} +0 -0
package/LICENSE.txt
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
©
|
|
1
|
+
© 2024 Uniform Systems, Inc. All Rights Reserved.
|
|
2
2
|
See details of Uniform Systems, Inc. Master Subscription Agreement here: https://uniform.dev/eula
|
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RichTextRendererComponent, RenderRichTextComponentResolver, UniformRichText as UniformRichText$1, UniformRichTextNode as UniformRichTextNode$1 } from '@uniformdev/canvas-react';
|
|
2
2
|
import { ParsedUrlQuery } from 'querystring';
|
|
3
|
-
export { U as UniformCompositionNextPage, c as UniformGetServerSideProps, b as UniformGetStaticProps, a as UniformPreviewData } from './models
|
|
3
|
+
export { U as UniformCompositionNextPage, c as UniformGetServerSideProps, b as UniformGetStaticProps, a as UniformPreviewData } from './models-IAhm-va2.mjs';
|
|
4
4
|
import { NextApiHandler, NextApiRequest } from 'next';
|
|
5
5
|
import { RootComponentInstance } from '@uniformdev/canvas';
|
|
6
6
|
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RichTextRendererComponent, RenderRichTextComponentResolver, UniformRichText as UniformRichText$1, UniformRichTextNode as UniformRichTextNode$1 } from '@uniformdev/canvas-react';
|
|
2
2
|
import { ParsedUrlQuery } from 'querystring';
|
|
3
|
-
export { U as UniformCompositionNextPage, c as UniformGetServerSideProps, b as UniformGetStaticProps, a as UniformPreviewData } from './models
|
|
3
|
+
export { U as UniformCompositionNextPage, c as UniformGetServerSideProps, b as UniformGetStaticProps, a as UniformPreviewData } from './models-IAhm-va2.js';
|
|
4
4
|
import { NextApiHandler, NextApiRequest } from 'next';
|
|
5
5
|
import { RootComponentInstance } from '@uniformdev/canvas';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as next from 'next';
|
|
2
2
|
import { GetServerSidePropsContext, PreviewData, GetServerSideProps, GetStaticPropsContext, GetStaticProps } from 'next';
|
|
3
|
-
import { c as UniformGetServerSideProps, a as UniformPreviewData, b as UniformGetStaticProps } from '../models
|
|
3
|
+
import { c as UniformGetServerSideProps, a as UniformPreviewData, b as UniformGetStaticProps } from '../models-IAhm-va2.mjs';
|
|
4
4
|
import * as querystring from 'querystring';
|
|
5
5
|
import { ParsedUrlQuery } from 'querystring';
|
|
6
6
|
import * as _uniformdev_canvas from '@uniformdev/canvas';
|
|
@@ -34,6 +34,7 @@ declare const withUniformGetServerSideProps: <TProps extends {
|
|
|
34
34
|
withUIStatus?: boolean | undefined;
|
|
35
35
|
withContentSourceMap?: boolean | undefined;
|
|
36
36
|
locale?: string | undefined;
|
|
37
|
+
releaseId?: string | undefined;
|
|
37
38
|
} & Required<Pick<_uniformdev_canvas.CompositionGetParameters, "projectMapNodePath">> & _uniformdev_canvas.SpecificProjectMap & DataResolutionOption>, "state"> | undefined;
|
|
38
39
|
/** Custom handler to specify return value and modify composition - e.g. enhance with CMS data */
|
|
39
40
|
callback?: UniformGetServerSideProps<TProps> | undefined;
|
|
@@ -53,6 +54,7 @@ declare const withUniformGetStaticPaths: (options?: {
|
|
|
53
54
|
requestOptions?: Partial<{
|
|
54
55
|
projectMapId?: string | undefined;
|
|
55
56
|
projectId: string;
|
|
57
|
+
releaseId?: string | undefined;
|
|
56
58
|
id?: string | undefined;
|
|
57
59
|
path?: string | undefined;
|
|
58
60
|
compositionId?: string | undefined;
|
|
@@ -103,6 +105,7 @@ declare const withUniformGetStaticProps: <TProps extends {
|
|
|
103
105
|
withUIStatus?: boolean | undefined;
|
|
104
106
|
withContentSourceMap?: boolean | undefined;
|
|
105
107
|
locale?: string | undefined;
|
|
108
|
+
releaseId?: string | undefined;
|
|
106
109
|
} & Required<Pick<_uniformdev_canvas.CompositionGetParameters, "projectMapNodePath">> & _uniformdev_canvas.SpecificProjectMap & DataResolutionOption>, "state"> | undefined;
|
|
107
110
|
/** Custom handler to specify return value and modify composition - e.g. enhance with CMS data */
|
|
108
111
|
callback?: UniformGetStaticProps<TProps> | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as next from 'next';
|
|
2
2
|
import { GetServerSidePropsContext, PreviewData, GetServerSideProps, GetStaticPropsContext, GetStaticProps } from 'next';
|
|
3
|
-
import { c as UniformGetServerSideProps, a as UniformPreviewData, b as UniformGetStaticProps } from '../models
|
|
3
|
+
import { c as UniformGetServerSideProps, a as UniformPreviewData, b as UniformGetStaticProps } from '../models-IAhm-va2.js';
|
|
4
4
|
import * as querystring from 'querystring';
|
|
5
5
|
import { ParsedUrlQuery } from 'querystring';
|
|
6
6
|
import * as _uniformdev_canvas from '@uniformdev/canvas';
|
|
@@ -34,6 +34,7 @@ declare const withUniformGetServerSideProps: <TProps extends {
|
|
|
34
34
|
withUIStatus?: boolean | undefined;
|
|
35
35
|
withContentSourceMap?: boolean | undefined;
|
|
36
36
|
locale?: string | undefined;
|
|
37
|
+
releaseId?: string | undefined;
|
|
37
38
|
} & Required<Pick<_uniformdev_canvas.CompositionGetParameters, "projectMapNodePath">> & _uniformdev_canvas.SpecificProjectMap & DataResolutionOption>, "state"> | undefined;
|
|
38
39
|
/** Custom handler to specify return value and modify composition - e.g. enhance with CMS data */
|
|
39
40
|
callback?: UniformGetServerSideProps<TProps> | undefined;
|
|
@@ -53,6 +54,7 @@ declare const withUniformGetStaticPaths: (options?: {
|
|
|
53
54
|
requestOptions?: Partial<{
|
|
54
55
|
projectMapId?: string | undefined;
|
|
55
56
|
projectId: string;
|
|
57
|
+
releaseId?: string | undefined;
|
|
56
58
|
id?: string | undefined;
|
|
57
59
|
path?: string | undefined;
|
|
58
60
|
compositionId?: string | undefined;
|
|
@@ -103,6 +105,7 @@ declare const withUniformGetStaticProps: <TProps extends {
|
|
|
103
105
|
withUIStatus?: boolean | undefined;
|
|
104
106
|
withContentSourceMap?: boolean | undefined;
|
|
105
107
|
locale?: string | undefined;
|
|
108
|
+
releaseId?: string | undefined;
|
|
106
109
|
} & Required<Pick<_uniformdev_canvas.CompositionGetParameters, "projectMapNodePath">> & _uniformdev_canvas.SpecificProjectMap & DataResolutionOption>, "state"> | undefined;
|
|
107
110
|
/** Custom handler to specify return value and modify composition - e.g. enhance with CMS data */
|
|
108
111
|
callback?: UniformGetStaticProps<TProps> | undefined;
|
package/dist/route/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as next from 'next';
|
|
2
2
|
import { GetServerSidePropsContext, GetServerSidePropsResult, GetServerSideProps, GetStaticPropsContext, GetStaticPropsResult, GetStaticProps } from 'next';
|
|
3
|
-
import { a as UniformPreviewData } from '../models
|
|
3
|
+
import { a as UniformPreviewData } from '../models-IAhm-va2.mjs';
|
|
4
4
|
import * as querystring from 'querystring';
|
|
5
5
|
import { ParsedUrlQuery } from 'querystring';
|
|
6
6
|
import { RouteGetResponseEdgehancedComposition, RouteGetResponseNotFound, RouteGetResponseRedirect, RouteClient, RouteGetParameters, RootComponentInstance } from '@uniformdev/canvas';
|
|
@@ -59,6 +59,7 @@ declare const withUniformGetStaticPaths: (options?: {
|
|
|
59
59
|
requestOptions?: Partial<{
|
|
60
60
|
projectMapId?: string | undefined;
|
|
61
61
|
projectId: string;
|
|
62
|
+
releaseId?: string | undefined;
|
|
62
63
|
id?: string | undefined;
|
|
63
64
|
path?: string | undefined;
|
|
64
65
|
compositionId?: string | undefined;
|
|
@@ -136,6 +137,21 @@ declare const getServerSideProps: next.GetServerSideProps<{
|
|
|
136
137
|
id: string;
|
|
137
138
|
path: string;
|
|
138
139
|
projectMapId: string;
|
|
140
|
+
data?: {
|
|
141
|
+
isSearchHit?: boolean | undefined;
|
|
142
|
+
queryStrings?: {
|
|
143
|
+
name: string;
|
|
144
|
+
value: string;
|
|
145
|
+
helpText?: string | undefined;
|
|
146
|
+
}[] | undefined;
|
|
147
|
+
previewValue?: string | undefined;
|
|
148
|
+
} | undefined;
|
|
149
|
+
locales?: {
|
|
150
|
+
[key: string]: {
|
|
151
|
+
path: string;
|
|
152
|
+
inherited: boolean;
|
|
153
|
+
};
|
|
154
|
+
} | undefined;
|
|
139
155
|
}[] | undefined;
|
|
140
156
|
slots?: {
|
|
141
157
|
[key: string]: {
|
|
@@ -195,6 +211,9 @@ declare const getServerSideProps: next.GetServerSideProps<{
|
|
|
195
211
|
} | undefined;
|
|
196
212
|
};
|
|
197
213
|
} | undefined;
|
|
214
|
+
slots?: {
|
|
215
|
+
[key: string]: any[];
|
|
216
|
+
} | undefined;
|
|
198
217
|
variant?: string | undefined;
|
|
199
218
|
};
|
|
200
219
|
} | undefined;
|
|
@@ -203,6 +222,7 @@ declare const getServerSideProps: next.GetServerSideProps<{
|
|
|
203
222
|
[key: string]: "yes" | "no";
|
|
204
223
|
} | undefined;
|
|
205
224
|
variants?: boolean | undefined;
|
|
225
|
+
hideLockedParameters?: boolean | undefined;
|
|
206
226
|
} | undefined;
|
|
207
227
|
_locales?: string[] | undefined;
|
|
208
228
|
}[];
|
|
@@ -231,6 +251,7 @@ declare const getServerSideProps: next.GetServerSideProps<{
|
|
|
231
251
|
} | undefined;
|
|
232
252
|
};
|
|
233
253
|
} | undefined;
|
|
254
|
+
_patternError?: "NOTFOUND" | "CYCLIC" | undefined;
|
|
234
255
|
_overrides?: {
|
|
235
256
|
[key: string]: {
|
|
236
257
|
parameters?: {
|
|
@@ -246,6 +267,9 @@ declare const getServerSideProps: next.GetServerSideProps<{
|
|
|
246
267
|
} | undefined;
|
|
247
268
|
};
|
|
248
269
|
} | undefined;
|
|
270
|
+
slots?: {
|
|
271
|
+
[key: string]: any[];
|
|
272
|
+
} | undefined;
|
|
249
273
|
variant?: string | undefined;
|
|
250
274
|
};
|
|
251
275
|
} | undefined;
|
|
@@ -254,6 +278,7 @@ declare const getServerSideProps: next.GetServerSideProps<{
|
|
|
254
278
|
[key: string]: "yes" | "no";
|
|
255
279
|
} | undefined;
|
|
256
280
|
variants?: boolean | undefined;
|
|
281
|
+
hideLockedParameters?: boolean | undefined;
|
|
257
282
|
} | undefined;
|
|
258
283
|
_locales?: string[] | undefined;
|
|
259
284
|
};
|
|
@@ -284,6 +309,21 @@ declare const getStaticProps: next.GetStaticProps<{
|
|
|
284
309
|
id: string;
|
|
285
310
|
path: string;
|
|
286
311
|
projectMapId: string;
|
|
312
|
+
data?: {
|
|
313
|
+
isSearchHit?: boolean | undefined;
|
|
314
|
+
queryStrings?: {
|
|
315
|
+
name: string;
|
|
316
|
+
value: string;
|
|
317
|
+
helpText?: string | undefined;
|
|
318
|
+
}[] | undefined;
|
|
319
|
+
previewValue?: string | undefined;
|
|
320
|
+
} | undefined;
|
|
321
|
+
locales?: {
|
|
322
|
+
[key: string]: {
|
|
323
|
+
path: string;
|
|
324
|
+
inherited: boolean;
|
|
325
|
+
};
|
|
326
|
+
} | undefined;
|
|
287
327
|
}[] | undefined;
|
|
288
328
|
slots?: {
|
|
289
329
|
[key: string]: {
|
|
@@ -343,6 +383,9 @@ declare const getStaticProps: next.GetStaticProps<{
|
|
|
343
383
|
} | undefined;
|
|
344
384
|
};
|
|
345
385
|
} | undefined;
|
|
386
|
+
slots?: {
|
|
387
|
+
[key: string]: any[];
|
|
388
|
+
} | undefined;
|
|
346
389
|
variant?: string | undefined;
|
|
347
390
|
};
|
|
348
391
|
} | undefined;
|
|
@@ -351,6 +394,7 @@ declare const getStaticProps: next.GetStaticProps<{
|
|
|
351
394
|
[key: string]: "yes" | "no";
|
|
352
395
|
} | undefined;
|
|
353
396
|
variants?: boolean | undefined;
|
|
397
|
+
hideLockedParameters?: boolean | undefined;
|
|
354
398
|
} | undefined;
|
|
355
399
|
_locales?: string[] | undefined;
|
|
356
400
|
}[];
|
|
@@ -379,6 +423,7 @@ declare const getStaticProps: next.GetStaticProps<{
|
|
|
379
423
|
} | undefined;
|
|
380
424
|
};
|
|
381
425
|
} | undefined;
|
|
426
|
+
_patternError?: "NOTFOUND" | "CYCLIC" | undefined;
|
|
382
427
|
_overrides?: {
|
|
383
428
|
[key: string]: {
|
|
384
429
|
parameters?: {
|
|
@@ -394,6 +439,9 @@ declare const getStaticProps: next.GetStaticProps<{
|
|
|
394
439
|
} | undefined;
|
|
395
440
|
};
|
|
396
441
|
} | undefined;
|
|
442
|
+
slots?: {
|
|
443
|
+
[key: string]: any[];
|
|
444
|
+
} | undefined;
|
|
397
445
|
variant?: string | undefined;
|
|
398
446
|
};
|
|
399
447
|
} | undefined;
|
|
@@ -402,6 +450,7 @@ declare const getStaticProps: next.GetStaticProps<{
|
|
|
402
450
|
[key: string]: "yes" | "no";
|
|
403
451
|
} | undefined;
|
|
404
452
|
variants?: boolean | undefined;
|
|
453
|
+
hideLockedParameters?: boolean | undefined;
|
|
405
454
|
} | undefined;
|
|
406
455
|
_locales?: string[] | undefined;
|
|
407
456
|
};
|
package/dist/route/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as next from 'next';
|
|
2
2
|
import { GetServerSidePropsContext, GetServerSidePropsResult, GetServerSideProps, GetStaticPropsContext, GetStaticPropsResult, GetStaticProps } from 'next';
|
|
3
|
-
import { a as UniformPreviewData } from '../models
|
|
3
|
+
import { a as UniformPreviewData } from '../models-IAhm-va2.js';
|
|
4
4
|
import * as querystring from 'querystring';
|
|
5
5
|
import { ParsedUrlQuery } from 'querystring';
|
|
6
6
|
import { RouteGetResponseEdgehancedComposition, RouteGetResponseNotFound, RouteGetResponseRedirect, RouteClient, RouteGetParameters, RootComponentInstance } from '@uniformdev/canvas';
|
|
@@ -59,6 +59,7 @@ declare const withUniformGetStaticPaths: (options?: {
|
|
|
59
59
|
requestOptions?: Partial<{
|
|
60
60
|
projectMapId?: string | undefined;
|
|
61
61
|
projectId: string;
|
|
62
|
+
releaseId?: string | undefined;
|
|
62
63
|
id?: string | undefined;
|
|
63
64
|
path?: string | undefined;
|
|
64
65
|
compositionId?: string | undefined;
|
|
@@ -136,6 +137,21 @@ declare const getServerSideProps: next.GetServerSideProps<{
|
|
|
136
137
|
id: string;
|
|
137
138
|
path: string;
|
|
138
139
|
projectMapId: string;
|
|
140
|
+
data?: {
|
|
141
|
+
isSearchHit?: boolean | undefined;
|
|
142
|
+
queryStrings?: {
|
|
143
|
+
name: string;
|
|
144
|
+
value: string;
|
|
145
|
+
helpText?: string | undefined;
|
|
146
|
+
}[] | undefined;
|
|
147
|
+
previewValue?: string | undefined;
|
|
148
|
+
} | undefined;
|
|
149
|
+
locales?: {
|
|
150
|
+
[key: string]: {
|
|
151
|
+
path: string;
|
|
152
|
+
inherited: boolean;
|
|
153
|
+
};
|
|
154
|
+
} | undefined;
|
|
139
155
|
}[] | undefined;
|
|
140
156
|
slots?: {
|
|
141
157
|
[key: string]: {
|
|
@@ -195,6 +211,9 @@ declare const getServerSideProps: next.GetServerSideProps<{
|
|
|
195
211
|
} | undefined;
|
|
196
212
|
};
|
|
197
213
|
} | undefined;
|
|
214
|
+
slots?: {
|
|
215
|
+
[key: string]: any[];
|
|
216
|
+
} | undefined;
|
|
198
217
|
variant?: string | undefined;
|
|
199
218
|
};
|
|
200
219
|
} | undefined;
|
|
@@ -203,6 +222,7 @@ declare const getServerSideProps: next.GetServerSideProps<{
|
|
|
203
222
|
[key: string]: "yes" | "no";
|
|
204
223
|
} | undefined;
|
|
205
224
|
variants?: boolean | undefined;
|
|
225
|
+
hideLockedParameters?: boolean | undefined;
|
|
206
226
|
} | undefined;
|
|
207
227
|
_locales?: string[] | undefined;
|
|
208
228
|
}[];
|
|
@@ -231,6 +251,7 @@ declare const getServerSideProps: next.GetServerSideProps<{
|
|
|
231
251
|
} | undefined;
|
|
232
252
|
};
|
|
233
253
|
} | undefined;
|
|
254
|
+
_patternError?: "NOTFOUND" | "CYCLIC" | undefined;
|
|
234
255
|
_overrides?: {
|
|
235
256
|
[key: string]: {
|
|
236
257
|
parameters?: {
|
|
@@ -246,6 +267,9 @@ declare const getServerSideProps: next.GetServerSideProps<{
|
|
|
246
267
|
} | undefined;
|
|
247
268
|
};
|
|
248
269
|
} | undefined;
|
|
270
|
+
slots?: {
|
|
271
|
+
[key: string]: any[];
|
|
272
|
+
} | undefined;
|
|
249
273
|
variant?: string | undefined;
|
|
250
274
|
};
|
|
251
275
|
} | undefined;
|
|
@@ -254,6 +278,7 @@ declare const getServerSideProps: next.GetServerSideProps<{
|
|
|
254
278
|
[key: string]: "yes" | "no";
|
|
255
279
|
} | undefined;
|
|
256
280
|
variants?: boolean | undefined;
|
|
281
|
+
hideLockedParameters?: boolean | undefined;
|
|
257
282
|
} | undefined;
|
|
258
283
|
_locales?: string[] | undefined;
|
|
259
284
|
};
|
|
@@ -284,6 +309,21 @@ declare const getStaticProps: next.GetStaticProps<{
|
|
|
284
309
|
id: string;
|
|
285
310
|
path: string;
|
|
286
311
|
projectMapId: string;
|
|
312
|
+
data?: {
|
|
313
|
+
isSearchHit?: boolean | undefined;
|
|
314
|
+
queryStrings?: {
|
|
315
|
+
name: string;
|
|
316
|
+
value: string;
|
|
317
|
+
helpText?: string | undefined;
|
|
318
|
+
}[] | undefined;
|
|
319
|
+
previewValue?: string | undefined;
|
|
320
|
+
} | undefined;
|
|
321
|
+
locales?: {
|
|
322
|
+
[key: string]: {
|
|
323
|
+
path: string;
|
|
324
|
+
inherited: boolean;
|
|
325
|
+
};
|
|
326
|
+
} | undefined;
|
|
287
327
|
}[] | undefined;
|
|
288
328
|
slots?: {
|
|
289
329
|
[key: string]: {
|
|
@@ -343,6 +383,9 @@ declare const getStaticProps: next.GetStaticProps<{
|
|
|
343
383
|
} | undefined;
|
|
344
384
|
};
|
|
345
385
|
} | undefined;
|
|
386
|
+
slots?: {
|
|
387
|
+
[key: string]: any[];
|
|
388
|
+
} | undefined;
|
|
346
389
|
variant?: string | undefined;
|
|
347
390
|
};
|
|
348
391
|
} | undefined;
|
|
@@ -351,6 +394,7 @@ declare const getStaticProps: next.GetStaticProps<{
|
|
|
351
394
|
[key: string]: "yes" | "no";
|
|
352
395
|
} | undefined;
|
|
353
396
|
variants?: boolean | undefined;
|
|
397
|
+
hideLockedParameters?: boolean | undefined;
|
|
354
398
|
} | undefined;
|
|
355
399
|
_locales?: string[] | undefined;
|
|
356
400
|
}[];
|
|
@@ -379,6 +423,7 @@ declare const getStaticProps: next.GetStaticProps<{
|
|
|
379
423
|
} | undefined;
|
|
380
424
|
};
|
|
381
425
|
} | undefined;
|
|
426
|
+
_patternError?: "NOTFOUND" | "CYCLIC" | undefined;
|
|
382
427
|
_overrides?: {
|
|
383
428
|
[key: string]: {
|
|
384
429
|
parameters?: {
|
|
@@ -394,6 +439,9 @@ declare const getStaticProps: next.GetStaticProps<{
|
|
|
394
439
|
} | undefined;
|
|
395
440
|
};
|
|
396
441
|
} | undefined;
|
|
442
|
+
slots?: {
|
|
443
|
+
[key: string]: any[];
|
|
444
|
+
} | undefined;
|
|
397
445
|
variant?: string | undefined;
|
|
398
446
|
};
|
|
399
447
|
} | undefined;
|
|
@@ -402,6 +450,7 @@ declare const getStaticProps: next.GetStaticProps<{
|
|
|
402
450
|
[key: string]: "yes" | "no";
|
|
403
451
|
} | undefined;
|
|
404
452
|
variants?: boolean | undefined;
|
|
453
|
+
hideLockedParameters?: boolean | undefined;
|
|
405
454
|
} | undefined;
|
|
406
455
|
_locales?: string[] | undefined;
|
|
407
456
|
};
|
package/dist/slug/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as next from 'next';
|
|
2
2
|
import { GetServerSidePropsContext, GetServerSideProps, GetStaticPropsContext, GetStaticProps } from 'next';
|
|
3
|
-
import { a as UniformPreviewData, c as UniformGetServerSideProps, b as UniformGetStaticProps } from '../models
|
|
3
|
+
import { a as UniformPreviewData, c as UniformGetServerSideProps, b as UniformGetStaticProps } from '../models-IAhm-va2.mjs';
|
|
4
4
|
import * as querystring from 'querystring';
|
|
5
5
|
import { ParsedUrlQuery } from 'querystring';
|
|
6
6
|
import * as _uniformdev_canvas from '@uniformdev/canvas';
|
|
@@ -31,6 +31,7 @@ declare const withUniformGetServerSideProps: <TProps extends {
|
|
|
31
31
|
withUIStatus?: boolean | undefined;
|
|
32
32
|
withContentSourceMap?: boolean | undefined;
|
|
33
33
|
locale?: string | undefined;
|
|
34
|
+
releaseId?: string | undefined;
|
|
34
35
|
} & Required<Pick<_uniformdev_canvas.CompositionGetParameters, "slug">> & DataResolutionOption>, "state"> | undefined;
|
|
35
36
|
callback?: UniformGetServerSideProps<TProps> | undefined;
|
|
36
37
|
/** Disables logging of response information and timings */
|
|
@@ -79,6 +80,7 @@ declare const withUniformGetStaticProps: <TProps extends {
|
|
|
79
80
|
withUIStatus?: boolean | undefined;
|
|
80
81
|
withContentSourceMap?: boolean | undefined;
|
|
81
82
|
locale?: string | undefined;
|
|
83
|
+
releaseId?: string | undefined;
|
|
82
84
|
} & Required<Pick<_uniformdev_canvas.CompositionGetParameters, "slug">> & DataResolutionOption>, "state"> | undefined;
|
|
83
85
|
/** Custom handler to specify return value and modify composition - e.g. enhance with CMS data */
|
|
84
86
|
callback?: UniformGetStaticProps<TProps> | undefined;
|
package/dist/slug/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as next from 'next';
|
|
2
2
|
import { GetServerSidePropsContext, GetServerSideProps, GetStaticPropsContext, GetStaticProps } from 'next';
|
|
3
|
-
import { a as UniformPreviewData, c as UniformGetServerSideProps, b as UniformGetStaticProps } from '../models
|
|
3
|
+
import { a as UniformPreviewData, c as UniformGetServerSideProps, b as UniformGetStaticProps } from '../models-IAhm-va2.js';
|
|
4
4
|
import * as querystring from 'querystring';
|
|
5
5
|
import { ParsedUrlQuery } from 'querystring';
|
|
6
6
|
import * as _uniformdev_canvas from '@uniformdev/canvas';
|
|
@@ -31,6 +31,7 @@ declare const withUniformGetServerSideProps: <TProps extends {
|
|
|
31
31
|
withUIStatus?: boolean | undefined;
|
|
32
32
|
withContentSourceMap?: boolean | undefined;
|
|
33
33
|
locale?: string | undefined;
|
|
34
|
+
releaseId?: string | undefined;
|
|
34
35
|
} & Required<Pick<_uniformdev_canvas.CompositionGetParameters, "slug">> & DataResolutionOption>, "state"> | undefined;
|
|
35
36
|
callback?: UniformGetServerSideProps<TProps> | undefined;
|
|
36
37
|
/** Disables logging of response information and timings */
|
|
@@ -79,6 +80,7 @@ declare const withUniformGetStaticProps: <TProps extends {
|
|
|
79
80
|
withUIStatus?: boolean | undefined;
|
|
80
81
|
withContentSourceMap?: boolean | undefined;
|
|
81
82
|
locale?: string | undefined;
|
|
83
|
+
releaseId?: string | undefined;
|
|
82
84
|
} & Required<Pick<_uniformdev_canvas.CompositionGetParameters, "slug">> & DataResolutionOption>, "state"> | undefined;
|
|
83
85
|
/** Custom handler to specify return value and modify composition - e.g. enhance with CMS data */
|
|
84
86
|
callback?: UniformGetStaticProps<TProps> | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/canvas-next",
|
|
3
|
-
"version": "19.79.1-alpha.
|
|
3
|
+
"version": "19.79.1-alpha.25+87cea1cd47",
|
|
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.79.1-alpha.
|
|
71
|
-
"@uniformdev/canvas-react": "19.79.1-alpha.
|
|
72
|
-
"@uniformdev/project-map": "19.79.1-alpha.
|
|
73
|
-
"@uniformdev/redirect": "19.79.1-alpha.
|
|
74
|
-
"@uniformdev/richtext": "19.79.1-alpha.
|
|
70
|
+
"@uniformdev/canvas": "19.79.1-alpha.25+87cea1cd47",
|
|
71
|
+
"@uniformdev/canvas-react": "19.79.1-alpha.25+87cea1cd47",
|
|
72
|
+
"@uniformdev/project-map": "19.79.1-alpha.25+87cea1cd47",
|
|
73
|
+
"@uniformdev/redirect": "19.79.1-alpha.25+87cea1cd47",
|
|
74
|
+
"@uniformdev/richtext": "19.79.1-alpha.25+87cea1cd47",
|
|
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": "
|
|
94
|
+
"gitHead": "87cea1cd47c691f7d32b876660d5f7c984bb1d87"
|
|
95
95
|
}
|
|
File without changes
|
|
File without changes
|