ttpg-darrell 1.0.46 → 1.0.48
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/build/cjs/lib/adjacency/adjacency.d.ts +2 -0
- package/build/cjs/lib/adjacency/adjacency.js +44 -25
- package/build/cjs/lib/adjacency/adjacency.js.map +1 -1
- package/build/cjs/lib/locale/locale.d.ts +1 -1
- package/build/cjs/lib-ext/create-assets/create-cardsheets/create-cardsheet-params.d.ts +12 -160
- package/build/cjs/lib-ext/create-assets/create-d6/create-d6-params.d.ts +10 -158
- package/build/cjs/lib-ext/image/cell/cell-parser/cell-schema.d.ts +40 -20
- package/build/cjs/lib-ext/nsid/extract-nsid-to-template-id.js +1 -1
- package/build/cjs/lib-ext/nsid/extract-nsid-to-template-id.js.map +1 -1
- package/build/cjs/lib-ext/wavefront-obj/wavefront-obj.d.ts +29 -0
- package/build/cjs/lib-ext/wavefront-obj/wavefront-obj.js +101 -0
- package/build/cjs/lib-ext/wavefront-obj/wavefront-obj.js.map +1 -0
- package/build/esm/lib/adjacency/adjacency.d.ts +2 -0
- package/build/esm/lib/adjacency/adjacency.js +44 -25
- package/build/esm/lib/adjacency/adjacency.js.map +1 -1
- package/build/esm/lib/locale/locale.d.ts +1 -1
- package/build/esm/lib-ext/create-assets/create-cardsheets/create-cardsheet-params.d.ts +12 -160
- package/build/esm/lib-ext/create-assets/create-d6/create-d6-params.d.ts +10 -158
- package/build/esm/lib-ext/image/cell/cell-parser/cell-schema.d.ts +40 -20
- package/build/esm/lib-ext/nsid/extract-nsid-to-template-id.js +1 -1
- package/build/esm/lib-ext/nsid/extract-nsid-to-template-id.js.map +1 -1
- package/build/esm/lib-ext/wavefront-obj/wavefront-obj.d.ts +29 -0
- package/build/esm/lib-ext/wavefront-obj/wavefront-obj.js +74 -0
- package/build/esm/lib-ext/wavefront-obj/wavefront-obj.js.map +1 -0
- package/package.json +1 -1
- package/build/cjs/lib/bug-workarounds/bug-card-holder-assignment.d.ts +0 -8
- package/build/cjs/lib/bug-workarounds/bug-card-holder-assignment.js +0 -14
- package/build/cjs/lib/bug-workarounds/bug-card-holder-assignment.js.map +0 -1
- package/build/cjs/lib/bug-workarounds/bug-unique-cards.d.ts +0 -8
- package/build/cjs/lib/bug-workarounds/bug-unique-cards.js +0 -14
- package/build/cjs/lib/bug-workarounds/bug-unique-cards.js.map +0 -1
- package/build/cjs/lib/chess-clock/chess-clock-window.d.ts +0 -11
- package/build/cjs/lib/chess-clock/chess-clock-window.js +0 -47
- package/build/cjs/lib/chess-clock/chess-clock-window.js.map +0 -1
- package/build/cjs/lib/chess-clock/chess-clock-window.testp.d.ts +0 -1
- package/build/cjs/lib/chess-clock/chess-clock-window.testp.js +0 -23
- package/build/cjs/lib/chess-clock/chess-clock-window.testp.js.map +0 -1
- package/build/cjs/lib/context-menu/abstract-right-click-card.d.ts +0 -17
- package/build/cjs/lib/context-menu/abstract-right-click-card.js +0 -40
- package/build/cjs/lib/context-menu/abstract-right-click-card.js.map +0 -1
- package/build/cjs/lib/context-menu/abstract-right-click-deck.d.ts +0 -19
- package/build/cjs/lib/context-menu/abstract-right-click-deck.js +0 -46
- package/build/cjs/lib/context-menu/abstract-right-click-deck.js.map +0 -1
- package/build/cjs/lib/context-menu/leave-seat.d.ts +0 -19
- package/build/cjs/lib/context-menu/leave-seat.js +0 -51
- package/build/cjs/lib/context-menu/leave-seat.js.map +0 -1
- package/build/cjs/lib/event/on-card-became-singleton-or-deck.d.ts +0 -30
- package/build/cjs/lib/event/on-card-became-singleton-or-deck.js +0 -103
- package/build/cjs/lib/event/on-card-became-singleton-or-deck.js.map +0 -1
- package/build/cjs/lib/event/on-card-became-singleton-or-deck.testp.d.ts +0 -1
- package/build/cjs/lib/event/on-card-became-singleton-or-deck.testp.js +0 -15
- package/build/cjs/lib/event/on-card-became-singleton-or-deck.testp.js.map +0 -1
- package/build/cjs/lib/event/throttle-click-handler.d.ts +0 -9
- package/build/cjs/lib/event/throttle-click-handler.js +0 -28
- package/build/cjs/lib/event/throttle-click-handler.js.map +0 -1
- package/build/cjs/lib/event/triggerable-multicast-delegate.d.ts +0 -30
- package/build/cjs/lib/event/triggerable-multicast-delegate.js +0 -57
- package/build/cjs/lib/event/triggerable-multicast-delegate.js.map +0 -1
- package/build/cjs/lib/game-object/dice-snap-rotation/dice-snap-rotation-obj.d.ts +0 -1
- package/build/cjs/lib/game-object/dice-snap-rotation/dice-snap-rotation-obj.js +0 -6
- package/build/cjs/lib/game-object/dice-snap-rotation/dice-snap-rotation-obj.js.map +0 -1
- package/build/cjs/lib/game-object/dice-snap-rotation/dice-snap-rotation.d.ts +0 -7
- package/build/cjs/lib/game-object/dice-snap-rotation/dice-snap-rotation.js +0 -27
- package/build/cjs/lib/game-object/dice-snap-rotation/dice-snap-rotation.js.map +0 -1
- package/build/cjs/lib/jest-util/click-all/click-all.d.ts +0 -2
- package/build/cjs/lib/jest-util/click-all/click-all.js +0 -38
- package/build/cjs/lib/jest-util/click-all/click-all.js.map +0 -1
- package/build/cjs/lib/parse/parse-color.d.ts +0 -7
- package/build/cjs/lib/parse/parse-color.js +0 -47
- package/build/cjs/lib/parse/parse-color.js.map +0 -1
- package/build/cjs/lib/svg/svg-sparkline.d.ts +0 -12
- package/build/cjs/lib/svg/svg-sparkline.js +0 -44
- package/build/cjs/lib/svg/svg-sparkline.js.map +0 -1
- package/build/cjs/lib/ui-visibility/ui-visibility.d.ts +0 -17
- package/build/cjs/lib/ui-visibility/ui-visibility.js +0 -69
- package/build/cjs/lib/ui-visibility/ui-visibility.js.map +0 -1
- package/build/cjs/lib/widget/chess-clock-widget/chess-clock-config-widget.d.ts +0 -9
- package/build/cjs/lib/widget/chess-clock-widget/chess-clock-config-widget.js +0 -82
- package/build/cjs/lib/widget/chess-clock-widget/chess-clock-config-widget.js.map +0 -1
- package/build/cjs/lib/widget/chess-clock-widget/chess-clock-config-window.d.ts +0 -4
- package/build/cjs/lib/widget/chess-clock-widget/chess-clock-config-window.js +0 -40
- package/build/cjs/lib/widget/chess-clock-widget/chess-clock-config-window.js.map +0 -1
- package/build/cjs/lib/widget/chess-clock-widget/chess-clock-data.d.ts +0 -46
- package/build/cjs/lib/widget/chess-clock-widget/chess-clock-data.js +0 -211
- package/build/cjs/lib/widget/chess-clock-widget/chess-clock-data.js.map +0 -1
- package/build/cjs/lib/widget/chess-clock-widget/chess-clock-widget.d.ts +0 -15
- package/build/cjs/lib/widget/chess-clock-widget/chess-clock-widget.js +0 -227
- package/build/cjs/lib/widget/chess-clock-widget/chess-clock-widget.js.map +0 -1
- package/build/cjs/lib/widget/chess-clock-widget/chess-clock-window.d.ts +0 -11
- package/build/cjs/lib/widget/chess-clock-widget/chess-clock-window.js +0 -47
- package/build/cjs/lib/widget/chess-clock-widget/chess-clock-window.js.map +0 -1
- package/build/cjs/lib/widget/chess-clock-widget/chess-clock-window.testp.d.ts +0 -1
- package/build/cjs/lib/widget/chess-clock-widget/chess-clock-window.testp.js +0 -22
- package/build/cjs/lib/widget/chess-clock-widget/chess-clock-window.testp.js.map +0 -1
- package/build/cjs/lib-ext/image-table.d.ts +0 -1
- package/build/cjs/lib-ext/image-table.js +0 -14
- package/build/cjs/lib-ext/image-table.js.map +0 -1
- package/build/esm/lib/bug-workarounds/bug-card-holder-assignment.d.ts +0 -8
- package/build/esm/lib/bug-workarounds/bug-card-holder-assignment.js +0 -10
- package/build/esm/lib/bug-workarounds/bug-card-holder-assignment.js.map +0 -1
- package/build/esm/lib/bug-workarounds/bug-unique-cards.d.ts +0 -8
- package/build/esm/lib/bug-workarounds/bug-unique-cards.js +0 -10
- package/build/esm/lib/bug-workarounds/bug-unique-cards.js.map +0 -1
- package/build/esm/lib/chess-clock/chess-clock-window.d.ts +0 -11
- package/build/esm/lib/chess-clock/chess-clock-window.js +0 -43
- package/build/esm/lib/chess-clock/chess-clock-window.js.map +0 -1
- package/build/esm/lib/chess-clock/chess-clock-window.testp.d.ts +0 -1
- package/build/esm/lib/chess-clock/chess-clock-window.testp.js +0 -21
- package/build/esm/lib/chess-clock/chess-clock-window.testp.js.map +0 -1
- package/build/esm/lib/context-menu/abstract-right-click-card.d.ts +0 -17
- package/build/esm/lib/context-menu/abstract-right-click-card.js +0 -36
- package/build/esm/lib/context-menu/abstract-right-click-card.js.map +0 -1
- package/build/esm/lib/context-menu/abstract-right-click-deck.d.ts +0 -19
- package/build/esm/lib/context-menu/abstract-right-click-deck.js +0 -42
- package/build/esm/lib/context-menu/abstract-right-click-deck.js.map +0 -1
- package/build/esm/lib/context-menu/leave-seat.d.ts +0 -19
- package/build/esm/lib/context-menu/leave-seat.js +0 -47
- package/build/esm/lib/context-menu/leave-seat.js.map +0 -1
- package/build/esm/lib/event/on-card-became-singleton-or-deck.d.ts +0 -30
- package/build/esm/lib/event/on-card-became-singleton-or-deck.js +0 -99
- package/build/esm/lib/event/on-card-became-singleton-or-deck.js.map +0 -1
- package/build/esm/lib/event/on-card-became-singleton-or-deck.testp.d.ts +0 -1
- package/build/esm/lib/event/on-card-became-singleton-or-deck.testp.js +0 -13
- package/build/esm/lib/event/on-card-became-singleton-or-deck.testp.js.map +0 -1
- package/build/esm/lib/event/throttle-click-handler.d.ts +0 -9
- package/build/esm/lib/event/throttle-click-handler.js +0 -24
- package/build/esm/lib/event/throttle-click-handler.js.map +0 -1
- package/build/esm/lib/event/triggerable-multicast-delegate.d.ts +0 -30
- package/build/esm/lib/event/triggerable-multicast-delegate.js +0 -53
- package/build/esm/lib/event/triggerable-multicast-delegate.js.map +0 -1
- package/build/esm/lib/game-object/dice-snap-rotation/dice-snap-rotation-obj.d.ts +0 -1
- package/build/esm/lib/game-object/dice-snap-rotation/dice-snap-rotation-obj.js +0 -4
- package/build/esm/lib/game-object/dice-snap-rotation/dice-snap-rotation-obj.js.map +0 -1
- package/build/esm/lib/game-object/dice-snap-rotation/dice-snap-rotation.d.ts +0 -4
- package/build/esm/lib/game-object/dice-snap-rotation/dice-snap-rotation.js +0 -20
- package/build/esm/lib/game-object/dice-snap-rotation/dice-snap-rotation.js.map +0 -1
- package/build/esm/lib/jest-util/click-all/click-all.d.ts +0 -2
- package/build/esm/lib/jest-util/click-all/click-all.js +0 -34
- package/build/esm/lib/jest-util/click-all/click-all.js.map +0 -1
- package/build/esm/lib/parse/parse-color.d.ts +0 -7
- package/build/esm/lib/parse/parse-color.js +0 -43
- package/build/esm/lib/parse/parse-color.js.map +0 -1
- package/build/esm/lib/svg/svg-sparkline.d.ts +0 -12
- package/build/esm/lib/svg/svg-sparkline.js +0 -40
- package/build/esm/lib/svg/svg-sparkline.js.map +0 -1
- package/build/esm/lib/ui-visibility/ui-visibility.d.ts +0 -17
- package/build/esm/lib/ui-visibility/ui-visibility.js +0 -65
- package/build/esm/lib/ui-visibility/ui-visibility.js.map +0 -1
- package/build/esm/lib-ext/image-table.d.ts +0 -1
- package/build/esm/lib-ext/image-table.js +0 -9
- package/build/esm/lib-ext/image-table.js.map +0 -1
- package/build/module_type_should_override_this/index.d.ts +0 -54
- package/build/module_type_should_override_this/index.js +0 -55
- package/build/module_type_should_override_this/index.js.map +0 -1
- package/build/module_type_should_override_this/lib/adjacency/adjacency.d.ts +0 -61
- package/build/module_type_should_override_this/lib/adjacency/adjacency.js +0 -212
- package/build/module_type_should_override_this/lib/adjacency/adjacency.js.map +0 -1
- package/build/module_type_should_override_this/lib/broadcast/broadcast.d.ts +0 -9
- package/build/module_type_should_override_this/lib/broadcast/broadcast.js +0 -42
- package/build/module_type_should_override_this/lib/broadcast/broadcast.js.map +0 -1
- package/build/module_type_should_override_this/lib/bug-workarounds/bug-card-holder-assignment.d.ts +0 -8
- package/build/module_type_should_override_this/lib/bug-workarounds/bug-card-holder-assignment.js +0 -10
- package/build/module_type_should_override_this/lib/bug-workarounds/bug-card-holder-assignment.js.map +0 -1
- package/build/module_type_should_override_this/lib/bug-workarounds/bug-unique-cards.d.ts +0 -8
- package/build/module_type_should_override_this/lib/bug-workarounds/bug-unique-cards.js +0 -10
- package/build/module_type_should_override_this/lib/bug-workarounds/bug-unique-cards.js.map +0 -1
- package/build/module_type_should_override_this/lib/card-util/card-util.d.ts +0 -45
- package/build/module_type_should_override_this/lib/card-util/card-util.js +0 -173
- package/build/module_type_should_override_this/lib/card-util/card-util.js.map +0 -1
- package/build/module_type_should_override_this/lib/context-menu/abstract-right-click-card.d.ts +0 -17
- package/build/module_type_should_override_this/lib/context-menu/abstract-right-click-card.js +0 -36
- package/build/module_type_should_override_this/lib/context-menu/abstract-right-click-card.js.map +0 -1
- package/build/module_type_should_override_this/lib/context-menu/abstract-right-click-deck.d.ts +0 -19
- package/build/module_type_should_override_this/lib/context-menu/abstract-right-click-deck.js +0 -42
- package/build/module_type_should_override_this/lib/context-menu/abstract-right-click-deck.js.map +0 -1
- package/build/module_type_should_override_this/lib/context-menu/leave-seat.d.ts +0 -19
- package/build/module_type_should_override_this/lib/context-menu/leave-seat.js +0 -47
- package/build/module_type_should_override_this/lib/context-menu/leave-seat.js.map +0 -1
- package/build/module_type_should_override_this/lib/data-store/data-store.d.ts +0 -104
- package/build/module_type_should_override_this/lib/data-store/data-store.js +0 -392
- package/build/module_type_should_override_this/lib/data-store/data-store.js.map +0 -1
- package/build/module_type_should_override_this/lib/dice-group/dice-group-testp.d.ts +0 -1
- package/build/module_type_should_override_this/lib/dice-group/dice-group-testp.js +0 -37
- package/build/module_type_should_override_this/lib/dice-group/dice-group-testp.js.map +0 -1
- package/build/module_type_should_override_this/lib/dice-group/dice-group.d.ts +0 -83
- package/build/module_type_should_override_this/lib/dice-group/dice-group.js +0 -247
- package/build/module_type_should_override_this/lib/dice-group/dice-group.js.map +0 -1
- package/build/module_type_should_override_this/lib/error-handler/bugsplat-remote-reporter.d.ts +0 -21
- package/build/module_type_should_override_this/lib/error-handler/bugsplat-remote-reporter.js +0 -54
- package/build/module_type_should_override_this/lib/error-handler/bugsplat-remote-reporter.js.map +0 -1
- package/build/module_type_should_override_this/lib/error-handler/error-batcher.d.ts +0 -11
- package/build/module_type_should_override_this/lib/error-handler/error-batcher.js +0 -50
- package/build/module_type_should_override_this/lib/error-handler/error-batcher.js.map +0 -1
- package/build/module_type_should_override_this/lib/error-handler/error-handler.d.ts +0 -43
- package/build/module_type_should_override_this/lib/error-handler/error-handler.js +0 -234
- package/build/module_type_should_override_this/lib/error-handler/error-handler.js.map +0 -1
- package/build/module_type_should_override_this/lib/error-handler/error-handler.testp.d.ts +0 -4
- package/build/module_type_should_override_this/lib/error-handler/error-handler.testp.js +0 -13
- package/build/module_type_should_override_this/lib/error-handler/error-handler.testp.js.map +0 -1
- package/build/module_type_should_override_this/lib/event/on-card-became-singleton-or-deck.d.ts +0 -30
- package/build/module_type_should_override_this/lib/event/on-card-became-singleton-or-deck.js +0 -99
- package/build/module_type_should_override_this/lib/event/on-card-became-singleton-or-deck.js.map +0 -1
- package/build/module_type_should_override_this/lib/event/on-card-became-singleton-or-deck.testp.d.ts +0 -1
- package/build/module_type_should_override_this/lib/event/on-card-became-singleton-or-deck.testp.js +0 -13
- package/build/module_type_should_override_this/lib/event/on-card-became-singleton-or-deck.testp.js.map +0 -1
- package/build/module_type_should_override_this/lib/event/throttle-click-handler.d.ts +0 -9
- package/build/module_type_should_override_this/lib/event/throttle-click-handler.js +0 -24
- package/build/module_type_should_override_this/lib/event/throttle-click-handler.js.map +0 -1
- package/build/module_type_should_override_this/lib/event/triggerable-multicast-delegate.d.ts +0 -30
- package/build/module_type_should_override_this/lib/event/triggerable-multicast-delegate.js +0 -53
- package/build/module_type_should_override_this/lib/event/triggerable-multicast-delegate.js.map +0 -1
- package/build/module_type_should_override_this/lib/facing/facing.d.ts +0 -4
- package/build/module_type_should_override_this/lib/facing/facing.js +0 -15
- package/build/module_type_should_override_this/lib/facing/facing.js.map +0 -1
- package/build/module_type_should_override_this/lib/find/find.d.ts +0 -19
- package/build/module_type_should_override_this/lib/find/find.js +0 -152
- package/build/module_type_should_override_this/lib/find/find.js.map +0 -1
- package/build/module_type_should_override_this/lib/game-object/cardholder-player-name/cardholder-player-name-obj.d.ts +0 -1
- package/build/module_type_should_override_this/lib/game-object/cardholder-player-name/cardholder-player-name-obj.js +0 -10
- package/build/module_type_should_override_this/lib/game-object/cardholder-player-name/cardholder-player-name-obj.js.map +0 -1
- package/build/module_type_should_override_this/lib/game-object/cardholder-player-name/cardholder-player-name.d.ts +0 -19
- package/build/module_type_should_override_this/lib/game-object/cardholder-player-name/cardholder-player-name.js +0 -101
- package/build/module_type_should_override_this/lib/game-object/cardholder-player-name/cardholder-player-name.js.map +0 -1
- package/build/module_type_should_override_this/lib/game-object/deleted-items-container/deleted-items-container-obj.d.ts +0 -1
- package/build/module_type_should_override_this/lib/game-object/deleted-items-container/deleted-items-container-obj.js +0 -5
- package/build/module_type_should_override_this/lib/game-object/deleted-items-container/deleted-items-container-obj.js.map +0 -1
- package/build/module_type_should_override_this/lib/game-object/deleted-items-container/deleted-items-container.d.ts +0 -24
- package/build/module_type_should_override_this/lib/game-object/deleted-items-container/deleted-items-container.js +0 -91
- package/build/module_type_should_override_this/lib/game-object/deleted-items-container/deleted-items-container.js.map +0 -1
- package/build/module_type_should_override_this/lib/game-object/garbage/garbage-container-obj.d.ts +0 -1
- package/build/module_type_should_override_this/lib/game-object/garbage/garbage-container-obj.js +0 -4
- package/build/module_type_should_override_this/lib/game-object/garbage/garbage-container-obj.js.map +0 -1
- package/build/module_type_should_override_this/lib/game-object/garbage/garbage-container.d.ts +0 -43
- package/build/module_type_should_override_this/lib/game-object/garbage/garbage-container.js +0 -116
- package/build/module_type_should_override_this/lib/game-object/garbage/garbage-container.js.map +0 -1
- package/build/module_type_should_override_this/lib/game-object/garbage/simple-card-garbage-handler.d.ts +0 -20
- package/build/module_type_should_override_this/lib/game-object/garbage/simple-card-garbage-handler.js +0 -100
- package/build/module_type_should_override_this/lib/game-object/garbage/simple-card-garbage-handler.js.map +0 -1
- package/build/module_type_should_override_this/lib/game-object/garbage/simple-to-container-handler.d.ts +0 -16
- package/build/module_type_should_override_this/lib/game-object/garbage/simple-to-container-handler.js +0 -44
- package/build/module_type_should_override_this/lib/game-object/garbage/simple-to-container-handler.js.map +0 -1
- package/build/module_type_should_override_this/lib/game-object/garbage/simple-to-snap-point-handler.d.ts +0 -19
- package/build/module_type_should_override_this/lib/game-object/garbage/simple-to-snap-point-handler.js +0 -50
- package/build/module_type_should_override_this/lib/game-object/garbage/simple-to-snap-point-handler.js.map +0 -1
- package/build/module_type_should_override_this/lib/global/global-init.d.ts +0 -10
- package/build/module_type_should_override_this/lib/global/global-init.js +0 -20
- package/build/module_type_should_override_this/lib/global/global-init.js.map +0 -1
- package/build/module_type_should_override_this/lib/global/i-global.d.ts +0 -3
- package/build/module_type_should_override_this/lib/global/i-global.js +0 -2
- package/build/module_type_should_override_this/lib/global/i-global.js.map +0 -1
- package/build/module_type_should_override_this/lib/heap/heap.d.ts +0 -8
- package/build/module_type_should_override_this/lib/heap/heap.js +0 -109
- package/build/module_type_should_override_this/lib/heap/heap.js.map +0 -1
- package/build/module_type_should_override_this/lib/layout-objects/layout-objects.d.ts +0 -49
- package/build/module_type_should_override_this/lib/layout-objects/layout-objects.js +0 -257
- package/build/module_type_should_override_this/lib/layout-objects/layout-objects.js.map +0 -1
- package/build/module_type_should_override_this/lib/locale/locale.d.ts +0 -8
- package/build/module_type_should_override_this/lib/locale/locale.js +0 -48
- package/build/module_type_should_override_this/lib/locale/locale.js.map +0 -1
- package/build/module_type_should_override_this/lib/namespace-id/namespace-id.d.ts +0 -1
- package/build/module_type_should_override_this/lib/namespace-id/namespace-id.js +0 -2
- package/build/module_type_should_override_this/lib/namespace-id/namespace-id.js.map +0 -1
- package/build/module_type_should_override_this/lib/nsid/nsid.d.ts +0 -54
- package/build/module_type_should_override_this/lib/nsid/nsid.js +0 -86
- package/build/module_type_should_override_this/lib/nsid/nsid.js.map +0 -1
- package/build/module_type_should_override_this/lib/parse/parse-color.d.ts +0 -7
- package/build/module_type_should_override_this/lib/parse/parse-color.js +0 -43
- package/build/module_type_should_override_this/lib/parse/parse-color.js.map +0 -1
- package/build/module_type_should_override_this/lib/perf/perf.d.ts +0 -29
- package/build/module_type_should_override_this/lib/perf/perf.js +0 -93
- package/build/module_type_should_override_this/lib/perf/perf.js.map +0 -1
- package/build/module_type_should_override_this/lib/setup/abstract-setup.d.ts +0 -18
- package/build/module_type_should_override_this/lib/setup/abstract-setup.js +0 -22
- package/build/module_type_should_override_this/lib/setup/abstract-setup.js.map +0 -1
- package/build/module_type_should_override_this/lib/shuffle/shuffle.d.ts +0 -7
- package/build/module_type_should_override_this/lib/shuffle/shuffle.js +0 -26
- package/build/module_type_should_override_this/lib/shuffle/shuffle.js.map +0 -1
- package/build/module_type_should_override_this/lib/spawn/spawn.d.ts +0 -21
- package/build/module_type_should_override_this/lib/spawn/spawn.js +0 -116
- package/build/module_type_should_override_this/lib/spawn/spawn.js.map +0 -1
- package/build/module_type_should_override_this/lib/svg/svg-sparkline.d.ts +0 -12
- package/build/module_type_should_override_this/lib/svg/svg-sparkline.js +0 -40
- package/build/module_type_should_override_this/lib/svg/svg-sparkline.js.map +0 -1
- package/build/module_type_should_override_this/lib/turn-order/turn-order.d.ts +0 -51
- package/build/module_type_should_override_this/lib/turn-order/turn-order.js +0 -200
- package/build/module_type_should_override_this/lib/turn-order/turn-order.js.map +0 -1
- package/build/module_type_should_override_this/lib/ui/screen-test.d.ts +0 -1
- package/build/module_type_should_override_this/lib/ui/screen-test.js +0 -20
- package/build/module_type_should_override_this/lib/ui/screen-test.js.map +0 -1
- package/build/module_type_should_override_this/lib/ui-visibility/ui-visibility.d.ts +0 -17
- package/build/module_type_should_override_this/lib/ui-visibility/ui-visibility.js +0 -65
- package/build/module_type_should_override_this/lib/ui-visibility/ui-visibility.js.map +0 -1
- package/build/module_type_should_override_this/lib/whisper-reporter/whisper-reporter-locale.data.d.ts +0 -3
- package/build/module_type_should_override_this/lib/whisper-reporter/whisper-reporter-locale.data.js +0 -4
- package/build/module_type_should_override_this/lib/whisper-reporter/whisper-reporter-locale.data.js.map +0 -1
- package/build/module_type_should_override_this/lib/whisper-reporter/whisper-reporter.d.ts +0 -5
- package/build/module_type_should_override_this/lib/whisper-reporter/whisper-reporter.js +0 -25
- package/build/module_type_should_override_this/lib/whisper-reporter/whisper-reporter.js.map +0 -1
- package/build/module_type_should_override_this/lib/widget/confirm-button/confirm-button.d.ts +0 -2
- package/build/module_type_should_override_this/lib/widget/confirm-button/confirm-button.js +0 -3
- package/build/module_type_should_override_this/lib/widget/confirm-button/confirm-button.js.map +0 -1
- package/build/module_type_should_override_this/lib/widget/d6widget/d6widget.d.ts +0 -48
- package/build/module_type_should_override_this/lib/widget/d6widget/d6widget.js +0 -84
- package/build/module_type_should_override_this/lib/widget/d6widget/d6widget.js.map +0 -1
- package/build/module_type_should_override_this/lib/widget/end-turn-button/end-turn-button.d.ts +0 -35
- package/build/module_type_should_override_this/lib/widget/end-turn-button/end-turn-button.js +0 -109
- package/build/module_type_should_override_this/lib/widget/end-turn-button/end-turn-button.js.map +0 -1
- package/build/module_type_should_override_this/lib/widget/end-turn-button/end-turn-button.testp.d.ts +0 -1
- package/build/module_type_should_override_this/lib/widget/end-turn-button/end-turn-button.testp.js +0 -10
- package/build/module_type_should_override_this/lib/widget/end-turn-button/end-turn-button.testp.js.map +0 -1
- package/build/module_type_should_override_this/lib/widget/end-turn-button/end-turn-locale.data.d.ts +0 -3
- package/build/module_type_should_override_this/lib/widget/end-turn-button/end-turn-locale.data.js +0 -4
- package/build/module_type_should_override_this/lib/widget/end-turn-button/end-turn-locale.data.js.map +0 -1
- package/build/module_type_should_override_this/lib/widget/hot-seat-button/hot-seat-button.d.ts +0 -28
- package/build/module_type_should_override_this/lib/widget/hot-seat-button/hot-seat-button.js +0 -99
- package/build/module_type_should_override_this/lib/widget/hot-seat-button/hot-seat-button.js.map +0 -1
- package/build/module_type_should_override_this/lib/widget/hot-seat-button/hot-seat-button.testp.d.ts +0 -1
- package/build/module_type_should_override_this/lib/widget/hot-seat-button/hot-seat-button.testp.js +0 -10
- package/build/module_type_should_override_this/lib/widget/hot-seat-button/hot-seat-button.testp.js.map +0 -1
- package/build/module_type_should_override_this/lib/widget/hot-seat-button/hot-seat-locale.data.d.ts +0 -3
- package/build/module_type_should_override_this/lib/widget/hot-seat-button/hot-seat-locale.data.js +0 -5
- package/build/module_type_should_override_this/lib/widget/hot-seat-button/hot-seat-locale.data.js.map +0 -1
- package/build/module_type_should_override_this/lib/widget/perf-widget/perf-widget-locale.data.d.ts +0 -3
- package/build/module_type_should_override_this/lib/widget/perf-widget/perf-widget-locale.data.js +0 -4
- package/build/module_type_should_override_this/lib/widget/perf-widget/perf-widget-locale.data.js.map +0 -1
- package/build/module_type_should_override_this/lib/widget/perf-widget/perf-widget.d.ts +0 -19
- package/build/module_type_should_override_this/lib/widget/perf-widget/perf-widget.js +0 -74
- package/build/module_type_should_override_this/lib/widget/perf-widget/perf-widget.js.map +0 -1
- package/build/module_type_should_override_this/lib/widget/perf-widget/perf-widget.testp.d.ts +0 -1
- package/build/module_type_should_override_this/lib/widget/perf-widget/perf-widget.testp.js +0 -5
- package/build/module_type_should_override_this/lib/widget/perf-widget/perf-widget.testp.js.map +0 -1
- package/build/module_type_should_override_this/lib/widget/turn-order-widget/turn-clicked-widget.d.ts +0 -22
- package/build/module_type_should_override_this/lib/widget/turn-order-widget/turn-clicked-widget.js +0 -136
- package/build/module_type_should_override_this/lib/widget/turn-order-widget/turn-clicked-widget.js.map +0 -1
- package/build/module_type_should_override_this/lib/widget/turn-order-widget/turn-entry-wart.d.ts +0 -16
- package/build/module_type_should_override_this/lib/widget/turn-order-widget/turn-entry-wart.js +0 -7
- package/build/module_type_should_override_this/lib/widget/turn-order-widget/turn-entry-wart.js.map +0 -1
- package/build/module_type_should_override_this/lib/widget/turn-order-widget/turn-entry-widget.d.ts +0 -29
- package/build/module_type_should_override_this/lib/widget/turn-order-widget/turn-entry-widget.js +0 -131
- package/build/module_type_should_override_this/lib/widget/turn-order-widget/turn-entry-widget.js.map +0 -1
- package/build/module_type_should_override_this/lib/widget/turn-order-widget/turn-order-locale.data.d.ts +0 -3
- package/build/module_type_should_override_this/lib/widget/turn-order-widget/turn-order-locale.data.js +0 -13
- package/build/module_type_should_override_this/lib/widget/turn-order-widget/turn-order-locale.data.js.map +0 -1
- package/build/module_type_should_override_this/lib/widget/turn-order-widget/turn-order-widget-params.d.ts +0 -33
- package/build/module_type_should_override_this/lib/widget/turn-order-widget/turn-order-widget-params.js +0 -6
- package/build/module_type_should_override_this/lib/widget/turn-order-widget/turn-order-widget-params.js.map +0 -1
- package/build/module_type_should_override_this/lib/widget/turn-order-widget/turn-order-widget.d.ts +0 -25
- package/build/module_type_should_override_this/lib/widget/turn-order-widget/turn-order-widget.js +0 -99
- package/build/module_type_should_override_this/lib/widget/turn-order-widget/turn-order-widget.js.map +0 -1
- package/build/module_type_should_override_this/lib/widget/turn-order-widget/turn-order-widget.testp.d.ts +0 -1
- package/build/module_type_should_override_this/lib/widget/turn-order-widget/turn-order-widget.testp.js +0 -58
- package/build/module_type_should_override_this/lib/widget/turn-order-widget/turn-order-widget.testp.js.map +0 -1
- package/build/module_type_should_override_this/lib-ext/image-table.d.ts +0 -1
- package/build/module_type_should_override_this/lib-ext/image-table.js +0 -9
- package/build/module_type_should_override_this/lib-ext/image-table.js.map +0 -1
- package/build/module_type_should_override_this/locale.data.d.ts +0 -4
- package/build/module_type_should_override_this/locale.data.js +0 -5
- package/build/module_type_should_override_this/locale.data.js.map +0 -1
|
@@ -6,6 +6,8 @@ export type AdjacencyResult = {
|
|
|
6
6
|
/**
|
|
7
7
|
* Nodes have tags, links connect tags.
|
|
8
8
|
* Tansit nodes are on a path, but do not add to distance ("hyperlane").
|
|
9
|
+
* Transit nodes are not "reachable" and will not appear as destinations,
|
|
10
|
+
* but they can appear in paths to reach other nodes.
|
|
9
11
|
*
|
|
10
12
|
* If two nodes share a tag they are NOT connected UNLESS there is a link
|
|
11
13
|
* from tag back to itself.
|
|
@@ -5,6 +5,8 @@ const heap_1 = require("../heap/heap");
|
|
|
5
5
|
/**
|
|
6
6
|
* Nodes have tags, links connect tags.
|
|
7
7
|
* Tansit nodes are on a path, but do not add to distance ("hyperlane").
|
|
8
|
+
* Transit nodes are not "reachable" and will not appear as destinations,
|
|
9
|
+
* but they can appear in paths to reach other nodes.
|
|
8
10
|
*
|
|
9
11
|
* If two nodes share a tag they are NOT connected UNLESS there is a link
|
|
10
12
|
* from tag back to itself.
|
|
@@ -177,37 +179,54 @@ class Adjacency {
|
|
|
177
179
|
]);
|
|
178
180
|
const visited = new Set();
|
|
179
181
|
const heap = new heap_1.Heap().add(origin, 0);
|
|
180
|
-
|
|
182
|
+
let closestNode;
|
|
183
|
+
while (toVisit.size > 0 && (closestNode = heap.removeMin())) {
|
|
181
184
|
// Find the closest of the to-visit nodes.
|
|
182
|
-
const
|
|
183
|
-
if (
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
const
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
toVisit.add(adjResult);
|
|
203
|
-
heap.add(adjNode, distance);
|
|
204
|
-
}
|
|
185
|
+
const closest = nodeToAdjacencyResult[closestNode];
|
|
186
|
+
if (closest) {
|
|
187
|
+
toVisit.delete(closest);
|
|
188
|
+
visited.add(closest.node);
|
|
189
|
+
const adjNodeSet = this._getAdjacentNodeSet(closest.node);
|
|
190
|
+
for (const adjNode of adjNodeSet) {
|
|
191
|
+
if (!visited.has(adjNode)) {
|
|
192
|
+
// Add to result.
|
|
193
|
+
const isTransit = this._transitNodes.has(adjNode);
|
|
194
|
+
const extraDistance = isTransit ? 0 : 1;
|
|
195
|
+
const distance = closest.distance + extraDistance;
|
|
196
|
+
if (distance <= maxDistance) {
|
|
197
|
+
const adjResult = {
|
|
198
|
+
node: adjNode,
|
|
199
|
+
distance,
|
|
200
|
+
path: [...closest.path, adjNode],
|
|
201
|
+
};
|
|
202
|
+
nodeToAdjacencyResult[adjNode] = adjResult;
|
|
203
|
+
toVisit.add(adjResult);
|
|
204
|
+
heap.add(adjNode, distance);
|
|
205
205
|
}
|
|
206
206
|
}
|
|
207
207
|
}
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
|
-
|
|
210
|
+
let result = Object.values(nodeToAdjacencyResult);
|
|
211
|
+
// Remove transit nodes.
|
|
212
|
+
result = result.filter((entry) => !this._transitNodes.has(entry.node));
|
|
213
|
+
// Sort by distance.
|
|
214
|
+
result = result.sort((a, b) => {
|
|
215
|
+
if (a.distance < b.distance) {
|
|
216
|
+
return -1;
|
|
217
|
+
}
|
|
218
|
+
else if (a.distance > b.distance) {
|
|
219
|
+
return 1;
|
|
220
|
+
}
|
|
221
|
+
if (a.node < b.node) {
|
|
222
|
+
return -1;
|
|
223
|
+
}
|
|
224
|
+
else if (a.node > b.node) {
|
|
225
|
+
return 1;
|
|
226
|
+
}
|
|
227
|
+
return 0;
|
|
228
|
+
});
|
|
229
|
+
return result;
|
|
211
230
|
}
|
|
212
231
|
}
|
|
213
232
|
exports.Adjacency = Adjacency;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"adjacency.js","sourceRoot":"","sources":["../../../../src/lib/adjacency/adjacency.ts"],"names":[],"mappings":";;;AAAA,uCAAoC;AAQpC
|
|
1
|
+
{"version":3,"file":"adjacency.js","sourceRoot":"","sources":["../../../../src/lib/adjacency/adjacency.ts"],"names":[],"mappings":";;;AAAA,uCAAoC;AAQpC;;;;;;;;;;GAUG;AACH,MAAa,SAAS;IAAtB;QACqB,kBAAa,GAAmC,EAAE,CAAC;QACnD,kBAAa,GAAmC,EAAE,CAAC;QACnD,uBAAkB,GAAmC,EAAE,CAAC;QACxD,kBAAa,GAAgB,IAAI,GAAG,EAAU,CAAC;IA2OpE,CAAC;IAzOG;;;;;;;OAOG;IACI,WAAW,CAAC,IAAY,EAAE,IAAmB;Q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,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,QAAQ,EAAE,CAAC;gBAC1B,OAAO,CAAC,CAAC,CAAC;YACd,CAAC;iBAAM,IAAI,CAAC,CAAC,QAAQ,GAAG,CAAC,CAAC,QAAQ,EAAE,CAAC;gBACjC,OAAO,CAAC,CAAC;YACb,CAAC;YACD,IAAI,CAAC,CAAC,IAAI,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC;gBAClB,OAAO,CAAC,CAAC,CAAC;YACd,CAAC;iBAAM,IAAI,CAAC,CAAC,IAAI,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC;gBACzB,OAAO,CAAC,CAAC;YACb,CAAC;YACD,OAAO,CAAC,CAAC;QACb,CAAC,CAAC,CAAC;QAEH,OAAO,MAAM,CAAC;IAClB,CAAC;CACJ;AA/OD,8BA+OC"}
|
|
@@ -255,7 +255,7 @@ export declare const CreateCardsheetParamsSchema: z.ZodObject<{
|
|
|
255
255
|
metadata: z.ZodOptional<z.ZodString>;
|
|
256
256
|
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
257
257
|
}, "strict", z.ZodTypeAny, {
|
|
258
|
-
face:
|
|
258
|
+
face: string | z.objectOutputType<{
|
|
259
259
|
type: z.ZodString;
|
|
260
260
|
scale: z.ZodOptional<z.ZodObject<{
|
|
261
261
|
pixel: z.ZodNumber;
|
|
@@ -292,44 +292,8 @@ export declare const CreateCardsheetParamsSchema: z.ZodObject<{
|
|
|
292
292
|
range?: number | undefined;
|
|
293
293
|
createCountToPrev?: number | undefined;
|
|
294
294
|
}>, "many">>;
|
|
295
|
-
}, z.ZodTypeAny, "passthrough"
|
|
296
|
-
|
|
297
|
-
scale: z.ZodOptional<z.ZodObject<{
|
|
298
|
-
pixel: z.ZodNumber;
|
|
299
|
-
world: z.ZodNumber;
|
|
300
|
-
}, "strict", z.ZodTypeAny, {
|
|
301
|
-
pixel: number;
|
|
302
|
-
world: number;
|
|
303
|
-
}, {
|
|
304
|
-
pixel: number;
|
|
305
|
-
world: number;
|
|
306
|
-
}>>;
|
|
307
|
-
exports: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
|
|
308
|
-
id: z.ZodOptional<z.ZodString>;
|
|
309
|
-
cloneId: z.ZodOptional<z.ZodString>;
|
|
310
|
-
snapPoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
311
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
312
|
-
left: z.ZodOptional<z.ZodNumber>;
|
|
313
|
-
top: z.ZodOptional<z.ZodNumber>;
|
|
314
|
-
rotation: z.ZodOptional<z.ZodNumber>;
|
|
315
|
-
range: z.ZodOptional<z.ZodNumber>;
|
|
316
|
-
createCountToPrev: z.ZodOptional<z.ZodNumber>;
|
|
317
|
-
}, "strict", z.ZodTypeAny, {
|
|
318
|
-
tags?: string[] | undefined;
|
|
319
|
-
left?: number | undefined;
|
|
320
|
-
top?: number | undefined;
|
|
321
|
-
rotation?: number | undefined;
|
|
322
|
-
range?: number | undefined;
|
|
323
|
-
createCountToPrev?: number | undefined;
|
|
324
|
-
}, {
|
|
325
|
-
tags?: string[] | undefined;
|
|
326
|
-
left?: number | undefined;
|
|
327
|
-
top?: number | undefined;
|
|
328
|
-
rotation?: number | undefined;
|
|
329
|
-
range?: number | undefined;
|
|
330
|
-
createCountToPrev?: number | undefined;
|
|
331
|
-
}>, "many">>;
|
|
332
|
-
}, z.ZodTypeAny, "passthrough"> | undefined);
|
|
295
|
+
}, z.ZodTypeAny, "passthrough">;
|
|
296
|
+
tags?: string[] | undefined;
|
|
333
297
|
back?: string | z.objectOutputType<{
|
|
334
298
|
type: z.ZodString;
|
|
335
299
|
scale: z.ZodOptional<z.ZodObject<{
|
|
@@ -370,9 +334,8 @@ export declare const CreateCardsheetParamsSchema: z.ZodObject<{
|
|
|
370
334
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
371
335
|
name?: string | undefined;
|
|
372
336
|
metadata?: string | undefined;
|
|
373
|
-
tags?: string[] | undefined;
|
|
374
337
|
}, {
|
|
375
|
-
face:
|
|
338
|
+
face: string | z.objectInputType<{
|
|
376
339
|
type: z.ZodString;
|
|
377
340
|
scale: z.ZodOptional<z.ZodObject<{
|
|
378
341
|
pixel: z.ZodNumber;
|
|
@@ -409,44 +372,8 @@ export declare const CreateCardsheetParamsSchema: z.ZodObject<{
|
|
|
409
372
|
range?: number | undefined;
|
|
410
373
|
createCountToPrev?: number | undefined;
|
|
411
374
|
}>, "many">>;
|
|
412
|
-
}, z.ZodTypeAny, "passthrough"
|
|
413
|
-
|
|
414
|
-
scale: z.ZodOptional<z.ZodObject<{
|
|
415
|
-
pixel: z.ZodNumber;
|
|
416
|
-
world: z.ZodNumber;
|
|
417
|
-
}, "strict", z.ZodTypeAny, {
|
|
418
|
-
pixel: number;
|
|
419
|
-
world: number;
|
|
420
|
-
}, {
|
|
421
|
-
pixel: number;
|
|
422
|
-
world: number;
|
|
423
|
-
}>>;
|
|
424
|
-
exports: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
|
|
425
|
-
id: z.ZodOptional<z.ZodString>;
|
|
426
|
-
cloneId: z.ZodOptional<z.ZodString>;
|
|
427
|
-
snapPoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
428
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
429
|
-
left: z.ZodOptional<z.ZodNumber>;
|
|
430
|
-
top: z.ZodOptional<z.ZodNumber>;
|
|
431
|
-
rotation: z.ZodOptional<z.ZodNumber>;
|
|
432
|
-
range: z.ZodOptional<z.ZodNumber>;
|
|
433
|
-
createCountToPrev: z.ZodOptional<z.ZodNumber>;
|
|
434
|
-
}, "strict", z.ZodTypeAny, {
|
|
435
|
-
tags?: string[] | undefined;
|
|
436
|
-
left?: number | undefined;
|
|
437
|
-
top?: number | undefined;
|
|
438
|
-
rotation?: number | undefined;
|
|
439
|
-
range?: number | undefined;
|
|
440
|
-
createCountToPrev?: number | undefined;
|
|
441
|
-
}, {
|
|
442
|
-
tags?: string[] | undefined;
|
|
443
|
-
left?: number | undefined;
|
|
444
|
-
top?: number | undefined;
|
|
445
|
-
rotation?: number | undefined;
|
|
446
|
-
range?: number | undefined;
|
|
447
|
-
createCountToPrev?: number | undefined;
|
|
448
|
-
}>, "many">>;
|
|
449
|
-
}, z.ZodTypeAny, "passthrough"> | undefined);
|
|
375
|
+
}, z.ZodTypeAny, "passthrough">;
|
|
376
|
+
tags?: string[] | undefined;
|
|
450
377
|
back?: string | z.objectInputType<{
|
|
451
378
|
type: z.ZodString;
|
|
452
379
|
scale: z.ZodOptional<z.ZodObject<{
|
|
@@ -487,7 +414,6 @@ export declare const CreateCardsheetParamsSchema: z.ZodObject<{
|
|
|
487
414
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
488
415
|
name?: string | undefined;
|
|
489
416
|
metadata?: string | undefined;
|
|
490
|
-
tags?: string[] | undefined;
|
|
491
417
|
}>, "many">;
|
|
492
418
|
back: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodObject<{
|
|
493
419
|
type: z.ZodString;
|
|
@@ -613,7 +539,7 @@ export declare const CreateCardsheetParamsSchema: z.ZodObject<{
|
|
|
613
539
|
height: number;
|
|
614
540
|
};
|
|
615
541
|
cards: {
|
|
616
|
-
face:
|
|
542
|
+
face: string | z.objectOutputType<{
|
|
617
543
|
type: z.ZodString;
|
|
618
544
|
scale: z.ZodOptional<z.ZodObject<{
|
|
619
545
|
pixel: z.ZodNumber;
|
|
@@ -650,44 +576,8 @@ export declare const CreateCardsheetParamsSchema: z.ZodObject<{
|
|
|
650
576
|
range?: number | undefined;
|
|
651
577
|
createCountToPrev?: number | undefined;
|
|
652
578
|
}>, "many">>;
|
|
653
|
-
}, z.ZodTypeAny, "passthrough"
|
|
654
|
-
|
|
655
|
-
scale: z.ZodOptional<z.ZodObject<{
|
|
656
|
-
pixel: z.ZodNumber;
|
|
657
|
-
world: z.ZodNumber;
|
|
658
|
-
}, "strict", z.ZodTypeAny, {
|
|
659
|
-
pixel: number;
|
|
660
|
-
world: number;
|
|
661
|
-
}, {
|
|
662
|
-
pixel: number;
|
|
663
|
-
world: number;
|
|
664
|
-
}>>;
|
|
665
|
-
exports: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
|
|
666
|
-
id: z.ZodOptional<z.ZodString>;
|
|
667
|
-
cloneId: z.ZodOptional<z.ZodString>;
|
|
668
|
-
snapPoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
669
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
670
|
-
left: z.ZodOptional<z.ZodNumber>;
|
|
671
|
-
top: z.ZodOptional<z.ZodNumber>;
|
|
672
|
-
rotation: z.ZodOptional<z.ZodNumber>;
|
|
673
|
-
range: z.ZodOptional<z.ZodNumber>;
|
|
674
|
-
createCountToPrev: z.ZodOptional<z.ZodNumber>;
|
|
675
|
-
}, "strict", z.ZodTypeAny, {
|
|
676
|
-
tags?: string[] | undefined;
|
|
677
|
-
left?: number | undefined;
|
|
678
|
-
top?: number | undefined;
|
|
679
|
-
rotation?: number | undefined;
|
|
680
|
-
range?: number | undefined;
|
|
681
|
-
createCountToPrev?: number | undefined;
|
|
682
|
-
}, {
|
|
683
|
-
tags?: string[] | undefined;
|
|
684
|
-
left?: number | undefined;
|
|
685
|
-
top?: number | undefined;
|
|
686
|
-
rotation?: number | undefined;
|
|
687
|
-
range?: number | undefined;
|
|
688
|
-
createCountToPrev?: number | undefined;
|
|
689
|
-
}>, "many">>;
|
|
690
|
-
}, z.ZodTypeAny, "passthrough"> | undefined);
|
|
579
|
+
}, z.ZodTypeAny, "passthrough">;
|
|
580
|
+
tags?: string[] | undefined;
|
|
691
581
|
back?: string | z.objectOutputType<{
|
|
692
582
|
type: z.ZodString;
|
|
693
583
|
scale: z.ZodOptional<z.ZodObject<{
|
|
@@ -728,7 +618,6 @@ export declare const CreateCardsheetParamsSchema: z.ZodObject<{
|
|
|
728
618
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
729
619
|
name?: string | undefined;
|
|
730
620
|
metadata?: string | undefined;
|
|
731
|
-
tags?: string[] | undefined;
|
|
732
621
|
}[];
|
|
733
622
|
rootDir?: string | undefined;
|
|
734
623
|
deckMetadata?: string | undefined;
|
|
@@ -784,7 +673,7 @@ export declare const CreateCardsheetParamsSchema: z.ZodObject<{
|
|
|
784
673
|
height: number;
|
|
785
674
|
};
|
|
786
675
|
cards: {
|
|
787
|
-
face:
|
|
676
|
+
face: string | z.objectInputType<{
|
|
788
677
|
type: z.ZodString;
|
|
789
678
|
scale: z.ZodOptional<z.ZodObject<{
|
|
790
679
|
pixel: z.ZodNumber;
|
|
@@ -821,44 +710,8 @@ export declare const CreateCardsheetParamsSchema: z.ZodObject<{
|
|
|
821
710
|
range?: number | undefined;
|
|
822
711
|
createCountToPrev?: number | undefined;
|
|
823
712
|
}>, "many">>;
|
|
824
|
-
}, z.ZodTypeAny, "passthrough"
|
|
825
|
-
|
|
826
|
-
scale: z.ZodOptional<z.ZodObject<{
|
|
827
|
-
pixel: z.ZodNumber;
|
|
828
|
-
world: z.ZodNumber;
|
|
829
|
-
}, "strict", z.ZodTypeAny, {
|
|
830
|
-
pixel: number;
|
|
831
|
-
world: number;
|
|
832
|
-
}, {
|
|
833
|
-
pixel: number;
|
|
834
|
-
world: number;
|
|
835
|
-
}>>;
|
|
836
|
-
exports: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
|
|
837
|
-
id: z.ZodOptional<z.ZodString>;
|
|
838
|
-
cloneId: z.ZodOptional<z.ZodString>;
|
|
839
|
-
snapPoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
840
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
841
|
-
left: z.ZodOptional<z.ZodNumber>;
|
|
842
|
-
top: z.ZodOptional<z.ZodNumber>;
|
|
843
|
-
rotation: z.ZodOptional<z.ZodNumber>;
|
|
844
|
-
range: z.ZodOptional<z.ZodNumber>;
|
|
845
|
-
createCountToPrev: z.ZodOptional<z.ZodNumber>;
|
|
846
|
-
}, "strict", z.ZodTypeAny, {
|
|
847
|
-
tags?: string[] | undefined;
|
|
848
|
-
left?: number | undefined;
|
|
849
|
-
top?: number | undefined;
|
|
850
|
-
rotation?: number | undefined;
|
|
851
|
-
range?: number | undefined;
|
|
852
|
-
createCountToPrev?: number | undefined;
|
|
853
|
-
}, {
|
|
854
|
-
tags?: string[] | undefined;
|
|
855
|
-
left?: number | undefined;
|
|
856
|
-
top?: number | undefined;
|
|
857
|
-
rotation?: number | undefined;
|
|
858
|
-
range?: number | undefined;
|
|
859
|
-
createCountToPrev?: number | undefined;
|
|
860
|
-
}>, "many">>;
|
|
861
|
-
}, z.ZodTypeAny, "passthrough"> | undefined);
|
|
713
|
+
}, z.ZodTypeAny, "passthrough">;
|
|
714
|
+
tags?: string[] | undefined;
|
|
862
715
|
back?: string | z.objectInputType<{
|
|
863
716
|
type: z.ZodString;
|
|
864
717
|
scale: z.ZodOptional<z.ZodObject<{
|
|
@@ -899,7 +752,6 @@ export declare const CreateCardsheetParamsSchema: z.ZodObject<{
|
|
|
899
752
|
}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
900
753
|
name?: string | undefined;
|
|
901
754
|
metadata?: string | undefined;
|
|
902
|
-
tags?: string[] | undefined;
|
|
903
755
|
}[];
|
|
904
756
|
rootDir?: string | undefined;
|
|
905
757
|
deckMetadata?: string | undefined;
|
|
@@ -131,7 +131,7 @@ export declare const CreateD6ParamsSchema: z.ZodObject<{
|
|
|
131
131
|
name: z.ZodOptional<z.ZodString>;
|
|
132
132
|
metadata: z.ZodUnion<[z.ZodOptional<z.ZodString>, z.ZodObject<{}, "passthrough", z.ZodTypeAny, z.objectOutputType<{}, z.ZodTypeAny, "passthrough">, z.objectInputType<{}, z.ZodTypeAny, "passthrough">>]>;
|
|
133
133
|
}, "strict", z.ZodTypeAny, {
|
|
134
|
-
image:
|
|
134
|
+
image: string | z.objectOutputType<{
|
|
135
135
|
type: z.ZodString;
|
|
136
136
|
scale: z.ZodOptional<z.ZodObject<{
|
|
137
137
|
pixel: z.ZodNumber;
|
|
@@ -168,85 +168,11 @@ export declare const CreateD6ParamsSchema: z.ZodObject<{
|
|
|
168
168
|
range?: number | undefined;
|
|
169
169
|
createCountToPrev?: number | undefined;
|
|
170
170
|
}>, "many">>;
|
|
171
|
-
}, z.ZodTypeAny, "passthrough"
|
|
172
|
-
type: z.ZodString;
|
|
173
|
-
scale: z.ZodOptional<z.ZodObject<{
|
|
174
|
-
pixel: z.ZodNumber;
|
|
175
|
-
world: z.ZodNumber;
|
|
176
|
-
}, "strict", z.ZodTypeAny, {
|
|
177
|
-
pixel: number;
|
|
178
|
-
world: number;
|
|
179
|
-
}, {
|
|
180
|
-
pixel: number;
|
|
181
|
-
world: number;
|
|
182
|
-
}>>;
|
|
183
|
-
exports: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
|
|
184
|
-
id: z.ZodOptional<z.ZodString>;
|
|
185
|
-
cloneId: z.ZodOptional<z.ZodString>;
|
|
186
|
-
snapPoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
187
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
188
|
-
left: z.ZodOptional<z.ZodNumber>;
|
|
189
|
-
top: z.ZodOptional<z.ZodNumber>;
|
|
190
|
-
rotation: z.ZodOptional<z.ZodNumber>;
|
|
191
|
-
range: z.ZodOptional<z.ZodNumber>;
|
|
192
|
-
createCountToPrev: z.ZodOptional<z.ZodNumber>;
|
|
193
|
-
}, "strict", z.ZodTypeAny, {
|
|
194
|
-
tags?: string[] | undefined;
|
|
195
|
-
left?: number | undefined;
|
|
196
|
-
top?: number | undefined;
|
|
197
|
-
rotation?: number | undefined;
|
|
198
|
-
range?: number | undefined;
|
|
199
|
-
createCountToPrev?: number | undefined;
|
|
200
|
-
}, {
|
|
201
|
-
tags?: string[] | undefined;
|
|
202
|
-
left?: number | undefined;
|
|
203
|
-
top?: number | undefined;
|
|
204
|
-
rotation?: number | undefined;
|
|
205
|
-
range?: number | undefined;
|
|
206
|
-
createCountToPrev?: number | undefined;
|
|
207
|
-
}>, "many">>;
|
|
208
|
-
}, z.ZodTypeAny, "passthrough"> | undefined);
|
|
171
|
+
}, z.ZodTypeAny, "passthrough">;
|
|
209
172
|
name?: string | undefined;
|
|
210
173
|
metadata?: string | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
211
174
|
}, {
|
|
212
|
-
image:
|
|
213
|
-
type: z.ZodString;
|
|
214
|
-
scale: z.ZodOptional<z.ZodObject<{
|
|
215
|
-
pixel: z.ZodNumber;
|
|
216
|
-
world: z.ZodNumber;
|
|
217
|
-
}, "strict", z.ZodTypeAny, {
|
|
218
|
-
pixel: number;
|
|
219
|
-
world: number;
|
|
220
|
-
}, {
|
|
221
|
-
pixel: number;
|
|
222
|
-
world: number;
|
|
223
|
-
}>>;
|
|
224
|
-
exports: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
|
|
225
|
-
id: z.ZodOptional<z.ZodString>;
|
|
226
|
-
cloneId: z.ZodOptional<z.ZodString>;
|
|
227
|
-
snapPoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
228
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
229
|
-
left: z.ZodOptional<z.ZodNumber>;
|
|
230
|
-
top: z.ZodOptional<z.ZodNumber>;
|
|
231
|
-
rotation: z.ZodOptional<z.ZodNumber>;
|
|
232
|
-
range: z.ZodOptional<z.ZodNumber>;
|
|
233
|
-
createCountToPrev: z.ZodOptional<z.ZodNumber>;
|
|
234
|
-
}, "strict", z.ZodTypeAny, {
|
|
235
|
-
tags?: string[] | undefined;
|
|
236
|
-
left?: number | undefined;
|
|
237
|
-
top?: number | undefined;
|
|
238
|
-
rotation?: number | undefined;
|
|
239
|
-
range?: number | undefined;
|
|
240
|
-
createCountToPrev?: number | undefined;
|
|
241
|
-
}, {
|
|
242
|
-
tags?: string[] | undefined;
|
|
243
|
-
left?: number | undefined;
|
|
244
|
-
top?: number | undefined;
|
|
245
|
-
rotation?: number | undefined;
|
|
246
|
-
range?: number | undefined;
|
|
247
|
-
createCountToPrev?: number | undefined;
|
|
248
|
-
}>, "many">>;
|
|
249
|
-
}, z.ZodTypeAny, "passthrough">) & (string | z.objectInputType<{
|
|
175
|
+
image: string | z.objectInputType<{
|
|
250
176
|
type: z.ZodString;
|
|
251
177
|
scale: z.ZodOptional<z.ZodObject<{
|
|
252
178
|
pixel: z.ZodNumber;
|
|
@@ -283,7 +209,7 @@ export declare const CreateD6ParamsSchema: z.ZodObject<{
|
|
|
283
209
|
range?: number | undefined;
|
|
284
210
|
createCountToPrev?: number | undefined;
|
|
285
211
|
}>, "many">>;
|
|
286
|
-
}, z.ZodTypeAny, "passthrough"
|
|
212
|
+
}, z.ZodTypeAny, "passthrough">;
|
|
287
213
|
name?: string | undefined;
|
|
288
214
|
metadata?: string | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
289
215
|
}>, "many">;
|
|
@@ -295,44 +221,7 @@ export declare const CreateD6ParamsSchema: z.ZodObject<{
|
|
|
295
221
|
height: number;
|
|
296
222
|
};
|
|
297
223
|
faces: {
|
|
298
|
-
image:
|
|
299
|
-
type: z.ZodString;
|
|
300
|
-
scale: z.ZodOptional<z.ZodObject<{
|
|
301
|
-
pixel: z.ZodNumber;
|
|
302
|
-
world: z.ZodNumber;
|
|
303
|
-
}, "strict", z.ZodTypeAny, {
|
|
304
|
-
pixel: number;
|
|
305
|
-
world: number;
|
|
306
|
-
}, {
|
|
307
|
-
pixel: number;
|
|
308
|
-
world: number;
|
|
309
|
-
}>>;
|
|
310
|
-
exports: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
|
|
311
|
-
id: z.ZodOptional<z.ZodString>;
|
|
312
|
-
cloneId: z.ZodOptional<z.ZodString>;
|
|
313
|
-
snapPoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
314
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
315
|
-
left: z.ZodOptional<z.ZodNumber>;
|
|
316
|
-
top: z.ZodOptional<z.ZodNumber>;
|
|
317
|
-
rotation: z.ZodOptional<z.ZodNumber>;
|
|
318
|
-
range: z.ZodOptional<z.ZodNumber>;
|
|
319
|
-
createCountToPrev: z.ZodOptional<z.ZodNumber>;
|
|
320
|
-
}, "strict", z.ZodTypeAny, {
|
|
321
|
-
tags?: string[] | undefined;
|
|
322
|
-
left?: number | undefined;
|
|
323
|
-
top?: number | undefined;
|
|
324
|
-
rotation?: number | undefined;
|
|
325
|
-
range?: number | undefined;
|
|
326
|
-
createCountToPrev?: number | undefined;
|
|
327
|
-
}, {
|
|
328
|
-
tags?: string[] | undefined;
|
|
329
|
-
left?: number | undefined;
|
|
330
|
-
top?: number | undefined;
|
|
331
|
-
rotation?: number | undefined;
|
|
332
|
-
range?: number | undefined;
|
|
333
|
-
createCountToPrev?: number | undefined;
|
|
334
|
-
}>, "many">>;
|
|
335
|
-
}, z.ZodTypeAny, "passthrough">) & (string | z.objectOutputType<{
|
|
224
|
+
image: string | z.objectOutputType<{
|
|
336
225
|
type: z.ZodString;
|
|
337
226
|
scale: z.ZodOptional<z.ZodObject<{
|
|
338
227
|
pixel: z.ZodNumber;
|
|
@@ -369,12 +258,12 @@ export declare const CreateD6ParamsSchema: z.ZodObject<{
|
|
|
369
258
|
range?: number | undefined;
|
|
370
259
|
createCountToPrev?: number | undefined;
|
|
371
260
|
}>, "many">>;
|
|
372
|
-
}, z.ZodTypeAny, "passthrough"
|
|
261
|
+
}, z.ZodTypeAny, "passthrough">;
|
|
373
262
|
name?: string | undefined;
|
|
374
263
|
metadata?: string | z.objectOutputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
375
264
|
}[];
|
|
376
|
-
rootDir?: string | undefined;
|
|
377
265
|
tags?: string[] | undefined;
|
|
266
|
+
rootDir?: string | undefined;
|
|
378
267
|
templateMetadata?: string | undefined;
|
|
379
268
|
}, {
|
|
380
269
|
assetFilename: string;
|
|
@@ -384,44 +273,7 @@ export declare const CreateD6ParamsSchema: z.ZodObject<{
|
|
|
384
273
|
height: number;
|
|
385
274
|
};
|
|
386
275
|
faces: {
|
|
387
|
-
image:
|
|
388
|
-
type: z.ZodString;
|
|
389
|
-
scale: z.ZodOptional<z.ZodObject<{
|
|
390
|
-
pixel: z.ZodNumber;
|
|
391
|
-
world: z.ZodNumber;
|
|
392
|
-
}, "strict", z.ZodTypeAny, {
|
|
393
|
-
pixel: number;
|
|
394
|
-
world: number;
|
|
395
|
-
}, {
|
|
396
|
-
pixel: number;
|
|
397
|
-
world: number;
|
|
398
|
-
}>>;
|
|
399
|
-
exports: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<[z.ZodNumber, z.ZodString]>>>;
|
|
400
|
-
id: z.ZodOptional<z.ZodString>;
|
|
401
|
-
cloneId: z.ZodOptional<z.ZodString>;
|
|
402
|
-
snapPoints: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
403
|
-
tags: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
404
|
-
left: z.ZodOptional<z.ZodNumber>;
|
|
405
|
-
top: z.ZodOptional<z.ZodNumber>;
|
|
406
|
-
rotation: z.ZodOptional<z.ZodNumber>;
|
|
407
|
-
range: z.ZodOptional<z.ZodNumber>;
|
|
408
|
-
createCountToPrev: z.ZodOptional<z.ZodNumber>;
|
|
409
|
-
}, "strict", z.ZodTypeAny, {
|
|
410
|
-
tags?: string[] | undefined;
|
|
411
|
-
left?: number | undefined;
|
|
412
|
-
top?: number | undefined;
|
|
413
|
-
rotation?: number | undefined;
|
|
414
|
-
range?: number | undefined;
|
|
415
|
-
createCountToPrev?: number | undefined;
|
|
416
|
-
}, {
|
|
417
|
-
tags?: string[] | undefined;
|
|
418
|
-
left?: number | undefined;
|
|
419
|
-
top?: number | undefined;
|
|
420
|
-
rotation?: number | undefined;
|
|
421
|
-
range?: number | undefined;
|
|
422
|
-
createCountToPrev?: number | undefined;
|
|
423
|
-
}>, "many">>;
|
|
424
|
-
}, z.ZodTypeAny, "passthrough">) & (string | z.objectInputType<{
|
|
276
|
+
image: string | z.objectInputType<{
|
|
425
277
|
type: z.ZodString;
|
|
426
278
|
scale: z.ZodOptional<z.ZodObject<{
|
|
427
279
|
pixel: z.ZodNumber;
|
|
@@ -458,12 +310,12 @@ export declare const CreateD6ParamsSchema: z.ZodObject<{
|
|
|
458
310
|
range?: number | undefined;
|
|
459
311
|
createCountToPrev?: number | undefined;
|
|
460
312
|
}>, "many">>;
|
|
461
|
-
}, z.ZodTypeAny, "passthrough"
|
|
313
|
+
}, z.ZodTypeAny, "passthrough">;
|
|
462
314
|
name?: string | undefined;
|
|
463
315
|
metadata?: string | z.objectInputType<{}, z.ZodTypeAny, "passthrough"> | undefined;
|
|
464
316
|
}[];
|
|
465
|
-
rootDir?: string | undefined;
|
|
466
317
|
tags?: string[] | undefined;
|
|
318
|
+
rootDir?: string | undefined;
|
|
467
319
|
templateMetadata?: string | undefined;
|
|
468
320
|
}>;
|
|
469
321
|
export type CreateD6Params = z.infer<typeof CreateD6ParamsSchema>;
|