@rokt/dcui-orchestrator 0.0.2-rc.7 → 0.0.3-rc.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.
Files changed (55) hide show
  1. package/dist/index.cjs +23 -23
  2. package/dist/index.js +24 -24
  3. package/dist/libraries/domain/src/behaviors/offer-engagement.d.ts +9 -0
  4. package/dist/libraries/domain/src/models/layout/index.d.ts +1 -0
  5. package/dist/libraries/domain/src/models/layout/layout-conversion-type.d.ts +4 -0
  6. package/dist/libraries/domain/src/models/layout/layout-creative-response-option.d.ts +3 -0
  7. package/dist/libraries/domain/src/models/plugin/plugin-creative-response-option.d.ts +10 -0
  8. package/dist/libraries/domain/src/models/signals.d.ts +7 -1
  9. package/dist/libraries/layout-renderer-utils/src/actions/custom-states.d.ts +1 -0
  10. package/dist/libraries/orchestrator/src/actions/domain-states.d.ts +1 -0
  11. package/dist/libraries/orchestrator/src/actions/offer-lifecycle.d.ts +1 -0
  12. package/dist/libraries/plugin-utils/src/translate-config.d.ts +5 -1
  13. package/dist/libraries/saga-utils/src/utils/index.d.ts +0 -1
  14. package/dist/modules/standard-marketing/src/sagas/offer-engagement/sagas.d.ts +13 -2
  15. package/node_modules/@rokt/dcui-layout-schema/dist/schema.d.ts +115 -11
  16. package/node_modules/@rokt/dcui-layout-schema/dist/tsconfig.tsbuildinfo +1 -1
  17. package/node_modules/@rokt/dcui-layout-schema/package.json +1 -1
  18. package/node_modules/@rokt/dcui-layout-schema/v0.1/index.d.ts +24 -24
  19. package/node_modules/@rokt/dcui-layout-schema/v0.10/index.d.ts +24 -24
  20. package/node_modules/@rokt/dcui-layout-schema/v0.11/index.d.ts +26 -26
  21. package/node_modules/@rokt/dcui-layout-schema/v0.12/index.d.ts +26 -26
  22. package/node_modules/@rokt/dcui-layout-schema/v0.13/index.d.ts +24 -24
  23. package/node_modules/@rokt/dcui-layout-schema/v0.14/index.d.ts +24 -24
  24. package/node_modules/@rokt/dcui-layout-schema/v0.15/index.d.ts +24 -24
  25. package/node_modules/@rokt/dcui-layout-schema/v0.16/index.d.ts +24 -24
  26. package/node_modules/@rokt/dcui-layout-schema/v0.17/index.d.ts +24 -24
  27. package/node_modules/@rokt/dcui-layout-schema/v0.18/index.d.ts +26 -26
  28. package/node_modules/@rokt/dcui-layout-schema/v0.19/index.d.ts +26 -26
  29. package/node_modules/@rokt/dcui-layout-schema/v0.2/index.d.ts +24 -24
  30. package/node_modules/@rokt/dcui-layout-schema/v0.20/index.d.ts +28 -28
  31. package/node_modules/@rokt/dcui-layout-schema/v0.21/index.d.ts +28 -28
  32. package/node_modules/@rokt/dcui-layout-schema/v0.22/index.d.ts +30 -30
  33. package/node_modules/@rokt/dcui-layout-schema/v0.23/index.d.ts +30 -30
  34. package/node_modules/@rokt/dcui-layout-schema/v0.3/index.d.ts +24 -24
  35. package/node_modules/@rokt/dcui-layout-schema/v0.4/index.d.ts +24 -24
  36. package/node_modules/@rokt/dcui-layout-schema/v0.5/index.d.ts +24 -24
  37. package/node_modules/@rokt/dcui-layout-schema/v0.6/index.d.ts +24 -24
  38. package/node_modules/@rokt/dcui-layout-schema/v0.7/index.d.ts +24 -24
  39. package/node_modules/@rokt/dcui-layout-schema/v0.8/index.d.ts +24 -24
  40. package/node_modules/@rokt/dcui-layout-schema/v0.9/index.d.ts +24 -24
  41. package/node_modules/@rokt/dcui-layout-schema/v1.0/index.d.ts +8 -8
  42. package/node_modules/@rokt/dcui-layout-schema/v1.1/index.d.ts +8 -8
  43. package/node_modules/@rokt/dcui-layout-schema/v1.2/index.d.ts +8 -8
  44. package/node_modules/@rokt/dcui-layout-schema/v1.3/index.d.ts +8 -8
  45. package/node_modules/@rokt/dcui-layout-schema/v1.4/index.d.ts +11 -11
  46. package/node_modules/@rokt/dcui-layout-schema/v1.5/index.d.ts +11 -11
  47. package/node_modules/@rokt/dcui-layout-schema/v1.6/index.d.ts +11 -11
  48. package/node_modules/@rokt/kit/cjs/reactive/first-value-from.js +9 -1
  49. package/node_modules/@rokt/kit/package.json +2 -2
  50. package/node_modules/@rokt/kit/reactive/first-value-from.js +9 -1
  51. package/node_modules/@rokt/plugin/interface/child-plugin-factory.d.ts +1 -0
  52. package/node_modules/@rokt/plugin/interface/rdn.d.ts +1 -0
  53. package/node_modules/@rokt/plugin/package.json +1 -1
  54. package/package.json +3 -3
  55. package/dist/libraries/saga-utils/src/utils/is-realtime-fulfillment-referral.d.ts +0 -4
