@uniformdev/canvas-next 19.170.1 → 19.173.1-alpha.17

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.
@@ -133,6 +133,34 @@ declare const getServerSideProps: next.GetServerSideProps<{
133
133
  locales?: {
134
134
  [key: string]: unknown;
135
135
  } | undefined;
136
+ conditions?: {
137
+ when: {
138
+ op?: "&" | "|" | undefined;
139
+ clauses: (any | {
140
+ rule: string;
141
+ source?: string | undefined;
142
+ op: string;
143
+ value: string | string[];
144
+ })[];
145
+ };
146
+ value: unknown;
147
+ id: number;
148
+ }[] | undefined;
149
+ localesConditions?: {
150
+ [key: string]: {
151
+ when: {
152
+ op?: "&" | "|" | undefined;
153
+ clauses: (any | {
154
+ rule: string;
155
+ source?: string | undefined;
156
+ op: string;
157
+ value: string | string[];
158
+ })[];
159
+ };
160
+ value: unknown;
161
+ id: number;
162
+ }[];
163
+ } | undefined;
136
164
  };
137
165
  } | undefined;
138
166
  variant?: string | undefined;
@@ -173,6 +201,34 @@ declare const getServerSideProps: next.GetServerSideProps<{
173
201
  locales?: {
174
202
  [key: string]: unknown;
175
203
  } | undefined;
204
+ conditions?: {
205
+ when: {
206
+ op?: "&" | "|" | undefined;
207
+ clauses: (any | {
208
+ rule: string;
209
+ source?: string | undefined;
210
+ op: string;
211
+ value: string | string[];
212
+ })[];
213
+ };
214
+ value: unknown;
215
+ id: number;
216
+ }[] | undefined;
217
+ localesConditions?: {
218
+ [key: string]: {
219
+ when: {
220
+ op?: "&" | "|" | undefined;
221
+ clauses: (any | {
222
+ rule: string;
223
+ source?: string | undefined;
224
+ op: string;
225
+ value: string | string[];
226
+ })[];
227
+ };
228
+ value: unknown;
229
+ id: number;
230
+ }[];
231
+ } | undefined;
176
232
  };
177
233
  } | undefined;
178
234
  variant?: string | undefined;
@@ -220,6 +276,34 @@ declare const getServerSideProps: next.GetServerSideProps<{
220
276
  locales?: {
221
277
  [key: string]: unknown;
222
278
  } | undefined;
279
+ conditions?: {
280
+ when: {
281
+ op?: "&" | "|" | undefined;
282
+ clauses: (any | {
283
+ rule: string;
284
+ source?: string | undefined;
285
+ op: string;
286
+ value: string | string[];
287
+ })[];
288
+ };
289
+ value: unknown;
290
+ id: number;
291
+ }[] | undefined;
292
+ localesConditions?: {
293
+ [key: string]: {
294
+ when: {
295
+ op?: "&" | "|" | undefined;
296
+ clauses: (any | {
297
+ rule: string;
298
+ source?: string | undefined;
299
+ op: string;
300
+ value: string | string[];
301
+ })[];
302
+ };
303
+ value: unknown;
304
+ id: number;
305
+ }[];
306
+ } | undefined;
223
307
  };
224
308
  } | undefined;
225
309
  slots?: {
@@ -285,6 +369,34 @@ declare const getServerSideProps: next.GetServerSideProps<{
285
369
  locales?: {
286
370
  [key: string]: unknown;
287
371
  } | undefined;
372
+ conditions?: {
373
+ when: {
374
+ op?: "&" | "|" | undefined;
375
+ clauses: (any | {
376
+ rule: string;
377
+ source?: string | undefined;
378
+ op: string;
379
+ value: string | string[];
380
+ })[];
381
+ };
382
+ value: unknown;
383
+ id: number;
384
+ }[] | undefined;
385
+ localesConditions?: {
386
+ [key: string]: {
387
+ when: {
388
+ op?: "&" | "|" | undefined;
389
+ clauses: (any | {
390
+ rule: string;
391
+ source?: string | undefined;
392
+ op: string;
393
+ value: string | string[];
394
+ })[];
395
+ };
396
+ value: unknown;
397
+ id: number;
398
+ }[];
399
+ } | undefined;
288
400
  };
289
401
  } | undefined;
