@ludeo/cloud-common 1.1.142 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/v3/types/cloud.d.ts +1 -0
- package/dist/v3/types/cloud.js +5 -0
- package/dist/v3/types/cloud.js.map +1 -1
- package/dist/v4/contexts/cloud-pool-context.d.ts +8 -0
- package/dist/v4/contexts/cloud-pool-context.js +41 -0
- package/dist/v4/contexts/cloud-pool-context.js.map +1 -0
- package/dist/v4/contexts/cloud-resource-context.d.ts +14 -0
- package/dist/v4/contexts/cloud-resource-context.js +72 -0
- package/dist/v4/contexts/cloud-resource-context.js.map +1 -0
- package/dist/v4/contexts/cloud-session-context.d.ts +20 -0
- package/dist/v4/contexts/cloud-session-context.js +101 -0
- package/dist/v4/contexts/cloud-session-context.js.map +1 -0
- package/dist/v4/contexts/getCloudContextType.d.ts +5 -0
- package/dist/v4/contexts/getCloudContextType.js +20 -0
- package/dist/v4/contexts/getCloudContextType.js.map +1 -0
- package/dist/v4/contexts/getCloudContextType.spec.d.ts +1 -0
- package/dist/v4/contexts/getCloudContextType.spec.js +95 -0
- package/dist/v4/contexts/getCloudContextType.spec.js.map +1 -0
- package/dist/v4/contexts/index.d.ts +4 -0
- package/dist/v4/contexts/index.js +21 -0
- package/dist/v4/contexts/index.js.map +1 -0
- package/dist/v4/events/allocate-cloud-session-failed.d.ts +11 -0
- package/dist/v4/events/allocate-cloud-session-failed.js +41 -0
- package/dist/v4/events/allocate-cloud-session-failed.js.map +1 -0
- package/dist/v4/events/allocate-cloud-session-request.d.ts +12 -0
- package/dist/v4/events/allocate-cloud-session-request.js +41 -0
- package/dist/v4/events/allocate-cloud-session-request.js.map +1 -0
- package/dist/v4/events/allocate-game-request.d.ts +13 -0
- package/dist/v4/events/allocate-game-request.js +46 -0
- package/dist/v4/events/allocate-game-request.js.map +1 -0
- package/dist/v4/events/allocate-game-resource-request.d.ts +17 -0
- package/dist/v4/events/allocate-game-resource-request.js +62 -0
- package/dist/v4/events/allocate-game-resource-request.js.map +1 -0
- package/dist/v4/events/allocate-ludeo-resource-request.d.ts +11 -0
- package/dist/v4/events/allocate-ludeo-resource-request.js +41 -0
- package/dist/v4/events/allocate-ludeo-resource-request.js.map +1 -0
- package/dist/v4/events/allocate-machine-request.d.ts +13 -0
- package/dist/v4/events/allocate-machine-request.js +49 -0
- package/dist/v4/events/allocate-machine-request.js.map +1 -0
- package/dist/v4/events/aws-poll-stream-session-task.d.ts +15 -0
- package/dist/v4/events/aws-poll-stream-session-task.js +49 -0
- package/dist/v4/events/aws-poll-stream-session-task.js.map +1 -0
- package/dist/v4/events/aws-reactivate-stream-session-task.d.ts +13 -0
- package/dist/v4/events/aws-reactivate-stream-session-task.js +44 -0
- package/dist/v4/events/aws-reactivate-stream-session-task.js.map +1 -0
- package/dist/v4/events/aws-stream-session-active.d.ts +15 -0
- package/dist/v4/events/aws-stream-session-active.js +51 -0
- package/dist/v4/events/aws-stream-session-active.js.map +1 -0
- package/dist/v4/events/aws-stream-session-reactivation-started.d.ts +13 -0
- package/dist/v4/events/aws-stream-session-reactivation-started.js +44 -0
- package/dist/v4/events/aws-stream-session-reactivation-started.js.map +1 -0
- package/dist/v4/events/cloud-machine-auth-ready.d.ts +16 -0
- package/dist/v4/events/cloud-machine-auth-ready.js +54 -0
- package/dist/v4/events/cloud-machine-auth-ready.js.map +1 -0
- package/dist/v4/events/cloud-session-allocated.d.ts +13 -0
- package/dist/v4/events/cloud-session-allocated.js +47 -0
- package/dist/v4/events/cloud-session-allocated.js.map +1 -0
- package/dist/v4/events/cloud-session-created.d.ts +9 -0
- package/dist/v4/events/cloud-session-created.js +34 -0
- package/dist/v4/events/cloud-session-created.js.map +1 -0
- package/dist/v4/events/cloud-session-ended.d.ts +14 -0
- package/dist/v4/events/cloud-session-ended.js +53 -0
- package/dist/v4/events/cloud-session-ended.js.map +1 -0
- package/dist/v4/events/cloud-session-optimal-region-selected.d.ts +12 -0
- package/dist/v4/events/cloud-session-optimal-region-selected.js +40 -0
- package/dist/v4/events/cloud-session-optimal-region-selected.js.map +1 -0
- package/dist/v4/events/cloud-session-provider-requested.d.ts +14 -0
- package/dist/v4/events/cloud-session-provider-requested.js +51 -0
- package/dist/v4/events/cloud-session-provider-requested.js.map +1 -0
- package/dist/v4/events/cloud-session-timeout-task.d.ts +10 -0
- package/dist/v4/events/cloud-session-timeout-task.js +36 -0
- package/dist/v4/events/cloud-session-timeout-task.js.map +1 -0
- package/dist/v4/events/create-game-resource-request.d.ts +16 -0
- package/dist/v4/events/create-game-resource-request.js +58 -0
- package/dist/v4/events/create-game-resource-request.js.map +1 -0
- package/dist/v4/events/create-games-request.d.ts +12 -0
- package/dist/v4/events/create-games-request.js +45 -0
- package/dist/v4/events/create-games-request.js.map +1 -0
- package/dist/v4/events/create-ludeos-request.d.ts +12 -0
- package/dist/v4/events/create-ludeos-request.js +45 -0
- package/dist/v4/events/create-ludeos-request.js.map +1 -0
- package/dist/v4/events/create-machine-resource-batch-request.d.ts +15 -0
- package/dist/v4/events/create-machine-resource-batch-request.js +54 -0
- package/dist/v4/events/create-machine-resource-batch-request.js.map +1 -0
- package/dist/v4/events/create-machine-resource-request.d.ts +15 -0
- package/dist/v4/events/create-machine-resource-request.js +54 -0
- package/dist/v4/events/create-machine-resource-request.js.map +1 -0
- package/dist/v4/events/create-machines-request.d.ts +12 -0
- package/dist/v4/events/create-machines-request.js +45 -0
- package/dist/v4/events/create-machines-request.js.map +1 -0
- package/dist/v4/events/deallocate-machine-request.d.ts +14 -0
- package/dist/v4/events/deallocate-machine-request.js +53 -0
- package/dist/v4/events/deallocate-machine-request.js.map +1 -0
- package/dist/v4/events/game-allocated-response.d.ts +12 -0
- package/dist/v4/events/game-allocated-response.js +41 -0
- package/dist/v4/events/game-allocated-response.js.map +1 -0
- package/dist/v4/events/game-allocation-failed-response.d.ts +13 -0
- package/dist/v4/events/game-allocation-failed-response.js +46 -0
- package/dist/v4/events/game-allocation-failed-response.js.map +1 -0
- package/dist/v4/events/game-available.d.ts +11 -0
- package/dist/v4/events/game-available.js +41 -0
- package/dist/v4/events/game-available.js.map +1 -0
- package/dist/v4/events/game-resource-allocated-response.d.ts +15 -0
- package/dist/v4/events/game-resource-allocated-response.js +54 -0
- package/dist/v4/events/game-resource-allocated-response.js.map +1 -0
- package/dist/v4/events/game-resource-allocation-failed-response.d.ts +15 -0
- package/dist/v4/events/game-resource-allocation-failed-response.js +54 -0
- package/dist/v4/events/game-resource-allocation-failed-response.js.map +1 -0
- package/dist/v4/events/game-resource-allocation-timeout-task.d.ts +11 -0
- package/dist/v4/events/game-resource-allocation-timeout-task.js +39 -0
- package/dist/v4/events/game-resource-allocation-timeout-task.js.map +1 -0
- package/dist/v4/events/game-resource-created-response.d.ts +15 -0
- package/dist/v4/events/game-resource-created-response.js +54 -0
- package/dist/v4/events/game-resource-created-response.js.map +1 -0
- package/dist/v4/events/game-resource-creation-failed-response.d.ts +13 -0
- package/dist/v4/events/game-resource-creation-failed-response.js +49 -0
- package/dist/v4/events/game-resource-creation-failed-response.js.map +1 -0
- package/dist/v4/events/game-resource-ready-for-creation-failed.d.ts +13 -0
- package/dist/v4/events/game-resource-ready-for-creation-failed.js +49 -0
- package/dist/v4/events/game-resource-ready-for-creation-failed.js.map +1 -0
- package/dist/v4/events/game-resource-ready-for-creation.d.ts +14 -0
- package/dist/v4/events/game-resource-ready-for-creation.js +46 -0
- package/dist/v4/events/game-resource-ready-for-creation.js.map +1 -0
- package/dist/v4/events/game-resource-status-changed.d.ts +17 -0
- package/dist/v4/events/game-resource-status-changed.js +64 -0
- package/dist/v4/events/game-resource-status-changed.js.map +1 -0
- package/dist/v4/events/game-resource-terminated-response.d.ts +13 -0
- package/dist/v4/events/game-resource-terminated-response.js +49 -0
- package/dist/v4/events/game-resource-terminated-response.js.map +1 -0
- package/dist/v4/events/game-resource-termination-failed-response.d.ts +14 -0
- package/dist/v4/events/game-resource-termination-failed-response.js +53 -0
- package/dist/v4/events/game-resource-termination-failed-response.js.map +1 -0
- package/dist/v4/events/game-terminated-response.d.ts +12 -0
- package/dist/v4/events/game-terminated-response.js +45 -0
- package/dist/v4/events/game-terminated-response.js.map +1 -0
- package/dist/v4/events/game-termination-failed-response.d.ts +13 -0
- package/dist/v4/events/game-termination-failed-response.js +49 -0
- package/dist/v4/events/game-termination-failed-response.js.map +1 -0
- package/dist/v4/events/gameplay-waiting-for-user.d.ts +11 -0
- package/dist/v4/events/gameplay-waiting-for-user.js +41 -0
- package/dist/v4/events/gameplay-waiting-for-user.js.map +1 -0
- package/dist/v4/events/index.d.ts +84 -0
- package/dist/v4/events/index.js +101 -0
- package/dist/v4/events/index.js.map +1 -0
- package/dist/v4/events/invalid-game-resource.d.ts +13 -0
- package/dist/v4/events/invalid-game-resource.js +49 -0
- package/dist/v4/events/invalid-game-resource.js.map +1 -0
- package/dist/v4/events/load-ludeo-resource.d.ts +11 -0
- package/dist/v4/events/load-ludeo-resource.js +41 -0
- package/dist/v4/events/load-ludeo-resource.js.map +1 -0
- package/dist/v4/events/ludeo-allocated-response.d.ts +11 -0
- package/dist/v4/events/ludeo-allocated-response.js +41 -0
- package/dist/v4/events/ludeo-allocated-response.js.map +1 -0
- package/dist/v4/events/ludeo-allocation-failed.d.ts +11 -0
- package/dist/v4/events/ludeo-allocation-failed.js +41 -0
- package/dist/v4/events/ludeo-allocation-failed.js.map +1 -0
- package/dist/v4/events/ludeo-obtained-timeout-task.d.ts +10 -0
- package/dist/v4/events/ludeo-obtained-timeout-task.js +36 -0
- package/dist/v4/events/ludeo-obtained-timeout-task.js.map +1 -0
- package/dist/v4/events/ludeo-resource-allocated-response.d.ts +11 -0
- package/dist/v4/events/ludeo-resource-allocated-response.js +41 -0
- package/dist/v4/events/ludeo-resource-allocated-response.js.map +1 -0
- package/dist/v4/events/ludeo-resource-allocation-failed.d.ts +11 -0
- package/dist/v4/events/ludeo-resource-allocation-failed.js +41 -0
- package/dist/v4/events/ludeo-resource-allocation-failed.js.map +1 -0
- package/dist/v4/events/ludeo-resource-loaded.d.ts +11 -0
- package/dist/v4/events/ludeo-resource-loaded.js +41 -0
- package/dist/v4/events/ludeo-resource-loaded.js.map +1 -0
- package/dist/v4/events/ludeo-resource-loading-failed.d.ts +11 -0
- package/dist/v4/events/ludeo-resource-loading-failed.js +41 -0
- package/dist/v4/events/ludeo-resource-loading-failed.js.map +1 -0
- package/dist/v4/events/machine-allocated-response.d.ts +17 -0
- package/dist/v4/events/machine-allocated-response.js +62 -0
- package/dist/v4/events/machine-allocated-response.js.map +1 -0
- package/dist/v4/events/machine-allocation-failed-response.d.ts +14 -0
- package/dist/v4/events/machine-allocation-failed-response.js +53 -0
- package/dist/v4/events/machine-allocation-failed-response.js.map +1 -0
- package/dist/v4/events/machine-deallocated-response.d.ts +14 -0
- package/dist/v4/events/machine-deallocated-response.js +53 -0
- package/dist/v4/events/machine-deallocated-response.js.map +1 -0
- package/dist/v4/events/machine-deallocation-failed-response.d.ts +15 -0
- package/dist/v4/events/machine-deallocation-failed-response.js +57 -0
- package/dist/v4/events/machine-deallocation-failed-response.js.map +1 -0
- package/dist/v4/events/machine-pool-resizing-task.d.ts +13 -0
- package/dist/v4/events/machine-pool-resizing-task.js +45 -0
- package/dist/v4/events/machine-pool-resizing-task.js.map +1 -0
- package/dist/v4/events/machine-resource-batch-creation-failed-response.d.ts +16 -0
- package/dist/v4/events/machine-resource-batch-creation-failed-response.js +58 -0
- package/dist/v4/events/machine-resource-batch-creation-failed-response.js.map +1 -0
- package/dist/v4/events/machine-resource-batch-termination-failed-response.d.ts +16 -0
- package/dist/v4/events/machine-resource-batch-termination-failed-response.js +58 -0
- package/dist/v4/events/machine-resource-batch-termination-failed-response.js.map +1 -0
- package/dist/v4/events/machine-resource-created-response.d.ts +12 -0
- package/dist/v4/events/machine-resource-created-response.js +45 -0
- package/dist/v4/events/machine-resource-created-response.js.map +1 -0
- package/dist/v4/events/machine-resource-creation-failed-response.d.ts +13 -0
- package/dist/v4/events/machine-resource-creation-failed-response.js +49 -0
- package/dist/v4/events/machine-resource-creation-failed-response.js.map +1 -0
- package/dist/v4/events/machine-resource-terminated-response.d.ts +12 -0
- package/dist/v4/events/machine-resource-terminated-response.js +45 -0
- package/dist/v4/events/machine-resource-terminated-response.js.map +1 -0
- package/dist/v4/events/machine-resource-updated.d.ts +12 -0
- package/dist/v4/events/machine-resource-updated.js +45 -0
- package/dist/v4/events/machine-resource-updated.js.map +1 -0
- package/dist/v4/events/monitor-game-resource-task.d.ts +14 -0
- package/dist/v4/events/monitor-game-resource-task.js +48 -0
- package/dist/v4/events/monitor-game-resource-task.js.map +1 -0
- package/dist/v4/events/pool-status.d.ts +20 -0
- package/dist/v4/events/pool-status.js +54 -0
- package/dist/v4/events/pool-status.js.map +1 -0
- package/dist/v4/events/prepare-cloud-machine-auth-failed.d.ts +13 -0
- package/dist/v4/events/prepare-cloud-machine-auth-failed.js +48 -0
- package/dist/v4/events/prepare-cloud-machine-auth-failed.js.map +1 -0
- package/dist/v4/events/prepare-cloud-machine-auth.d.ts +16 -0
- package/dist/v4/events/prepare-cloud-machine-auth.js +60 -0
- package/dist/v4/events/prepare-cloud-machine-auth.js.map +1 -0
- package/dist/v4/events/send-pools-to-predictor.d.ts +5 -0
- package/dist/v4/events/send-pools-to-predictor.js +12 -0
- package/dist/v4/events/send-pools-to-predictor.js.map +1 -0
- package/dist/v4/events/set-pool.d.ts +9 -0
- package/dist/v4/events/set-pool.js +29 -0
- package/dist/v4/events/set-pool.js.map +1 -0
- package/dist/v4/events/set-pools-state.d.ts +26 -0
- package/dist/v4/events/set-pools-state.js +64 -0
- package/dist/v4/events/set-pools-state.js.map +1 -0
- package/dist/v4/events/swap-cloud-user-completed.d.ts +12 -0
- package/dist/v4/events/swap-cloud-user-completed.js +45 -0
- package/dist/v4/events/swap-cloud-user-completed.js.map +1 -0
- package/dist/v4/events/swap-cloud-user-request-failed.d.ts +15 -0
- package/dist/v4/events/swap-cloud-user-request-failed.js +58 -0
- package/dist/v4/events/swap-cloud-user-request-failed.js.map +1 -0
- package/dist/v4/events/swap-cloud-user-request.d.ts +13 -0
- package/dist/v4/events/swap-cloud-user-request.js +50 -0
- package/dist/v4/events/swap-cloud-user-request.js.map +1 -0
- package/dist/v4/events/swap-to-default-user-completed.d.ts +11 -0
- package/dist/v4/events/swap-to-default-user-completed.js +41 -0
- package/dist/v4/events/swap-to-default-user-completed.js.map +1 -0
- package/dist/v4/events/swap-to-default-user.d.ts +11 -0
- package/dist/v4/events/swap-to-default-user.js +41 -0
- package/dist/v4/events/swap-to-default-user.js.map +1 -0
- package/dist/v4/events/terminate-cloud-session-request.d.ts +11 -0
- package/dist/v4/events/terminate-cloud-session-request.js +42 -0
- package/dist/v4/events/terminate-cloud-session-request.js.map +1 -0
- package/dist/v4/events/terminate-game-request.d.ts +13 -0
- package/dist/v4/events/terminate-game-request.js +50 -0
- package/dist/v4/events/terminate-game-request.js.map +1 -0
- package/dist/v4/events/terminate-game-resource-request.d.ts +18 -0
- package/dist/v4/events/terminate-game-resource-request.js +67 -0
- package/dist/v4/events/terminate-game-resource-request.js.map +1 -0
- package/dist/v4/events/terminate-games-request.d.ts +12 -0
- package/dist/v4/events/terminate-games-request.js +45 -0
- package/dist/v4/events/terminate-games-request.js.map +1 -0
- package/dist/v4/events/terminate-machine-resource-batch-request.d.ts +15 -0
- package/dist/v4/events/terminate-machine-resource-batch-request.js +54 -0
- package/dist/v4/events/terminate-machine-resource-batch-request.js.map +1 -0
- package/dist/v4/events/terminate-machine-resource-request.d.ts +15 -0
- package/dist/v4/events/terminate-machine-resource-request.js +54 -0
- package/dist/v4/events/terminate-machine-resource-request.js.map +1 -0
- package/dist/v4/events/terminate-machines-request.d.ts +12 -0
- package/dist/v4/events/terminate-machines-request.js +45 -0
- package/dist/v4/events/terminate-machines-request.js.map +1 -0
- package/dist/v4/events/terminate-stale-games.d.ts +11 -0
- package/dist/v4/events/terminate-stale-games.js +41 -0
- package/dist/v4/events/terminate-stale-games.js.map +1 -0
- package/dist/v4/events/terminate-stale-machines.d.ts +11 -0
- package/dist/v4/events/terminate-stale-machines.js +41 -0
- package/dist/v4/events/terminate-stale-machines.js.map +1 -0
- package/dist/v4/events/terminate-stale-resources-task.d.ts +9 -0
- package/dist/v4/events/terminate-stale-resources-task.js +16 -0
- package/dist/v4/events/terminate-stale-resources-task.js.map +1 -0
- package/dist/v4/events/token-required.event.d.ts +25 -0
- package/dist/v4/events/token-required.event.js +86 -0
- package/dist/v4/events/token-required.event.js.map +1 -0
- package/dist/v4/index.d.ts +3 -0
- package/dist/v4/index.js +7 -0
- package/dist/v4/index.js.map +1 -0
- package/dist/v4/types/cloud.d.ts +68 -0
- package/dist/v4/types/cloud.js +173 -0
- package/dist/v4/types/cloud.js.map +1 -0
- package/dist/v4/types/index.d.ts +2 -0
- package/dist/v4/types/index.js +19 -0
- package/dist/v4/types/index.js.map +1 -0
- package/dist/v4/types/pools/configuration/attributes/base.d.ts +6 -0
- package/dist/v4/types/pools/configuration/attributes/base.js +32 -0
- package/dist/v4/types/pools/configuration/attributes/base.js.map +1 -0
- package/dist/v4/types/pools/configuration/attributes/game.d.ts +4 -0
- package/dist/v4/types/pools/configuration/attributes/game.js +22 -0
- package/dist/v4/types/pools/configuration/attributes/game.js.map +1 -0
- package/dist/v4/types/pools/configuration/attributes/index.d.ts +4 -0
- package/dist/v4/types/pools/configuration/attributes/index.js +21 -0
- package/dist/v4/types/pools/configuration/attributes/index.js.map +1 -0
- package/dist/v4/types/pools/configuration/attributes/ludeo.d.ts +4 -0
- package/dist/v4/types/pools/configuration/attributes/ludeo.js +22 -0
- package/dist/v4/types/pools/configuration/attributes/ludeo.js.map +1 -0
- package/dist/v4/types/pools/configuration/attributes/machine.d.ts +4 -0
- package/dist/v4/types/pools/configuration/attributes/machine.js +22 -0
- package/dist/v4/types/pools/configuration/attributes/machine.js.map +1 -0
- package/dist/v4/types/pools/configuration/base.d.ts +14 -0
- package/dist/v4/types/pools/configuration/base.js +53 -0
- package/dist/v4/types/pools/configuration/base.js.map +1 -0
- package/dist/v4/types/pools/configuration/game.d.ts +9 -0
- package/dist/v4/types/pools/configuration/game.js +37 -0
- package/dist/v4/types/pools/configuration/game.js.map +1 -0
- package/dist/v4/types/pools/configuration/index.d.ts +6 -0
- package/dist/v4/types/pools/configuration/index.js +23 -0
- package/dist/v4/types/pools/configuration/index.js.map +1 -0
- package/dist/v4/types/pools/configuration/ludeo.d.ts +9 -0
- package/dist/v4/types/pools/configuration/ludeo.js +37 -0
- package/dist/v4/types/pools/configuration/ludeo.js.map +1 -0
- package/dist/v4/types/pools/configuration/machine.d.ts +7 -0
- package/dist/v4/types/pools/configuration/machine.js +29 -0
- package/dist/v4/types/pools/configuration/machine.js.map +1 -0
- package/dist/v4/types/pools/configuration/type.d.ts +6 -0
- package/dist/v4/types/pools/configuration/type.js +3 -0
- package/dist/v4/types/pools/configuration/type.js.map +1 -0
- package/dist/v4/types/pools/index.d.ts +5 -0
- package/dist/v4/types/pools/index.js +22 -0
- package/dist/v4/types/pools/index.js.map +1 -0
- package/dist/v4/types/pools/pool.d.ts +12 -0
- package/dist/v4/types/pools/pool.js +7 -0
- package/dist/v4/types/pools/pool.js.map +1 -0
- package/dist/v4/types/pools/resource/base.d.ts +10 -0
- package/dist/v4/types/pools/resource/base.js +45 -0
- package/dist/v4/types/pools/resource/base.js.map +1 -0
- package/dist/v4/types/pools/resource/game.d.ts +6 -0
- package/dist/v4/types/pools/resource/game.js +33 -0
- package/dist/v4/types/pools/resource/game.js.map +1 -0
- package/dist/v4/types/pools/resource/index.d.ts +7 -0
- package/dist/v4/types/pools/resource/index.js +24 -0
- package/dist/v4/types/pools/resource/index.js.map +1 -0
- package/dist/v4/types/pools/resource/ludeo.d.ts +4 -0
- package/dist/v4/types/pools/resource/ludeo.js +23 -0
- package/dist/v4/types/pools/resource/ludeo.js.map +1 -0
- package/dist/v4/types/pools/resource/machine.d.ts +5 -0
- package/dist/v4/types/pools/resource/machine.js +28 -0
- package/dist/v4/types/pools/resource/machine.js.map +1 -0
- package/dist/v4/types/pools/resource/status.d.ts +10 -0
- package/dist/v4/types/pools/resource/status.js +15 -0
- package/dist/v4/types/pools/resource/status.js.map +1 -0
- package/dist/v4/types/pools/resource/statusMap.d.ts +2 -0
- package/dist/v4/types/pools/resource/statusMap.js +3 -0
- package/dist/v4/types/pools/resource/statusMap.js.map +1 -0
- package/dist/v4/types/pools/resource/type.d.ts +6 -0
- package/dist/v4/types/pools/resource/type.js +3 -0
- package/dist/v4/types/pools/resource/type.js.map +1 -0
- package/dist/v4/types/pools/status.d.ts +6 -0
- package/dist/v4/types/pools/status.js +11 -0
- package/dist/v4/types/pools/status.js.map +1 -0
- package/dist/v4/types/pools/type.d.ts +5 -0
- package/dist/v4/types/pools/type.js +10 -0
- package/dist/v4/types/pools/type.js.map +1 -0
- package/package.json +1 -1
- package/src/index.ts +1 -0
- package/src/v3/types/cloud.ts +4 -0
- package/src/v4/contexts/cloud-pool-context.ts +22 -0
- package/src/v4/contexts/cloud-resource-context.ts +49 -0
- package/src/v4/contexts/cloud-session-context.ts +71 -0
- package/src/v4/contexts/getCloudContextType.spec.ts +102 -0
- package/src/v4/contexts/getCloudContextType.ts +22 -0
- package/src/v4/contexts/index.ts +4 -0
- package/src/v4/events/allocate-cloud-session-failed.ts +28 -0
- package/src/v4/events/allocate-cloud-session-request.ts +28 -0
- package/src/v4/events/allocate-game-request.ts +33 -0
- package/src/v4/events/allocate-game-resource-request.ts +52 -0
- package/src/v4/events/allocate-ludeo-resource-request.ts +28 -0
- package/src/v4/events/allocate-machine-request.ts +35 -0
- package/src/v4/events/aws-poll-stream-session-task.ts +33 -0
- package/src/v4/events/aws-reactivate-stream-session-task.ts +31 -0
- package/src/v4/events/aws-stream-session-active.ts +36 -0
- package/src/v4/events/aws-stream-session-reactivation-started.ts +31 -0
- package/src/v4/events/cloud-machine-auth-ready.ts +38 -0
- package/src/v4/events/cloud-session-allocated.ts +34 -0
- package/src/v4/events/cloud-session-created.ts +20 -0
- package/src/v4/events/cloud-session-ended.ts +34 -0
- package/src/v4/events/cloud-session-optimal-region-selected.ts +29 -0
- package/src/v4/events/cloud-session-provider-requested.ts +37 -0
- package/src/v4/events/cloud-session-timeout-task.ts +26 -0
- package/src/v4/events/create-game-resource-request.ts +46 -0
- package/src/v4/events/create-games-request.ts +29 -0
- package/src/v4/events/create-ludeos-request.ts +29 -0
- package/src/v4/events/create-machine-resource-batch-request.ts +44 -0
- package/src/v4/events/create-machine-resource-request.ts +43 -0
- package/src/v4/events/create-machines-request.ts +32 -0
- package/src/v4/events/deallocate-machine-request.ts +39 -0
- package/src/v4/events/game-allocated-response.ts +28 -0
- package/src/v4/events/game-allocation-failed-response.ts +33 -0
- package/src/v4/events/game-available.ts +26 -0
- package/src/v4/events/game-resource-allocated-response.ts +44 -0
- package/src/v4/events/game-resource-allocation-failed-response.ts +40 -0
- package/src/v4/events/game-resource-allocation-timeout-task.ts +26 -0
- package/src/v4/events/game-resource-created-response.ts +43 -0
- package/src/v4/events/game-resource-creation-failed-response.ts +36 -0
- package/src/v4/events/game-resource-ready-for-creation-failed.ts +35 -0
- package/src/v4/events/game-resource-ready-for-creation.ts +37 -0
- package/src/v4/events/game-resource-status-changed.ts +47 -0
- package/src/v4/events/game-resource-terminated-response.ts +40 -0
- package/src/v4/events/game-resource-termination-failed-response.ts +43 -0
- package/src/v4/events/game-terminated-response.ts +36 -0
- package/src/v4/events/game-termination-failed-response.ts +39 -0
- package/src/v4/events/gameplay-waiting-for-user.ts +28 -0
- package/src/v4/events/index.ts +84 -0
- package/src/v4/events/invalid-game-resource.ts +34 -0
- package/src/v4/events/load-ludeo-resource.ts +28 -0
- package/src/v4/events/ludeo-allocated-response.ts +28 -0
- package/src/v4/events/ludeo-allocation-failed.ts +28 -0
- package/src/v4/events/ludeo-obtained-timeout-task.ts +23 -0
- package/src/v4/events/ludeo-resource-allocated-response.ts +29 -0
- package/src/v4/events/ludeo-resource-allocation-failed.ts +29 -0
- package/src/v4/events/ludeo-resource-loaded.ts +28 -0
- package/src/v4/events/ludeo-resource-loading-failed.ts +28 -0
- package/src/v4/events/machine-allocated-response.ts +49 -0
- package/src/v4/events/machine-allocation-failed-response.ts +39 -0
- package/src/v4/events/machine-deallocated-response.ts +42 -0
- package/src/v4/events/machine-deallocation-failed-response.ts +46 -0
- package/src/v4/events/machine-pool-resizing-task.ts +35 -0
- package/src/v4/events/machine-resource-batch-creation-failed-response.ts +47 -0
- package/src/v4/events/machine-resource-batch-termination-failed-response.ts +49 -0
- package/src/v4/events/machine-resource-created-response.ts +33 -0
- package/src/v4/events/machine-resource-creation-failed-response.ts +36 -0
- package/src/v4/events/machine-resource-terminated-response.ts +33 -0
- package/src/v4/events/machine-resource-updated.ts +32 -0
- package/src/v4/events/monitor-game-resource-task.ts +36 -0
- package/src/v4/events/pool-status.ts +41 -0
- package/src/v4/events/prepare-cloud-machine-auth-failed.ts +34 -0
- package/src/v4/events/prepare-cloud-machine-auth.ts +43 -0
- package/src/v4/events/send-pools-to-predictor.ts +9 -0
- package/src/v4/events/set-pool.ts +22 -0
- package/src/v4/events/set-pools-state.ts +55 -0
- package/src/v4/events/swap-cloud-user-completed.ts +31 -0
- package/src/v4/events/swap-cloud-user-request-failed.ts +42 -0
- package/src/v4/events/swap-cloud-user-request.ts +36 -0
- package/src/v4/events/swap-to-default-user-completed.ts +28 -0
- package/src/v4/events/swap-to-default-user.ts +28 -0
- package/src/v4/events/terminate-cloud-session-request.ts +29 -0
- package/src/v4/events/terminate-game-request.ts +40 -0
- package/src/v4/events/terminate-game-resource-request.ts +59 -0
- package/src/v4/events/terminate-games-request.ts +32 -0
- package/src/v4/events/terminate-machine-resource-batch-request.ts +44 -0
- package/src/v4/events/terminate-machine-resource-request.ts +43 -0
- package/src/v4/events/terminate-machines-request.ts +32 -0
- package/src/v4/events/terminate-stale-games.ts +28 -0
- package/src/v4/events/terminate-stale-machines.ts +28 -0
- package/src/v4/events/terminate-stale-resources-task.ts +16 -0
- package/src/v4/events/token-required.event.ts +61 -0
- package/src/v4/index.ts +3 -0
- package/src/v4/types/cloud.ts +155 -0
- package/src/v4/types/index.ts +2 -0
- package/src/v4/types/pools/configuration/attributes/base.ts +15 -0
- package/src/v4/types/pools/configuration/attributes/game.ts +7 -0
- package/src/v4/types/pools/configuration/attributes/index.ts +4 -0
- package/src/v4/types/pools/configuration/attributes/ludeo.ts +7 -0
- package/src/v4/types/pools/configuration/attributes/machine.ts +8 -0
- package/src/v4/types/pools/configuration/base.ts +36 -0
- package/src/v4/types/pools/configuration/game.ts +20 -0
- package/src/v4/types/pools/configuration/index.ts +6 -0
- package/src/v4/types/pools/configuration/ludeo.ts +20 -0
- package/src/v4/types/pools/configuration/machine.ts +14 -0
- package/src/v4/types/pools/configuration/type.ts +17 -0
- package/src/v4/types/pools/index.ts +5 -0
- package/src/v4/types/pools/pool.ts +14 -0
- package/src/v4/types/pools/resource/base.ts +26 -0
- package/src/v4/types/pools/resource/game.ts +17 -0
- package/src/v4/types/pools/resource/index.ts +7 -0
- package/src/v4/types/pools/resource/ludeo.ts +9 -0
- package/src/v4/types/pools/resource/machine.ts +12 -0
- package/src/v4/types/pools/resource/status.ts +10 -0
- package/src/v4/types/pools/resource/statusMap.ts +3 -0
- package/src/v4/types/pools/resource/type.ts +16 -0
- package/src/v4/types/pools/status.ts +6 -0
- package/src/v4/types/pools/type.ts +5 -0
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.BaseCloudPoolConfiguration = exports.PoolScaleConfiguration = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const cloud_1 = require("../../cloud");
|
|
15
|
+
const type_1 = require("../type");
|
|
16
|
+
const attributes_1 = require("./attributes");
|
|
17
|
+
const decorators_1 = require("../../../../decorators");
|
|
18
|
+
class PoolScaleConfiguration {
|
|
19
|
+
}
|
|
20
|
+
exports.PoolScaleConfiguration = PoolScaleConfiguration;
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_validator_1.IsNumber)(),
|
|
23
|
+
__metadata("design:type", Number)
|
|
24
|
+
], PoolScaleConfiguration.prototype, "size", void 0);
|
|
25
|
+
class BaseCloudPoolConfiguration {
|
|
26
|
+
}
|
|
27
|
+
exports.BaseCloudPoolConfiguration = BaseCloudPoolConfiguration;
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, class_validator_1.IsOptional)(),
|
|
30
|
+
(0, decorators_1.ValidateNestedType)(() => cloud_1.AWSProviderSettings),
|
|
31
|
+
__metadata("design:type", Object)
|
|
32
|
+
], BaseCloudPoolConfiguration.prototype, "providerSettings", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, class_validator_1.IsEnum)(cloud_1.CloudProvider),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], BaseCloudPoolConfiguration.prototype, "cloudProvider", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, class_validator_1.IsUUID)(),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], BaseCloudPoolConfiguration.prototype, "poolId", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, decorators_1.ValidateNestedType)(() => PoolScaleConfiguration),
|
|
43
|
+
__metadata("design:type", PoolScaleConfiguration)
|
|
44
|
+
], BaseCloudPoolConfiguration.prototype, "poolScaleConfiguration", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, class_validator_1.IsEnum)(type_1.CloudPoolType),
|
|
47
|
+
__metadata("design:type", String)
|
|
48
|
+
], BaseCloudPoolConfiguration.prototype, "type", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, decorators_1.ValidateNestedType)(() => attributes_1.BasePoolAttributes),
|
|
51
|
+
__metadata("design:type", attributes_1.BasePoolAttributes)
|
|
52
|
+
], BaseCloudPoolConfiguration.prototype, "attributes", void 0);
|
|
53
|
+
//# sourceMappingURL=base.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base.js","sourceRoot":"","sources":["../../../../../src/v4/types/pools/configuration/base.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuE;AAEvE,uCAIqB;AACrB,kCAAwC;AACxC,6CAAkD;AAClD,uDAA4D;AAE5D,MAAa,sBAAsB;CAGlC;AAHD,wDAGC;AADC;IADC,IAAA,0BAAQ,GAAE;;oDACE;AAGf,MAAa,0BAA0B;CAmBtC;AAnBD,gEAmBC;AAhBC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,2BAAmB,CAAC;;oEACL;AAGzC;IADC,IAAA,wBAAM,EAAC,qBAAa,CAAC;;iEACO;AAG7B;IADC,IAAA,wBAAM,GAAE;;0DACM;AAGf;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,sBAAsB,CAAC;8BACzB,sBAAsB;0EAAC;AAG/C;IADC,IAAA,wBAAM,EAAC,oBAAa,CAAC;;wDACF;AAGpB;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,+BAAkB,CAAC;8BACjC,+BAAkB;8DAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { CloudPoolType } from "../type";
|
|
2
|
+
import { GamePoolAttributes } from "./attributes";
|
|
3
|
+
import { BaseCloudPoolConfiguration } from "./base";
|
|
4
|
+
export declare class GamePoolConfiguration extends BaseCloudPoolConfiguration {
|
|
5
|
+
type: CloudPoolType.GAME;
|
|
6
|
+
gameId: string;
|
|
7
|
+
machinePoolId: string;
|
|
8
|
+
attributes: GamePoolAttributes;
|
|
9
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.GamePoolConfiguration = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const type_1 = require("../type");
|
|
15
|
+
const attributes_1 = require("./attributes");
|
|
16
|
+
const base_1 = require("./base");
|
|
17
|
+
const decorators_1 = require("../../../../decorators");
|
|
18
|
+
class GamePoolConfiguration extends base_1.BaseCloudPoolConfiguration {
|
|
19
|
+
}
|
|
20
|
+
exports.GamePoolConfiguration = GamePoolConfiguration;
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_validator_1.IsEnum)(type_1.CloudPoolType),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], GamePoolConfiguration.prototype, "type", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, class_validator_1.IsUUID)(),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], GamePoolConfiguration.prototype, "gameId", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, class_validator_1.IsUUID)(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], GamePoolConfiguration.prototype, "machinePoolId", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, decorators_1.ValidateNestedType)(() => attributes_1.GamePoolAttributes),
|
|
35
|
+
__metadata("design:type", attributes_1.GamePoolAttributes)
|
|
36
|
+
], GamePoolConfiguration.prototype, "attributes", void 0);
|
|
37
|
+
//# sourceMappingURL=game.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"game.js","sourceRoot":"","sources":["../../../../../src/v4/types/pools/configuration/game.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiD;AAEjD,kCAAwC;AACxC,6CAAkD;AAClD,iCAAoD;AACpD,uDAA4D;AAE5D,MAAa,qBAAsB,SAAQ,iCAA0B;CAYpE;AAZD,sDAYC;AAVC;IADC,IAAA,wBAAM,EAAC,oBAAa,CAAC;;mDACG;AAGzB;IADC,IAAA,wBAAM,GAAE;;qDACM;AAGf;IADC,IAAA,wBAAM,GAAE;;4DACa;AAGtB;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,+BAAkB,CAAC;8BACjC,+BAAkB;yDAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./base"), exports);
|
|
18
|
+
__exportStar(require("./game"), exports);
|
|
19
|
+
__exportStar(require("./machine"), exports);
|
|
20
|
+
__exportStar(require("./type"), exports);
|
|
21
|
+
__exportStar(require("./attributes"), exports);
|
|
22
|
+
__exportStar(require("./ludeo"), exports);
|
|
23
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/v4/types/pools/configuration/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,yCAAuB;AACvB,4CAA0B;AAC1B,yCAAuB;AACvB,+CAA6B;AAC7B,0CAAwB"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { CloudPoolType } from "../type";
|
|
2
|
+
import { LudeoPoolAttributes } from "./attributes";
|
|
3
|
+
import { BaseCloudPoolConfiguration } from "./base";
|
|
4
|
+
export declare class LudeoPoolConfiguration extends BaseCloudPoolConfiguration {
|
|
5
|
+
type: CloudPoolType.LUDEO;
|
|
6
|
+
ludeoId: string;
|
|
7
|
+
gamePoolId: string;
|
|
8
|
+
attributes: LudeoPoolAttributes;
|
|
9
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.LudeoPoolConfiguration = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const type_1 = require("../type");
|
|
15
|
+
const attributes_1 = require("./attributes");
|
|
16
|
+
const base_1 = require("./base");
|
|
17
|
+
const decorators_1 = require("../../../../decorators");
|
|
18
|
+
class LudeoPoolConfiguration extends base_1.BaseCloudPoolConfiguration {
|
|
19
|
+
}
|
|
20
|
+
exports.LudeoPoolConfiguration = LudeoPoolConfiguration;
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_validator_1.IsEnum)(type_1.CloudPoolType),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], LudeoPoolConfiguration.prototype, "type", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, class_validator_1.IsUUID)(),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], LudeoPoolConfiguration.prototype, "ludeoId", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, class_validator_1.IsUUID)(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], LudeoPoolConfiguration.prototype, "gamePoolId", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, decorators_1.ValidateNestedType)(() => attributes_1.LudeoPoolAttributes),
|
|
35
|
+
__metadata("design:type", attributes_1.LudeoPoolAttributes)
|
|
36
|
+
], LudeoPoolConfiguration.prototype, "attributes", void 0);
|
|
37
|
+
//# sourceMappingURL=ludeo.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ludeo.js","sourceRoot":"","sources":["../../../../../src/v4/types/pools/configuration/ludeo.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiD;AAEjD,kCAAwC;AACxC,6CAAmD;AACnD,iCAAoD;AACpD,uDAA4D;AAE5D,MAAa,sBAAuB,SAAQ,iCAA0B;CAYrE;AAZD,wDAYC;AAVC;IADC,IAAA,wBAAM,EAAC,oBAAa,CAAC;;oDACI;AAG1B;IADC,IAAA,wBAAM,GAAE;;uDACO;AAGhB;IADC,IAAA,wBAAM,GAAE;;0DACU;AAGnB;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,gCAAmB,CAAC;8BAClC,gCAAmB;0DAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { CloudPoolType } from "../type";
|
|
2
|
+
import { BaseCloudPoolConfiguration } from "./base";
|
|
3
|
+
import { MachinePoolAttributes } from "./attributes";
|
|
4
|
+
export declare class MachinePoolConfiguration extends BaseCloudPoolConfiguration {
|
|
5
|
+
type: CloudPoolType.MACHINE;
|
|
6
|
+
attributes: MachinePoolAttributes;
|
|
7
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.MachinePoolConfiguration = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const type_1 = require("../type");
|
|
15
|
+
const base_1 = require("./base");
|
|
16
|
+
const attributes_1 = require("./attributes");
|
|
17
|
+
const decorators_1 = require("../../../../decorators");
|
|
18
|
+
class MachinePoolConfiguration extends base_1.BaseCloudPoolConfiguration {
|
|
19
|
+
}
|
|
20
|
+
exports.MachinePoolConfiguration = MachinePoolConfiguration;
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_validator_1.IsEnum)(type_1.CloudPoolType),
|
|
23
|
+
__metadata("design:type", String)
|
|
24
|
+
], MachinePoolConfiguration.prototype, "type", void 0);
|
|
25
|
+
__decorate([
|
|
26
|
+
(0, decorators_1.ValidateNestedType)(() => attributes_1.MachinePoolAttributes),
|
|
27
|
+
__metadata("design:type", attributes_1.MachinePoolAttributes)
|
|
28
|
+
], MachinePoolConfiguration.prototype, "attributes", void 0);
|
|
29
|
+
//# sourceMappingURL=machine.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"machine.js","sourceRoot":"","sources":["../../../../../src/v4/types/pools/configuration/machine.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAyC;AAEzC,kCAAwC;AACxC,iCAAoD;AACpD,6CAAqD;AACrD,uDAA4D;AAE5D,MAAa,wBAAyB,SAAQ,iCAA0B;CAMvE;AAND,4DAMC;AAJC;IADC,IAAA,wBAAM,EAAC,oBAAa,CAAC;;sDACM;AAG5B;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,kCAAqB,CAAC;8BACpC,kCAAqB;4DAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { CloudPoolType } from "../type";
|
|
2
|
+
import { GamePoolConfiguration } from "./game";
|
|
3
|
+
import { LudeoPoolConfiguration } from "./ludeo";
|
|
4
|
+
import { BaseCloudPoolConfiguration } from "./base";
|
|
5
|
+
import { MachinePoolConfiguration } from "./machine";
|
|
6
|
+
export type CloudPoolConfigurationType<T extends CloudPoolType | undefined = undefined> = T extends undefined ? BaseCloudPoolConfiguration : T extends CloudPoolType.GAME ? GamePoolConfiguration : T extends CloudPoolType.MACHINE ? MachinePoolConfiguration : T extends CloudPoolType.LUDEO ? LudeoPoolConfiguration : BaseCloudPoolConfiguration;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.js","sourceRoot":"","sources":["../../../../../src/v4/types/pools/configuration/type.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./status"), exports);
|
|
18
|
+
__exportStar(require("./configuration"), exports);
|
|
19
|
+
__exportStar(require("./type"), exports);
|
|
20
|
+
__exportStar(require("./resource"), exports);
|
|
21
|
+
__exportStar(require("./pool"), exports);
|
|
22
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/v4/types/pools/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,kDAAgC;AAChC,yCAAuB;AACvB,6CAA2B;AAC3B,yCAAuB"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { CloudPoolType } from "./type";
|
|
2
|
+
import { CloudPoolStatus } from "./status";
|
|
3
|
+
import { CloudPoolConfigurationType } from "./configuration";
|
|
4
|
+
import { BaseCloudResource } from "./resource";
|
|
5
|
+
export type CloudResourcesMap<T extends BaseCloudResource> = Record<string, T>;
|
|
6
|
+
export declare class CloudPool<T extends CloudPoolType | undefined = undefined> {
|
|
7
|
+
id: string;
|
|
8
|
+
status: CloudPoolStatus;
|
|
9
|
+
createdAt: number;
|
|
10
|
+
updatedAt?: number;
|
|
11
|
+
config: CloudPoolConfigurationType<T>;
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"pool.js","sourceRoot":"","sources":["../../../../src/v4/types/pools/pool.ts"],"names":[],"mappings":";;;AAOA,MAAa,SAAS;CAMrB;AAND,8BAMC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CloudResourceStatus } from "./status";
|
|
2
|
+
import { AWSResourceProviderSettings } from "../../cloud";
|
|
3
|
+
export declare class BaseCloudResource {
|
|
4
|
+
id: string;
|
|
5
|
+
status: CloudResourceStatus;
|
|
6
|
+
createdAt: number;
|
|
7
|
+
poolId: string;
|
|
8
|
+
updatedAt?: number;
|
|
9
|
+
settings?: AWSResourceProviderSettings;
|
|
10
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.BaseCloudResource = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const status_1 = require("./status");
|
|
15
|
+
const cloud_1 = require("../../cloud");
|
|
16
|
+
const decorators_1 = require("../../../../decorators");
|
|
17
|
+
class BaseCloudResource {
|
|
18
|
+
}
|
|
19
|
+
exports.BaseCloudResource = BaseCloudResource;
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, class_validator_1.IsUUID)(),
|
|
22
|
+
__metadata("design:type", String)
|
|
23
|
+
], BaseCloudResource.prototype, "id", void 0);
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, class_validator_1.IsEnum)(status_1.CloudResourceStatus),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], BaseCloudResource.prototype, "status", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, class_validator_1.IsNumber)(),
|
|
30
|
+
__metadata("design:type", Number)
|
|
31
|
+
], BaseCloudResource.prototype, "createdAt", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, class_validator_1.IsUUID)(),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], BaseCloudResource.prototype, "poolId", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, class_validator_1.IsNumber)(),
|
|
38
|
+
(0, class_validator_1.IsOptional)(),
|
|
39
|
+
__metadata("design:type", Number)
|
|
40
|
+
], BaseCloudResource.prototype, "updatedAt", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, decorators_1.ValidateNestedType)(() => cloud_1.AWSResourceProviderSettings),
|
|
43
|
+
__metadata("design:type", cloud_1.AWSResourceProviderSettings)
|
|
44
|
+
], BaseCloudResource.prototype, "settings", void 0);
|
|
45
|
+
//# sourceMappingURL=base.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base.js","sourceRoot":"","sources":["../../../../../src/v4/types/pools/resource/base.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuE;AAEvE,qCAA+C;AAC/C,uCAA0D;AAC1D,uDAA4D;AAE5D,MAAa,iBAAiB;CAmB7B;AAnBD,8CAmBC;AAjBC;IADC,IAAA,wBAAM,GAAE;;6CACE;AAGX;IADC,IAAA,wBAAM,EAAC,4BAAmB,CAAC;;iDACA;AAG5B;IADC,IAAA,0BAAQ,GAAE;;oDACO;AAGlB;IADC,IAAA,wBAAM,GAAE;;iDACM;AAIf;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;oDACM;AAGnB;IADC,IAAA,+BAAkB,EAAC,GAAG,EAAE,CAAC,mCAA2B,CAAC;8BAC3C,mCAA2B;mDAAC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.GameCloudResource = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const base_1 = require("./base");
|
|
15
|
+
class GameCloudResource extends base_1.BaseCloudResource {
|
|
16
|
+
}
|
|
17
|
+
exports.GameCloudResource = GameCloudResource;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsString)(),
|
|
20
|
+
(0, class_validator_1.IsOptional)(),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], GameCloudResource.prototype, "machineResourceId", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, class_validator_1.IsString)(),
|
|
25
|
+
(0, class_validator_1.IsOptional)(),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], GameCloudResource.prototype, "ludeoResourceId", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, class_validator_1.IsString)(),
|
|
30
|
+
(0, class_validator_1.IsOptional)(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], GameCloudResource.prototype, "ludeoPoolId", void 0);
|
|
33
|
+
//# sourceMappingURL=game.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"game.js","sourceRoot":"","sources":["../../../../../src/v4/types/pools/resource/game.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AAEvD,iCAA2C;AAE3C,MAAa,iBAAkB,SAAQ,wBAAiB;CAYvD;AAZD,8CAYC;AATC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;4DACc;AAI3B;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;0DACY;AAIzB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;sDACQ"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./base"), exports);
|
|
18
|
+
__exportStar(require("./game"), exports);
|
|
19
|
+
__exportStar(require("./machine"), exports);
|
|
20
|
+
__exportStar(require("./status"), exports);
|
|
21
|
+
__exportStar(require("./statusMap"), exports);
|
|
22
|
+
__exportStar(require("./type"), exports);
|
|
23
|
+
__exportStar(require("./ludeo"), exports);
|
|
24
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/v4/types/pools/resource/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAuB;AACvB,yCAAuB;AACvB,4CAA0B;AAC1B,2CAAyB;AACzB,8CAA4B;AAC5B,yCAAuB;AACvB,0CAAwB"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.LudeoCloudResource = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const base_1 = require("./base");
|
|
15
|
+
class LudeoCloudResource extends base_1.BaseCloudResource {
|
|
16
|
+
}
|
|
17
|
+
exports.LudeoCloudResource = LudeoCloudResource;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsString)(),
|
|
20
|
+
(0, class_validator_1.IsOptional)(),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], LudeoCloudResource.prototype, "gameResourceId", void 0);
|
|
23
|
+
//# sourceMappingURL=ludeo.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ludeo.js","sourceRoot":"","sources":["../../../../../src/v4/types/pools/resource/ludeo.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AAEvD,iCAA2C;AAE3C,MAAa,kBAAmB,SAAQ,wBAAiB;CAIxD;AAJD,gDAIC;AADC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;0DACW"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.MachineCloudResource = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const base_1 = require("./base");
|
|
15
|
+
class MachineCloudResource extends base_1.BaseCloudResource {
|
|
16
|
+
}
|
|
17
|
+
exports.MachineCloudResource = MachineCloudResource;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsOptional)(),
|
|
20
|
+
(0, class_validator_1.IsUUID)(),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], MachineCloudResource.prototype, "gameResourceId", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, class_validator_1.IsOptional)(),
|
|
25
|
+
(0, class_validator_1.IsUUID)(),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], MachineCloudResource.prototype, "gamePoolId", void 0);
|
|
28
|
+
//# sourceMappingURL=machine.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"machine.js","sourceRoot":"","sources":["../../../../../src/v4/types/pools/resource/machine.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAqD;AACrD,iCAA2C;AAE3C,MAAa,oBAAqB,SAAQ,wBAAiB;CAQ1D;AARD,oDAQC;AALC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;;4DACe;AAIxB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;;wDACW"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CloudResourceStatus = void 0;
|
|
4
|
+
var CloudResourceStatus;
|
|
5
|
+
(function (CloudResourceStatus) {
|
|
6
|
+
CloudResourceStatus["Allocated"] = "allocated";
|
|
7
|
+
CloudResourceStatus["Available"] = "available";
|
|
8
|
+
CloudResourceStatus["Creating"] = "creating";
|
|
9
|
+
CloudResourceStatus["Created"] = "created";
|
|
10
|
+
CloudResourceStatus["Allocating"] = "allocating";
|
|
11
|
+
CloudResourceStatus["Error"] = "error";
|
|
12
|
+
CloudResourceStatus["Terminating"] = "terminating";
|
|
13
|
+
CloudResourceStatus["Terminated"] = "terminated";
|
|
14
|
+
})(CloudResourceStatus || (exports.CloudResourceStatus = CloudResourceStatus = {}));
|
|
15
|
+
//# sourceMappingURL=status.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"status.js","sourceRoot":"","sources":["../../../../../src/v4/types/pools/resource/status.ts"],"names":[],"mappings":";;;AAAA,IAAY,mBASX;AATD,WAAY,mBAAmB;IAC7B,8CAAuB,CAAA;IACvB,8CAAuB,CAAA;IACvB,4CAAqB,CAAA;IACrB,0CAAmB,CAAA;IACnB,gDAAyB,CAAA;IACzB,sCAAe,CAAA;IACf,kDAA2B,CAAA;IAC3B,gDAAyB,CAAA;AAC3B,CAAC,EATW,mBAAmB,mCAAnB,mBAAmB,QAS9B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"statusMap.js","sourceRoot":"","sources":["../../../../../src/v4/types/pools/resource/statusMap.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { CloudPoolType } from "../type";
|
|
2
|
+
import { BaseCloudResource } from "./base";
|
|
3
|
+
import { GameCloudResource } from "./game";
|
|
4
|
+
import { LudeoCloudResource } from "./ludeo";
|
|
5
|
+
import { MachineCloudResource } from "./machine";
|
|
6
|
+
export type CloudResourceType<T extends CloudPoolType | undefined = undefined> = T extends undefined ? BaseCloudResource : T extends CloudPoolType.GAME ? GameCloudResource : T extends CloudPoolType.MACHINE ? MachineCloudResource : T extends CloudPoolType.LUDEO ? LudeoCloudResource : BaseCloudResource;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"type.js","sourceRoot":"","sources":["../../../../../src/v4/types/pools/resource/type.ts"],"names":[],"mappings":""}
|