@@ -17,12 +17,12 @@ export interface BackgroundStylingProperties {
17
17
  backgroundColor?: null | ThemeColor;
18
18
  backgroundImage?: null | BackgroundImage;
19
19
  }
20
- export interface BasicStateStylingBlock<T> {
21
- default: T;
22
- pressed?: null | T;
23
- hovered?: null | T;
24
- focussed?: null | T;
25
- disabled?: null | T;
20
+ export interface BasicStateStylingBlock<StyleProperties> {
21
+ default: StyleProperties;
22
+ pressed?: null | StyleProperties;
23
+ hovered?: null | StyleProperties;
24
+ focussed?: null | StyleProperties;
25
+ disabled?: null | StyleProperties;
26
26
  }
27
27
  export type DimensionWidthValue = {
28
28
  type: "fixed";
@@ -93,8 +93,8 @@ export interface BasicTextStyle {
93
93
  export interface BasicTextElements {
94
94
  own: BasicStateStylingBlock<BasicTextStyle>[];
95
95
  }
96
- export interface LayoutStyle<T> {
97
- elements: T;
96
+ export interface LayoutStyle<Elements> {
97
+ elements: Elements;
98
98
  }
99
99
  export interface BasicTextModel {
100
100
  styles?: null | LayoutStyle<BasicTextElements>;
@@ -112,8 +112,8 @@ export interface BreakpointPredicate {
112
112
  condition: OrderableWhenCondition;
113
113
  value: string;
114
114
  }
115
- export interface StatelessStylingBlock<T> {
116
- default: T;
115
+ export interface StatelessStylingBlock<StyleProperties> {
116
+ default: StyleProperties;
117
117
  }
118
118
  export type FlexPosition = "center" | "flex-start" | "flex-end";
119
119
  export interface Shadow {
@@ -168,9 +168,9 @@ export interface CloseButtonStyles {
168
168
  export interface CloseButtonElements {
169
169
  own: BasicStateStylingBlock<CloseButtonStyles>[];
170
170
  }
171
- export interface CloseButtonModel<T> {
171
+ export interface CloseButtonModel<Children> {
172
172
  styles?: null | LayoutStyle<CloseButtonElements>;
173
- children: T[];
173
+ children: Children[];
174
174
  }
175
175
  export interface ColumnStyle {
176
176
  container?: null | ContainerStylingProperties;
@@ -183,9 +183,9 @@ export interface ColumnStyle {
183
183
  export interface ColumnElements {
184
184
  own: BasicStateStylingBlock<ColumnStyle>[];
185
185
  }
186
- export interface ColumnModel<T> {
186
+ export interface ColumnModel<Children> {
187
187
  styles?: null | LayoutStyle<ColumnElements>;
188
- children: T[];
188
+ children: Children[];
189
189
  }
190
190
  export type ExistenceWhenCondition = "exists" | "not-exists";
191
191
  export interface CreativeCopyPredicate {
@@ -204,11 +204,11 @@ export interface CreativeResponseElements {
204
204
  own: BasicStateStylingBlock<CreativeResponseStyles>[];
205
205
  }
206
206
  export type LinkOpenTarget = "internally" | "externally";
207
- export interface CreativeResponseModel<T> {
207
+ export interface CreativeResponseModel<Children> {
208
208
  responseKey: string;
209
209
  styles?: null | LayoutStyle<CreativeResponseElements>;
210
210
  openLinks?: null | LinkOpenTarget;
211
- children: T[];
211
+ children: Children[];
212
212
  }
213
213
  export type EqualityWhenCondition = "is" | "is-not";
214
214
  export interface DarkModePredicate {
@@ -327,10 +327,10 @@ export interface OverlayElements {
327
327
  export interface OverlaySettings {
328
328
  allowBackdropToClose: boolean;
329
329
  }
330
- export interface OverlayModel<T> {
330
+ export interface OverlayModel<Children> {
331
331
  settings: OverlaySettings;
332
332
  styles?: null | LayoutStyle<OverlayElements>;
333
- children: T[];
333
+ children: Children[];
334
334
  }
335
335
  export interface PositionPredicate {
336
336
  condition: OrderableWhenCondition;
@@ -411,9 +411,9 @@ export interface RowStyle {
411
411
  export interface RowElements {
412
412
  own: BasicStateStylingBlock<RowStyle>[];
413
413
  }
414
- export interface RowModel<T> {
414
+ export interface RowModel<Children> {
415
415
  styles?: null | LayoutStyle<RowElements>;
416
- children: T[];
416
+ children: Children[];
417
417
  }
418
418
  export interface StackedDistributionStyles {
419
419
  container?: null | ContainerStylingProperties;
@@ -475,11 +475,11 @@ export interface StaticLinkStyles {
475
475
  export interface StaticLinkElements {
476
476
  own: BasicStateStylingBlock<StaticLinkStyles>[];
477
477
  }
478
- export interface StaticLinkModel<T> {
478
+ export interface StaticLinkModel<Children> {
479
479
  src: string;
480
480
  open: LinkOpenTarget;
481
481
  styles?: null | LayoutStyle<StaticLinkElements>;
482
- children: T[];
482
+ children: Children[];
483
483
  }
484
484
  export type WhenPredicate = {
485
485
  type: "Breakpoint";
@@ -497,9 +497,9 @@ export type WhenPredicate = {
497
497
  type: "CreativeCopy";
498
498
  predicate: CreativeCopyPredicate;
499
499
  };
500
- export interface WhenModel<T> {
500
+ export interface WhenModel<Children> {
501
501
  predicates: WhenPredicate[];
502
- children: T[];
502
+ children: Children[];
503
503
  }
504
504
  export type CloseButtonChildren = {
505
505
  type: "Row";
@@ -17,12 +17,12 @@ export interface BackgroundStylingProperties {
17
17
  backgroundColor?: null | ThemeColor;
18
18
  backgroundImage?: null | BackgroundImage;
19
19
  }
20
- export interface BasicStateStylingBlock<T> {
21
- default: T;
22
- pressed?: null | T;
23
- hovered?: null | T;
24
- focussed?: null | T;
25
- disabled?: null | T;
20
+ export interface BasicStateStylingBlock<StyleProperties> {
21
+ default: StyleProperties;
22
+ pressed?: null | StyleProperties;
23
+ hovered?: null | StyleProperties;
24
+ focussed?: null | StyleProperties;
25
+ disabled?: null | StyleProperties;
26
26
  }
27
27
  export type DimensionWidthValue = {
28
28
  type: "fixed";
@@ -93,8 +93,8 @@ export interface BasicTextStyle {
93
93
  export interface BasicTextElements {
94
94
  own: BasicStateStylingBlock<BasicTextStyle>[];
95
95
  }
96
- export interface LayoutStyle<T> {
97
- elements: T;
96
+ export interface LayoutStyle<Elements> {
97
+ elements: Elements;
98
98
  }
99
99
  export interface BasicTextModel {
100
100
  styles?: null | LayoutStyle<BasicTextElements>;
@@ -112,8 +112,8 @@ export interface BreakpointPredicate {
112
112
  condition: OrderableWhenCondition;
113
113
  value: string;
114
114
  }
115
- export interface StatelessStylingBlock<T> {
116
- default: T;
115
+ export interface StatelessStylingBlock<StyleProperties> {
116
+ default: StyleProperties;
117
117
  }
118
118
  export type FlexPosition = "center" | "flex-start" | "flex-end";
119
119
  export interface Shadow {
@@ -168,9 +168,9 @@ export interface CloseButtonStyles {
168
168
  export interface CloseButtonElements {
169
169
  own: BasicStateStylingBlock<CloseButtonStyles>[];
170
170
  }
171
- export interface CloseButtonModel<T> {
171
+ export interface CloseButtonModel<Children> {
172
172
  styles?: null | LayoutStyle<CloseButtonElements>;
173
- children: T[];
173
+ children: Children[];
174
174
  }
175
175
  export interface ColumnStyle {
176
176
  container?: null | ContainerStylingProperties;
@@ -183,9 +183,9 @@ export interface ColumnStyle {
183
183
  export interface ColumnElements {
184
184
  own: BasicStateStylingBlock<ColumnStyle>[];
185
185
  }
186
- export interface ColumnModel<T> {
186
+ export interface ColumnModel<Children> {
187
187
  styles?: null | LayoutStyle<ColumnElements>;
188
- children: T[];
188
+ children: Children[];
189
189
  }
190
190
  export type ExistenceWhenCondition = "exists" | "not-exists";
191
191
  export interface CreativeCopyPredicate {
@@ -204,11 +204,11 @@ export interface CreativeResponseElements {
204
204
  own: BasicStateStylingBlock<CreativeResponseStyles>[];
205
205
  }
206
206
  export type LinkOpenTarget = "internally" | "externally";
207
- export interface CreativeResponseModel<T> {
207
+ export interface CreativeResponseModel<Children> {
208
208
  responseKey: string;
209
209
  styles?: null | LayoutStyle<CreativeResponseElements>;
210
210
  openLinks?: null | LinkOpenTarget;
211
- children: T[];
211
+ children: Children[];
212
212
  }
213
213
  export type EqualityWhenCondition = "is" | "is-not";
214
214
  export interface DarkModePredicate {
@@ -329,10 +329,10 @@ export interface OverlayElements {
329
329
  export interface OverlaySettings {
330
330
  allowBackdropToClose: boolean;
331
331
  }
332
- export interface OverlayModel<T> {
332
+ export interface OverlayModel<Children> {
333
333
  settings: OverlaySettings;
334
334
  styles?: null | LayoutStyle<OverlayElements>;
335
- children: T[];
335
+ children: Children[];
336
336
  }
337
337
  export interface PositionPredicate {
338
338
  condition: OrderableWhenCondition;
@@ -414,9 +414,9 @@ export interface RowStyle {
414
414
  export interface RowElements {
415
415
  own: BasicStateStylingBlock<RowStyle>[];
416
416
  }
417
- export interface RowModel<T> {
417
+ export interface RowModel<Children> {
418
418
  styles?: null | LayoutStyle<RowElements>;
419
- children: T[];
419
+ children: Children[];
420
420
  }
421
421
  export interface StackedDistributionStyles {
422
422
  container?: null | ContainerStylingProperties;
@@ -479,11 +479,11 @@ export interface StaticLinkStyles {
479
479
  export interface StaticLinkElements {
480
480
  own: BasicStateStylingBlock<StaticLinkStyles>[];
481
481
  }
482
- export interface StaticLinkModel<T> {
482
+ export interface StaticLinkModel<Children> {
483
483
  src: string;
484
484
  open: LinkOpenTarget;
485
485
  styles?: null | LayoutStyle<StaticLinkElements>;
486
- children: T[];
486
+ children: Children[];
487
487
  }
488
488
  export type WhenPredicate = {
489
489
  type: "Breakpoint";
@@ -501,9 +501,9 @@ export type WhenPredicate = {
501
501
  type: "CreativeCopy";
502
502
  predicate: CreativeCopyPredicate;
503
503
  };
504
- export interface WhenModel<T> {
504
+ export interface WhenModel<Children> {
505
505
  predicates: WhenPredicate[];
506
- children: T[];
506
+ children: Children[];
507
507
  }
508
508
  export type CloseButtonChildren = {
509
509
  type: "Row";
@@ -17,12 +17,12 @@ export interface BackgroundStylingProperties {
17
17
  backgroundColor?: null | ThemeColor;
18
18
  backgroundImage?: null | BackgroundImage;
19
19
  }
20
- export interface BasicStateStylingBlock<T> {
21
- default: T;
22
- pressed?: null | T;
23
- hovered?: null | T;
24
- focussed?: null | T;
25
- disabled?: null | T;
20
+ export interface BasicStateStylingBlock<StyleProperties> {
21
+ default: StyleProperties;
22
+ pressed?: null | StyleProperties;
23
+ hovered?: null | StyleProperties;
24
+ focussed?: null | StyleProperties;
25
+ disabled?: null | StyleProperties;
26
26
  }
27
27
  export type DimensionWidthValue = {
28
28
  type: "fixed";
@@ -93,8 +93,8 @@ export interface BasicTextStyle {
93
93
  export interface BasicTextElements {
94
94
  own: BasicStateStylingBlock<BasicTextStyle>[];
95
95
  }
96
- export interface LayoutStyle<T> {
97
- elements: T;
96
+ export interface LayoutStyle<Elements> {
97
+ elements: Elements;
98
98
  }
99
99
  export interface BasicTextModel {
100
100
  styles?: null | LayoutStyle<BasicTextElements>;
@@ -112,8 +112,8 @@ export interface BreakpointPredicate {
112
112
  condition: OrderableWhenCondition;
113
113
  value: string;
114
114
  }
115
- export interface StatelessStylingBlock<T> {
116
- default: T;
115
+ export interface StatelessStylingBlock<StyleProperties> {
116
+ default: StyleProperties;
117
117
  }
118
118
  export type FlexPosition = "center" | "flex-start" | "flex-end";
119
119
  export interface Shadow {
@@ -168,9 +168,9 @@ export interface CloseButtonStyles {
168
168
  export interface CloseButtonElements {
169
169
  own: BasicStateStylingBlock<CloseButtonStyles>[];
170
170
  }
171
- export interface CloseButtonModel<T> {
171
+ export interface CloseButtonModel<Children> {
172
172
  styles?: null | LayoutStyle<CloseButtonElements>;
173
- children: T[];
173
+ children: Children[];
174
174
  }
175
175
  export interface ColumnStyle {
176
176
  container?: null | ContainerStylingProperties;
@@ -183,9 +183,9 @@ export interface ColumnStyle {
183
183
  export interface ColumnElements {
184
184
  own: BasicStateStylingBlock<ColumnStyle>[];
185
185
  }
186
- export interface ColumnModel<T> {
186
+ export interface ColumnModel<Children> {
187
187
  styles?: null | LayoutStyle<ColumnElements>;
188
- children: T[];
188
+ children: Children[];
189
189
  }
190
190
  export type ExistenceWhenCondition = "exists" | "not-exists";
191
191
  export interface CreativeCopyPredicate {
@@ -204,11 +204,11 @@ export interface CreativeResponseElements {
204
204
  own: BasicStateStylingBlock<CreativeResponseStyles>[];
205
205
  }
206
206
  export type LinkOpenTarget = "internally" | "externally";
207
- export interface CreativeResponseModel<T> {
207
+ export interface CreativeResponseModel<Children> {
208
208
  responseKey: string;
209
209
  styles?: null | LayoutStyle<CreativeResponseElements>;
210
210
  openLinks?: null | LinkOpenTarget;
211
- children: T[];
211
+ children: Children[];
212
212
  }
213
213
  export type EqualityWhenCondition = "is" | "is-not";
214
214
  export interface DarkModePredicate {
@@ -329,10 +329,10 @@ export interface OverlayElements {
329
329
  export interface OverlaySettings {
330
330
  allowBackdropToClose: boolean;
331
331
  }
332
- export interface OverlayModel<T> {
332
+ export interface OverlayModel<Children> {
333
333
  settings: OverlaySettings;
334
334
  styles?: null | LayoutStyle<OverlayElements>;
335
- children: T[];
335
+ children: Children[];
336
336
  }
337
337
  export interface PositionPredicate {
338
338
  condition: OrderableWhenCondition;
@@ -414,9 +414,9 @@ export interface RowStyle {
414
414
  export interface RowElements {
415
415
  own: BasicStateStylingBlock<RowStyle>[];
416
416
  }
417
- export interface RowModel<T> {
417
+ export interface RowModel<Children> {
418
418
  styles?: null | LayoutStyle<RowElements>;
419
- children: T[];
419
+ children: Children[];
420
420
  }
421
421
  export interface StackedDistributionStyles {
422
422
  container?: null | ContainerStylingProperties;
@@ -481,11 +481,11 @@ export interface StaticLinkStyles {
481
481
  export interface StaticLinkElements {
482
482
  own: BasicStateStylingBlock<StaticLinkStyles>[];
483
483
  }
484
- export interface StaticLinkModel<T> {
484
+ export interface StaticLinkModel<Children> {
485
485
  src: string;
486
486
  open: LinkOpenTarget;
487
487
  styles?: null | LayoutStyle<StaticLinkElements>;
488
- children: T[];
488
+ children: Children[];
489
489
  }
490
490
  export type WhenPredicate = {
491
491
  type: "Breakpoint";
@@ -503,9 +503,9 @@ export type WhenPredicate = {
503
503
  type: "CreativeCopy";
504
504
  predicate: CreativeCopyPredicate;
505
505
  };
506
- export interface WhenModel<T> {
506
+ export interface WhenModel<Children> {
507
507
  predicates: WhenPredicate[];
508
- children: T[];
508
+ children: Children[];
509
509
  }
510
510
  export type CloseButtonChildren = {
511
511
  type: "Row";
@@ -17,12 +17,12 @@ export interface BackgroundStylingProperties {
17
17
  backgroundColor?: null | ThemeColor;
18
18
  backgroundImage?: null | BackgroundImage;
19
19
  }
20
- export interface BasicStateStylingBlock<T> {
21
- default: T;
22
- pressed?: null | T;
23
- hovered?: null | T;
24
- focussed?: null | T;
25
- disabled?: null | T;
20
+ export interface BasicStateStylingBlock<StyleProperties> {
21
+ default: StyleProperties;
22
+ pressed?: null | StyleProperties;
23
+ hovered?: null | StyleProperties;
24
+ focussed?: null | StyleProperties;
25
+ disabled?: null | StyleProperties;
26
26
  }
27
27
  export type DimensionWidthValue = {
28
28
  type: "fixed";
@@ -93,8 +93,8 @@ export interface BasicTextStyle {
93
93
  export interface BasicTextElements {
94
94
  own: BasicStateStylingBlock<BasicTextStyle>[];
95
95
  }
96
- export interface LayoutStyle<T> {
97
- elements: T;
96
+ export interface LayoutStyle<Elements> {
97
+ elements: Elements;
98
98
  }
99
99
  export interface BasicTextModel {
100
100
  styles?: null | LayoutStyle<BasicTextElements>;
@@ -112,8 +112,8 @@ export interface BreakpointPredicate {
112
112
  condition: OrderableWhenCondition;
113
113
  value: string;
114
114
  }
115
- export interface StatelessStylingBlock<T> {
116
- default: T;
115
+ export interface StatelessStylingBlock<StyleProperties> {
116
+ default: StyleProperties;
117
117
  }
118
118
  export type FlexPosition = "center" | "flex-start" | "flex-end";
119
119
  export interface Shadow {
@@ -168,9 +168,9 @@ export interface CloseButtonStyles {
168
168
  export interface CloseButtonElements {
169
169
  own: BasicStateStylingBlock<CloseButtonStyles>[];
170
170
  }
171
- export interface CloseButtonModel<T> {
171
+ export interface CloseButtonModel<Children> {
172
172
  styles?: null | LayoutStyle<CloseButtonElements>;
173
- children: T[];
173
+ children: Children[];
174
174
  }
175
175
  export interface ColumnStyle {
176
176
  container?: null | ContainerStylingProperties;
@@ -183,9 +183,9 @@ export interface ColumnStyle {
183
183
  export interface ColumnElements {
184
184
  own: BasicStateStylingBlock<ColumnStyle>[];
185
185
  }
186
- export interface ColumnModel<T> {
186
+ export interface ColumnModel<Children> {
187
187
  styles?: null | LayoutStyle<ColumnElements>;
188
- children: T[];
188
+ children: Children[];
189
189
  }
190
190
  export type ExistenceWhenCondition = "exists" | "not-exists";
191
191
  export interface CreativeCopyPredicate {
@@ -204,11 +204,11 @@ export interface CreativeResponseElements {
204
204
  own: BasicStateStylingBlock<CreativeResponseStyles>[];
205
205
  }
206
206
  export type LinkOpenTarget = "internally" | "externally";
207
- export interface CreativeResponseModel<T> {
207
+ export interface CreativeResponseModel<Children> {
208
208
  responseKey: string;
209
209
  styles?: null | LayoutStyle<CreativeResponseElements>;
210
210
  openLinks?: null | LinkOpenTarget;
211
- children: T[];
211
+ children: Children[];
212
212
  }
213
213
  export type EqualityWhenCondition = "is" | "is-not";
214
214
  export interface DarkModePredicate {
@@ -332,10 +332,10 @@ export interface OverlayElements {
332
332
  export interface OverlaySettings {
333
333
  allowBackdropToClose: boolean;
334
334
  }
335
- export interface OverlayModel<T> {
335
+ export interface OverlayModel<Children> {
336
336
  settings: OverlaySettings;
337
337
  styles?: null | LayoutStyle<OverlayElements>;
338
- children: T[];
338
+ children: Children[];
339
339
  }
340
340
  export interface PositionPredicate {
341
341
  condition: OrderableWhenCondition;
@@ -418,9 +418,9 @@ export interface RowStyle {
418
418
  export interface RowElements {
419
419
  own: BasicStateStylingBlock<RowStyle>[];
420
420
  }
421
- export interface RowModel<T> {
421
+ export interface RowModel<Children> {
422
422
  styles?: null | LayoutStyle<RowElements>;
423
- children: T[];
423
+ children: Children[];
424
424
  }
425
425
  export interface StackedDistributionStyles {
426
426
  container?: null | ContainerStylingProperties;
@@ -485,11 +485,11 @@ export interface StaticLinkStyles {
485
485
  export interface StaticLinkElements {
486
486
  own: BasicStateStylingBlock<StaticLinkStyles>[];
487
487
  }
488
- export interface StaticLinkModel<T> {
488
+ export interface StaticLinkModel<Children> {
489
489
  src: string;
490
490
  open: LinkOpenTarget;
491
491
  styles?: null | LayoutStyle<StaticLinkElements>;
492
- children: T[];
492
+ children: Children[];
493
493
  }
494
494
  export type WhenPredicate = {
495
495
  type: "Breakpoint";
@@ -507,9 +507,9 @@ export type WhenPredicate = {
507
507
  type: "CreativeCopy";
508
508
  predicate: CreativeCopyPredicate;
509
509
  };
510
- export interface WhenModel<T> {
510
+ export interface WhenModel<Children> {
511
511
  predicates: WhenPredicate[];
512
- children: T[];
512
+ children: Children[];
513
513
  }
514
514
  export type CloseButtonChildren = {
515
515
  type: "Row";
@@ -17,12 +17,12 @@ export interface BackgroundStylingProperties {
17
17
  backgroundColor?: null | ThemeColor;
18
18
  backgroundImage?: null | BackgroundImage;
19
19
  }
20
- export interface BasicStateStylingBlock<T> {
21
- default: T;
22
- pressed?: null | T;
23
- hovered?: null | T;
24
- focussed?: null | T;
25
- disabled?: null | T;
20
+ export interface BasicStateStylingBlock<StyleProperties> {
21
+ default: StyleProperties;
22
+ pressed?: null | StyleProperties;
23
+ hovered?: null | StyleProperties;
24
+ focussed?: null | StyleProperties;
25
+ disabled?: null | StyleProperties;
26
26
  }
27
27
  export type DimensionWidthValue = {
28
28
  type: "fixed";
@@ -93,8 +93,8 @@ export interface BasicTextStyle {
93
93
  export interface BasicTextElements {
94
94
  own: BasicStateStylingBlock<BasicTextStyle>[];
95
95
  }
96
- export interface LayoutStyle<T> {
97
- elements: T;
96
+ export interface LayoutStyle<Elements> {
97
+ elements: Elements;
98
98
  }
99
99
  export interface BasicTextModel {
100
100
  styles?: null | LayoutStyle<BasicTextElements>;
@@ -112,8 +112,8 @@ export interface BreakpointPredicate {
112
112
  condition: OrderableWhenCondition;
113
113
  value: string;
114
114
  }
115
- export interface StatelessStylingBlock<T> {
116
- default: T;
115
+ export interface StatelessStylingBlock<StyleProperties> {
116
+ default: StyleProperties;
117
117
  }
118
118
  export type FlexPosition = "center" | "flex-start" | "flex-end";
119
119
  export interface Shadow {
@@ -169,9 +169,9 @@ export interface CloseButtonStyles {
169
169
  export interface CloseButtonElements {
170
170
  own: BasicStateStylingBlock<CloseButtonStyles>[];
171
171
  }
172
- export interface CloseButtonModel<T> {
172
+ export interface CloseButtonModel<Children> {
173
173
  styles?: null | LayoutStyle<CloseButtonElements>;
174
- children: T[];
174
+ children: Children[];
175
175
  }
176
176
  export interface ColumnStyle {
177
177
  container?: null | ContainerStylingProperties;
@@ -184,9 +184,9 @@ export interface ColumnStyle {
184
184
  export interface ColumnElements {
185
185
  own: BasicStateStylingBlock<ColumnStyle>[];
186
186
  }
187
- export interface ColumnModel<T> {
187
+ export interface ColumnModel<Children> {
188
188
  styles?: null | LayoutStyle<ColumnElements>;
189
- children: T[];
189
+ children: Children[];
190
190
  }
191
191
  export type ExistenceWhenCondition = "exists" | "not-exists";
192
192
  export interface CreativeCopyPredicate {
@@ -205,11 +205,11 @@ export interface CreativeResponseElements {
205
205
  own: BasicStateStylingBlock<CreativeResponseStyles>[];
206
206
  }
207
207
  export type LinkOpenTarget = "internally" | "externally";
208
- export interface CreativeResponseModel<T> {
208
+ export interface CreativeResponseModel<Children> {
209
209
  responseKey: string;
210
210
  styles?: null | LayoutStyle<CreativeResponseElements>;
211
211
  openLinks?: null | LinkOpenTarget;
212
- children: T[];
212
+ children: Children[];
213
213
  }
214
214
  export type EqualityWhenCondition = "is" | "is-not";
215
215
  export interface DarkModePredicate {
@@ -333,10 +333,10 @@ export interface OverlayElements {
333
333
  export interface OverlaySettings {
334
334
  allowBackdropToClose: boolean;
335
335
  }
336
- export interface OverlayModel<T> {
336
+ export interface OverlayModel<Children> {
337
337
  settings: OverlaySettings;
338
338
  styles?: null | LayoutStyle<OverlayElements>;
339
- children: T[];
339
+ children: Children[];
340
340
  }
341
341
  export interface PositionPredicate {
342
342
  condition: OrderableWhenCondition;
@@ -419,9 +419,9 @@ export interface RowStyle {
419
419
  export interface RowElements {
420
420
  own: BasicStateStylingBlock<RowStyle>[];
421
421
  }
422
- export interface RowModel<T> {
422
+ export interface RowModel<Children> {
423
423
  styles?: null | LayoutStyle<RowElements>;
424
- children: T[];
424
+ children: Children[];
425
425
  }
426
426
  export interface StackedDistributionStyles {
427
427
  container?: null | ContainerStylingProperties;
@@ -486,11 +486,11 @@ export interface StaticLinkStyles {
486
486
  export interface StaticLinkElements {
487
487
  own: BasicStateStylingBlock<StaticLinkStyles>[];
488
488
  }
489
- export interface StaticLinkModel<T> {
489
+ export interface StaticLinkModel<Children> {
490
490
  src: string;
491
491
  open: LinkOpenTarget;
492
492
  styles?: null | LayoutStyle<StaticLinkElements>;
493
- children: T[];
493
+ children: Children[];
494
494
  }
495
495
  export type WhenPredicate = {
496
496
  type: "Breakpoint";
@@ -508,9 +508,9 @@ export type WhenPredicate = {
508
508
  type: "CreativeCopy";
509
509
  predicate: CreativeCopyPredicate;
510
510
  };
511
- export interface WhenModel<T> {
511
+ export interface WhenModel<Children> {
512
512
  predicates: WhenPredicate[];
513
- children: T[];
513
+ children: Children[];
514
514
  }
515
515
  export type CloseButtonChildren = {
516
516
  type: "Row";
@@ -17,12 +17,12 @@ export interface BackgroundStylingProperties {
17
17
  backgroundColor?: null | ThemeColor;
18
18
  backgroundImage?: null | BackgroundImage;
19
19
  }
20
- export interface BasicStateStylingBlock<T> {
21
- default: T;
22
- pressed?: null | T;
23
- hovered?: null | T;
24
- focussed?: null | T;
25
- disabled?: null | T;
20
+ export interface BasicStateStylingBlock<StyleProperties> {
21
+ default: StyleProperties;
22
+ pressed?: null | StyleProperties;
23
+ hovered?: null | StyleProperties;
24
+ focussed?: null | StyleProperties;
25
+ disabled?: null | StyleProperties;
26
26
  }
27
27
  export type DimensionWidthValue = {
28
28
  type: "fixed";
@@ -122,8 +122,8 @@ export interface BreakpointPredicate {
122
122
  condition: OrderableWhenCondition;
123
123
  value: string;
124
124
  }
125
- export interface StatelessStylingBlock<T> {
126
- default: T;
125
+ export interface StatelessStylingBlock<StyleProperties> {
126
+ default: StyleProperties;
127
127
  }
128
128
  export type FlexJustification = "center" | "flex-start" | "flex-end";
129
129
  export interface Shadow {