@picked/analytics 0.0.70 → 0.0.71-next.2

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 (200) hide show
  1. package/dist/.tsbuildinfo +1 -0
  2. package/dist/cjs/index.js +1 -1
  3. package/dist/cjs/plugins/analytics/index.js +1 -1
  4. package/dist/esm/index.js +1 -1
  5. package/dist/esm/plugins/analytics/index.js +1 -1
  6. package/dist/{src-DCcxqQag.js → src-R1PKYjf1.js} +10 -9
  7. package/dist/src-UWMblyJI.cjs +1 -0
  8. package/dist/types/events/app_close.d.ts +3 -3
  9. package/dist/types/events/app_initialize.d.ts +3 -3
  10. package/dist/types/events/app_load.d.ts +3 -3
  11. package/dist/types/events/app_open.d.ts +3 -3
  12. package/dist/types/events/cart_add.d.ts +4 -4
  13. package/dist/types/events/cart_remove.d.ts +4 -4
  14. package/dist/types/events/checkout_complete.d.ts +4 -4
  15. package/dist/types/events/checkout_start.d.ts +4 -4
  16. package/dist/types/events/custom.d.ts +2 -2
  17. package/dist/types/events/experience_load.d.ts +3 -3
  18. package/dist/types/events/feature_decide.d.ts +3 -3
  19. package/dist/types/events/field_validation_error.d.ts +3 -3
  20. package/dist/types/events/form_submit.d.ts +3 -3
  21. package/dist/types/events/form_submit_error.d.ts +3 -3
  22. package/dist/types/events/form_submit_success.d.ts +3 -3
  23. package/dist/types/events/identify.d.ts +4 -4
  24. package/dist/types/events/interaction/back.d.ts +3 -3
  25. package/dist/types/events/interaction/backspace.d.ts +3 -3
  26. package/dist/types/events/interaction/click.d.ts +3 -3
  27. package/dist/types/events/interaction/copy.d.ts +3 -3
  28. package/dist/types/events/interaction/drag.d.ts +3 -3
  29. package/dist/types/events/interaction/forward.d.ts +3 -3
  30. package/dist/types/events/interaction/mouse_shake.d.ts +3 -3
  31. package/dist/types/events/interaction/offline.d.ts +3 -3
  32. package/dist/types/events/interaction/online.d.ts +3 -3
  33. package/dist/types/events/interaction/page_hidden.d.ts +3 -3
  34. package/dist/types/events/interaction/page_hide.d.ts +3 -3
  35. package/dist/types/events/interaction/page_show.d.ts +3 -3
  36. package/dist/types/events/interaction/page_visible.d.ts +3 -3
  37. package/dist/types/events/interaction/paste.d.ts +3 -3
  38. package/dist/types/events/interaction/rapid_click.d.ts +3 -3
  39. package/dist/types/events/interaction/rapid_scroll.d.ts +3 -3
  40. package/dist/types/events/interaction/resize.d.ts +3 -3
  41. package/dist/types/events/interaction/right_click.d.ts +3 -3
  42. package/dist/types/events/interaction/scroll.d.ts +3 -3
  43. package/dist/types/events/interaction/unload.d.ts +3 -3
  44. package/dist/types/events/interaction/video_pause.d.ts +4 -3
  45. package/dist/types/events/interaction/video_play.d.ts +4 -3
  46. package/dist/types/events/lead_capture.d.ts +3 -3
  47. package/dist/types/events/modal_close.d.ts +3 -3
  48. package/dist/types/events/modal_open.d.ts +3 -3
  49. package/dist/types/events/order_create.d.ts +4 -4
  50. package/dist/types/events/page_view.d.ts +4 -4
  51. package/dist/types/events/product_list_view.d.ts +4 -4
  52. package/dist/types/events/product_select.d.ts +3 -3
  53. package/dist/types/events/product_view_details.d.ts +4 -4
  54. package/dist/types/events/recommendation_present.d.ts +3 -3
  55. package/dist/types/events/search_results_list_view.d.ts +3 -3
  56. package/dist/types/events/step_complete.d.ts +3 -3
  57. package/dist/types/events/step_enter.d.ts +3 -3
  58. package/dist/types/events/step_submit.d.ts +3 -3
  59. package/dist/types/events/step_submit_error.d.ts +3 -3
  60. package/dist/types/events/step_submit_success.d.ts +3 -3
  61. package/dist/types/events/waitlist_join.d.ts +3 -3
  62. package/dist/types/events/wishlist_add.d.ts +3 -3
  63. package/dist/types/fixtures/analytics-event.d.ts.map +1 -1
  64. package/dist/types/interaction-events.d.ts +5 -1
  65. package/dist/types/listeners/backspace.d.ts +1 -1
  66. package/dist/types/listeners/click.d.ts +1 -1
  67. package/dist/types/listeners/copy.d.ts +1 -1
  68. package/dist/types/listeners/drag.d.ts +1 -1
  69. package/dist/types/listeners/mouse_shake.d.ts +1 -1
  70. package/dist/types/listeners/offline.d.ts +1 -1
  71. package/dist/types/listeners/online.d.ts +1 -1
  72. package/dist/types/listeners/pagehide.d.ts +1 -1
  73. package/dist/types/listeners/pageshow.d.ts +1 -1
  74. package/dist/types/listeners/paste.d.ts +1 -1
  75. package/dist/types/listeners/rapid_click.d.ts +1 -1
  76. package/dist/types/listeners/rapid_scroll.d.ts +1 -1
  77. package/dist/types/listeners/resize.d.ts +1 -1
  78. package/dist/types/listeners/right_click.d.ts +1 -1
  79. package/dist/types/listeners/scroll.d.ts +1 -1
  80. package/dist/types/listeners/unload.d.ts +1 -1
  81. package/dist/types/listeners/video_pause.d.ts +1 -1
  82. package/dist/types/listeners/video_play.d.ts +1 -1
  83. package/dist/types/listeners/visibility.d.ts +1 -1
  84. package/dist/types/plugins/analytics/plugin.d.ts +4 -3
  85. package/dist/types/plugins/analytics/plugin.d.ts.map +1 -1
  86. package/dist/types/schemas/answer_list/1-0-0.d.ts +27 -27
  87. package/dist/types/schemas/answer_list/1-0-0.d.ts.map +1 -1
  88. package/dist/types/schemas/answer_list/index.d.ts +28 -28
  89. package/dist/types/schemas/answer_list/index.d.ts.map +1 -1
  90. package/dist/types/schemas/app/1-0-0.d.ts +15 -15
  91. package/dist/types/schemas/app/1-0-0.d.ts.map +1 -1
  92. package/dist/types/schemas/app/1-1-0.d.ts +14 -13
  93. package/dist/types/schemas/app/1-1-0.d.ts.map +1 -1
  94. package/dist/types/schemas/app/index.d.ts +29 -28
  95. package/dist/types/schemas/app/index.d.ts.map +1 -1
  96. package/dist/types/schemas/cvly_funnel/1-0-0.d.ts +13 -13
  97. package/dist/types/schemas/cvly_funnel/1-0-0.d.ts.map +1 -1
  98. package/dist/types/schemas/cvly_funnel/index.d.ts +14 -14
  99. package/dist/types/schemas/cvly_funnel/index.d.ts.map +1 -1
  100. package/dist/types/schemas/cvly_x/1-0-0.d.ts +19 -19
  101. package/dist/types/schemas/cvly_x/1-0-0.d.ts.map +1 -1
  102. package/dist/types/schemas/cvly_x/1-0-1.d.ts +19 -19
  103. package/dist/types/schemas/cvly_x/1-0-1.d.ts.map +1 -1
  104. package/dist/types/schemas/cvly_x/index.d.ts +38 -38
  105. package/dist/types/schemas/cvly_x/index.d.ts.map +1 -1
  106. package/dist/types/schemas/deployment/1-0-0.d.ts +19 -19
  107. package/dist/types/schemas/deployment/1-0-0.d.ts.map +1 -1
  108. package/dist/types/schemas/deployment/1-0-1.d.ts +19 -19
  109. package/dist/types/schemas/deployment/1-0-1.d.ts.map +1 -1
  110. package/dist/types/schemas/deployment/index.d.ts +38 -38
  111. package/dist/types/schemas/deployment/index.d.ts.map +1 -1
  112. package/dist/types/schemas/element/1-0-0.d.ts +19 -19
  113. package/dist/types/schemas/element/1-0-0.d.ts.map +1 -1
  114. package/dist/types/schemas/element/index.d.ts +20 -20
  115. package/dist/types/schemas/element/index.d.ts.map +1 -1
  116. package/dist/types/schemas/event/1-0-0.d.ts +13 -13
  117. package/dist/types/schemas/event/1-0-0.d.ts.map +1 -1
  118. package/dist/types/schemas/event/index.d.ts +14 -14
  119. package/dist/types/schemas/event/index.d.ts.map +1 -1
  120. package/dist/types/schemas/exception/1-0-0.d.ts +13 -13
  121. package/dist/types/schemas/exception/1-0-0.d.ts.map +1 -1
  122. package/dist/types/schemas/exception/index.d.ts +14 -14
  123. package/dist/types/schemas/exception/index.d.ts.map +1 -1
  124. package/dist/types/schemas/experience/1-0-0.d.ts +17 -17
  125. package/dist/types/schemas/experience/1-0-0.d.ts.map +1 -1
  126. package/dist/types/schemas/experience/1-0-1.d.ts +17 -17
  127. package/dist/types/schemas/experience/1-0-1.d.ts.map +1 -1
  128. package/dist/types/schemas/experience/index.d.ts +34 -34
  129. package/dist/types/schemas/experience/index.d.ts.map +1 -1
  130. package/dist/types/schemas/feature_list/1-0-0.d.ts +26 -26
  131. package/dist/types/schemas/feature_list/1-0-0.d.ts.map +1 -1
  132. package/dist/types/schemas/feature_list/2-0-0.d.ts +26 -26
  133. package/dist/types/schemas/feature_list/2-0-0.d.ts.map +1 -1
  134. package/dist/types/schemas/feature_list/index.d.ts +52 -52
  135. package/dist/types/schemas/feature_list/index.d.ts.map +1 -1
  136. package/dist/types/schemas/field_list/1-0-0.d.ts +37 -37
  137. package/dist/types/schemas/field_list/1-0-0.d.ts.map +1 -1
  138. package/dist/types/schemas/field_list/index.d.ts +38 -38
  139. package/dist/types/schemas/field_list/index.d.ts.map +1 -1
  140. package/dist/types/schemas/form/1-0-0.d.ts +15 -15
  141. package/dist/types/schemas/form/1-0-0.d.ts.map +1 -1
  142. package/dist/types/schemas/form/index.d.ts +16 -16
  143. package/dist/types/schemas/form/index.d.ts.map +1 -1
  144. package/dist/types/schemas/modal/1-0-0.d.ts +15 -15
  145. package/dist/types/schemas/modal/1-0-0.d.ts.map +1 -1
  146. package/dist/types/schemas/modal/index.d.ts +16 -16
  147. package/dist/types/schemas/modal/index.d.ts.map +1 -1
  148. package/dist/types/schemas/order/1-0-0.d.ts +19 -19
  149. package/dist/types/schemas/order/1-0-0.d.ts.map +1 -1
  150. package/dist/types/schemas/order/index.d.ts +20 -20
  151. package/dist/types/schemas/order/index.d.ts.map +1 -1
  152. package/dist/types/schemas/picked/1-0-0.d.ts +13 -13
  153. package/dist/types/schemas/picked/1-0-0.d.ts.map +1 -1
  154. package/dist/types/schemas/picked/index.d.ts +14 -14
  155. package/dist/types/schemas/picked/index.d.ts.map +1 -1
  156. package/dist/types/schemas/product_list/1-0-0.d.ts +34 -34
  157. package/dist/types/schemas/product_list/1-0-0.d.ts.map +1 -1
  158. package/dist/types/schemas/product_list/2-0-0.d.ts +65 -65
  159. package/dist/types/schemas/product_list/2-0-0.d.ts.map +1 -1
  160. package/dist/types/schemas/product_list/2-0-1.d.ts +67 -67
  161. package/dist/types/schemas/product_list/2-0-1.d.ts.map +1 -1
  162. package/dist/types/schemas/product_list/index.d.ts +165 -165
  163. package/dist/types/schemas/product_list/index.d.ts.map +1 -1
  164. package/dist/types/schemas/question_list/1-0-0.d.ts +37 -37
  165. package/dist/types/schemas/question_list/1-0-0.d.ts.map +1 -1
  166. package/dist/types/schemas/question_list/index.d.ts +38 -38
  167. package/dist/types/schemas/question_list/index.d.ts.map +1 -1
  168. package/dist/types/schemas/recommendation_list/1-0-0.d.ts +24 -24
  169. package/dist/types/schemas/recommendation_list/1-0-0.d.ts.map +1 -1
  170. package/dist/types/schemas/recommendation_list/index.d.ts +25 -25
  171. package/dist/types/schemas/recommendation_list/index.d.ts.map +1 -1
  172. package/dist/types/schemas/response_list/1-0-0.d.ts +27 -27
  173. package/dist/types/schemas/response_list/1-0-0.d.ts.map +1 -1
  174. package/dist/types/schemas/response_list/index.d.ts +28 -28
  175. package/dist/types/schemas/response_list/index.d.ts.map +1 -1
  176. package/dist/types/schemas/session/1-0-0.d.ts +13 -13
  177. package/dist/types/schemas/session/1-0-0.d.ts.map +1 -1
  178. package/dist/types/schemas/session/1-0-1.d.ts +14 -14
  179. package/dist/types/schemas/session/1-0-1.d.ts.map +1 -1
  180. package/dist/types/schemas/session/1-0-2.d.ts +16 -16
  181. package/dist/types/schemas/session/1-0-2.d.ts.map +1 -1
  182. package/dist/types/schemas/session/1-0-3.d.ts +22 -22
  183. package/dist/types/schemas/session/1-0-3.d.ts.map +1 -1
  184. package/dist/types/schemas/session/1-0-4.d.ts +24 -24
  185. package/dist/types/schemas/session/1-0-4.d.ts.map +1 -1
  186. package/dist/types/schemas/session/index.d.ts +86 -86
  187. package/dist/types/schemas/session/index.d.ts.map +1 -1
  188. package/dist/types/schemas/step/1-0-0.d.ts +15 -15
  189. package/dist/types/schemas/step/1-0-0.d.ts.map +1 -1
  190. package/dist/types/schemas/step/1-0-1.d.ts +18 -17
  191. package/dist/types/schemas/step/1-0-1.d.ts.map +1 -1
  192. package/dist/types/schemas/step/index.d.ts +33 -32
  193. package/dist/types/schemas/step/index.d.ts.map +1 -1
  194. package/dist/types/tracker.d.ts +2 -2
  195. package/dist/types/types.d.ts +4 -3
  196. package/dist/types/user-interaction.d.ts +6 -2
  197. package/dist/types/utils.d.ts +2 -2
  198. package/dist/types/utils.d.ts.map +1 -1
  199. package/package.json +23 -24
  200. package/dist/src-D2gFGLtR.cjs +0 -1
