gs2-cdk 1.0.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/core/func/Func.d.ts +2 -0
- package/core/func/Func.js +3 -0
- package/core/func/Func.js.map +1 -0
- package/core/func/Func.ts +18 -0
- package/core/func/GetAttr.d.ts +9 -0
- package/core/func/GetAttr.js +38 -0
- package/core/func/GetAttr.js.map +1 -0
- package/core/func/GetAttr.ts +55 -0
- package/core/func/Join.d.ts +7 -0
- package/core/func/Join.js +28 -0
- package/core/func/Join.js.map +1 -0
- package/core/func/Join.ts +35 -0
- package/core/func/index.d.ts +4 -0
- package/core/func/index.js +24 -0
- package/core/func/index.js.map +1 -0
- package/core/func/index.ts +25 -0
- package/core/index.d.ts +4 -0
- package/core/index.js +22 -0
- package/core/index.js.map +1 -0
- package/core/index.ts +23 -0
- package/core/model/AcquireAction.d.ts +12 -0
- package/core/model/AcquireAction.js +31 -0
- package/core/model/AcquireAction.js.map +1 -0
- package/core/model/AcquireAction.ts +36 -0
- package/core/model/CdkResource.d.ts +13 -0
- package/core/model/CdkResource.js +36 -0
- package/core/model/CdkResource.js.map +1 -0
- package/core/model/CdkResource.ts +47 -0
- package/core/model/Config.d.ts +8 -0
- package/core/model/Config.js +31 -0
- package/core/model/Config.js.map +1 -0
- package/core/model/Config.ts +36 -0
- package/core/model/ConsumeAction.d.ts +12 -0
- package/core/model/ConsumeAction.js +31 -0
- package/core/model/ConsumeAction.js.map +1 -0
- package/core/model/ConsumeAction.ts +36 -0
- package/core/model/LogSetting.d.ts +7 -0
- package/core/model/LogSetting.js +29 -0
- package/core/model/LogSetting.js.map +1 -0
- package/core/model/LogSetting.ts +32 -0
- package/core/model/NotificationSetting.d.ts +9 -0
- package/core/model/NotificationSetting.js +33 -0
- package/core/model/NotificationSetting.js.map +1 -0
- package/core/model/NotificationSetting.ts +40 -0
- package/core/model/ScriptSetting.d.ts +10 -0
- package/core/model/ScriptSetting.js +35 -0
- package/core/model/ScriptSetting.js.map +1 -0
- package/core/model/ScriptSetting.ts +45 -0
- package/core/model/Stack.d.ts +14 -0
- package/core/model/Stack.js +47 -0
- package/core/model/Stack.js.map +1 -0
- package/core/model/Stack.ts +60 -0
- package/core/model/TransactionSetting.d.ts +10 -0
- package/core/model/TransactionSetting.js +35 -0
- package/core/model/TransactionSetting.js.map +1 -0
- package/core/model/TransactionSetting.ts +44 -0
- package/core/model/index.d.ts +10 -0
- package/core/model/index.js +38 -0
- package/core/model/index.js.map +1 -0
- package/core/model/index.ts +37 -0
- package/distributor/index.d.ts +11 -0
- package/distributor/index.js +31 -0
- package/distributor/index.js.map +1 -0
- package/distributor/index.ts +34 -0
- package/distributor/model/CurrentMasterData.d.ts +12 -0
- package/distributor/model/CurrentMasterData.js +41 -0
- package/distributor/model/CurrentMasterData.js.map +1 -0
- package/distributor/model/CurrentMasterData.ts +52 -0
- package/distributor/model/DistributeResource.d.ts +10 -0
- package/distributor/model/DistributeResource.js +35 -0
- package/distributor/model/DistributeResource.js.map +1 -0
- package/distributor/model/DistributeResource.ts +43 -0
- package/distributor/model/DistributorModel.d.ts +17 -0
- package/distributor/model/DistributorModel.js +52 -0
- package/distributor/model/DistributorModel.js.map +1 -0
- package/distributor/model/DistributorModel.ts +67 -0
- package/distributor/model/DistributorModelMaster.d.ts +26 -0
- package/distributor/model/DistributorModelMaster.js +72 -0
- package/distributor/model/DistributorModelMaster.js.map +1 -0
- package/distributor/model/DistributorModelMaster.ts +102 -0
- package/distributor/model/Namespace.d.ts +29 -0
- package/distributor/model/Namespace.js +73 -0
- package/distributor/model/Namespace.js.map +1 -0
- package/distributor/model/Namespace.ts +111 -0
- package/distributor/model/index.d.ts +6 -0
- package/distributor/model/index.js +30 -0
- package/distributor/model/index.js.map +1 -0
- package/distributor/model/index.ts +28 -0
- package/distributor/ref/CurrentDistributorMasterRef.d.ts +5 -0
- package/distributor/ref/CurrentDistributorMasterRef.js +35 -0
- package/distributor/ref/CurrentDistributorMasterRef.js.map +1 -0
- package/distributor/ref/CurrentDistributorMasterRef.ts +42 -0
- package/distributor/ref/DistributorModelMasterRef.d.ts +6 -0
- package/distributor/ref/DistributorModelMasterRef.js +38 -0
- package/distributor/ref/DistributorModelMasterRef.js.map +1 -0
- package/distributor/ref/DistributorModelMasterRef.ts +47 -0
- package/distributor/ref/DistributorModelRef.d.ts +6 -0
- package/distributor/ref/DistributorModelRef.js +38 -0
- package/distributor/ref/DistributorModelRef.js.map +1 -0
- package/distributor/ref/DistributorModelRef.ts +47 -0
- package/distributor/ref/NamespaceRef.d.ts +11 -0
- package/distributor/ref/NamespaceRef.js +48 -0
- package/distributor/ref/NamespaceRef.js.map +1 -0
- package/distributor/ref/NamespaceRef.ts +70 -0
- package/distributor/ref/index.d.ts +5 -0
- package/distributor/ref/index.js +28 -0
- package/distributor/ref/index.js.map +1 -0
- package/distributor/ref/index.ts +26 -0
- package/distributor/stampSheet/index.d.ts +1 -0
- package/distributor/stampSheet/index.js +18 -0
- package/distributor/stampSheet/index.js.map +1 -0
- package/distributor/stampSheet/index.ts +18 -0
- package/identifier/index.d.ts +13 -0
- package/identifier/index.js +35 -0
- package/identifier/index.js.map +1 -0
- package/identifier/index.ts +43 -0
- package/identifier/model/AttachSecurityPolicy.d.ts +11 -0
- package/identifier/model/AttachSecurityPolicy.js +43 -0
- package/identifier/model/AttachSecurityPolicy.js.map +1 -0
- package/identifier/model/AttachSecurityPolicy.ts +54 -0
- package/identifier/model/Identifier.d.ts +14 -0
- package/identifier/model/Identifier.js +47 -0
- package/identifier/model/Identifier.js.map +1 -0
- package/identifier/model/Identifier.ts +70 -0
- package/identifier/model/Password.d.ts +15 -0
- package/identifier/model/Password.js +53 -0
- package/identifier/model/Password.js.map +1 -0
- package/identifier/model/Password.ts +74 -0
- package/identifier/model/Policy.d.ts +9 -0
- package/identifier/model/Policy.js +31 -0
- package/identifier/model/Policy.js.map +1 -0
- package/identifier/model/Policy.ts +36 -0
- package/identifier/model/ProjectToken.d.ts +10 -0
- package/identifier/model/ProjectToken.js +33 -0
- package/identifier/model/ProjectToken.js.map +1 -0
- package/identifier/model/ProjectToken.ts +37 -0
- package/identifier/model/SecurityPolicy.d.ts +17 -0
- package/identifier/model/SecurityPolicy.js +57 -0
- package/identifier/model/SecurityPolicy.js.map +1 -0
- package/identifier/model/SecurityPolicy.ts +77 -0
- package/identifier/model/Statement.d.ts +13 -0
- package/identifier/model/Statement.js +48 -0
- package/identifier/model/Statement.js.map +1 -0
- package/identifier/model/Statement.ts +74 -0
- package/identifier/model/User.d.ts +20 -0
- package/identifier/model/User.js +64 -0
- package/identifier/model/User.js.map +1 -0
- package/identifier/model/User.ts +102 -0
- package/identifier/model/index.d.ts +8 -0
- package/identifier/model/index.js +36 -0
- package/identifier/model/index.js.map +1 -0
- package/identifier/model/index.ts +34 -0
- package/identifier/ref/AttachSecurityPolicyRef.d.ts +5 -0
- package/identifier/ref/AttachSecurityPolicyRef.js +36 -0
- package/identifier/ref/AttachSecurityPolicyRef.js.map +1 -0
- package/identifier/ref/AttachSecurityPolicyRef.ts +43 -0
- package/identifier/ref/IdentifierRef.d.ts +5 -0
- package/identifier/ref/IdentifierRef.js +25 -0
- package/identifier/ref/IdentifierRef.js.map +1 -0
- package/identifier/ref/IdentifierRef.ts +31 -0
- package/identifier/ref/PasswordRef.d.ts +5 -0
- package/identifier/ref/PasswordRef.js +36 -0
- package/identifier/ref/PasswordRef.js.map +1 -0
- package/identifier/ref/PasswordRef.ts +43 -0
- package/identifier/ref/SecurityPolicyRef.d.ts +5 -0
- package/identifier/ref/SecurityPolicyRef.js +36 -0
- package/identifier/ref/SecurityPolicyRef.js.map +1 -0
- package/identifier/ref/SecurityPolicyRef.ts +43 -0
- package/identifier/ref/UserRef.d.ts +7 -0
- package/identifier/ref/UserRef.js +41 -0
- package/identifier/ref/UserRef.js.map +1 -0
- package/identifier/ref/UserRef.ts +53 -0
- package/identifier/ref/index.d.ts +6 -0
- package/identifier/ref/index.js +30 -0
- package/identifier/ref/index.js.map +1 -0
- package/identifier/ref/index.ts +28 -0
- package/identifier/stampSheet/index.d.ts +1 -0
- package/identifier/stampSheet/index.js +18 -0
- package/identifier/stampSheet/index.js.map +1 -0
- package/identifier/stampSheet/index.ts +18 -0
- package/inbox/index.d.ts +11 -0
- package/inbox/index.js +31 -0
- package/inbox/index.js.map +1 -0
- package/inbox/index.ts +34 -0
- package/inbox/model/CurrentMasterData.d.ts +12 -0
- package/inbox/model/CurrentMasterData.js +41 -0
- package/inbox/model/CurrentMasterData.js.map +1 -0
- package/inbox/model/CurrentMasterData.ts +52 -0
- package/inbox/model/GlobalMessage.d.ts +20 -0
- package/inbox/model/GlobalMessage.js +41 -0
- package/inbox/model/GlobalMessage.js.map +1 -0
- package/inbox/model/GlobalMessage.ts +75 -0
- package/inbox/model/GlobalMessageMaster.d.ts +27 -0
- package/inbox/model/GlobalMessageMaster.js +71 -0
- package/inbox/model/GlobalMessageMaster.js.map +1 -0
- package/inbox/model/GlobalMessageMaster.ts +104 -0
- package/inbox/model/Namespace.d.ts +39 -0
- package/inbox/model/Namespace.js +93 -0
- package/inbox/model/Namespace.js.map +1 -0
- package/inbox/model/Namespace.ts +137 -0
- package/inbox/model/TimeSpan.d.ts +11 -0
- package/inbox/model/TimeSpan.js +39 -0
- package/inbox/model/TimeSpan.js.map +1 -0
- package/inbox/model/TimeSpan.ts +49 -0
- package/inbox/model/index.d.ts +6 -0
- package/inbox/model/index.js +30 -0
- package/inbox/model/index.js.map +1 -0
- package/inbox/model/index.ts +28 -0
- package/inbox/ref/CurrentMessageMasterRef.d.ts +5 -0
- package/inbox/ref/CurrentMessageMasterRef.js +35 -0
- package/inbox/ref/CurrentMessageMasterRef.js.map +1 -0
- package/inbox/ref/CurrentMessageMasterRef.ts +42 -0
- package/inbox/ref/GlobalMessageMasterRef.d.ts +6 -0
- package/inbox/ref/GlobalMessageMasterRef.js +39 -0
- package/inbox/ref/GlobalMessageMasterRef.js.map +1 -0
- package/inbox/ref/GlobalMessageMasterRef.ts +48 -0
- package/inbox/ref/GlobalMessageRef.d.ts +6 -0
- package/inbox/ref/GlobalMessageRef.js +38 -0
- package/inbox/ref/GlobalMessageRef.js.map +1 -0
- package/inbox/ref/GlobalMessageRef.ts +47 -0
- package/inbox/ref/NamespaceRef.d.ts +15 -0
- package/inbox/ref/NamespaceRef.js +52 -0
- package/inbox/ref/NamespaceRef.js.map +1 -0
- package/inbox/ref/NamespaceRef.ts +90 -0
- package/inbox/ref/index.d.ts +5 -0
- package/inbox/ref/index.js +28 -0
- package/inbox/ref/index.js.map +1 -0
- package/inbox/ref/index.ts +26 -0
- package/inbox/stampSheet/OpenMessageByUserId.d.ts +4 -0
- package/inbox/stampSheet/OpenMessageByUserId.js +35 -0
- package/inbox/stampSheet/OpenMessageByUserId.js.map +1 -0
- package/inbox/stampSheet/OpenMessageByUserId.ts +41 -0
- package/inbox/stampSheet/SendMessageByUserId.d.ts +5 -0
- package/inbox/stampSheet/SendMessageByUserId.js +44 -0
- package/inbox/stampSheet/SendMessageByUserId.js.map +1 -0
- package/inbox/stampSheet/SendMessageByUserId.ts +54 -0
- package/inbox/stampSheet/index.d.ts +2 -0
- package/inbox/stampSheet/index.js +22 -0
- package/inbox/stampSheet/index.js.map +1 -0
- package/inbox/stampSheet/index.ts +20 -0
- package/inventory/index.d.ts +11 -0
- package/inventory/index.js +31 -0
- package/inventory/index.js.map +1 -0
- package/inventory/index.ts +34 -0
- package/inventory/model/CurrentMasterData.d.ts +12 -0
- package/inventory/model/CurrentMasterData.js +41 -0
- package/inventory/model/CurrentMasterData.js.map +1 -0
- package/inventory/model/CurrentMasterData.ts +52 -0
- package/inventory/model/InventoryModel.d.ts +20 -0
- package/inventory/model/InventoryModel.js +45 -0
- package/inventory/model/InventoryModel.js.map +1 -0
- package/inventory/model/InventoryModel.ts +80 -0
- package/inventory/model/InventoryModelMaster.d.ts +25 -0
- package/inventory/model/InventoryModelMaster.js +74 -0
- package/inventory/model/InventoryModelMaster.js.map +1 -0
- package/inventory/model/InventoryModelMaster.ts +108 -0
- package/inventory/model/ItemModel.d.ts +16 -0
- package/inventory/model/ItemModel.js +54 -0
- package/inventory/model/ItemModel.js.map +1 -0
- package/inventory/model/ItemModel.ts +75 -0
- package/inventory/model/ItemModelMaster.d.ts +26 -0
- package/inventory/model/ItemModelMaster.js +78 -0
- package/inventory/model/ItemModelMaster.js.map +1 -0
- package/inventory/model/ItemModelMaster.ts +116 -0
- package/inventory/model/Namespace.d.ts +31 -0
- package/inventory/model/Namespace.js +78 -0
- package/inventory/model/Namespace.js.map +1 -0
- package/inventory/model/Namespace.ts +117 -0
- package/inventory/model/index.d.ts +7 -0
- package/inventory/model/index.js +32 -0
- package/inventory/model/index.js.map +1 -0
- package/inventory/model/index.ts +30 -0
- package/inventory/ref/CurrentItemModelMasterRef.d.ts +5 -0
- package/inventory/ref/CurrentItemModelMasterRef.js +35 -0
- package/inventory/ref/CurrentItemModelMasterRef.js.map +1 -0
- package/inventory/ref/CurrentItemModelMasterRef.ts +42 -0
- package/inventory/ref/InventoryModelMasterRef.d.ts +8 -0
- package/inventory/ref/InventoryModelMasterRef.js +43 -0
- package/inventory/ref/InventoryModelMasterRef.js.map +1 -0
- package/inventory/ref/InventoryModelMasterRef.ts +58 -0
- package/inventory/ref/InventoryModelRef.d.ts +12 -0
- package/inventory/ref/InventoryModelRef.js +51 -0
- package/inventory/ref/InventoryModelRef.js.map +1 -0
- package/inventory/ref/InventoryModelRef.ts +84 -0
- package/inventory/ref/ItemModelMasterRef.d.ts +7 -0
- package/inventory/ref/ItemModelMasterRef.js +41 -0
- package/inventory/ref/ItemModelMasterRef.js.map +1 -0
- package/inventory/ref/ItemModelMasterRef.ts +52 -0
- package/inventory/ref/ItemModelRef.d.ts +13 -0
- package/inventory/ref/ItemModelRef.js +54 -0
- package/inventory/ref/ItemModelRef.js.map +1 -0
- package/inventory/ref/ItemModelRef.ts +104 -0
- package/inventory/ref/NamespaceRef.d.ts +11 -0
- package/inventory/ref/NamespaceRef.js +48 -0
- package/inventory/ref/NamespaceRef.js.map +1 -0
- package/inventory/ref/NamespaceRef.ts +70 -0
- package/inventory/ref/index.d.ts +7 -0
- package/inventory/ref/index.js +32 -0
- package/inventory/ref/index.js.map +1 -0
- package/inventory/ref/index.ts +30 -0
- package/inventory/stampSheet/AcquireItemSetByUserId.d.ts +4 -0
- package/inventory/stampSheet/AcquireItemSetByUserId.js +50 -0
- package/inventory/stampSheet/AcquireItemSetByUserId.js.map +1 -0
- package/inventory/stampSheet/AcquireItemSetByUserId.ts +61 -0
- package/inventory/stampSheet/AddCapacityByUserId.d.ts +4 -0
- package/inventory/stampSheet/AddCapacityByUserId.js +38 -0
- package/inventory/stampSheet/AddCapacityByUserId.js.map +1 -0
- package/inventory/stampSheet/AddCapacityByUserId.ts +45 -0
- package/inventory/stampSheet/AddReferenceOfByUserId.d.ts +4 -0
- package/inventory/stampSheet/AddReferenceOfByUserId.js +44 -0
- package/inventory/stampSheet/AddReferenceOfByUserId.js.map +1 -0
- package/inventory/stampSheet/AddReferenceOfByUserId.ts +53 -0
- package/inventory/stampSheet/ConsumeItemSetByUserId.d.ts +4 -0
- package/inventory/stampSheet/ConsumeItemSetByUserId.js +44 -0
- package/inventory/stampSheet/ConsumeItemSetByUserId.js.map +1 -0
- package/inventory/stampSheet/ConsumeItemSetByUserId.ts +53 -0
- package/inventory/stampSheet/DeleteReferenceOfByUserId.d.ts +4 -0
- package/inventory/stampSheet/DeleteReferenceOfByUserId.js +44 -0
- package/inventory/stampSheet/DeleteReferenceOfByUserId.js.map +1 -0
- package/inventory/stampSheet/DeleteReferenceOfByUserId.ts +53 -0
- package/inventory/stampSheet/SetCapacityByUserId.d.ts +4 -0
- package/inventory/stampSheet/SetCapacityByUserId.js +38 -0
- package/inventory/stampSheet/SetCapacityByUserId.js.map +1 -0
- package/inventory/stampSheet/SetCapacityByUserId.ts +45 -0
- package/inventory/stampSheet/VerifyReferenceOfByUserId.d.ts +4 -0
- package/inventory/stampSheet/VerifyReferenceOfByUserId.js +47 -0
- package/inventory/stampSheet/VerifyReferenceOfByUserId.js.map +1 -0
- package/inventory/stampSheet/VerifyReferenceOfByUserId.ts +57 -0
- package/inventory/stampSheet/index.d.ts +3 -0
- package/inventory/stampSheet/index.js +24 -0
- package/inventory/stampSheet/index.js.map +1 -0
- package/inventory/stampSheet/index.ts +22 -0
- package/jobQueue/index.d.ts +11 -0
- package/jobQueue/index.js +31 -0
- package/jobQueue/index.js.map +1 -0
- package/jobQueue/index.ts +34 -0
- package/jobQueue/model/JobEntry.d.ts +11 -0
- package/jobQueue/model/JobEntry.js +39 -0
- package/jobQueue/model/JobEntry.js.map +1 -0
- package/jobQueue/model/JobEntry.ts +49 -0
- package/jobQueue/model/JobResultBody.d.ts +12 -0
- package/jobQueue/model/JobResultBody.js +43 -0
- package/jobQueue/model/JobResultBody.js.map +1 -0
- package/jobQueue/model/JobResultBody.ts +55 -0
- package/jobQueue/model/Namespace.d.ts +28 -0
- package/jobQueue/model/Namespace.js +72 -0
- package/jobQueue/model/Namespace.js.map +1 -0
- package/jobQueue/model/Namespace.ts +102 -0
- package/jobQueue/model/index.d.ts +4 -0
- package/jobQueue/model/index.js +26 -0
- package/jobQueue/model/index.js.map +1 -0
- package/jobQueue/model/index.ts +24 -0
- package/jobQueue/ref/NamespaceRef.d.ts +8 -0
- package/jobQueue/ref/NamespaceRef.js +40 -0
- package/jobQueue/ref/NamespaceRef.js.map +1 -0
- package/jobQueue/ref/NamespaceRef.ts +55 -0
- package/jobQueue/ref/index.d.ts +2 -0
- package/jobQueue/ref/index.js +22 -0
- package/jobQueue/ref/index.js.map +1 -0
- package/jobQueue/ref/index.ts +20 -0
- package/jobQueue/stampSheet/PushByUserId.d.ts +5 -0
- package/jobQueue/stampSheet/PushByUserId.js +35 -0
- package/jobQueue/stampSheet/PushByUserId.js.map +1 -0
- package/jobQueue/stampSheet/PushByUserId.ts +42 -0
- package/jobQueue/stampSheet/index.d.ts +1 -0
- package/jobQueue/stampSheet/index.js +18 -0
- package/jobQueue/stampSheet/index.js.map +1 -0
- package/jobQueue/stampSheet/index.ts +18 -0
- package/log/index.d.ts +11 -0
- package/log/index.js +31 -0
- package/log/index.js.map +1 -0
- package/log/index.ts +34 -0
- package/log/model/AccessLog.d.ts +16 -0
- package/log/model/AccessLog.js +57 -0
- package/log/model/AccessLog.js.map +1 -0
- package/log/model/AccessLog.ts +73 -0
- package/log/model/AccessLogCount.d.ts +15 -0
- package/log/model/AccessLogCount.js +47 -0
- package/log/model/AccessLogCount.js.map +1 -0
- package/log/model/AccessLogCount.ts +55 -0
- package/log/model/ExecuteStampSheetLog.d.ts +15 -0
- package/log/model/ExecuteStampSheetLog.js +55 -0
- package/log/model/ExecuteStampSheetLog.js.map +1 -0
- package/log/model/ExecuteStampSheetLog.ts +73 -0
- package/log/model/ExecuteStampSheetLogCount.d.ts +17 -0
- package/log/model/ExecuteStampSheetLogCount.js +52 -0
- package/log/model/ExecuteStampSheetLogCount.js.map +1 -0
- package/log/model/ExecuteStampSheetLogCount.ts +61 -0
- package/log/model/ExecuteStampTaskLog.d.ts +15 -0
- package/log/model/ExecuteStampTaskLog.js +55 -0
- package/log/model/ExecuteStampTaskLog.js.map +1 -0
- package/log/model/ExecuteStampTaskLog.ts +73 -0
- package/log/model/ExecuteStampTaskLogCount.d.ts +17 -0
- package/log/model/ExecuteStampTaskLogCount.js +52 -0
- package/log/model/ExecuteStampTaskLogCount.js.map +1 -0
- package/log/model/ExecuteStampTaskLogCount.ts +61 -0
- package/log/model/Insight.d.ts +22 -0
- package/log/model/Insight.js +56 -0
- package/log/model/Insight.js.map +1 -0
- package/log/model/Insight.ts +78 -0
- package/log/model/IssueStampSheetLog.d.ts +17 -0
- package/log/model/IssueStampSheetLog.js +61 -0
- package/log/model/IssueStampSheetLog.js.map +1 -0
- package/log/model/IssueStampSheetLog.ts +79 -0
- package/log/model/IssueStampSheetLogCount.d.ts +17 -0
- package/log/model/IssueStampSheetLogCount.js +52 -0
- package/log/model/IssueStampSheetLogCount.js.map +1 -0
- package/log/model/IssueStampSheetLogCount.ts +61 -0
- package/log/model/Namespace.d.ts +46 -0
- package/log/model/Namespace.js +98 -0
- package/log/model/Namespace.js.map +1 -0
- package/log/model/Namespace.ts +140 -0
- package/log/model/index.d.ts +13 -0
- package/log/model/index.js +44 -0
- package/log/model/index.js.map +1 -0
- package/log/model/index.ts +42 -0
- package/log/ref/InsightRef.d.ts +6 -0
- package/log/ref/InsightRef.js +38 -0
- package/log/ref/InsightRef.js.map +1 -0
- package/log/ref/InsightRef.ts +47 -0
- package/log/ref/NamespaceRef.d.ts +7 -0
- package/log/ref/NamespaceRef.js +40 -0
- package/log/ref/NamespaceRef.js.map +1 -0
- package/log/ref/NamespaceRef.ts +52 -0
- package/log/ref/index.d.ts +3 -0
- package/log/ref/index.js +24 -0
- package/log/ref/index.js.map +1 -0
- package/log/ref/index.ts +22 -0
- package/log/stampSheet/index.d.ts +1 -0
- package/log/stampSheet/index.js +18 -0
- package/log/stampSheet/index.js.map +1 -0
- package/log/stampSheet/index.ts +18 -0
- package/lottery/index.d.ts +11 -0
- package/lottery/index.js +31 -0
- package/lottery/index.js.map +1 -0
- package/lottery/index.ts +34 -0
- package/lottery/model/BoxItem.d.ts +13 -0
- package/lottery/model/BoxItem.js +26 -0
- package/lottery/model/BoxItem.js.map +1 -0
- package/lottery/model/BoxItem.ts +50 -0
- package/lottery/model/BoxItems.d.ts +14 -0
- package/lottery/model/BoxItems.js +30 -0
- package/lottery/model/BoxItems.js.map +1 -0
- package/lottery/model/BoxItems.ts +56 -0
- package/lottery/model/CurrentMasterData.d.ts +14 -0
- package/lottery/model/CurrentMasterData.js +43 -0
- package/lottery/model/CurrentMasterData.js.map +1 -0
- package/lottery/model/CurrentMasterData.ts +57 -0
- package/lottery/model/DrawnPrize.d.ts +12 -0
- package/lottery/model/DrawnPrize.js +22 -0
- package/lottery/model/DrawnPrize.js.map +1 -0
- package/lottery/model/DrawnPrize.ts +44 -0
- package/lottery/model/LotteryModel.d.ts +39 -0
- package/lottery/model/LotteryModel.js +83 -0
- package/lottery/model/LotteryModel.js.map +1 -0
- package/lottery/model/LotteryModel.ts +135 -0
- package/lottery/model/LotteryModelMaster.d.ts +42 -0
- package/lottery/model/LotteryModelMaster.js +89 -0
- package/lottery/model/LotteryModelMaster.js.map +1 -0
- package/lottery/model/LotteryModelMaster.ts +132 -0
- package/lottery/model/Namespace.d.ts +31 -0
- package/lottery/model/Namespace.js +77 -0
- package/lottery/model/Namespace.js.map +1 -0
- package/lottery/model/Namespace.ts +120 -0
- package/lottery/model/Prize.d.ts +27 -0
- package/lottery/model/Prize.js +63 -0
- package/lottery/model/Prize.js.map +1 -0
- package/lottery/model/Prize.ts +117 -0
- package/lottery/model/PrizeLimit.d.ts +1 -0
- package/lottery/model/PrizeLimit.js +18 -0
- package/lottery/model/PrizeLimit.js.map +1 -0
- package/lottery/model/PrizeLimit.ts +19 -0
- package/lottery/model/PrizeTable.d.ts +15 -0
- package/lottery/model/PrizeTable.js +31 -0
- package/lottery/model/PrizeTable.js.map +1 -0
- package/lottery/model/PrizeTable.ts +62 -0
- package/lottery/model/PrizeTableMaster.d.ts +24 -0
- package/lottery/model/PrizeTableMaster.js +66 -0
- package/lottery/model/PrizeTableMaster.js.map +1 -0
- package/lottery/model/PrizeTableMaster.ts +97 -0
- package/lottery/model/Probability.d.ts +11 -0
- package/lottery/model/Probability.js +20 -0
- package/lottery/model/Probability.js.map +1 -0
- package/lottery/model/Probability.ts +44 -0
- package/lottery/model/index.d.ts +17 -0
- package/lottery/model/index.js +52 -0
- package/lottery/model/index.js.map +1 -0
- package/lottery/model/index.ts +50 -0
- package/lottery/ref/CurrentLotteryMasterRef.d.ts +5 -0
- package/lottery/ref/CurrentLotteryMasterRef.js +35 -0
- package/lottery/ref/CurrentLotteryMasterRef.js.map +1 -0
- package/lottery/ref/CurrentLotteryMasterRef.ts +42 -0
- package/lottery/ref/LotteryModelMasterRef.d.ts +6 -0
- package/lottery/ref/LotteryModelMasterRef.js +38 -0
- package/lottery/ref/LotteryModelMasterRef.js.map +1 -0
- package/lottery/ref/LotteryModelMasterRef.ts +47 -0
- package/lottery/ref/LotteryModelRef.d.ts +9 -0
- package/lottery/ref/LotteryModelRef.js +43 -0
- package/lottery/ref/LotteryModelRef.js.map +1 -0
- package/lottery/ref/LotteryModelRef.ts +63 -0
- package/lottery/ref/NamespaceRef.d.ts +15 -0
- package/lottery/ref/NamespaceRef.js +56 -0
- package/lottery/ref/NamespaceRef.js.map +1 -0
- package/lottery/ref/NamespaceRef.ts +90 -0
- package/lottery/ref/PrizeLimitRef.d.ts +7 -0
- package/lottery/ref/PrizeLimitRef.js +41 -0
- package/lottery/ref/PrizeLimitRef.js.map +1 -0
- package/lottery/ref/PrizeLimitRef.ts +52 -0
- package/lottery/ref/PrizeTableMasterRef.d.ts +6 -0
- package/lottery/ref/PrizeTableMasterRef.js +38 -0
- package/lottery/ref/PrizeTableMasterRef.js.map +1 -0
- package/lottery/ref/PrizeTableMasterRef.ts +47 -0
- package/lottery/ref/PrizeTableRef.d.ts +8 -0
- package/lottery/ref/PrizeTableRef.js +43 -0
- package/lottery/ref/PrizeTableRef.js.map +1 -0
- package/lottery/ref/PrizeTableRef.ts +58 -0
- package/lottery/ref/index.d.ts +8 -0
- package/lottery/ref/index.js +34 -0
- package/lottery/ref/index.js.map +1 -0
- package/lottery/ref/index.ts +32 -0
- package/lottery/stampSheet/DrawByUserId.d.ts +5 -0
- package/lottery/stampSheet/DrawByUserId.js +41 -0
- package/lottery/stampSheet/DrawByUserId.js.map +1 -0
- package/lottery/stampSheet/DrawByUserId.ts +50 -0
- package/lottery/stampSheet/index.d.ts +1 -0
- package/lottery/stampSheet/index.js +18 -0
- package/lottery/stampSheet/index.js.map +1 -0
- package/lottery/stampSheet/index.ts +18 -0
- package/package.json +58 -0
- package/showcase/index.d.ts +11 -0
- package/showcase/index.js +31 -0
- package/showcase/index.js.map +1 -0
- package/showcase/index.ts +34 -0
- package/showcase/model/CurrentMasterData.d.ts +12 -0
- package/showcase/model/CurrentMasterData.js +41 -0
- package/showcase/model/CurrentMasterData.js.map +1 -0
- package/showcase/model/CurrentMasterData.ts +52 -0
- package/showcase/model/DisplayItem.d.ts +35 -0
- package/showcase/model/DisplayItem.js +60 -0
- package/showcase/model/DisplayItem.js.map +1 -0
- package/showcase/model/DisplayItem.ts +120 -0
- package/showcase/model/DisplayItemMaster.d.ts +23 -0
- package/showcase/model/DisplayItemMaster.js +68 -0
- package/showcase/model/DisplayItemMaster.js.map +1 -0
- package/showcase/model/DisplayItemMaster.ts +97 -0
- package/showcase/model/Namespace.d.ts +29 -0
- package/showcase/model/Namespace.js +72 -0
- package/showcase/model/Namespace.js.map +1 -0
- package/showcase/model/Namespace.ts +112 -0
- package/showcase/model/SalesItem.d.ts +15 -0
- package/showcase/model/SalesItem.js +30 -0
- package/showcase/model/SalesItem.js.map +1 -0
- package/showcase/model/SalesItem.ts +57 -0
- package/showcase/model/SalesItemGroup.d.ts +13 -0
- package/showcase/model/SalesItemGroup.js +26 -0
- package/showcase/model/SalesItemGroup.js.map +1 -0
- package/showcase/model/SalesItemGroup.ts +50 -0
- package/showcase/model/SalesItemGroupMaster.d.ts +23 -0
- package/showcase/model/SalesItemGroupMaster.js +66 -0
- package/showcase/model/SalesItemGroupMaster.js.map +1 -0
- package/showcase/model/SalesItemGroupMaster.ts +96 -0
- package/showcase/model/SalesItemMaster.d.ts +26 -0
- package/showcase/model/SalesItemMaster.js +70 -0
- package/showcase/model/SalesItemMaster.js.map +1 -0
- package/showcase/model/SalesItemMaster.ts +104 -0
- package/showcase/model/Showcase.d.ts +17 -0
- package/showcase/model/Showcase.js +36 -0
- package/showcase/model/Showcase.js.map +1 -0
- package/showcase/model/Showcase.ts +68 -0
- package/showcase/model/ShowcaseMaster.d.ts +26 -0
- package/showcase/model/ShowcaseMaster.js +71 -0
- package/showcase/model/ShowcaseMaster.js.map +1 -0
- package/showcase/model/ShowcaseMaster.ts +103 -0
- package/showcase/model/index.d.ts +13 -0
- package/showcase/model/index.js +44 -0
- package/showcase/model/index.js.map +1 -0
- package/showcase/model/index.ts +42 -0
- package/showcase/ref/CurrentShowcaseMasterRef.d.ts +5 -0
- package/showcase/ref/CurrentShowcaseMasterRef.js +35 -0
- package/showcase/ref/CurrentShowcaseMasterRef.js.map +1 -0
- package/showcase/ref/CurrentShowcaseMasterRef.ts +42 -0
- package/showcase/ref/DisplayItemRef.d.ts +4 -0
- package/showcase/ref/DisplayItemRef.js +24 -0
- package/showcase/ref/DisplayItemRef.js.map +1 -0
- package/showcase/ref/DisplayItemRef.ts +28 -0
- package/showcase/ref/NamespaceRef.d.ts +15 -0
- package/showcase/ref/NamespaceRef.js +56 -0
- package/showcase/ref/NamespaceRef.js.map +1 -0
- package/showcase/ref/NamespaceRef.ts +88 -0
- package/showcase/ref/SalesItemGroupMasterRef.d.ts +6 -0
- package/showcase/ref/SalesItemGroupMasterRef.js +38 -0
- package/showcase/ref/SalesItemGroupMasterRef.js.map +1 -0
- package/showcase/ref/SalesItemGroupMasterRef.ts +47 -0
- package/showcase/ref/SalesItemMasterRef.d.ts +6 -0
- package/showcase/ref/SalesItemMasterRef.js +38 -0
- package/showcase/ref/SalesItemMasterRef.js.map +1 -0
- package/showcase/ref/SalesItemMasterRef.ts +47 -0
- package/showcase/ref/ShowcaseMasterRef.d.ts +6 -0
- package/showcase/ref/ShowcaseMasterRef.js +38 -0
- package/showcase/ref/ShowcaseMasterRef.js.map +1 -0
- package/showcase/ref/ShowcaseMasterRef.ts +47 -0
- package/showcase/ref/ShowcaseRef.d.ts +6 -0
- package/showcase/ref/ShowcaseRef.js +38 -0
- package/showcase/ref/ShowcaseRef.js.map +1 -0
- package/showcase/ref/ShowcaseRef.ts +47 -0
- package/showcase/ref/index.d.ts +8 -0
- package/showcase/ref/index.js +34 -0
- package/showcase/ref/index.js.map +1 -0
- package/showcase/ref/index.ts +32 -0
- package/showcase/stampSheet/index.d.ts +1 -0
- package/showcase/stampSheet/index.js +18 -0
- package/showcase/stampSheet/index.js.map +1 -0
- package/showcase/stampSheet/index.ts +18 -0
- package/stamina/index.d.ts +11 -0
- package/stamina/index.js +31 -0
- package/stamina/index.js.map +1 -0
- package/stamina/index.ts +34 -0
- package/stamina/model/CurrentMasterData.d.ts +12 -0
- package/stamina/model/CurrentMasterData.js +41 -0
- package/stamina/model/CurrentMasterData.js.map +1 -0
- package/stamina/model/CurrentMasterData.ts +52 -0
- package/stamina/model/MaxStaminaTable.d.ts +15 -0
- package/stamina/model/MaxStaminaTable.js +50 -0
- package/stamina/model/MaxStaminaTable.js.map +1 -0
- package/stamina/model/MaxStaminaTable.ts +67 -0
- package/stamina/model/MaxStaminaTableMaster.d.ts +24 -0
- package/stamina/model/MaxStaminaTableMaster.js +70 -0
- package/stamina/model/MaxStaminaTableMaster.js.map +1 -0
- package/stamina/model/MaxStaminaTableMaster.ts +102 -0
- package/stamina/model/Namespace.d.ts +27 -0
- package/stamina/model/Namespace.js +68 -0
- package/stamina/model/Namespace.js.map +1 -0
- package/stamina/model/Namespace.ts +105 -0
- package/stamina/model/RecoverIntervalTable.d.ts +15 -0
- package/stamina/model/RecoverIntervalTable.js +50 -0
- package/stamina/model/RecoverIntervalTable.js.map +1 -0
- package/stamina/model/RecoverIntervalTable.ts +67 -0
- package/stamina/model/RecoverIntervalTableMaster.d.ts +24 -0
- package/stamina/model/RecoverIntervalTableMaster.js +70 -0
- package/stamina/model/RecoverIntervalTableMaster.js.map +1 -0
- package/stamina/model/RecoverIntervalTableMaster.ts +102 -0
- package/stamina/model/RecoverValueTable.d.ts +15 -0
- package/stamina/model/RecoverValueTable.js +50 -0
- package/stamina/model/RecoverValueTable.js.map +1 -0
- package/stamina/model/RecoverValueTable.ts +67 -0
- package/stamina/model/RecoverValueTableMaster.d.ts +24 -0
- package/stamina/model/RecoverValueTableMaster.js +70 -0
- package/stamina/model/RecoverValueTableMaster.js.map +1 -0
- package/stamina/model/RecoverValueTableMaster.ts +102 -0
- package/stamina/model/StaminaModel.d.ts +28 -0
- package/stamina/model/StaminaModel.js +63 -0
- package/stamina/model/StaminaModel.js.map +1 -0
- package/stamina/model/StaminaModel.ts +106 -0
- package/stamina/model/StaminaModelMaster.d.ts +34 -0
- package/stamina/model/StaminaModelMaster.js +98 -0
- package/stamina/model/StaminaModelMaster.js.map +1 -0
- package/stamina/model/StaminaModelMaster.ts +138 -0
- package/stamina/model/index.d.ts +11 -0
- package/stamina/model/index.js +40 -0
- package/stamina/model/index.js.map +1 -0
- package/stamina/model/index.ts +38 -0
- package/stamina/ref/CurrentStaminaMasterRef.d.ts +5 -0
- package/stamina/ref/CurrentStaminaMasterRef.js +35 -0
- package/stamina/ref/CurrentStaminaMasterRef.js.map +1 -0
- package/stamina/ref/CurrentStaminaMasterRef.ts +42 -0
- package/stamina/ref/MaxStaminaTableMasterRef.d.ts +6 -0
- package/stamina/ref/MaxStaminaTableMasterRef.js +38 -0
- package/stamina/ref/MaxStaminaTableMasterRef.js.map +1 -0
- package/stamina/ref/MaxStaminaTableMasterRef.ts +47 -0
- package/stamina/ref/MaxStaminaTableRef.d.ts +6 -0
- package/stamina/ref/MaxStaminaTableRef.js +38 -0
- package/stamina/ref/MaxStaminaTableRef.js.map +1 -0
- package/stamina/ref/MaxStaminaTableRef.ts +47 -0
- package/stamina/ref/NamespaceRef.d.ts +23 -0
- package/stamina/ref/NamespaceRef.js +72 -0
- package/stamina/ref/NamespaceRef.js.map +1 -0
- package/stamina/ref/NamespaceRef.ts +130 -0
- package/stamina/ref/RecoverIntervalTableMasterRef.d.ts +6 -0
- package/stamina/ref/RecoverIntervalTableMasterRef.js +38 -0
- package/stamina/ref/RecoverIntervalTableMasterRef.js.map +1 -0
- package/stamina/ref/RecoverIntervalTableMasterRef.ts +47 -0
- package/stamina/ref/RecoverIntervalTableRef.d.ts +6 -0
- package/stamina/ref/RecoverIntervalTableRef.js +38 -0
- package/stamina/ref/RecoverIntervalTableRef.js.map +1 -0
- package/stamina/ref/RecoverIntervalTableRef.ts +47 -0
- package/stamina/ref/RecoverValueTableMasterRef.d.ts +6 -0
- package/stamina/ref/RecoverValueTableMasterRef.js +38 -0
- package/stamina/ref/RecoverValueTableMasterRef.js.map +1 -0
- package/stamina/ref/RecoverValueTableMasterRef.ts +47 -0
- package/stamina/ref/RecoverValueTableRef.d.ts +6 -0
- package/stamina/ref/RecoverValueTableRef.js +38 -0
- package/stamina/ref/RecoverValueTableRef.js.map +1 -0
- package/stamina/ref/RecoverValueTableRef.ts +47 -0
- package/stamina/ref/StaminaModelMasterRef.d.ts +6 -0
- package/stamina/ref/StaminaModelMasterRef.js +38 -0
- package/stamina/ref/StaminaModelMasterRef.js.map +1 -0
- package/stamina/ref/StaminaModelMasterRef.ts +47 -0
- package/stamina/ref/StaminaModelRef.d.ts +18 -0
- package/stamina/ref/StaminaModelRef.js +63 -0
- package/stamina/ref/StaminaModelRef.js.map +1 -0
- package/stamina/ref/StaminaModelRef.ts +125 -0
- package/stamina/ref/index.d.ts +11 -0
- package/stamina/ref/index.js +40 -0
- package/stamina/ref/index.js.map +1 -0
- package/stamina/ref/index.ts +38 -0
- package/stamina/stampSheet/ConsumeStaminaByUserId.d.ts +4 -0
- package/stamina/stampSheet/ConsumeStaminaByUserId.js +38 -0
- package/stamina/stampSheet/ConsumeStaminaByUserId.js.map +1 -0
- package/stamina/stampSheet/ConsumeStaminaByUserId.ts +45 -0
- package/stamina/stampSheet/RaiseMaxValueByUserId.d.ts +4 -0
- package/stamina/stampSheet/RaiseMaxValueByUserId.js +38 -0
- package/stamina/stampSheet/RaiseMaxValueByUserId.js.map +1 -0
- package/stamina/stampSheet/RaiseMaxValueByUserId.ts +45 -0
- package/stamina/stampSheet/RecoverStaminaByUserId.d.ts +4 -0
- package/stamina/stampSheet/RecoverStaminaByUserId.js +38 -0
- package/stamina/stampSheet/RecoverStaminaByUserId.js.map +1 -0
- package/stamina/stampSheet/RecoverStaminaByUserId.ts +45 -0
- package/stamina/stampSheet/SetMaxValueByUserId.d.ts +4 -0
- package/stamina/stampSheet/SetMaxValueByUserId.js +38 -0
- package/stamina/stampSheet/SetMaxValueByUserId.js.map +1 -0
- package/stamina/stampSheet/SetMaxValueByUserId.ts +45 -0
- package/stamina/stampSheet/SetRecoverIntervalByUserId.d.ts +4 -0
- package/stamina/stampSheet/SetRecoverIntervalByUserId.js +38 -0
- package/stamina/stampSheet/SetRecoverIntervalByUserId.js.map +1 -0
- package/stamina/stampSheet/SetRecoverIntervalByUserId.ts +45 -0
- package/stamina/stampSheet/SetRecoverValueByUserId.d.ts +4 -0
- package/stamina/stampSheet/SetRecoverValueByUserId.js +38 -0
- package/stamina/stampSheet/SetRecoverValueByUserId.js.map +1 -0
- package/stamina/stampSheet/SetRecoverValueByUserId.ts +45 -0
- package/stamina/stampSheet/index.d.ts +2 -0
- package/stamina/stampSheet/index.js +22 -0
- package/stamina/stampSheet/index.js.map +1 -0
- package/stamina/stampSheet/index.ts +20 -0
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
4
|
+
* Reserved.
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
7
|
+
* You may not use this file except in compliance with the License.
|
|
8
|
+
* A copy of the License is located at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
13
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
14
|
+
* express or implied. See the License for the specific language governing
|
|
15
|
+
* permissions and limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
const tslib_1 = require("tslib");
|
|
19
|
+
const core_1 = tslib_1.__importDefault(require("../../core"));
|
|
20
|
+
const func_1 = require("../../core/func");
|
|
21
|
+
const ItemModelMasterRef_1 = tslib_1.__importDefault(require("../ref/ItemModelMasterRef"));
|
|
22
|
+
class ItemModelMaster extends core_1.default.CdkResource {
|
|
23
|
+
constructor(stack, namespaceName, inventoryName, name, stackingLimit, allowMultipleStacks, sortValue, options) {
|
|
24
|
+
var _a, _b;
|
|
25
|
+
super("Inventory_ItemModelMaster_" + name);
|
|
26
|
+
this.description = null;
|
|
27
|
+
this.metadata = null;
|
|
28
|
+
this.stack = stack;
|
|
29
|
+
this.namespaceName = namespaceName;
|
|
30
|
+
this.inventoryName = inventoryName;
|
|
31
|
+
this.name = name;
|
|
32
|
+
this.description = (_a = options === null || options === void 0 ? void 0 : options.description) !== null && _a !== void 0 ? _a : null;
|
|
33
|
+
this.metadata = (_b = options === null || options === void 0 ? void 0 : options.metadata) !== null && _b !== void 0 ? _b : null;
|
|
34
|
+
this.stackingLimit = stackingLimit;
|
|
35
|
+
this.allowMultipleStacks = allowMultipleStacks;
|
|
36
|
+
this.sortValue = sortValue;
|
|
37
|
+
stack.addResource(this);
|
|
38
|
+
}
|
|
39
|
+
resourceType() {
|
|
40
|
+
return "GS2::Inventory::ItemModelMaster";
|
|
41
|
+
}
|
|
42
|
+
properties() {
|
|
43
|
+
let properties = {};
|
|
44
|
+
if (this.namespaceName != null) {
|
|
45
|
+
properties["NamespaceName"] = this.namespaceName;
|
|
46
|
+
}
|
|
47
|
+
if (this.inventoryName != null) {
|
|
48
|
+
properties["InventoryName"] = this.inventoryName;
|
|
49
|
+
}
|
|
50
|
+
if (this.name != null) {
|
|
51
|
+
properties["Name"] = this.name;
|
|
52
|
+
}
|
|
53
|
+
if (this.description != null) {
|
|
54
|
+
properties["Description"] = this.description;
|
|
55
|
+
}
|
|
56
|
+
if (this.metadata != null) {
|
|
57
|
+
properties["Metadata"] = this.metadata;
|
|
58
|
+
}
|
|
59
|
+
if (this.stackingLimit != null) {
|
|
60
|
+
properties["StackingLimit"] = this.stackingLimit;
|
|
61
|
+
}
|
|
62
|
+
if (this.allowMultipleStacks != null) {
|
|
63
|
+
properties["AllowMultipleStacks"] = this.allowMultipleStacks;
|
|
64
|
+
}
|
|
65
|
+
if (this.sortValue != null) {
|
|
66
|
+
properties["SortValue"] = this.sortValue;
|
|
67
|
+
}
|
|
68
|
+
return properties;
|
|
69
|
+
}
|
|
70
|
+
ref(namespaceName, inventoryName) {
|
|
71
|
+
return new ItemModelMasterRef_1.default(namespaceName, inventoryName, this.name);
|
|
72
|
+
}
|
|
73
|
+
getAttrItemModelId() {
|
|
74
|
+
return new func_1.GetAttr(null, null, "Item.ItemModelId");
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
exports.default = ItemModelMaster;
|
|
78
|
+
//# sourceMappingURL=ItemModelMaster.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ItemModelMaster.js","sourceRoot":"","sources":["ItemModelMaster.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,8DAA8B;AAC9B,0CAAwC;AAGxC,2FAA2D;AAO3D,MAAqB,eAAgB,SAAQ,cAAI,CAAC,WAAW;IAYzD,YACQ,KAAY,EACZ,aAAqB,EACrB,aAAqB,EACrB,IAAY,EACZ,aAAqB,EACrB,mBAA4B,EAC5B,SAAiB,EACjB,OAAgC;;QAEpC,KAAK,CAAC,4BAA4B,GAAG,IAAI,CAAC,CAAC;QAhBjC,gBAAW,GAAgB,IAAI,CAAC;QAChC,aAAQ,GAAgB,IAAI,CAAC;QAiBvC,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,WAAW,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,WAAW,mCAAI,IAAI,CAAC;QAChD,IAAI,CAAC,QAAQ,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,QAAQ,mCAAI,IAAI,CAAC;QAC1C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,mBAAmB,GAAG,mBAAmB,CAAC;QAC/C,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAE3B,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;IAC5B,CAAC;IAEM,YAAY;QACf,OAAO,iCAAiC,CAAC;IAC7C,CAAC;IAEM,UAAU;QACb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAC3C,IAAI,IAAI,CAAC,aAAa,IAAI,IAAI,EAAE;YAC5B,UAAU,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,aAAa,CAAC;SACpD;QACD,IAAI,IAAI,CAAC,aAAa,IAAI,IAAI,EAAE;YAC5B,UAAU,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,aAAa,CAAC;SACpD;QACD,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,EAAE;YACnB,UAAU,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC;SAClC;QACD,IAAI,IAAI,CAAC,WAAW,IAAI,IAAI,EAAE;YAC1B,UAAU,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,WAAW,CAAC;SAChD;QACD,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,EAAE;YACvB,UAAU,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC;SAC1C;QACD,IAAI,IAAI,CAAC,aAAa,IAAI,IAAI,EAAE;YAC5B,UAAU,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,aAAa,CAAC;SACpD;QACD,IAAI,IAAI,CAAC,mBAAmB,IAAI,IAAI,EAAE;YAClC,UAAU,CAAC,qBAAqB,CAAC,GAAG,IAAI,CAAC,mBAAmB,CAAC;SAChE;QACD,IAAI,IAAI,CAAC,SAAS,IAAI,IAAI,EAAE;YACxB,UAAU,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,SAAS,CAAC;SAC5C;QACD,OAAO,UAAU,CAAC;IACtB,CAAC;IAEM,GAAG,CACF,aAAqB,EACrB,aAAqB;QAEzB,OAAO,IAAI,4BAAkB,CACzB,aAAa,EACb,aAAa,EACb,IAAI,CAAC,IAAI,CACZ,CAAC;IACN,CAAC;IAEM,kBAAkB;QACrB,OAAO,IAAI,cAAO,CACd,IAAI,EACJ,IAAI,EACJ,kBAAkB,CACrB,CAAC;IACN,CAAC;CACJ;AAxFD,kCAwFC"}
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
* Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
* You may not use this file except in compliance with the License.
|
|
7
|
+
* A copy of the License is located at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
* express or implied. See the License for the specific language governing
|
|
14
|
+
* permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
import core from "../../core";
|
|
18
|
+
import {GetAttr} from "../../core/func";
|
|
19
|
+
import {Stack} from "../../core/model";
|
|
20
|
+
|
|
21
|
+
import ItemModelMasterRef from "../ref/ItemModelMasterRef";
|
|
22
|
+
|
|
23
|
+
export interface ItemModelMasterOptions {
|
|
24
|
+
description?: string|null|undefined;
|
|
25
|
+
metadata?: string|null|undefined;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
export default class ItemModelMaster extends core.CdkResource {
|
|
29
|
+
|
|
30
|
+
private stack: Stack;
|
|
31
|
+
private readonly namespaceName: string;
|
|
32
|
+
private readonly inventoryName: string;
|
|
33
|
+
private readonly name: string;
|
|
34
|
+
private readonly description: string|null = null;
|
|
35
|
+
private readonly metadata: string|null = null;
|
|
36
|
+
private readonly stackingLimit: number;
|
|
37
|
+
private readonly allowMultipleStacks: boolean;
|
|
38
|
+
private readonly sortValue: number;
|
|
39
|
+
|
|
40
|
+
public constructor(
|
|
41
|
+
stack: Stack,
|
|
42
|
+
namespaceName: string,
|
|
43
|
+
inventoryName: string,
|
|
44
|
+
name: string,
|
|
45
|
+
stackingLimit: number,
|
|
46
|
+
allowMultipleStacks: boolean,
|
|
47
|
+
sortValue: number,
|
|
48
|
+
options?: ItemModelMasterOptions,
|
|
49
|
+
) {
|
|
50
|
+
super("Inventory_ItemModelMaster_" + name);
|
|
51
|
+
|
|
52
|
+
this.stack = stack;
|
|
53
|
+
this.namespaceName = namespaceName;
|
|
54
|
+
this.inventoryName = inventoryName;
|
|
55
|
+
this.name = name;
|
|
56
|
+
this.description = options?.description ?? null;
|
|
57
|
+
this.metadata = options?.metadata ?? null;
|
|
58
|
+
this.stackingLimit = stackingLimit;
|
|
59
|
+
this.allowMultipleStacks = allowMultipleStacks;
|
|
60
|
+
this.sortValue = sortValue;
|
|
61
|
+
|
|
62
|
+
stack.addResource(this);
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
public resourceType(): string {
|
|
66
|
+
return "GS2::Inventory::ItemModelMaster";
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
public properties(): {[name: string]: any} {
|
|
70
|
+
let properties: {[name: string]: any} = {};
|
|
71
|
+
if (this.namespaceName != null) {
|
|
72
|
+
properties["NamespaceName"] = this.namespaceName;
|
|
73
|
+
}
|
|
74
|
+
if (this.inventoryName != null) {
|
|
75
|
+
properties["InventoryName"] = this.inventoryName;
|
|
76
|
+
}
|
|
77
|
+
if (this.name != null) {
|
|
78
|
+
properties["Name"] = this.name;
|
|
79
|
+
}
|
|
80
|
+
if (this.description != null) {
|
|
81
|
+
properties["Description"] = this.description;
|
|
82
|
+
}
|
|
83
|
+
if (this.metadata != null) {
|
|
84
|
+
properties["Metadata"] = this.metadata;
|
|
85
|
+
}
|
|
86
|
+
if (this.stackingLimit != null) {
|
|
87
|
+
properties["StackingLimit"] = this.stackingLimit;
|
|
88
|
+
}
|
|
89
|
+
if (this.allowMultipleStacks != null) {
|
|
90
|
+
properties["AllowMultipleStacks"] = this.allowMultipleStacks;
|
|
91
|
+
}
|
|
92
|
+
if (this.sortValue != null) {
|
|
93
|
+
properties["SortValue"] = this.sortValue;
|
|
94
|
+
}
|
|
95
|
+
return properties;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
public ref(
|
|
99
|
+
namespaceName: string,
|
|
100
|
+
inventoryName: string,
|
|
101
|
+
): ItemModelMasterRef {
|
|
102
|
+
return new ItemModelMasterRef(
|
|
103
|
+
namespaceName,
|
|
104
|
+
inventoryName,
|
|
105
|
+
this.name,
|
|
106
|
+
);
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
public getAttrItemModelId(): GetAttr {
|
|
110
|
+
return new GetAttr(
|
|
111
|
+
null,
|
|
112
|
+
null,
|
|
113
|
+
"Item.ItemModelId"
|
|
114
|
+
);
|
|
115
|
+
}
|
|
116
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import core from "../../core";
|
|
2
|
+
import { GetAttr } from "../../core/func";
|
|
3
|
+
import { Stack } from "../../core/model";
|
|
4
|
+
import ScriptSetting from "../../core/model/ScriptSetting";
|
|
5
|
+
import LogSetting from "../../core/model/LogSetting";
|
|
6
|
+
import InventoryModel from "./InventoryModel";
|
|
7
|
+
import NamespaceRef from "../ref/NamespaceRef";
|
|
8
|
+
export interface NamespaceOptions {
|
|
9
|
+
description?: string | null | undefined;
|
|
10
|
+
acquireScript?: ScriptSetting | null | undefined;
|
|
11
|
+
overflowScript?: ScriptSetting | null | undefined;
|
|
12
|
+
consumeScript?: ScriptSetting | null | undefined;
|
|
13
|
+
logSetting?: LogSetting | null | undefined;
|
|
14
|
+
}
|
|
15
|
+
export default class Namespace extends core.CdkResource {
|
|
16
|
+
private stack;
|
|
17
|
+
private readonly name;
|
|
18
|
+
private readonly description;
|
|
19
|
+
private readonly acquireScript;
|
|
20
|
+
private readonly overflowScript;
|
|
21
|
+
private readonly consumeScript;
|
|
22
|
+
private readonly logSetting;
|
|
23
|
+
constructor(stack: Stack, name: string, options?: NamespaceOptions);
|
|
24
|
+
resourceType(): string;
|
|
25
|
+
properties(): {
|
|
26
|
+
[name: string]: any;
|
|
27
|
+
};
|
|
28
|
+
ref(): NamespaceRef;
|
|
29
|
+
getAttrNamespaceId(): GetAttr;
|
|
30
|
+
masterData(inventoryModels: InventoryModel[]): Namespace;
|
|
31
|
+
}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
4
|
+
* Reserved.
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
7
|
+
* You may not use this file except in compliance with the License.
|
|
8
|
+
* A copy of the License is located at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
13
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
14
|
+
* express or implied. See the License for the specific language governing
|
|
15
|
+
* permissions and limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
const tslib_1 = require("tslib");
|
|
19
|
+
const core_1 = tslib_1.__importDefault(require("../../core"));
|
|
20
|
+
const func_1 = require("../../core/func");
|
|
21
|
+
const CurrentMasterData_1 = tslib_1.__importDefault(require("./CurrentMasterData"));
|
|
22
|
+
const NamespaceRef_1 = tslib_1.__importDefault(require("../ref/NamespaceRef"));
|
|
23
|
+
class Namespace extends core_1.default.CdkResource {
|
|
24
|
+
constructor(stack, name, options) {
|
|
25
|
+
var _a, _b, _c, _d, _e;
|
|
26
|
+
super("Inventory_Namespace_" + name);
|
|
27
|
+
this.description = null;
|
|
28
|
+
this.acquireScript = null;
|
|
29
|
+
this.overflowScript = null;
|
|
30
|
+
this.consumeScript = null;
|
|
31
|
+
this.logSetting = null;
|
|
32
|
+
this.stack = stack;
|
|
33
|
+
this.name = name;
|
|
34
|
+
this.description = (_a = options === null || options === void 0 ? void 0 : options.description) !== null && _a !== void 0 ? _a : null;
|
|
35
|
+
this.acquireScript = (_b = options === null || options === void 0 ? void 0 : options.acquireScript) !== null && _b !== void 0 ? _b : null;
|
|
36
|
+
this.overflowScript = (_c = options === null || options === void 0 ? void 0 : options.overflowScript) !== null && _c !== void 0 ? _c : null;
|
|
37
|
+
this.consumeScript = (_d = options === null || options === void 0 ? void 0 : options.consumeScript) !== null && _d !== void 0 ? _d : null;
|
|
38
|
+
this.logSetting = (_e = options === null || options === void 0 ? void 0 : options.logSetting) !== null && _e !== void 0 ? _e : null;
|
|
39
|
+
stack.addResource(this);
|
|
40
|
+
}
|
|
41
|
+
resourceType() {
|
|
42
|
+
return "GS2::Inventory::Namespace";
|
|
43
|
+
}
|
|
44
|
+
properties() {
|
|
45
|
+
let properties = {};
|
|
46
|
+
if (this.name != null) {
|
|
47
|
+
properties["Name"] = this.name;
|
|
48
|
+
}
|
|
49
|
+
if (this.description != null) {
|
|
50
|
+
properties["Description"] = this.description;
|
|
51
|
+
}
|
|
52
|
+
if (this.acquireScript != null) {
|
|
53
|
+
properties["AcquireScript"] = this.acquireScript.properties();
|
|
54
|
+
}
|
|
55
|
+
if (this.overflowScript != null) {
|
|
56
|
+
properties["OverflowScript"] = this.overflowScript.properties();
|
|
57
|
+
}
|
|
58
|
+
if (this.consumeScript != null) {
|
|
59
|
+
properties["ConsumeScript"] = this.consumeScript.properties();
|
|
60
|
+
}
|
|
61
|
+
if (this.logSetting != null) {
|
|
62
|
+
properties["LogSetting"] = this.logSetting.properties();
|
|
63
|
+
}
|
|
64
|
+
return properties;
|
|
65
|
+
}
|
|
66
|
+
ref() {
|
|
67
|
+
return new NamespaceRef_1.default(this.name);
|
|
68
|
+
}
|
|
69
|
+
getAttrNamespaceId() {
|
|
70
|
+
return new func_1.GetAttr(null, null, "Item.NamespaceId");
|
|
71
|
+
}
|
|
72
|
+
masterData(inventoryModels) {
|
|
73
|
+
new CurrentMasterData_1.default(this.stack, this.name, inventoryModels).addDependsOn(this);
|
|
74
|
+
return this;
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
exports.default = Namespace;
|
|
78
|
+
//# sourceMappingURL=Namespace.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Namespace.js","sourceRoot":"","sources":["Namespace.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,8DAA8B;AAC9B,0CAAwC;AAIxC,oFAAoD;AAGpD,+EAA+C;AAU/C,MAAqB,SAAU,SAAQ,cAAI,CAAC,WAAW;IAUnD,YACQ,KAAY,EACZ,IAAY,EACZ,OAA0B;;QAE9B,KAAK,CAAC,sBAAsB,GAAG,IAAI,CAAC,CAAC;QAX3B,gBAAW,GAAgB,IAAI,CAAC;QAChC,kBAAa,GAAuB,IAAI,CAAC;QACzC,mBAAc,GAAuB,IAAI,CAAC;QAC1C,kBAAa,GAAuB,IAAI,CAAC;QACzC,eAAU,GAAoB,IAAI,CAAC;QAS7C,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC;QACjB,IAAI,CAAC,WAAW,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,WAAW,mCAAI,IAAI,CAAC;QAChD,IAAI,CAAC,aAAa,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,aAAa,mCAAI,IAAI,CAAC;QACpD,IAAI,CAAC,cAAc,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,cAAc,mCAAI,IAAI,CAAC;QACtD,IAAI,CAAC,aAAa,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,aAAa,mCAAI,IAAI,CAAC;QACpD,IAAI,CAAC,UAAU,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,UAAU,mCAAI,IAAI,CAAC;QAE9C,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;IAC5B,CAAC;IAEM,YAAY;QACf,OAAO,2BAA2B,CAAC;IACvC,CAAC;IAEM,UAAU;QACb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAC3C,IAAI,IAAI,CAAC,IAAI,IAAI,IAAI,EAAE;YACnB,UAAU,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC;SAClC;QACD,IAAI,IAAI,CAAC,WAAW,IAAI,IAAI,EAAE;YAC1B,UAAU,CAAC,aAAa,CAAC,GAAG,IAAI,CAAC,WAAW,CAAC;SAChD;QACD,IAAI,IAAI,CAAC,aAAa,IAAI,IAAI,EAAE;YAC5B,UAAU,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,aAAa,CAAC,UAAU,EAAE,CAAC;SACjE;QACD,IAAI,IAAI,CAAC,cAAc,IAAI,IAAI,EAAE;YAC7B,UAAU,CAAC,gBAAgB,CAAC,GAAG,IAAI,CAAC,cAAc,CAAC,UAAU,EAAE,CAAC;SACnE;QACD,IAAI,IAAI,CAAC,aAAa,IAAI,IAAI,EAAE;YAC5B,UAAU,CAAC,eAAe,CAAC,GAAG,IAAI,CAAC,aAAa,CAAC,UAAU,EAAE,CAAC;SACjE;QACD,IAAI,IAAI,CAAC,UAAU,IAAI,IAAI,EAAE;YACzB,UAAU,CAAC,YAAY,CAAC,GAAG,IAAI,CAAC,UAAU,CAAC,UAAU,EAAE,CAAC;SAC3D;QACD,OAAO,UAAU,CAAC;IACtB,CAAC;IAEM,GAAG;QAEN,OAAO,IAAI,sBAAY,CACnB,IAAI,CAAC,IAAI,CACZ,CAAC;IACN,CAAC;IAEM,kBAAkB;QACrB,OAAO,IAAI,cAAO,CACd,IAAI,EACJ,IAAI,EACJ,kBAAkB,CACrB,CAAC;IACN,CAAC;IAEM,UAAU,CACT,eAAiC;QAErC,IAAI,2BAAiB,CACjB,IAAI,CAAC,KAAK,EACV,IAAI,CAAC,IAAI,EACT,eAAe,CAClB,CAAC,YAAY,CACV,IAAI,CACP,CAAC;QACF,OAAO,IAAI,CAAC;IAChB,CAAC;CACJ;AAlFD,4BAkFC"}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
* Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
* You may not use this file except in compliance with the License.
|
|
7
|
+
* A copy of the License is located at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
* express or implied. See the License for the specific language governing
|
|
14
|
+
* permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
import core from "../../core";
|
|
18
|
+
import {GetAttr} from "../../core/func";
|
|
19
|
+
import {Stack} from "../../core/model";
|
|
20
|
+
import ScriptSetting from "../../core/model/ScriptSetting";
|
|
21
|
+
import LogSetting from "../../core/model/LogSetting";
|
|
22
|
+
import CurrentMasterData from "./CurrentMasterData";
|
|
23
|
+
import InventoryModel from "./InventoryModel";
|
|
24
|
+
|
|
25
|
+
import NamespaceRef from "../ref/NamespaceRef";
|
|
26
|
+
|
|
27
|
+
export interface NamespaceOptions {
|
|
28
|
+
description?: string|null|undefined;
|
|
29
|
+
acquireScript?: ScriptSetting|null|undefined;
|
|
30
|
+
overflowScript?: ScriptSetting|null|undefined;
|
|
31
|
+
consumeScript?: ScriptSetting|null|undefined;
|
|
32
|
+
logSetting?: LogSetting|null|undefined;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export default class Namespace extends core.CdkResource {
|
|
36
|
+
|
|
37
|
+
private stack: Stack;
|
|
38
|
+
private readonly name: string;
|
|
39
|
+
private readonly description: string|null = null;
|
|
40
|
+
private readonly acquireScript: ScriptSetting|null = null;
|
|
41
|
+
private readonly overflowScript: ScriptSetting|null = null;
|
|
42
|
+
private readonly consumeScript: ScriptSetting|null = null;
|
|
43
|
+
private readonly logSetting: LogSetting|null = null;
|
|
44
|
+
|
|
45
|
+
public constructor(
|
|
46
|
+
stack: Stack,
|
|
47
|
+
name: string,
|
|
48
|
+
options?: NamespaceOptions,
|
|
49
|
+
) {
|
|
50
|
+
super("Inventory_Namespace_" + name);
|
|
51
|
+
|
|
52
|
+
this.stack = stack;
|
|
53
|
+
this.name = name;
|
|
54
|
+
this.description = options?.description ?? null;
|
|
55
|
+
this.acquireScript = options?.acquireScript ?? null;
|
|
56
|
+
this.overflowScript = options?.overflowScript ?? null;
|
|
57
|
+
this.consumeScript = options?.consumeScript ?? null;
|
|
58
|
+
this.logSetting = options?.logSetting ?? null;
|
|
59
|
+
|
|
60
|
+
stack.addResource(this);
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
public resourceType(): string {
|
|
64
|
+
return "GS2::Inventory::Namespace";
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
public properties(): {[name: string]: any} {
|
|
68
|
+
let properties: {[name: string]: any} = {};
|
|
69
|
+
if (this.name != null) {
|
|
70
|
+
properties["Name"] = this.name;
|
|
71
|
+
}
|
|
72
|
+
if (this.description != null) {
|
|
73
|
+
properties["Description"] = this.description;
|
|
74
|
+
}
|
|
75
|
+
if (this.acquireScript != null) {
|
|
76
|
+
properties["AcquireScript"] = this.acquireScript.properties();
|
|
77
|
+
}
|
|
78
|
+
if (this.overflowScript != null) {
|
|
79
|
+
properties["OverflowScript"] = this.overflowScript.properties();
|
|
80
|
+
}
|
|
81
|
+
if (this.consumeScript != null) {
|
|
82
|
+
properties["ConsumeScript"] = this.consumeScript.properties();
|
|
83
|
+
}
|
|
84
|
+
if (this.logSetting != null) {
|
|
85
|
+
properties["LogSetting"] = this.logSetting.properties();
|
|
86
|
+
}
|
|
87
|
+
return properties;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
public ref(
|
|
91
|
+
): NamespaceRef {
|
|
92
|
+
return new NamespaceRef(
|
|
93
|
+
this.name,
|
|
94
|
+
);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
public getAttrNamespaceId(): GetAttr {
|
|
98
|
+
return new GetAttr(
|
|
99
|
+
null,
|
|
100
|
+
null,
|
|
101
|
+
"Item.NamespaceId"
|
|
102
|
+
);
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
public masterData(
|
|
106
|
+
inventoryModels: InventoryModel[],
|
|
107
|
+
): Namespace {
|
|
108
|
+
new CurrentMasterData(
|
|
109
|
+
this.stack,
|
|
110
|
+
this.name,
|
|
111
|
+
inventoryModels,
|
|
112
|
+
).addDependsOn(
|
|
113
|
+
this
|
|
114
|
+
);
|
|
115
|
+
return this;
|
|
116
|
+
}
|
|
117
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import InventoryModel from "./InventoryModel";
|
|
2
|
+
import ItemModel from "./ItemModel";
|
|
3
|
+
import CurrentMasterData from "./CurrentMasterData";
|
|
4
|
+
import Namespace from "./Namespace";
|
|
5
|
+
import InventoryModelMaster from "./InventoryModelMaster";
|
|
6
|
+
import ItemModelMaster from "./ItemModelMaster";
|
|
7
|
+
export { InventoryModel, ItemModel, CurrentMasterData, Namespace, InventoryModelMaster, ItemModelMaster, };
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ItemModelMaster = exports.InventoryModelMaster = exports.Namespace = exports.CurrentMasterData = exports.ItemModel = exports.InventoryModel = void 0;
|
|
4
|
+
const tslib_1 = require("tslib");
|
|
5
|
+
/*
|
|
6
|
+
* Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
7
|
+
* Reserved.
|
|
8
|
+
*
|
|
9
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
10
|
+
* You may not use this file except in compliance with the License.
|
|
11
|
+
* A copy of the License is located at
|
|
12
|
+
*
|
|
13
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
14
|
+
*
|
|
15
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
16
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
17
|
+
* express or implied. See the License for the specific language governing
|
|
18
|
+
* permissions and limitations under the License.
|
|
19
|
+
*/
|
|
20
|
+
const InventoryModel_1 = tslib_1.__importDefault(require("./InventoryModel"));
|
|
21
|
+
exports.InventoryModel = InventoryModel_1.default;
|
|
22
|
+
const ItemModel_1 = tslib_1.__importDefault(require("./ItemModel"));
|
|
23
|
+
exports.ItemModel = ItemModel_1.default;
|
|
24
|
+
const CurrentMasterData_1 = tslib_1.__importDefault(require("./CurrentMasterData"));
|
|
25
|
+
exports.CurrentMasterData = CurrentMasterData_1.default;
|
|
26
|
+
const Namespace_1 = tslib_1.__importDefault(require("./Namespace"));
|
|
27
|
+
exports.Namespace = Namespace_1.default;
|
|
28
|
+
const InventoryModelMaster_1 = tslib_1.__importDefault(require("./InventoryModelMaster"));
|
|
29
|
+
exports.InventoryModelMaster = InventoryModelMaster_1.default;
|
|
30
|
+
const ItemModelMaster_1 = tslib_1.__importDefault(require("./ItemModelMaster"));
|
|
31
|
+
exports.ItemModelMaster = ItemModelMaster_1.default;
|
|
32
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,8EAA8C;AAQ1C,yBARG,wBAAc,CAQH;AAPlB,oEAAoC;AAQhC,oBARG,mBAAS,CAQH;AAPb,oFAAoD;AAQhD,4BARG,2BAAiB,CAQH;AAPrB,oEAAoC;AAQhC,oBARG,mBAAS,CAQH;AAPb,0FAA0D;AAQtD,+BARG,8BAAoB,CAQH;AAPxB,gFAAgD;AAQ5C,0BARG,yBAAe,CAQH"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
* Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
* You may not use this file except in compliance with the License.
|
|
7
|
+
* A copy of the License is located at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
* express or implied. See the License for the specific language governing
|
|
14
|
+
* permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
import InventoryModel from "./InventoryModel";
|
|
17
|
+
import ItemModel from "./ItemModel";
|
|
18
|
+
import CurrentMasterData from "./CurrentMasterData";
|
|
19
|
+
import Namespace from "./Namespace";
|
|
20
|
+
import InventoryModelMaster from "./InventoryModelMaster";
|
|
21
|
+
import ItemModelMaster from "./ItemModelMaster";
|
|
22
|
+
|
|
23
|
+
export {
|
|
24
|
+
InventoryModel,
|
|
25
|
+
ItemModel,
|
|
26
|
+
CurrentMasterData,
|
|
27
|
+
Namespace,
|
|
28
|
+
InventoryModelMaster,
|
|
29
|
+
ItemModelMaster,
|
|
30
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
4
|
+
* Reserved.
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
7
|
+
* You may not use this file except in compliance with the License.
|
|
8
|
+
* A copy of the License is located at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
13
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
14
|
+
* express or implied. See the License for the specific language governing
|
|
15
|
+
* permissions and limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
const func_1 = require("../../core/func");
|
|
19
|
+
class CurrentItemModelMasterRef {
|
|
20
|
+
constructor(namespaceName) {
|
|
21
|
+
this.namespaceName = namespaceName;
|
|
22
|
+
}
|
|
23
|
+
grn() {
|
|
24
|
+
return new func_1.Join(":", [
|
|
25
|
+
"grn",
|
|
26
|
+
"gs2",
|
|
27
|
+
func_1.GetAttr.region().str(),
|
|
28
|
+
func_1.GetAttr.ownerId().str(),
|
|
29
|
+
"inventory",
|
|
30
|
+
this.namespaceName
|
|
31
|
+
]).str();
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
exports.default = CurrentItemModelMasterRef;
|
|
35
|
+
//# sourceMappingURL=CurrentItemModelMasterRef.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CurrentItemModelMasterRef.js","sourceRoot":"","sources":["CurrentItemModelMasterRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,0CAA8C;AAG9C,MAAqB,yBAAyB;IAG1C,YACQ,aAAqB;QAEzB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACvC,CAAC;IAEM,GAAG;QACN,OAAO,IAAI,WAAI,CACX,GAAG,EACH;YACI,KAAK;YACL,KAAK;YACL,cAAO,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;YACtB,cAAO,CAAC,OAAO,EAAE,CAAC,GAAG,EAAE;YACvB,WAAW;YACX,IAAI,CAAC,aAAa;SACrB,CACJ,CAAC,GAAG,EAAE,CAAC;IACZ,CAAC;CACJ;AAtBD,4CAsBC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
3
|
+
* Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
6
|
+
* You may not use this file except in compliance with the License.
|
|
7
|
+
* A copy of the License is located at
|
|
8
|
+
*
|
|
9
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
10
|
+
*
|
|
11
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
12
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
|
+
* express or implied. See the License for the specific language governing
|
|
14
|
+
* permissions and limitations under the License.
|
|
15
|
+
*/
|
|
16
|
+
|
|
17
|
+
import {GetAttr, Join} from "../../core/func";
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
export default class CurrentItemModelMasterRef {
|
|
21
|
+
private namespaceName: string;
|
|
22
|
+
|
|
23
|
+
public constructor(
|
|
24
|
+
namespaceName: string,
|
|
25
|
+
) {
|
|
26
|
+
this.namespaceName = namespaceName;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
public grn(): string {
|
|
30
|
+
return new Join(
|
|
31
|
+
":",
|
|
32
|
+
[
|
|
33
|
+
"grn",
|
|
34
|
+
"gs2",
|
|
35
|
+
GetAttr.region().str(),
|
|
36
|
+
GetAttr.ownerId().str(),
|
|
37
|
+
"inventory",
|
|
38
|
+
this.namespaceName
|
|
39
|
+
]
|
|
40
|
+
).str();
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import ItemModelMasterRef from "./ItemModelMasterRef";
|
|
2
|
+
export default class InventoryModelMasterRef {
|
|
3
|
+
private namespaceName;
|
|
4
|
+
private inventoryName;
|
|
5
|
+
constructor(namespaceName: string, inventoryName: string);
|
|
6
|
+
itemModelMaster(itemName: string): ItemModelMasterRef;
|
|
7
|
+
grn(): string;
|
|
8
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Copyright 2016 Game Server Services, Inc. or its affiliates. All Rights
|
|
4
|
+
* Reserved.
|
|
5
|
+
*
|
|
6
|
+
* Licensed under the Apache License, Version 2.0 (the "License").
|
|
7
|
+
* You may not use this file except in compliance with the License.
|
|
8
|
+
* A copy of the License is located at
|
|
9
|
+
*
|
|
10
|
+
* http://www.apache.org/licenses/LICENSE-2.0
|
|
11
|
+
*
|
|
12
|
+
* or in the "license" file accompanying this file. This file is distributed
|
|
13
|
+
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
14
|
+
* express or implied. See the License for the specific language governing
|
|
15
|
+
* permissions and limitations under the License.
|
|
16
|
+
*/
|
|
17
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
|
+
const tslib_1 = require("tslib");
|
|
19
|
+
const func_1 = require("../../core/func");
|
|
20
|
+
const ItemModelMasterRef_1 = tslib_1.__importDefault(require("./ItemModelMasterRef"));
|
|
21
|
+
class InventoryModelMasterRef {
|
|
22
|
+
constructor(namespaceName, inventoryName) {
|
|
23
|
+
this.namespaceName = namespaceName;
|
|
24
|
+
this.inventoryName = inventoryName;
|
|
25
|
+
}
|
|
26
|
+
itemModelMaster(itemName) {
|
|
27
|
+
return new ItemModelMasterRef_1.default(this.namespaceName, this.inventoryName, itemName);
|
|
28
|
+
}
|
|
29
|
+
grn() {
|
|
30
|
+
return new func_1.Join(":", [
|
|
31
|
+
"grn",
|
|
32
|
+
"gs2",
|
|
33
|
+
func_1.GetAttr.region().str(),
|
|
34
|
+
func_1.GetAttr.ownerId().str(),
|
|
35
|
+
"inventory",
|
|
36
|
+
this.namespaceName,
|
|
37
|
+
"model",
|
|
38
|
+
this.inventoryName
|
|
39
|
+
]).str();
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
exports.default = InventoryModelMasterRef;
|
|
43
|
+
//# sourceMappingURL=InventoryModelMasterRef.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InventoryModelMasterRef.js","sourceRoot":"","sources":["InventoryModelMasterRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,0CAA8C;AAC9C,sFAAsD;AAGtD,MAAqB,uBAAuB;IAIxC,YACQ,aAAqB,EACrB,aAAqB;QAEzB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACvC,CAAC;IAEM,eAAe,CACd,QAAgB;QAEpB,OAAO,IAAI,4BAAkB,CACzB,IAAI,CAAC,aAAa,EAClB,IAAI,CAAC,aAAa,EAClB,QAAQ,CACX,CAAC;IACN,CAAC;IAEM,GAAG;QACN,OAAO,IAAI,WAAI,CACX,GAAG,EACH;YACI,KAAK;YACL,KAAK;YACL,cAAO,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE;YACtB,cAAO,CAAC,OAAO,EAAE,CAAC,GAAG,EAAE;YACvB,WAAW;YACX,IAAI,CAAC,aAAa;YAClB,OAAO;YACP,IAAI,CAAC,aAAa;SACrB,CACJ,CAAC,GAAG,EAAE,CAAC;IACZ,CAAC;CACJ;AArCD,0CAqCC"}
|