290
402
  slots?: {
@@ -325,6 +437,34 @@ declare const getStaticProps: next.GetStaticProps<{
325
437
  locales?: {
326
438
  [key: string]: unknown;
327
439
  } | undefined;
440
+ conditions?: {
441
+ when: {
442
+ op?: "&" | "|" | undefined;
443
+ clauses: (any | {
444
+ rule: string;
445
+ source?: string | undefined;
446
+ op: string;
447
+ value: string | string[];
448
+ })[];
449
+ };
450
+ value: unknown;
451
+ id: number;
452
+ }[] | undefined;
453
+ localesConditions?: {
454
+ [key: string]: {
455
+ when: {
456
+ op?: "&" | "|" | undefined;
457
+ clauses: (any | {
458
+ rule: string;
459
+ source?: string | undefined;
460
+ op: string;
461
+ value: string | string[];
462
+ })[];
463
+ };
464
+ value: unknown;
465
+ id: number;
466
+ }[];
467
+ } | undefined;
328
468
  };
329
469
  } | undefined;
330
470
  variant?: string | undefined;
@@ -365,6 +505,34 @@ declare const getStaticProps: next.GetStaticProps<{
365
505
  locales?: {
366
506
  [key: string]: unknown;
367
507
  } | undefined;
508
+ conditions?: {
509
+ when: {
510
+ op?: "&" | "|" | undefined;
511
+ clauses: (any | {
512
+ rule: string;
513
+ source?: string | undefined;
514
+ op: string;
515
+ value: string | string[];
516
+ })[];
517
+ };
518
+ value: unknown;
519
+ id: number;
520
+ }[] | undefined;
521
+ localesConditions?: {
522
+ [key: string]: {
523
+ when: {
524
+ op?: "&" | "|" | undefined;
525
+ clauses: (any | {
526
+ rule: string;
527
+ source?: string | undefined;
528
+ op: string;
529
+ value: string | string[];
530
+ })[];
531
+ };
532
+ value: unknown;
533
+ id: number;
534
+ }[];
535
+ } | undefined;
368
536
  };
369
537
  } | undefined;
370
538
  variant?: string | undefined;
@@ -412,6 +580,34 @@ declare const getStaticProps: next.GetStaticProps<{
412
580
  locales?: {
413
581
  [key: string]: unknown;
414
582
  } | undefined;
583
+ conditions?: {
584
+ when: {
585
+ op?: "&" | "|" | undefined;
586
+ clauses: (any | {
587
+ rule: string;
588
+ source?: string | undefined;
589
+ op: string;
590
+ value: string | string[];
591
+ })[];
592
+ };
593
+ value: unknown;
594
+ id: number;
595
+ }[] | undefined;
596
+ localesConditions?: {
597
+ [key: string]: {
598
+ when: {
599
+ op?: "&" | "|" | undefined;
600
+ clauses: (any | {
601
+ rule: string;
602
+ source?: string | undefined;
603
+ op: string;
604
+ value: string | string[];
605
+ })[];
606
+ };
607
+ value: unknown;
608
+ id: number;
609
+ }[];
610
+ } | undefined;
415
611
  };
416
612
  } | undefined;
417
613
  slots?: {
@@ -477,6 +673,34 @@ declare const getStaticProps: next.GetStaticProps<{
477
673
  locales?: {
478
674
  [key: string]: unknown;
479
675
  } | undefined;
676
+ conditions?: {
677
+ when: {
678
+ op?: "&" | "|" | undefined;
679
+ clauses: (any | {
680
+ rule: string;
681
+ source?: string | undefined;
682
+ op: string;
683
+ value: string | string[];
684
+ })[];
685
+ };
686
+ value: unknown;
687
+ id: number;
688
+ }[] | undefined;
689
+ localesConditions?: {
690
+ [key: string]: {
691
+ when: {
692
+ op?: "&" | "|" | undefined;
693
+ clauses: (any | {
694
+ rule: string;
695
+ source?: string | undefined;
696
+ op: string;
697
+ value: string | string[];
698
+ })[];
699
+ };
700
+ value: unknown;
701
+ id: number;
702
+ }[];
703
+ } | undefined;
480
704
  };
481
705
  } | undefined;
482
706
  slots?: {
@@ -133,6 +133,34 @@ declare const getServerSideProps: next.GetServerSideProps<{
133
133
  locales?: {
134
134
  [key: string]: unknown;
135
135
  } | undefined;
136
+ conditions?: {
137
+ when: {
138
+ op?: "&" | "|" | undefined;
139
+ clauses: (any | {
140
+ rule: string;
141
+ source?: string | undefined;
142
+ op: string;
143
+ value: string | string[];
144
+ })[];
145
+ };
146
+ value: unknown;
147
+ id: number;
148
+ }[] | undefined;
149
+ localesConditions?: {
150
+ [key: string]: {
151
+ when: {
152
+ op?: "&" | "|" | undefined;
153
+ clauses: (any | {
154
+ rule: string;
155
+ source?: string | undefined;
156
+ op: string;
157
+ value: string | string[];
158
+ })[];
159
+ };
160
+ value: unknown;
161
+ id: number;
162
+ }[];
163
+ } | undefined;
136
164
  };
137
165
  } | undefined;
