@26lights/orcha 0.7.17 → 0.7.19
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/dist/orcha.cjs.js +1 -1
- package/dist/orcha.es.js +1677 -1682
- package/dist/orcha.umd.js +2 -2
- package/dist/src/types/index.d.ts +6 -6
- package/package.json +1 -1
|
@@ -336,13 +336,13 @@ export type ListUpdateTypes = (typeof listUpdateTypes)[ListUpdateTypesKeys];
|
|
|
336
336
|
export type FeedListUpdateType = {
|
|
337
337
|
element: Activity;
|
|
338
338
|
};
|
|
339
|
-
export type
|
|
340
|
-
|
|
339
|
+
export type FeedListUpdateAdded = {
|
|
340
|
+
added: {
|
|
341
341
|
element: Activity;
|
|
342
342
|
newIndex: number;
|
|
343
343
|
};
|
|
344
344
|
};
|
|
345
|
-
export type
|
|
345
|
+
export type FeedListUpdateRemoved = {
|
|
346
346
|
removed: {
|
|
347
347
|
element: Activity;
|
|
348
348
|
oldIndex: number;
|
|
@@ -355,10 +355,10 @@ export type FeedListUpdateMoved = {
|
|
|
355
355
|
oldIndex: number;
|
|
356
356
|
};
|
|
357
357
|
};
|
|
358
|
-
export type FeedListUpdateUnion =
|
|
358
|
+
export type FeedListUpdateUnion = FeedListUpdateAdded | FeedListUpdateRemoved | FeedListUpdateMoved;
|
|
359
359
|
export type FeedListUpdates = {
|
|
360
|
-
[listUpdateTypes.add]:
|
|
361
|
-
[listUpdateTypes.remove]:
|
|
360
|
+
[listUpdateTypes.add]: FeedListUpdateAdded;
|
|
361
|
+
[listUpdateTypes.remove]: FeedListUpdateRemoved;
|
|
362
362
|
[listUpdateTypes.moved]: FeedListUpdateMoved;
|
|
363
363
|
};
|
|
364
364
|
export type FeedListUpdate<K extends ListUpdateTypesKeys> = FeedListUpdates[K];
|