@picked/client 0.0.1-dev.1778468342672 → 0.0.1-dev.1778561735098

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 (38) hide show
  1. package/dist/{api-BFD1TEJW.js → api-Bzb9pR2r.js} +1 -1
  2. package/dist/{api-D_w_sQ8k.cjs → api-XV6bcv_D.cjs} +1 -1
  3. package/dist/cjs/index.js +2 -2
  4. package/dist/cjs/plugins/dynamic-experiences/index.js +1 -1
  5. package/dist/cjs/plugins/history-browser-storage/index.js +1 -1
  6. package/dist/cjs/server/index.js +1 -1
  7. package/dist/esm/index.js +445 -449
  8. package/dist/esm/plugins/dynamic-experiences/index.js +38 -109
  9. package/dist/esm/plugins/history-browser-storage/index.js +52 -13
  10. package/dist/esm/server/index.js +1 -1
  11. package/dist/experience-instance-B16NqD7y.cjs +1 -0
  12. package/dist/{experience-instance-BrLWgVAN.js → experience-instance-CZC0uPuv.js} +215 -203
  13. package/dist/types/entities/experience/experience.d.ts +2 -22
  14. package/dist/types/entities/experience/experience.d.ts.map +1 -1
  15. package/dist/types/entities/experience-instance/experience-instance.d.ts.map +1 -1
  16. package/dist/types/entities/history/history.d.ts +28 -16
  17. package/dist/types/entities/history/history.d.ts.map +1 -1
  18. package/dist/types/entities/step/step.d.ts +2 -17
  19. package/dist/types/entities/step/step.d.ts.map +1 -1
  20. package/dist/types/index.d.ts +0 -2
  21. package/dist/types/index.d.ts.map +1 -1
  22. package/dist/types/lifecycle/state-snapshot.d.ts.map +1 -1
  23. package/dist/types/picked.d.ts +8 -53
  24. package/dist/types/picked.d.ts.map +1 -1
  25. package/dist/types/plugins/dynamic-experiences/index.d.ts +1 -2
  26. package/dist/types/plugins/dynamic-experiences/index.d.ts.map +1 -1
  27. package/dist/types/plugins/dynamic-experiences/plugin.d.ts +1 -18
  28. package/dist/types/plugins/dynamic-experiences/plugin.d.ts.map +1 -1
  29. package/dist/types/plugins/dynamic-experiences/types.d.ts +1 -63
  30. package/dist/types/plugins/dynamic-experiences/types.d.ts.map +1 -1
  31. package/dist/types/plugins/history-browser-storage/plugin.d.ts +16 -0
  32. package/dist/types/plugins/history-browser-storage/plugin.d.ts.map +1 -1
  33. package/dist/types/utils/dom.d.ts +27 -0
  34. package/dist/types/utils/dom.d.ts.map +1 -1
  35. package/package.json +1 -1
  36. package/dist/experience-instance-Ct3ogC7n.cjs +0 -1
  37. package/dist/types/entities/content/content.d.ts +0 -37
  38. package/dist/types/entities/content/content.d.ts.map +0 -1
@@ -1,37 +0,0 @@
1
- import { Store } from 'effector';
2
- export interface Content {
3
- id: string;
4
- data: Record<string, unknown>;
5
- }
6
- export type ContentsStore = ReturnType<typeof createContentIndex>;
7
- declare const createContentIndexFactory: () => {
8
- register: (content: Content) => void;
9
- getById: (id: Content["id"]) => Store<Content | null>;
10
- listStore: Store<Content[]>;
11
- indexStore: import('effector').StoreWritable<{
12
- [id: string]: Content;
13
- }>;
14
- };
15
- /**
16
- * Creates an Effector-based index for registering and retrieving content records.
17
- *
18
- * @returns {ContentsStore} A content index with register, getById, and listStore.
19
- * @example
20
- * ```typescript
21
- * const contents = createContentIndex()
22
- * ```
23
- */
24
- export declare function createContentIndex(): ReturnType<typeof createContentIndexFactory>;
25
- /**
26
- * Registers a content record with the given index via the helper function.
27
- *
28
- * @param {Content} content - The content record to register.
29
- * @param {ContentsStore} index - The content index to register the record with.
30
- * @example
31
- * ```typescript
32
- * setupContent(content, index)
33
- * ```
34
- */
35
- export declare function setupContent(content: Content, index: ContentsStore): void;
36
- export {};
37
- //# sourceMappingURL=content.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"content.d.ts","sourceRoot":"","sources":["../../../../src/entities/content/content.ts"],"names":[],"mappings":"AAAA,oGAAoG;AACpG,OAAO,EAA2B,KAAK,KAAK,EAAE,MAAM,UAAU,CAAA;AAK9D,MAAM,WAAW,OAAO;IACtB,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAA;CAC9B;AAED,MAAM,MAAM,aAAa,GAAG,UAAU,CAAC,OAAO,kBAAkB,CAAC,CAAA;AAEjE,QAAA,MAAM,yBAAyB;wBAuBF,OAAO,KAAG,IAAI;kBAmBpB,OAAO,CAAC,IAAI,CAAC,KAAG,KAAK,CAAC,OAAO,GAAG,IAAI,CAAC;;;;;CAU1D,CAAA;AAEF;;;;;;;;GAQG;AACH,wBAAgB,kBAAkB,IAAI,UAAU,CAAC,OAAO,yBAAyB,CAAC,CAEjF;AAED;;;;;;;;;GASG;AACH,wBAAgB,YAAY,CAAC,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,aAAa,GAAG,IAAI,CAEzE"}