138
166
  variant?: string | undefined;
@@ -173,6 +201,34 @@ declare const getServerSideProps: next.GetServerSideProps<{
173
201
  locales?: {
174
202
  [key: string]: unknown;
175
203
  } | undefined;
204
+ conditions?: {
205
+ when: {
206
+ op?: "&" | "|" | undefined;
207
+ clauses: (any | {
208
+ rule: string;
209
+ source?: string | undefined;
210
+ op: string;
211
+ value: string | string[];
212
+ })[];
213
+ };
214
+ value: unknown;
215
+ id: number;
216
+ }[] | undefined;
217
+ localesConditions?: {
218
+ [key: string]: {
219
+ when: {
220
+ op?: "&" | "|" | undefined;
221
+ clauses: (any | {
222
+ rule: string;
223
+ source?: string | undefined;
224
+ op: string;
225
+ value: string | string[];
226
+ })[];
227
+ };
228
+ value: unknown;
229
+ id: number;
230
+ }[];
231
+ } | undefined;
176
232
  };
177
233
  } | undefined;
178
234
  variant?: string | undefined;
@@ -220,6 +276,34 @@ declare const getServerSideProps: next.GetServerSideProps<{
220
276
  locales?: {
221
277
  [key: string]: unknown;
222
278
  } | undefined;
279
+ conditions?: {
280
+ when: {
281
+ op?: "&" | "|" | undefined;
282
+ clauses: (any | {
283
+ rule: string;
284
+ source?: string | undefined;
285
+ op: string;
286
+ value: string | string[];
287
+ })[];
288
+ };
289
+ value: unknown;
290
+ id: number;
291
+ }[] | undefined;
292
+ localesConditions?: {
293
+ [key: string]: {
294
+ when: {
295
+ op?: "&" | "|" | undefined;
296
+ clauses: (any | {
297
+ rule: string;
298
+ source?: string | undefined;
299
+ op: string;
300
+ value: string | string[];
301
+ })[];
302
+ };
303
+ value: unknown;
304
+ id: number;
305
+ }[];
306
+ } | undefined;
223
307
  };
224
308
  } | undefined;
225
309
  slots?: {
@@ -285,6 +369,34 @@ declare const getServerSideProps: next.GetServerSideProps<{
285
369
  locales?: {
286
370
  [key: string]: unknown;
287
371
  } | undefined;
372
+ conditions?: {
373
+ when: {
374
+ op?: "&" | "|" | undefined;
375
+ clauses: (any | {
376
+ rule: string;
377
+ source?: string | undefined;
378
+ op: string;
379
+ value: string | string[];
380
+ })[];
381
+ };
382
+ value: unknown;
383
+ id: number;
384
+ }[] | undefined;
385
+ localesConditions?: {
386
+ [key: string]: {
387
+ when: {
388
+ op?: "&" | "|" | undefined;
389
+ clauses: (any | {
390
+ rule: string;
391
+ source?: string | undefined;
392
+ op: string;
393
+ value: string | string[];
394
+ })[];
395
+ };
396
+ value: unknown;
397
+ id: number;
398
+ }[];
399
+ } | undefined;
288
400
  };
289
401
  } | undefined;
290
402
  slots?: {
@@ -325,6 +437,34 @@ declare const getStaticProps: next.GetStaticProps<{
325
437
  locales?: {
326
438
  [key: string]: unknown;
327
439
  } | undefined;
440
+ conditions?: {
441
+ when: {
442
+ op?: "&" | "|" | undefined;
443
+ clauses: (any | {
444
+ rule: string;
445
+ source?: string | undefined;
446
+ op: string;
447
+ value: string | string[];
448
+ })[];
449
+ };
450
+ value: unknown;
451
+ id: number;
452
+ }[] | undefined;
453
+ localesConditions?: {
454
+ [key: string]: {
455
+ when: {
456
+ op?: "&" | "|" | undefined;
457
+ clauses: (any | {
458
+ rule: string;
459
+ source?: string | undefined;
460
+ op: string;
461
+ value: string | string[];
462
+ })[];
463
+ };
464
+ value: unknown;
465
+ id: number;
466
+ }[];
467
+ } | undefined;
328
468
  };
329
469
  } | undefined;
330
470
  variant?: string | undefined;