@@ -1,61 +1,61 @@
1
- import { FromSchema } from 'json-schema-to-ts';
1
+ import type { FromSchema } from 'json-schema-to-ts';
2
2
  export declare const schema: {
3
- readonly $schema: "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#";
3
+ readonly $schema: 'http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#';
4
4
  readonly additionalProperties: true;
5
- readonly description: "Schema for a feature list";
5
+ readonly description: 'Schema for a feature list';
6
6
  readonly minProperties: 1;
7
7
  readonly properties: {
8
8
  readonly items: {
9
- readonly description: "A list of features";
10
- readonly type: "array";
9
+ readonly description: 'A list of features';
10
+ readonly type: 'array';
11
11
  readonly items: {
12
- readonly type: "object";
13
- readonly description: "Features enabled for the session";
12
+ readonly type: 'object';
13
+ readonly description: 'Features enabled for the session';
14
14
  readonly properties: {
15
15
  readonly ab_feature: {
16
- readonly description: "The feature identifier";
17
- readonly type: "string";
16
+ readonly description: 'The feature identifier';
17
+ readonly type: 'string';
18
18
  readonly maxLength: 255;
19
19
  };
20
20
  readonly ab_name: {
21
- readonly description: "The name of the A/B feature";
22
- readonly type: "string";
21
+ readonly description: 'The name of the A/B feature';
22
+ readonly type: 'string';
23
23
  readonly maxLength: 255;
24
24
  };
25
25
  readonly ab_key: {
26
- readonly description: "The key for the A/B feature";
27
- readonly type: "string";
26
+ readonly description: 'The key for the A/B feature';
27
+ readonly type: 'string';
28
28
  readonly maxLength: 255;
29
29
  };
30
30
  readonly ab_weight: {
31
- readonly description: "The weight of the A/B feature";
32
- readonly type: readonly ["number"];
31
+ readonly description: 'The weight of the A/B feature';
32
+ readonly type: readonly ['number'];
33
33
  readonly maximum: 100;
34
34
  readonly minimum: 0;
35
35
  };
36
36
  readonly meta: {
37
- readonly description: "Additional metadata";
37
+ readonly description: 'Additional metadata';
38
38
  readonly additionalProperties: true;
39
- readonly type: readonly ["object", "null"];
39
+ readonly type: readonly ['object', 'null'];
40
40
  };
41
41
  };
42
- readonly required: readonly ["ab_feature", "ab_name", "ab_key", "ab_weight"];
42
+ readonly required: readonly ['ab_feature', 'ab_name', 'ab_key', 'ab_weight'];
43
43
  };
44
44
  };
45
45
  readonly meta: {
46
- readonly description: "Additional metadata";
46
+ readonly description: 'Additional metadata';
47
47
  readonly additionalProperties: true;
48
- readonly type: readonly ["object", "null"];
48
+ readonly type: readonly ['object', 'null'];
49
49
  };
50
50
  };
51
- readonly required: readonly ["items"];
51
+ readonly required: readonly ['items'];
52
52
  readonly self: {
53
- readonly vendor: "dev.pckd";
54
- readonly name: "feature_list";
55
- readonly format: "jsonschema";
56
- readonly version: "1-0-0";
53
+ readonly vendor: 'dev.pckd';
54
+ readonly name: 'feature_list';
55
+ readonly format: 'jsonschema';
56
+ readonly version: '1-0-0';
57
57
  };
58
- readonly type: "object";
58
+ readonly type: 'object';
59
59
  };
