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,102 @@
|
|
|
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 NotificationSetting from "../../core/model/NotificationSetting";
|
|
21
|
+
import LogSetting from "../../core/model/LogSetting";
|
|
22
|
+
|
|
23
|
+
import NamespaceRef from "../ref/NamespaceRef";
|
|
24
|
+
|
|
25
|
+
export interface NamespaceOptions {
|
|
26
|
+
description?: string|null|undefined;
|
|
27
|
+
pushNotification?: NotificationSetting|null|undefined;
|
|
28
|
+
runNotification?: NotificationSetting|null|undefined;
|
|
29
|
+
logSetting?: LogSetting|null|undefined;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
export default class Namespace extends core.CdkResource {
|
|
33
|
+
|
|
34
|
+
private stack: Stack;
|
|
35
|
+
private readonly name: string;
|
|
36
|
+
private readonly description: string|null = null;
|
|
37
|
+
private readonly enableAutoRun: boolean;
|
|
38
|
+
private readonly pushNotification: NotificationSetting|null = null;
|
|
39
|
+
private readonly runNotification: NotificationSetting|null = null;
|
|
40
|
+
private readonly logSetting: LogSetting|null = null;
|
|
41
|
+
|
|
42
|
+
public constructor(
|
|
43
|
+
stack: Stack,
|
|
44
|
+
name: string,
|
|
45
|
+
enableAutoRun: boolean,
|
|
46
|
+
options?: NamespaceOptions,
|
|
47
|
+
) {
|
|
48
|
+
super("JobQueue_Namespace_" + name);
|
|
49
|
+
|
|
50
|
+
this.stack = stack;
|
|
51
|
+
this.name = name;
|
|
52
|
+
this.description = options?.description ?? null;
|
|
53
|
+
this.enableAutoRun = enableAutoRun;
|
|
54
|
+
this.pushNotification = options?.pushNotification ?? null;
|
|
55
|
+
this.runNotification = options?.runNotification ?? null;
|
|
56
|
+
this.logSetting = options?.logSetting ?? null;
|
|
57
|
+
|
|
58
|
+
stack.addResource(this);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
public resourceType(): string {
|
|
62
|
+
return "GS2::JobQueue::Namespace";
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
public properties(): {[name: string]: any} {
|
|
66
|
+
let properties: {[name: string]: any} = {};
|
|
67
|
+
if (this.name != null) {
|
|
68
|
+
properties["Name"] = this.name;
|
|
69
|
+
}
|
|
70
|
+
if (this.description != null) {
|
|
71
|
+
properties["Description"] = this.description;
|
|
72
|
+
}
|
|
73
|
+
if (this.enableAutoRun != null) {
|
|
74
|
+
properties["EnableAutoRun"] = this.enableAutoRun;
|
|
75
|
+
}
|
|
76
|
+
if (this.pushNotification != null) {
|
|
77
|
+
properties["PushNotification"] = this.pushNotification.properties();
|
|
78
|
+
}
|
|
79
|
+
if (this.runNotification != null) {
|
|
80
|
+
properties["RunNotification"] = this.runNotification.properties();
|
|
81
|
+
}
|
|
82
|
+
if (this.logSetting != null) {
|
|
83
|
+
properties["LogSetting"] = this.logSetting.properties();
|
|
84
|
+
}
|
|
85
|
+
return properties;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
public ref(
|
|
89
|
+
): NamespaceRef {
|
|
90
|
+
return new NamespaceRef(
|
|
91
|
+
this.name,
|
|
92
|
+
);
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
public getAttrNamespaceId(): GetAttr {
|
|
96
|
+
return new GetAttr(
|
|
97
|
+
null,
|
|
98
|
+
null,
|
|
99
|
+
"Item.NamespaceId"
|
|
100
|
+
);
|
|
101
|
+
}
|
|
102
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Namespace = exports.JobResultBody = exports.JobEntry = 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 JobEntry_1 = tslib_1.__importDefault(require("./JobEntry"));
|
|
21
|
+
exports.JobEntry = JobEntry_1.default;
|
|
22
|
+
const JobResultBody_1 = tslib_1.__importDefault(require("./JobResultBody"));
|
|
23
|
+
exports.JobResultBody = JobResultBody_1.default;
|
|
24
|
+
const Namespace_1 = tslib_1.__importDefault(require("./Namespace"));
|
|
25
|
+
exports.Namespace = Namespace_1.default;
|
|
26
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,kEAAkC;AAK9B,mBALG,kBAAQ,CAKH;AAJZ,4EAA4C;AAKxC,wBALG,uBAAa,CAKH;AAJjB,oEAAoC;AAKhC,oBALG,mBAAS,CAKH"}
|
|
@@ -0,0 +1,24 @@
|
|
|
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 JobEntry from "./JobEntry";
|
|
17
|
+
import JobResultBody from "./JobResultBody";
|
|
18
|
+
import Namespace from "./Namespace";
|
|
19
|
+
|
|
20
|
+
export {
|
|
21
|
+
JobEntry,
|
|
22
|
+
JobResultBody,
|
|
23
|
+
Namespace,
|
|
24
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import PushByUserId from "../stampSheet/PushByUserId";
|
|
2
|
+
import JobEntry from "../model/JobEntry";
|
|
3
|
+
export default class NamespaceRef {
|
|
4
|
+
private namespaceName;
|
|
5
|
+
constructor(namespaceName: string);
|
|
6
|
+
push(jobs?: JobEntry[] | null, userId?: string): PushByUserId;
|
|
7
|
+
grn(): string;
|
|
8
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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 PushByUserId_1 = tslib_1.__importDefault(require("../stampSheet/PushByUserId"));
|
|
21
|
+
class NamespaceRef {
|
|
22
|
+
constructor(namespaceName) {
|
|
23
|
+
this.namespaceName = namespaceName;
|
|
24
|
+
}
|
|
25
|
+
push(jobs = null, userId = '#{userId}') {
|
|
26
|
+
return new PushByUserId_1.default(this.namespaceName, jobs, userId);
|
|
27
|
+
}
|
|
28
|
+
grn() {
|
|
29
|
+
return new func_1.Join(":", [
|
|
30
|
+
"grn",
|
|
31
|
+
"gs2",
|
|
32
|
+
func_1.GetAttr.region().str(),
|
|
33
|
+
func_1.GetAttr.ownerId().str(),
|
|
34
|
+
"queue",
|
|
35
|
+
this.namespaceName
|
|
36
|
+
]).str();
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
exports.default = NamespaceRef;
|
|
40
|
+
//# sourceMappingURL=NamespaceRef.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NamespaceRef.js","sourceRoot":"","sources":["NamespaceRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,0CAA8C;AAC9C,sFAAsD;AAItD,MAAqB,YAAY;IAG7B,YACQ,aAAqB;QAEzB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACvC,CAAC;IAEM,IAAI,CACH,OAAwB,IAAI,EAC5B,SAAiB,WAAW;QAEhC,OAAO,IAAI,sBAAY,CACnB,IAAI,CAAC,aAAa,EAClB,IAAI,EACJ,MAAM,CACT,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,OAAO;YACP,IAAI,CAAC,aAAa;SACrB,CACJ,CAAC,GAAG,EAAE,CAAC;IACZ,CAAC;CACJ;AAjCD,+BAiCC"}
|
|
@@ -0,0 +1,55 @@
|
|
|
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
|
+
import PushByUserId from "../stampSheet/PushByUserId";
|
|
19
|
+
import JobEntry from "../model/JobEntry";
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
export default class NamespaceRef {
|
|
23
|
+
private namespaceName: string;
|
|
24
|
+
|
|
25
|
+
public constructor(
|
|
26
|
+
namespaceName: string,
|
|
27
|
+
) {
|
|
28
|
+
this.namespaceName = namespaceName;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
public push(
|
|
32
|
+
jobs: JobEntry[]|null = null,
|
|
33
|
+
userId: string = '#{userId}',
|
|
34
|
+
): PushByUserId {
|
|
35
|
+
return new PushByUserId(
|
|
36
|
+
this.namespaceName,
|
|
37
|
+
jobs,
|
|
38
|
+
userId,
|
|
39
|
+
);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
public grn(): string {
|
|
43
|
+
return new Join(
|
|
44
|
+
":",
|
|
45
|
+
[
|
|
46
|
+
"grn",
|
|
47
|
+
"gs2",
|
|
48
|
+
GetAttr.region().str(),
|
|
49
|
+
GetAttr.ownerId().str(),
|
|
50
|
+
"queue",
|
|
51
|
+
this.namespaceName
|
|
52
|
+
]
|
|
53
|
+
).str();
|
|
54
|
+
}
|
|
55
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NamespaceRef = 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 NamespaceRef_1 = tslib_1.__importDefault(require("./NamespaceRef"));
|
|
21
|
+
exports.NamespaceRef = NamespaceRef_1.default;
|
|
22
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,0EAA0C;AAGtC,uBAHG,sBAAY,CAGH"}
|
|
@@ -0,0 +1,20 @@
|
|
|
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 NamespaceRef from "./NamespaceRef";
|
|
17
|
+
|
|
18
|
+
export {
|
|
19
|
+
NamespaceRef,
|
|
20
|
+
}
|
|
@@ -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 model_1 = require("../../core/model");
|
|
19
|
+
class PushByUserId extends model_1.AcquireAction {
|
|
20
|
+
constructor(namespaceName, jobs = null, userId = '#{userId}') {
|
|
21
|
+
let properties = {};
|
|
22
|
+
if (namespaceName != null) {
|
|
23
|
+
properties["namespaceName"] = namespaceName;
|
|
24
|
+
}
|
|
25
|
+
if (userId != null) {
|
|
26
|
+
properties["userId"] = userId;
|
|
27
|
+
}
|
|
28
|
+
if (jobs != null) {
|
|
29
|
+
properties["jobs"] = jobs;
|
|
30
|
+
}
|
|
31
|
+
super("Gs2JobQueue:PushByUserId", properties);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
exports.default = PushByUserId;
|
|
35
|
+
//# sourceMappingURL=PushByUserId.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PushByUserId.js","sourceRoot":"","sources":["PushByUserId.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAEH,4CAA8D;AAG9D,MAAqB,YAAa,SAAQ,qBAAa;IAEnD,YACQ,aAAqB,EACrB,OAAwB,IAAI,EAC5B,SAAiB,WAAW;QAEhC,IAAI,UAAU,GAA0B,EAAE,CAAC;QAC3C,IAAI,aAAa,IAAI,IAAI,EAAE;YACvB,UAAU,CAAC,eAAe,CAAC,GAAG,aAAa,CAAC;SAC/C;QACD,IAAI,MAAM,IAAI,IAAI,EAAE;YAChB,UAAU,CAAC,QAAQ,CAAC,GAAG,MAAM,CAAC;SACjC;QACD,IAAI,IAAI,IAAI,IAAI,EAAE;YACd,UAAU,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC;SAC7B;QACD,KAAK,CACD,0BAA0B,EAC1B,UAAU,CACb,CAAC;IACN,CAAC;CACJ;AAtBD,+BAsBC"}
|
|
@@ -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 {AcquireAction, ConsumeAction} from "../../core/model";
|
|
18
|
+
import JobEntry from "../model/JobEntry";
|
|
19
|
+
|
|
20
|
+
export default class PushByUserId extends AcquireAction {
|
|
21
|
+
|
|
22
|
+
public constructor(
|
|
23
|
+
namespaceName: string,
|
|
24
|
+
jobs: JobEntry[]|null = null,
|
|
25
|
+
userId: string = '#{userId}',
|
|
26
|
+
) {
|
|
27
|
+
let properties: {[name: string]: any} = {};
|
|
28
|
+
if (namespaceName != null) {
|
|
29
|
+
properties["namespaceName"] = namespaceName;
|
|
30
|
+
}
|
|
31
|
+
if (userId != null) {
|
|
32
|
+
properties["userId"] = userId;
|
|
33
|
+
}
|
|
34
|
+
if (jobs != null) {
|
|
35
|
+
properties["jobs"] = jobs;
|
|
36
|
+
}
|
|
37
|
+
super(
|
|
38
|
+
"Gs2JobQueue:PushByUserId",
|
|
39
|
+
properties,
|
|
40
|
+
);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
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
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG"}
|
|
@@ -0,0 +1,18 @@
|
|
|
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
|
+
export {
|
|
18
|
+
}
|
package/log/index.d.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as model from "./model";
|
|
2
|
+
import * as ref from "./ref";
|
|
3
|
+
import * as stampSheet from "./stampSheet";
|
|
4
|
+
declare function namespace(namespaceName: string): ref.NamespaceRef;
|
|
5
|
+
declare const _default: {
|
|
6
|
+
model: typeof model;
|
|
7
|
+
ref: typeof ref;
|
|
8
|
+
stampSheet: typeof stampSheet;
|
|
9
|
+
namespace: typeof namespace;
|
|
10
|
+
};
|
|
11
|
+
export default _default;
|
package/log/index.js
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
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 model = tslib_1.__importStar(require("./model"));
|
|
20
|
+
const ref = tslib_1.__importStar(require("./ref"));
|
|
21
|
+
const stampSheet = tslib_1.__importStar(require("./stampSheet"));
|
|
22
|
+
function namespace(namespaceName) {
|
|
23
|
+
return new ref.NamespaceRef(namespaceName);
|
|
24
|
+
}
|
|
25
|
+
exports.default = {
|
|
26
|
+
model,
|
|
27
|
+
ref,
|
|
28
|
+
stampSheet,
|
|
29
|
+
namespace,
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=index.js.map
|
package/log/index.js.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;;AAEH,uDAAiC;AACjC,mDAA6B;AAC7B,iEAA2C;AAE3C,SAAS,SAAS,CACV,aAAqB;IAEzB,OAAO,IAAI,GAAG,CAAC,YAAY,CACvB,aAAa,CAChB,CAAA;AACL,CAAC;AAED,kBAAe;IACX,KAAK;IACL,GAAG;IACH,UAAU;IACV,SAAS;CACZ,CAAC"}
|
package/log/index.ts
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
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 * as model from "./model";
|
|
18
|
+
import * as ref from "./ref";
|
|
19
|
+
import * as stampSheet from "./stampSheet";
|
|
20
|
+
|
|
21
|
+
function namespace(
|
|
22
|
+
namespaceName: string,
|
|
23
|
+
): ref.NamespaceRef {
|
|
24
|
+
return new ref.NamespaceRef(
|
|
25
|
+
namespaceName,
|
|
26
|
+
)
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
export default {
|
|
30
|
+
model,
|
|
31
|
+
ref,
|
|
32
|
+
stampSheet,
|
|
33
|
+
namespace,
|
|
34
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export interface AccessLogOptions {
|
|
2
|
+
userId?: string | null | undefined;
|
|
3
|
+
}
|
|
4
|
+
export default class AccessLog {
|
|
5
|
+
private readonly timestamp;
|
|
6
|
+
private readonly requestId;
|
|
7
|
+
private readonly service;
|
|
8
|
+
private readonly method;
|
|
9
|
+
private readonly userId;
|
|
10
|
+
private readonly request;
|
|
11
|
+
private readonly result;
|
|
12
|
+
constructor(timestamp: number, requestId: string, service: string, method: string, request: string, result: string, options?: AccessLogOptions);
|
|
13
|
+
properties(): {
|
|
14
|
+
[name: string]: any;
|
|
15
|
+
};
|
|
16
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
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
|
+
class AccessLog {
|
|
19
|
+
constructor(timestamp, requestId, service, method, request, result, options) {
|
|
20
|
+
var _a;
|
|
21
|
+
this.userId = null;
|
|
22
|
+
this.timestamp = timestamp;
|
|
23
|
+
this.requestId = requestId;
|
|
24
|
+
this.service = service;
|
|
25
|
+
this.method = method;
|
|
26
|
+
this.userId = (_a = options === null || options === void 0 ? void 0 : options.userId) !== null && _a !== void 0 ? _a : null;
|
|
27
|
+
this.request = request;
|
|
28
|
+
this.result = result;
|
|
29
|
+
}
|
|
30
|
+
properties() {
|
|
31
|
+
let properties = {};
|
|
32
|
+
if (this.timestamp != null) {
|
|
33
|
+
properties["Timestamp"] = this.timestamp;
|
|
34
|
+
}
|
|
35
|
+
if (this.requestId != null) {
|
|
36
|
+
properties["RequestId"] = this.requestId;
|
|
37
|
+
}
|
|
38
|
+
if (this.service != null) {
|
|
39
|
+
properties["Service"] = this.service;
|
|
40
|
+
}
|
|
41
|
+
if (this.method != null) {
|
|
42
|
+
properties["Method"] = this.method;
|
|
43
|
+
}
|
|
44
|
+
if (this.userId != null) {
|
|
45
|
+
properties["UserId"] = this.userId;
|
|
46
|
+
}
|
|
47
|
+
if (this.request != null) {
|
|
48
|
+
properties["Request"] = this.request;
|
|
49
|
+
}
|
|
50
|
+
if (this.result != null) {
|
|
51
|
+
properties["Result"] = this.result;
|
|
52
|
+
}
|
|
53
|
+
return properties;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
exports.default = AccessLog;
|
|
57
|
+
//# sourceMappingURL=AccessLog.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AccessLog.js","sourceRoot":"","sources":["AccessLog.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAMH,MAAqB,SAAS;IAS1B,YACQ,SAAiB,EACjB,SAAiB,EACjB,OAAe,EACf,MAAc,EACd,OAAe,EACf,MAAc,EACd,OAA0B;;QAXjB,WAAM,GAAgB,IAAI,CAAC;QAaxC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;QACrB,IAAI,CAAC,MAAM,GAAG,MAAA,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,MAAM,mCAAI,IAAI,CAAC;QACtC,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;QACvB,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC;IACzB,CAAC;IAEM,UAAU;QACb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAC3C,IAAI,IAAI,CAAC,SAAS,IAAI,IAAI,EAAE;YACxB,UAAU,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,SAAS,CAAC;SAC5C;QACD,IAAI,IAAI,CAAC,SAAS,IAAI,IAAI,EAAE;YACxB,UAAU,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,SAAS,CAAC;SAC5C;QACD,IAAI,IAAI,CAAC,OAAO,IAAI,IAAI,EAAE;YACtB,UAAU,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,OAAO,CAAC;SACxC;QACD,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,EAAE;YACrB,UAAU,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;SACtC;QACD,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,EAAE;YACrB,UAAU,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;SACtC;QACD,IAAI,IAAI,CAAC,OAAO,IAAI,IAAI,EAAE;YACtB,UAAU,CAAC,SAAS,CAAC,GAAG,IAAI,CAAC,OAAO,CAAC;SACxC;QACD,IAAI,IAAI,CAAC,MAAM,IAAI,IAAI,EAAE;YACrB,UAAU,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,MAAM,CAAC;SACtC;QACD,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AApDD,4BAoDC"}
|