@@ -365,6 +505,34 @@ declare const getStaticProps: next.GetStaticProps<{
365
505
  locales?: {
366
506
  [key: string]: unknown;
367
507
  } | undefined;
508
+ conditions?: {
509
+ when: {
510
+ op?: "&" | "|" | undefined;
511
+ clauses: (any | {
512
+ rule: string;
513
+ source?: string | undefined;
514
+ op: string;
515
+ value: string | string[];
516
+ })[];
517
+ };
518
+ value: unknown;
519
+ id: number;
520
+ }[] | undefined;
521
+ localesConditions?: {
522
+ [key: string]: {
523
+ when: {
524
+ op?: "&" | "|" | undefined;
525
+ clauses: (any | {
526
+ rule: string;
527
+ source?: string | undefined;
528
+ op: string;
529
+ value: string | string[];
530
+ })[];
531
+ };
532
+ value: unknown;
533
+ id: number;
534
+ }[];
535
+ } | undefined;
368
536
  };
369
537
  } | undefined;
370
538
  variant?: string | undefined;
@@ -412,6 +580,34 @@ declare const getStaticProps: next.GetStaticProps<{
412
580
  locales?: {
413
581
  [key: string]: unknown;
414
582
  } | undefined;
583
+ conditions?: {
584
+ when: {
585
+ op?: "&" | "|" | undefined;
586
+ clauses: (any | {
587
+ rule: string;
588
+ source?: string | undefined;
589
+ op: string;
590
+ value: string | string[];
591
+ })[];
592
+ };
593
+ value: unknown;
594
+ id: number;
595
+ }[] | undefined;
596
+ localesConditions?: {
597
+ [key: string]: {
598
+ when: {
599
+ op?: "&" | "|" | undefined;
600
+ clauses: (any | {
601
+ rule: string;
602
+ source?: string | undefined;
603
+ op: string;
604
+ value: string | string[];
605
+ })[];
606
+ };
607
+ value: unknown;
608
+ id: number;
609
+ }[];
610
+ } | undefined;
415
611
  };
416
612
  } | undefined;
417
613
  slots?: {
@@ -477,6 +673,34 @@ declare const getStaticProps: next.GetStaticProps<{
477
673
  locales?: {
478
674
  [key: string]: unknown;
479
675
  } | undefined;
676
+ conditions?: {
677
+ when: {
678
+ op?: "&" | "|" | undefined;
679
+ clauses: (any | {
680
+ rule: string;
681
+ source?: string | undefined;
682
+ op: string;
683
+ value: string | string[];
684
+ })[];
685
+ };
686
+ value: unknown;
687
+ id: number;
688
+ }[] | undefined;
689
+ localesConditions?: {
690
+ [key: string]: {
691
+ when: {
692
+ op?: "&" | "|" | undefined;
693
+ clauses: (any | {
694
+ rule: string;
695
+ source?: string | undefined;
696
+ op: string;
697
+ value: string | string[];
698
+ })[];
699
+ };
700
+ value: unknown;
701
+ id: number;
702
+ }[];
703
+ } | undefined;
480
704
  };
481
705
  } | undefined;
482
706
  slots?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/canvas-next",
3
- "version": "19.170.1",
3
+ "version": "19.173.1-alpha.17+25c1176cea",
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.170.1",
71
- "@uniformdev/canvas-react": "19.170.1",
72
- "@uniformdev/project-map": "19.170.1",
73
- "@uniformdev/redirect": "19.170.1",
74
- "@uniformdev/richtext": "19.170.1",
70
+ "@uniformdev/canvas": "19.173.1-alpha.17+25c1176cea",
71
+ "@uniformdev/canvas-react": "19.173.1-alpha.17+25c1176cea",
72
+ "@uniformdev/project-map": "19.173.1-alpha.17+25c1176cea",
73
+ "@uniformdev/redirect": "19.173.1-alpha.17+25c1176cea",
74
+ "@uniformdev/richtext": "19.173.1-alpha.17+25c1176cea",
75
75
  "colorette": "2.0.20"
76
76
  },
77
77
  "peerDependencies": {
@@ -81,7 +81,7 @@
81
81
  },
82
82
  "devDependencies": {
83
83
  "@types/react": "18.2.40",
84
- "next": "13.4.12",
84
+ "next": "14.2.5",
85
85
  "react": "18.2.0",
86
86
  "react-dom": "18.2.0"
87
87
  },
@@ -91,5 +91,5 @@
91
91
  "publishConfig": {
92
92
  "access": "public"
93
93
  },
94
- "gitHead": "702c0e149e1470e21ac9a61526c7f2ab668abd84"
94
+ "gitHead": "25c1176cea8d5114b92fc75cdd8bba4aa6463a50"
95
95
  }