60
60
  export type Schema = FromSchema<typeof schema>;
61
61
  export type Version = typeof schema.self.version;
@@ -1 +1 @@
1
- {"version":3,"file":"1-0-0.d.ts","sourceRoot":"","sources":["../../../../src/schemas/feature_list/1-0-0.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAEnD,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA0DT,CAAA;AAEV,MAAM,MAAM,MAAM,GAAG,UAAU,CAAC,OAAO,MAAM,CAAC,CAAA;AAC9C,MAAM,MAAM,OAAO,GAAG,OAAO,MAAM,CAAC,IAAI,CAAC,OAAO,CAAA"}
1
+ {"version":3,"file":"1-0-0.d.ts","sourceRoot":"","sources":["../../../../src/schemas/feature_list/1-0-0.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,E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AO,GAAG,OAAO,MAAM,CAAC,IAAI,CAAC,OAAO,CAAA"}
@@ -1,60 +1,60 @@
1
- import { FromSchema } from 'json-schema-to-ts';
1
+ import type { FromSchema } from 'json-schema-to-ts';
2
2
  export declare const schema: {
3
- readonly $schema: "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#";
3
+ readonly $schema: 'http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#';
4
4
  readonly additionalProperties: true;
5
- readonly description: "Schema for a feature list";
5
+ readonly description: 'Schema for a feature list';
6
6
  readonly minProperties: 1;
7
7
  readonly properties: {
8
8
  readonly items: {
9
- readonly description: "A list of features";
10
- readonly type: "array";
9
+ readonly description: 'A list of features';
10
+ readonly type: 'array';
11
11
  readonly items: {
12
- readonly type: "object";
13
- readonly description: "Features enabled for the session";
12
+ readonly type: 'object';
13
+ readonly description: 'Features enabled for the session';
14
14
  readonly properties: {
15
15
  readonly ab_feature: {
16
- readonly description: "The feature identifier";
17
- readonly type: "string";
16
+ readonly description: 'The feature identifier';
17
+ readonly type: 'string';
18
18
  readonly maxLength: 255;
19
19
  };
20
20
  readonly ab_name: {
21
- readonly description: "The name of the A/B feature";
22
- readonly type: "string";
21
+ readonly description: 'The name of the A/B feature';
22
+ readonly type: 'string';
23
23
  readonly maxLength: 255;
24
24
  };
25
25
  readonly ab_key: {
26
- readonly description: "The key for the A/B feature";
27
- readonly type: "string";
26
+ readonly description: 'The key for the A/B feature';
27
+ readonly type: 'string';
28
28
  readonly maxLength: 255;
29
29
  };
30
30
  readonly ab_bucket: {
31
- readonly description: "The bucket of the A/B feature";
32
- readonly type: readonly ["boolean", "string"];
31
+ readonly description: 'The bucket of the A/B feature';
32
+ readonly type: readonly ['boolean', 'string'];
33
33
  readonly maxLength: 255;
34
34
  };
35
35
  readonly meta: {
36
- readonly description: "Additional metadata";
36
+ readonly description: 'Additional metadata';
37
37
  readonly additionalProperties: true;
38
- readonly type: readonly ["object", "null"];
38
+ readonly type: readonly ['object', 'null'];
39
39
  };
40
40
  };
41
- readonly required: readonly ["ab_feature", "ab_name", "ab_key", "ab_bucket"];
41
+ readonly required: readonly ['ab_feature', 'ab_name', 'ab_key', 'ab_bucket'];
42
42
  };
43
43
  };
44
44
  readonly meta: {
45
- readonly description: "Additional metadata";
45
+ readonly description: 'Additional metadata';
46
46
  readonly additionalProperties: true;
47
- readonly type: readonly ["object", "null"];
47
+ readonly type: readonly ['object', 'null'];
48
48
  };
49
49
  };
50
- readonly required: readonly ["items"];
50
+ readonly required: readonly ['items'];
51
51
  readonly self: {
52
- readonly vendor: "dev.pckd";
53
- readonly name: "feature_list";
54
- readonly format: "jsonschema";
55
- readonly version: "2-0-0";
52
+ readonly vendor: 'dev.pckd';
53
+ readonly name: 'feature_list';
54
+ readonly format: 'jsonschema';
55
+ readonly version: '2-0-0';
56
56
  };
57
- readonly type: "object";
57
+ readonly type: 'object';
58
58
  };
59
59
  export type Schema = FromSchema<typeof schema>;
60
60
  export type Version = typeof schema.self.version;
@@ -1 +1 @@
1
- {"version":3,"file":"2-0-0.d.ts","sourceRoot":"","sources":["../../../../src/schemas/feature_list/2-0-0.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAEnD,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyDT,CAAA;AAEV,MAAM,MAAM,MAAM,GAAG,UAAU,CAAC,OAAO,MAAM,CAAC,CAAA;AAC9C,MAAM,MAAM,OAAO,GAAG,OAAO,MAAM,CAAC,IAAI,CAAC,OAAO,CAAA"}
1
+ {"version":3,"file":"2-0-0.d.ts","sourceRoot":"","sources":["../../../../src/schemas/feature_list/2-0-0.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAEnD,eAAO,MAAM,MAAM;aACjB,OAA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aUrl } from '../../types';
2
- import { Schema as Schema2_0_0, Version as Version2_0_0 } from './2-0-0';
1
+ import type { SchemaUrl } from '../../types';
2
+ import type { Schema as Schema2_0_0, Version as Version2_0_0 } from './2-0-0';
3
3
  export declare const name = "feature_list";
4
4
  export declare const schemas: {
5
5
  '1-0-0': {
6
- readonly $schema: "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#";
6
+ readonly $schema: 'http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#';
7
7
  readonly additionalProperties: true;
8
- readonly description: "Schema for a feature list";
8
+ readonly description: 'Schema for a feature list';
9
9
  readonly minProperties: 1;
10
10
  readonly properties: {
11
11
  readonly items: {
12
- readonly description: "A list of features";
13
- readonly type: "array";
12
+ readonly description: 'A list of features';
13
+ readonly type: 'array';
14
14
  readonly items: {
15
- readonly type: "object";
16
- readonly description: "Features enabled for the session";
15
+ readonly type: 'object';
16
+ readonly description: 'Features enabled for the session';
17
17
  readonly properties: {
18
18
  readonly ab_feature: {
19
- readonly description: "The feature identifier";
20
- readonly type: "string";
19
+ readonly description: 'The feature identifier';
20
+ readonly type: 'string';
21
21
  readonly maxLength: 255;
22
22
  };
23
23
  readonly ab_name: {
24
- readonly description: "The name of the A/B feature";
25
- readonly type: "string";
24
+ readonly description: 'The name of the A/B feature';
25
+ readonly type: 'string';
26
26
  readonly maxLength: 255;
27
27
  };
28
28
  readonly ab_key: {
29
- readonly description: "The key for the A/B feature";
30
- readonly type: "string";
29
+ readonly description: 'The key for the A/B feature';
30
+ readonly type: 'string';
31
31
  readonly maxLength: 255;
32
32
  };
33
33
  readonly ab_weight: {
34
- readonly description: "The weight of the A/B feature";
35
- readonly type: readonly ["number"];
34
+ readonly description: 'The weight of the A/B feature';
35
+ readonly type: readonly ['number'];
36
36
  readonly maximum: 100;
37
37
  readonly minimum: 0;
38
38
  };
39
39
  readonly meta: {
40
- readonly description: "Additional metadata";
40
+ readonly description: 'Additional metadata';
41
41
  readonly additionalProperties: true;
42
- readonly type: readonly ["object", "null"];
42
+ readonly type: readonly ['object', 'null'];
43
43
  };
44
44
  };
45
- readonly required: readonly ["ab_feature", "ab_name", "ab_key", "ab_weight"];
45
+ readonly required: readonly ['ab_feature', 'ab_name', 'ab_key', 'ab_weight'];
46
46
  };
47
47
  };
48
48
  readonly meta: {
49
- readonly description: "Additional metadata";
49
+ readonly description: 'Additional metadata';
50
50
  readonly additionalProperties: true;
51
- readonly type: readonly ["object", "null"];
51
+ readonly type: readonly ['object', 'null'];
52
52
  };
53
53
  };
54
- readonly required: readonly ["items"];
54
+ readonly required: readonly ['items'];
55
55
  readonly self: {
56
- readonly vendor: "dev.pckd";
57
- readonly name: "feature_list";
58
- readonly format: "jsonschema";
59
- readonly version: "1-0-0";
56
+ readonly vendor: 'dev.pckd';
57
+ readonly name: 'feature_list';
58
+ readonly format: 'jsonschema';
59
+ readonly version: '1-0-0';
60
60
  };
61
- readonly type: "object";
61
+ readonly type: 'object';
62
62
  };
63
63
  '2-0-0': {
64
- readonly $schema: "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#";
64
+ readonly $schema: 'http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#';
65
65
  readonly additionalProperties: true;
66
- readonly description: "Schema for a feature list";
66
+ readonly description: 'Schema for a feature list';
67
67
  readonly minProperties: 1;
68
68
  readonly properties: {
69
69
  readonly items: {
70
- readonly description: "A list of features";
71
- readonly type: "array";
70
+ readonly description: 'A list of features';
71
+ readonly type: 'array';
72
72
  readonly items: {
73
- readonly type: "object";
74
- readonly description: "Features enabled for the session";
73
+ readonly type: 'object';
74
+ readonly description: 'Features enabled for the session';
75
75
  readonly properties: {
76
76
  readonly ab_feature: {
77
- readonly description: "The feature identifier";
78
- readonly type: "string";
77
+ readonly description: 'The feature identifier';
78
+ readonly type: 'string';
79
79
  readonly maxLength: 255;
80
80
  };
81
81
  readonly ab_name: {
82
- readonly description: "The name of the A/B feature";
83
- readonly type: "string";
82
+ readonly description: 'The name of the A/B feature';
83
+ readonly type: 'string';
84
84
  readonly maxLength: 255;
85
85
  };
86
86
  readonly ab_key: {
87
- readonly description: "The key for the A/B feature";
88
- readonly type: "string";
87
+ readonly description: 'The key for the A/B feature';
88
+ readonly type: 'string';
89
89
  readonly maxLength: 255;
90
90
  };
91
91
  readonly ab_bucket: {
92
- readonly description: "The bucket of the A/B feature";
93
- readonly type: readonly ["boolean", "string"];
92
+ readonly description: 'The bucket of the A/B feature';
93
+ readonly type: readonly ['boolean', 'string'];
94
94
  readonly maxLength: 255;
95
95
  };
96
96
  readonly meta: {
97
- readonly description: "Additional metadata";
97
+ readonly description: 'Additional metadata';
98
98
  readonly additionalProperties: true;
99
- readonly type: readonly ["object", "null"];
99
+ readonly type: readonly ['object', 'null'];
100
100
  };
101
101
  };
102
- readonly required: readonly ["ab_feature", "ab_name", "ab_key", "ab_bucket"];
102
+ readonly required: readonly ['ab_feature', 'ab_name', 'ab_key', 'ab_bucket'];
103
103
  };
104
104
  };
105
105
  readonly meta: {
106
- readonly description: "Additional metadata";
106
+ readonly description: 'Additional metadata';
107
107
  readonly additionalProperties: true;
108
- readonly type: readonly ["object", "null"];
108
+ readonly type: readonly ['object', 'null'];
109
109
  };
110
110
  };
111
- readonly required: readonly ["items"];
111
+ readonly required: readonly ['items'];
112
112
  readonly self: {
113
- readonly vendor: "dev.pckd";
114
- readonly name: "feature_list";
115
- readonly format: "jsonschema";
116
- readonly version: "2-0-0";
113
+ readonly vendor: 'dev.pckd';
114
+ readonly name: 'feature_list';
115
+ readonly format: 'jsonschema';
116
+ readonly version: '2-0-0';
117
117
  };
118
- readonly type: "object";
118
+ readonly type: 'object';
119
119
  };
120
120
  };
121
121
  export type CurrentSchema = Schema2_0_0;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/schemas/feature_list/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAG5C,OAAO,KAAK,EAAE,MAAM,IAAI,WAAW,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,SAAS,CAAA;AAE7E,eAAO,MAAM,IAAI,iBAAiB,CAAA;AAElC,eAAO,MAAM,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGnB,CAAA;AAGD,MAAM,MAAM,aAAa,GAAG,WAAW,CAAA;AACvC,MAAM,MAAM,cAAc,GAAG,YAAY,CAAA;AACzC,MAAM,MAAM,GAAG,GAAG,SAAS,CAAC,OAAO,IAAI,EAAE,cAAc,CAAC,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/schemas/feature_list/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,aAAa,CAAA;AAG5C,OAAO,KAAK,EAAE,MAAM,IAAI,WAAW,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,SAAS,CAAA;AAE7E,eAAO,MAAM,IAAI,iBAAiB,CAAA;AAElC,eAAO,MAAM,OAAO;IAClB,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IACP,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACR,CAAA;AAGD,MAAM,MAAM,aAAa,GAAG,WAAW,CAAA;AACvC,MAAM,MAAM,cAAc,GAAG,YAAY,CAAA;AACzC,MAAM,MAAM,GAAG,GAAG,SAAS,CAAC,OAAO,IAAI,EAAE,cAAc,CAAC,CAAA"}
@@ -1,88 +1,88 @@
1
- import { FromSchema } from 'json-schema-to-ts';
1
+ import type { FromSchema } from 'json-schema-to-ts';
2
2
  export declare const schema: {
3
- readonly $schema: "http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#";
3
+ readonly $schema: 'http://iglucentral.com/schemas/com.snowplowanalytics.self-desc/schema/jsonschema/1-0-0#';
4
4
  readonly additionalProperties: true;
5
- readonly description: "Schema for a field list";
5
+ readonly description: 'Schema for a field list';
6
6
  readonly minProperties: 1;
7
7
  readonly properties: {
8
8
  readonly items: {
9
- readonly description: "A list of fields";
10
- readonly type: "array";
9
+ readonly description: 'A list of fields';
10
+ readonly type: 'array';
11
11
  readonly items: {
12
- readonly type: "object";
13
- readonly description: "Fields in the list";
12
+ readonly type: 'object';
13
+ readonly description: 'Fields in the list';
14
14
  readonly properties: {
15
15
  readonly id: {
16
- readonly description: "The field ID";
17
- readonly type: "string";
16
+ readonly description: 'The field ID';
17
+ readonly type: 'string';
18
18
  readonly maxLength: 255;
19
19
  };
20
20
  readonly type: {
21
- readonly description: "The field type";
22
- readonly type: "string";
21
+ readonly description: 'The field type';
22
+ readonly type: 'string';
23
23
  readonly maxLength: 255;
24
24
  };
25
25
  readonly label: {
26
- readonly description: "The field label";
27
- readonly type: "string";
26
+ readonly description: 'The field label';
27
+ readonly type: 'string';
28
28
  readonly maxLength: 255;
29
29
  };
30
30
  readonly options: {
31
- readonly description: "The available options for the field";
32
- readonly type: readonly ["array", "null"];
31
+ readonly description: 'The available options for the field';
32
+ readonly type: readonly ['array', 'null'];
33
33
  readonly items: {
34
- readonly type: "object";
35
- readonly description: "Options available as responses to the field";
34
+ readonly type: 'object';
35
+ readonly description: 'Options available as responses to the field';
36
36
  readonly properties: {
37
37
  readonly id: {
38
- readonly description: "The option ID";
39
- readonly type: "string";
38
+ readonly description: 'The option ID';
39
+ readonly type: 'string';
40
40
  readonly maxLength: 255;
41
41
  };
42
42
  readonly label: {
43
- readonly description: "The option label";
44
- readonly type: "string";
43
+ readonly description: 'The option label';
44
+ readonly type: 'string';
45
45
  readonly maxLength: 255;
46
46
  };
47
47
  readonly value: {
48
- readonly description: "The response value";
49
- readonly type: readonly ["string", "number", "object", "boolean", "array", "null"];
48
+ readonly description: 'The response value';
49
+ readonly type: readonly ['string', 'number', 'object', 'boolean', 'array', 'null'];
50
50
  readonly maxLength: 255;
51
51
  readonly maximum: 9999999999;
52
52
  readonly minimum: -9999999999;
53
53
  };
54
54
  readonly meta: {
55
- readonly description: "Additional metadata";
55
+ readonly description: 'Additional metadata';
56
56
  readonly additionalProperties: true;
57
- readonly type: readonly ["object", "null"];
57
+ readonly type: readonly ['object', 'null'];
58
58
  };
59
59
  };
60
- readonly required: readonly ["id", "label", "value"];
60
+ readonly required: readonly ['id', 'label', 'value'];
61
61
  };
62
62
  };
63
63
  readonly meta: {
64
- readonly description: "Additional metadata";
64
+ readonly description: 'Additional metadata';
65
65
  readonly additionalProperties: true;
66
- readonly type: readonly ["object", "null"];
66
+ readonly type: readonly ['object', 'null'];
67
67
  };
68
68
  };
69
- readonly required: readonly ["id", "type", "label"];
69
+ readonly required: readonly ['id', 'type', 'label'];
70
70
  };
71
71
  };
72
72
  readonly meta: {
73
- readonly description: "Additional metadata";
73
+ readonly description: 'Additional metadata';
74
74
  readonly additionalProperties: true;
75
- readonly type: readonly ["object", "null"];
75
+ readonly type: readonly ['object', 'null'];
76
76
  };
77
77
  };
78
- readonly required: readonly ["items"];
78
+ readonly required: readonly ['items'];
79
79
  readonly self: {
80
- readonly vendor: "dev.pckd";
81
- readonly name: "field_list";
82
- readonly format: "jsonschema";
83
- readonly version: "1-0-0";
80
+ readonly vendor: 'dev.pckd';
81
+ readonly name: 'field_list';
82
+ readonly format: 'jsonschema';
83
+ readonly version: '1-0-0';
84
84
  };
85
- readonly type: "object";
85
+ readonly type: 'object';
86
86
  };
87
87
  export type Schema = FromSchema<typeof schema>;
88
88
  export type Version = typeof schema.self.version;
@@ -1 +1 @@
1
- {"version":3,"file":"1-0-0.d.ts","sourceRoot":"","sources":["../../../../src/schemas/field_list/1-0-0.ts"],"names":[],"mappings":"AAAA,OAAO,K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