gs2-cdk 1.0.86 → 1.0.88
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/account/ref/MasterDataVersionRef.d.ts +2 -1
- package/account/ref/MasterDataVersionRef.js +2 -1
- package/account/ref/MasterDataVersionRef.js.map +1 -1
- package/account/ref/MasterDataVersionRef.ts +3 -0
- package/account/ref/NamespaceRef.js.map +1 -1
- package/account/ref/NamespaceRef.ts +0 -1
- package/buff/ref/MasterDataVersionRef.d.ts +6 -0
- package/buff/ref/MasterDataVersionRef.js +26 -0
- package/buff/ref/MasterDataVersionRef.js.map +1 -0
- package/buff/ref/MasterDataVersionRef.ts +33 -0
- package/buff/ref/index.d.ts +2 -1
- package/buff/ref/index.js +3 -1
- package/buff/ref/index.js.map +1 -1
- package/buff/ref/index.ts +2 -0
- package/dictionary/ref/MasterDataVersionRef.d.ts +6 -0
- package/dictionary/ref/MasterDataVersionRef.js +26 -0
- package/dictionary/ref/MasterDataVersionRef.js.map +1 -0
- package/dictionary/ref/MasterDataVersionRef.ts +33 -0
- package/dictionary/ref/index.d.ts +2 -1
- package/dictionary/ref/index.js +3 -1
- package/dictionary/ref/index.js.map +1 -1
- package/dictionary/ref/index.ts +2 -0
- package/distributor/ref/MasterDataVersionRef.d.ts +6 -0
- package/distributor/ref/MasterDataVersionRef.js +26 -0
- package/distributor/ref/MasterDataVersionRef.js.map +1 -0
- package/distributor/ref/MasterDataVersionRef.ts +33 -0
- package/distributor/ref/index.d.ts +2 -1
- package/distributor/ref/index.js +3 -1
- package/distributor/ref/index.js.map +1 -1
- package/distributor/ref/index.ts +2 -0
- package/enchant/ref/MasterDataVersionRef.d.ts +6 -0
- package/enchant/ref/MasterDataVersionRef.js +26 -0
- package/enchant/ref/MasterDataVersionRef.js.map +1 -0
- package/enchant/ref/MasterDataVersionRef.ts +33 -0
- package/enchant/ref/index.d.ts +2 -1
- package/enchant/ref/index.js +3 -1
- package/enchant/ref/index.js.map +1 -1
- package/enchant/ref/index.ts +2 -0
- package/enhance/ref/MasterDataVersionRef.d.ts +6 -0
- package/enhance/ref/MasterDataVersionRef.js +26 -0
- package/enhance/ref/MasterDataVersionRef.js.map +1 -0
- package/enhance/ref/MasterDataVersionRef.ts +33 -0
- package/enhance/ref/index.d.ts +2 -1
- package/enhance/ref/index.js +3 -1
- package/enhance/ref/index.js.map +1 -1
- package/enhance/ref/index.ts +2 -0
- package/exchange/ref/MasterDataVersionRef.d.ts +6 -0
- package/exchange/ref/MasterDataVersionRef.js +26 -0
- package/exchange/ref/MasterDataVersionRef.js.map +1 -0
- package/exchange/ref/MasterDataVersionRef.ts +33 -0
- package/exchange/ref/index.d.ts +2 -1
- package/exchange/ref/index.js +3 -1
- package/exchange/ref/index.js.map +1 -1
- package/exchange/ref/index.ts +2 -0
- package/experience/ref/MasterDataVersionRef.d.ts +6 -0
- package/experience/ref/MasterDataVersionRef.js +26 -0
- package/experience/ref/MasterDataVersionRef.js.map +1 -0
- package/experience/ref/MasterDataVersionRef.ts +33 -0
- package/experience/ref/index.d.ts +2 -1
- package/experience/ref/index.js +3 -1
- package/experience/ref/index.js.map +1 -1
- package/experience/ref/index.ts +2 -0
- package/formation/ref/MasterDataVersionRef.d.ts +6 -0
- package/formation/ref/MasterDataVersionRef.js +26 -0
- package/formation/ref/MasterDataVersionRef.js.map +1 -0
- package/formation/ref/MasterDataVersionRef.ts +33 -0
- package/formation/ref/index.d.ts +2 -1
- package/formation/ref/index.js +3 -1
- package/formation/ref/index.js.map +1 -1
- package/formation/ref/index.ts +2 -0
- package/grade/ref/MasterDataVersionRef.d.ts +6 -0
- package/grade/ref/MasterDataVersionRef.js +26 -0
- package/grade/ref/MasterDataVersionRef.js.map +1 -0
- package/grade/ref/MasterDataVersionRef.ts +33 -0
- package/grade/ref/index.d.ts +2 -1
- package/grade/ref/index.js +3 -1
- package/grade/ref/index.js.map +1 -1
- package/grade/ref/index.ts +2 -0
- package/guard/index.d.ts +12 -0
- package/guard/index.js +32 -0
- package/guard/index.js.map +1 -0
- package/guard/index.ts +36 -0
- package/guard/model/BlockingPolicyModel.d.ts +52 -0
- package/guard/model/BlockingPolicyModel.js +137 -0
- package/guard/model/BlockingPolicyModel.js.map +1 -0
- package/guard/model/BlockingPolicyModel.ts +372 -0
- package/guard/model/Namespace.d.ts +19 -0
- package/guard/model/Namespace.js +61 -0
- package/guard/model/Namespace.js.map +1 -0
- package/guard/model/Namespace.ts +95 -0
- package/guard/model/enum/BlockingPolicyModelAnonymousIpDetection.d.ts +5 -0
- package/guard/model/enum/BlockingPolicyModelAnonymousIpDetection.js +23 -0
- package/guard/model/enum/BlockingPolicyModelAnonymousIpDetection.js.map +1 -0
- package/guard/model/enum/BlockingPolicyModelAnonymousIpDetection.ts +23 -0
- package/guard/model/enum/BlockingPolicyModelAnonymousIpRestriction.d.ts +4 -0
- package/guard/model/enum/BlockingPolicyModelAnonymousIpRestriction.js +22 -0
- package/guard/model/enum/BlockingPolicyModelAnonymousIpRestriction.js.map +1 -0
- package/guard/model/enum/BlockingPolicyModelAnonymousIpRestriction.ts +22 -0
- package/guard/model/enum/BlockingPolicyModelDefaultRestriction.d.ts +5 -0
- package/guard/model/enum/BlockingPolicyModelDefaultRestriction.js +23 -0
- package/guard/model/enum/BlockingPolicyModelDefaultRestriction.js.map +1 -0
- package/guard/model/enum/BlockingPolicyModelDefaultRestriction.ts +23 -0
- package/guard/model/enum/BlockingPolicyModelHostingProviderIpDetection.d.ts +5 -0
- package/guard/model/enum/BlockingPolicyModelHostingProviderIpDetection.js +23 -0
- package/guard/model/enum/BlockingPolicyModelHostingProviderIpDetection.js.map +1 -0
- package/guard/model/enum/BlockingPolicyModelHostingProviderIpDetection.ts +23 -0
- package/guard/model/enum/BlockingPolicyModelHostingProviderIpRestriction.d.ts +4 -0
- package/guard/model/enum/BlockingPolicyModelHostingProviderIpRestriction.js +22 -0
- package/guard/model/enum/BlockingPolicyModelHostingProviderIpRestriction.js.map +1 -0
- package/guard/model/enum/BlockingPolicyModelHostingProviderIpRestriction.ts +22 -0
- package/guard/model/enum/BlockingPolicyModelIpAddressRestriction.d.ts +5 -0
- package/guard/model/enum/BlockingPolicyModelIpAddressRestriction.js +23 -0
- package/guard/model/enum/BlockingPolicyModelIpAddressRestriction.js.map +1 -0
- package/guard/model/enum/BlockingPolicyModelIpAddressRestriction.ts +23 -0
- package/guard/model/enum/BlockingPolicyModelIpAddressesDetection.d.ts +5 -0
- package/guard/model/enum/BlockingPolicyModelIpAddressesDetection.js +23 -0
- package/guard/model/enum/BlockingPolicyModelIpAddressesDetection.js.map +1 -0
- package/guard/model/enum/BlockingPolicyModelIpAddressesDetection.ts +23 -0
- package/guard/model/enum/BlockingPolicyModelLocationDetection.d.ts +5 -0
- package/guard/model/enum/BlockingPolicyModelLocationDetection.js +23 -0
- package/guard/model/enum/BlockingPolicyModelLocationDetection.js.map +1 -0
- package/guard/model/enum/BlockingPolicyModelLocationDetection.ts +23 -0
- package/guard/model/enum/BlockingPolicyModelLocationRestriction.d.ts +5 -0
- package/guard/model/enum/BlockingPolicyModelLocationRestriction.js +23 -0
- package/guard/model/enum/BlockingPolicyModelLocationRestriction.js.map +1 -0
- package/guard/model/enum/BlockingPolicyModelLocationRestriction.ts +23 -0
- package/guard/model/enum/BlockingPolicyModelReputationIpDetection.d.ts +5 -0
- package/guard/model/enum/BlockingPolicyModelReputationIpDetection.js +23 -0
- package/guard/model/enum/BlockingPolicyModelReputationIpDetection.js.map +1 -0
- package/guard/model/enum/BlockingPolicyModelReputationIpDetection.ts +23 -0
- package/guard/model/enum/BlockingPolicyModelReputationIpRestriction.d.ts +4 -0
- package/guard/model/enum/BlockingPolicyModelReputationIpRestriction.js +22 -0
- package/guard/model/enum/BlockingPolicyModelReputationIpRestriction.js.map +1 -0
- package/guard/model/enum/BlockingPolicyModelReputationIpRestriction.ts +22 -0
- package/guard/model/enum/NamespaceStatus.d.ts +6 -0
- package/guard/model/enum/NamespaceStatus.js +24 -0
- package/guard/model/enum/NamespaceStatus.js.map +1 -0
- package/guard/model/enum/NamespaceStatus.ts +24 -0
- package/guard/model/index.d.ts +27 -0
- package/guard/model/index.js +48 -0
- package/guard/model/index.js.map +1 -0
- package/guard/model/index.ts +70 -0
- package/guard/model/options/BlockingPolicyModelAnonymousIpDetectionIsDisableOptions.d.ts +3 -0
- package/guard/model/options/BlockingPolicyModelAnonymousIpDetectionIsDisableOptions.js +3 -0
- package/guard/model/options/BlockingPolicyModelAnonymousIpDetectionIsDisableOptions.js.map +1 -0
- package/guard/model/options/BlockingPolicyModelAnonymousIpDetectionIsDisableOptions.ts +30 -0
- package/guard/model/options/BlockingPolicyModelAnonymousIpDetectionIsEnableOptions.d.ts +3 -0
- package/guard/model/options/BlockingPolicyModelAnonymousIpDetectionIsEnableOptions.js +3 -0
- package/guard/model/options/BlockingPolicyModelAnonymousIpDetectionIsEnableOptions.js.map +1 -0
- package/guard/model/options/BlockingPolicyModelAnonymousIpDetectionIsEnableOptions.ts +30 -0
- package/guard/model/options/BlockingPolicyModelHostingProviderIpDetectionIsDisableOptions.d.ts +3 -0
- package/guard/model/options/BlockingPolicyModelHostingProviderIpDetectionIsDisableOptions.js +3 -0
- package/guard/model/options/BlockingPolicyModelHostingProviderIpDetectionIsDisableOptions.js.map +1 -0
- package/guard/model/options/BlockingPolicyModelHostingProviderIpDetectionIsDisableOptions.ts +30 -0
- package/guard/model/options/BlockingPolicyModelHostingProviderIpDetectionIsEnableOptions.d.ts +3 -0
- package/guard/model/options/BlockingPolicyModelHostingProviderIpDetectionIsEnableOptions.js +3 -0
- package/guard/model/options/BlockingPolicyModelHostingProviderIpDetectionIsEnableOptions.js.map +1 -0
- package/guard/model/options/BlockingPolicyModelHostingProviderIpDetectionIsEnableOptions.ts +30 -0
- package/guard/model/options/BlockingPolicyModelIpAddressesDetectionIsDisableOptions.d.ts +3 -0
- package/guard/model/options/BlockingPolicyModelIpAddressesDetectionIsDisableOptions.js +3 -0
- package/guard/model/options/BlockingPolicyModelIpAddressesDetectionIsDisableOptions.js.map +1 -0
- package/guard/model/options/BlockingPolicyModelIpAddressesDetectionIsDisableOptions.ts +30 -0
- package/guard/model/options/BlockingPolicyModelIpAddressesDetectionIsEnableOptions.d.ts +3 -0
- package/guard/model/options/BlockingPolicyModelIpAddressesDetectionIsEnableOptions.js +3 -0
- package/guard/model/options/BlockingPolicyModelIpAddressesDetectionIsEnableOptions.js.map +1 -0
- package/guard/model/options/BlockingPolicyModelIpAddressesDetectionIsEnableOptions.ts +30 -0
- package/guard/model/options/BlockingPolicyModelLocationDetectionIsDisableOptions.d.ts +3 -0
- package/guard/model/options/BlockingPolicyModelLocationDetectionIsDisableOptions.js +3 -0
- package/guard/model/options/BlockingPolicyModelLocationDetectionIsDisableOptions.js.map +1 -0
- package/guard/model/options/BlockingPolicyModelLocationDetectionIsDisableOptions.ts +30 -0
- package/guard/model/options/BlockingPolicyModelLocationDetectionIsEnableOptions.d.ts +3 -0
- package/guard/model/options/BlockingPolicyModelLocationDetectionIsEnableOptions.js +3 -0
- package/guard/model/options/BlockingPolicyModelLocationDetectionIsEnableOptions.js.map +1 -0
- package/guard/model/options/BlockingPolicyModelLocationDetectionIsEnableOptions.ts +30 -0
- package/guard/model/options/BlockingPolicyModelOptions.d.ts +14 -0
- package/guard/model/options/BlockingPolicyModelOptions.js +3 -0
- package/guard/model/options/BlockingPolicyModelOptions.js.map +1 -0
- package/guard/model/options/BlockingPolicyModelOptions.ts +37 -0
- package/guard/model/options/BlockingPolicyModelReputationIpDetectionIsDisableOptions.d.ts +3 -0
- package/guard/model/options/BlockingPolicyModelReputationIpDetectionIsDisableOptions.js +3 -0
- package/guard/model/options/BlockingPolicyModelReputationIpDetectionIsDisableOptions.js.map +1 -0
- package/guard/model/options/BlockingPolicyModelReputationIpDetectionIsDisableOptions.ts +30 -0
- package/guard/model/options/BlockingPolicyModelReputationIpDetectionIsEnableOptions.d.ts +3 -0
- package/guard/model/options/BlockingPolicyModelReputationIpDetectionIsEnableOptions.js +3 -0
- package/guard/model/options/BlockingPolicyModelReputationIpDetectionIsEnableOptions.js.map +1 -0
- package/guard/model/options/BlockingPolicyModelReputationIpDetectionIsEnableOptions.ts +30 -0
- package/guard/model/options/NamespaceOptions.d.ts +3 -0
- package/guard/model/options/NamespaceOptions.js +3 -0
- package/guard/model/options/NamespaceOptions.js.map +1 -0
- package/guard/model/options/NamespaceOptions.ts +21 -0
- package/guard/ref/NamespaceRef.d.ts +5 -0
- package/guard/ref/NamespaceRef.js +35 -0
- package/guard/ref/NamespaceRef.js.map +1 -0
- package/guard/ref/NamespaceRef.ts +47 -0
- package/guard/ref/index.d.ts +2 -0
- package/guard/ref/index.js +22 -0
- package/guard/ref/index.js.map +1 -0
- package/guard/ref/index.ts +20 -0
- package/guard/stampSheet/index.d.ts +1 -0
- package/guard/stampSheet/index.js +18 -0
- package/guard/stampSheet/index.js.map +1 -0
- package/guard/stampSheet/index.ts +18 -0
- package/guild/model/Namespace.d.ts +2 -0
- package/guild/model/Namespace.js +32 -22
- package/guild/model/Namespace.js.map +1 -1
- package/guild/model/Namespace.ts +12 -0
- package/guild/model/options/NamespaceOptions.d.ts +2 -0
- package/guild/model/options/NamespaceOptions.ts +2 -0
- package/guild/ref/MasterDataVersionRef.d.ts +6 -0
- package/guild/ref/MasterDataVersionRef.js +26 -0
- package/guild/ref/MasterDataVersionRef.js.map +1 -0
- package/guild/ref/MasterDataVersionRef.ts +33 -0
- package/guild/ref/index.d.ts +2 -1
- package/guild/ref/index.js +3 -1
- package/guild/ref/index.js.map +1 -1
- package/guild/ref/index.ts +2 -0
- package/identifier/model/AttachGuard.d.ts +14 -0
- package/identifier/model/AttachGuard.js +48 -0
- package/identifier/model/AttachGuard.js.map +1 -0
- package/identifier/model/AttachGuard.ts +66 -0
- package/identifier/model/Identifier.d.ts +3 -0
- package/identifier/model/Identifier.js +11 -0
- package/identifier/model/Identifier.js.map +1 -1
- package/identifier/model/Identifier.ts +39 -0
- package/idle/ref/MasterDataVersionRef.d.ts +6 -0
- package/idle/ref/MasterDataVersionRef.js +26 -0
- package/idle/ref/MasterDataVersionRef.js.map +1 -0
- package/idle/ref/MasterDataVersionRef.ts +33 -0
- package/idle/ref/index.d.ts +2 -1
- package/idle/ref/index.js +3 -1
- package/idle/ref/index.js.map +1 -1
- package/idle/ref/index.ts +2 -0
- package/inbox/ref/MasterDataVersionRef.d.ts +6 -0
- package/inbox/ref/MasterDataVersionRef.js +26 -0
- package/inbox/ref/MasterDataVersionRef.js.map +1 -0
- package/inbox/ref/MasterDataVersionRef.ts +33 -0
- package/inbox/ref/index.d.ts +2 -1
- package/inbox/ref/index.js +3 -1
- package/inbox/ref/index.js.map +1 -1
- package/inbox/ref/index.ts +2 -0
- package/inventory/ref/MasterDataVersionRef.d.ts +6 -0
- package/inventory/ref/MasterDataVersionRef.js +26 -0
- package/inventory/ref/MasterDataVersionRef.js.map +1 -0
- package/inventory/ref/MasterDataVersionRef.ts +33 -0
- package/inventory/ref/index.d.ts +2 -1
- package/inventory/ref/index.js +3 -1
- package/inventory/ref/index.js.map +1 -1
- package/inventory/ref/index.ts +2 -0
- package/limit/ref/MasterDataVersionRef.d.ts +6 -0
- package/limit/ref/MasterDataVersionRef.js +26 -0
- package/limit/ref/MasterDataVersionRef.js.map +1 -0
- package/limit/ref/MasterDataVersionRef.ts +33 -0
- package/limit/ref/index.d.ts +2 -1
- package/limit/ref/index.js +3 -1
- package/limit/ref/index.js.map +1 -1
- package/limit/ref/index.ts +2 -0
- package/loginReward/ref/MasterDataVersionRef.d.ts +6 -0
- package/loginReward/ref/MasterDataVersionRef.js +26 -0
- package/loginReward/ref/MasterDataVersionRef.js.map +1 -0
- package/loginReward/ref/MasterDataVersionRef.ts +33 -0
- package/loginReward/ref/index.d.ts +2 -1
- package/loginReward/ref/index.js +3 -1
- package/loginReward/ref/index.js.map +1 -1
- package/loginReward/ref/index.ts +2 -0
- package/lottery/ref/MasterDataVersionRef.d.ts +6 -0
- package/lottery/ref/MasterDataVersionRef.js +26 -0
- package/lottery/ref/MasterDataVersionRef.js.map +1 -0
- package/lottery/ref/MasterDataVersionRef.ts +33 -0
- package/lottery/ref/index.d.ts +2 -1
- package/lottery/ref/index.js +3 -1
- package/lottery/ref/index.js.map +1 -1
- package/lottery/ref/index.ts +2 -0
- package/matchmaking/ref/MasterDataVersionRef.d.ts +6 -0
- package/matchmaking/ref/MasterDataVersionRef.js +26 -0
- package/matchmaking/ref/MasterDataVersionRef.js.map +1 -0
- package/matchmaking/ref/MasterDataVersionRef.ts +33 -0
- package/matchmaking/ref/index.d.ts +2 -1
- package/matchmaking/ref/index.js +3 -1
- package/matchmaking/ref/index.js.map +1 -1
- package/matchmaking/ref/index.ts +2 -0
- package/megaField/ref/MasterDataVersionRef.d.ts +6 -0
- package/megaField/ref/MasterDataVersionRef.js +26 -0
- package/megaField/ref/MasterDataVersionRef.js.map +1 -0
- package/megaField/ref/MasterDataVersionRef.ts +33 -0
- package/megaField/ref/NamespaceRef.js.map +1 -1
- package/megaField/ref/NamespaceRef.ts +0 -1
- package/megaField/ref/index.d.ts +2 -1
- package/megaField/ref/index.js +3 -1
- package/megaField/ref/index.js.map +1 -1
- package/megaField/ref/index.ts +2 -0
- package/mission/ref/MasterDataVersionRef.d.ts +6 -0
- package/mission/ref/MasterDataVersionRef.js +26 -0
- package/mission/ref/MasterDataVersionRef.js.map +1 -0
- package/mission/ref/MasterDataVersionRef.ts +33 -0
- package/mission/ref/index.d.ts +2 -1
- package/mission/ref/index.js +3 -1
- package/mission/ref/index.js.map +1 -1
- package/mission/ref/index.ts +2 -0
- package/money2/ref/MasterDataVersionRef.d.ts +6 -0
- package/money2/ref/MasterDataVersionRef.js +26 -0
- package/money2/ref/MasterDataVersionRef.js.map +1 -0
- package/money2/ref/MasterDataVersionRef.ts +33 -0
- package/money2/ref/index.d.ts +2 -1
- package/money2/ref/index.js +3 -1
- package/money2/ref/index.js.map +1 -1
- package/money2/ref/index.ts +2 -0
- package/package.json +1 -1
- package/quest/ref/MasterDataVersionRef.d.ts +6 -0
- package/quest/ref/MasterDataVersionRef.js +26 -0
- package/quest/ref/MasterDataVersionRef.js.map +1 -0
- package/quest/ref/MasterDataVersionRef.ts +33 -0
- package/quest/ref/index.d.ts +2 -1
- package/quest/ref/index.js +3 -1
- package/quest/ref/index.js.map +1 -1
- package/quest/ref/index.ts +2 -0
- package/ranking/ref/MasterDataVersionRef.d.ts +6 -0
- package/ranking/ref/MasterDataVersionRef.js +26 -0
- package/ranking/ref/MasterDataVersionRef.js.map +1 -0
- package/ranking/ref/MasterDataVersionRef.ts +33 -0
- package/ranking/ref/index.d.ts +2 -1
- package/ranking/ref/index.js +3 -1
- package/ranking/ref/index.js.map +1 -1
- package/ranking/ref/index.ts +2 -0
- package/ranking2/ref/ClusterRankingModelRef.js.map +1 -1
- package/ranking2/ref/ClusterRankingModelRef.ts +0 -1
- package/ranking2/ref/GlobalRankingModelRef.js.map +1 -1
- package/ranking2/ref/GlobalRankingModelRef.ts +0 -1
- package/ranking2/ref/MasterDataVersionRef.d.ts +6 -0
- package/ranking2/ref/MasterDataVersionRef.js +26 -0
- package/ranking2/ref/MasterDataVersionRef.js.map +1 -0
- package/ranking2/ref/MasterDataVersionRef.ts +33 -0
- package/ranking2/ref/index.d.ts +2 -1
- package/ranking2/ref/index.js +3 -1
- package/ranking2/ref/index.js.map +1 -1
- package/ranking2/ref/index.ts +2 -0
- package/schedule/ref/MasterDataVersionRef.d.ts +6 -0
- package/schedule/ref/MasterDataVersionRef.js +26 -0
- package/schedule/ref/MasterDataVersionRef.js.map +1 -0
- package/schedule/ref/MasterDataVersionRef.ts +33 -0
- package/schedule/ref/index.d.ts +2 -1
- package/schedule/ref/index.js +3 -1
- package/schedule/ref/index.js.map +1 -1
- package/schedule/ref/index.ts +2 -0
- package/seasonRating/ref/MasterDataVersionRef.d.ts +6 -0
- package/seasonRating/ref/MasterDataVersionRef.js +26 -0
- package/seasonRating/ref/MasterDataVersionRef.js.map +1 -0
- package/seasonRating/ref/MasterDataVersionRef.ts +33 -0
- package/seasonRating/ref/index.d.ts +2 -1
- package/seasonRating/ref/index.js +3 -1
- package/seasonRating/ref/index.js.map +1 -1
- package/seasonRating/ref/index.ts +2 -0
- package/serialKey/ref/MasterDataVersionRef.d.ts +6 -0
- package/serialKey/ref/MasterDataVersionRef.js +26 -0
- package/serialKey/ref/MasterDataVersionRef.js.map +1 -0
- package/serialKey/ref/MasterDataVersionRef.ts +33 -0
- package/serialKey/ref/index.d.ts +2 -1
- package/serialKey/ref/index.js +3 -1
- package/serialKey/ref/index.js.map +1 -1
- package/serialKey/ref/index.ts +2 -0
- package/showcase/ref/MasterDataVersionRef.d.ts +6 -0
- package/showcase/ref/MasterDataVersionRef.js +26 -0
- package/showcase/ref/MasterDataVersionRef.js.map +1 -0
- package/showcase/ref/MasterDataVersionRef.ts +33 -0
- package/showcase/ref/index.d.ts +2 -1
- package/showcase/ref/index.js +3 -1
- package/showcase/ref/index.js.map +1 -1
- package/showcase/ref/index.ts +2 -0
- package/skillTree/ref/MasterDataVersionRef.d.ts +6 -0
- package/skillTree/ref/MasterDataVersionRef.js +26 -0
- package/skillTree/ref/MasterDataVersionRef.js.map +1 -0
- package/skillTree/ref/MasterDataVersionRef.ts +33 -0
- package/skillTree/ref/index.d.ts +2 -1
- package/skillTree/ref/index.js +3 -1
- package/skillTree/ref/index.js.map +1 -1
- package/skillTree/ref/index.ts +2 -0
- package/stamina/ref/MasterDataVersionRef.d.ts +6 -0
- package/stamina/ref/MasterDataVersionRef.js +26 -0
- package/stamina/ref/MasterDataVersionRef.js.map +1 -0
- package/stamina/ref/MasterDataVersionRef.ts +33 -0
- package/stamina/ref/index.d.ts +2 -1
- package/stamina/ref/index.js +3 -1
- package/stamina/ref/index.js.map +1 -1
- package/stamina/ref/index.ts +2 -0
- package/version/ref/MasterDataVersionRef.d.ts +6 -0
- package/version/ref/MasterDataVersionRef.js +26 -0
- package/version/ref/MasterDataVersionRef.js.map +1 -0
- package/version/ref/MasterDataVersionRef.ts +33 -0
- package/version/ref/index.d.ts +2 -1
- package/version/ref/index.js +3 -1
- package/version/ref/index.js.map +1 -1
- package/version/ref/index.ts +2 -0
package/guild/model/Namespace.ts
CHANGED
|
@@ -30,12 +30,14 @@ export default class Namespace extends CdkResource {
|
|
|
30
30
|
private readonly stack: Stack;
|
|
31
31
|
private readonly name: string;
|
|
32
32
|
private readonly description: string|null = null;
|
|
33
|
+
private readonly changeNotification: NotificationSetting|null = null;
|
|
33
34
|
private readonly joinNotification: NotificationSetting|null = null;
|
|
34
35
|
private readonly leaveNotification: NotificationSetting|null = null;
|
|
35
36
|
private readonly changeMemberNotification: NotificationSetting|null = null;
|
|
36
37
|
private readonly receiveRequestNotification: NotificationSetting|null = null;
|
|
37
38
|
private readonly removeRequestNotification: NotificationSetting|null = null;
|
|
38
39
|
private readonly createGuildScript: ScriptSetting|null = null;
|
|
40
|
+
private readonly updateGuildScript: ScriptSetting|null = null;
|
|
39
41
|
private readonly joinGuildScript: ScriptSetting|null = null;
|
|
40
42
|
private readonly leaveGuildScript: ScriptSetting|null = null;
|
|
41
43
|
private readonly changeRoleScript: ScriptSetting|null = null;
|
|
@@ -53,12 +55,14 @@ export default class Namespace extends CdkResource {
|
|
|
53
55
|
this.stack = stack;
|
|
54
56
|
this.name = name;
|
|
55
57
|
this.description = options?.description ?? null;
|
|
58
|
+
this.changeNotification = options?.changeNotification ?? null;
|
|
56
59
|
this.joinNotification = options?.joinNotification ?? null;
|
|
57
60
|
this.leaveNotification = options?.leaveNotification ?? null;
|
|
58
61
|
this.changeMemberNotification = options?.changeMemberNotification ?? null;
|
|
59
62
|
this.receiveRequestNotification = options?.receiveRequestNotification ?? null;
|
|
60
63
|
this.removeRequestNotification = options?.removeRequestNotification ?? null;
|
|
61
64
|
this.createGuildScript = options?.createGuildScript ?? null;
|
|
65
|
+
this.updateGuildScript = options?.updateGuildScript ?? null;
|
|
62
66
|
this.joinGuildScript = options?.joinGuildScript ?? null;
|
|
63
67
|
this.leaveGuildScript = options?.leaveGuildScript ?? null;
|
|
64
68
|
this.changeRoleScript = options?.changeRoleScript ?? null;
|
|
@@ -89,6 +93,10 @@ export default class Namespace extends CdkResource {
|
|
|
89
93
|
if (this.description != null) {
|
|
90
94
|
properties["Description"] = this.description;
|
|
91
95
|
}
|
|
96
|
+
if (this.changeNotification != null) {
|
|
97
|
+
properties["ChangeNotification"] = this.changeNotification?.properties(
|
|
98
|
+
);
|
|
99
|
+
}
|
|
92
100
|
if (this.joinNotification != null) {
|
|
93
101
|
properties["JoinNotification"] = this.joinNotification?.properties(
|
|
94
102
|
);
|
|
@@ -113,6 +121,10 @@ export default class Namespace extends CdkResource {
|
|
|
113
121
|
properties["CreateGuildScript"] = this.createGuildScript?.properties(
|
|
114
122
|
);
|
|
115
123
|
}
|
|
124
|
+
if (this.updateGuildScript != null) {
|
|
125
|
+
properties["UpdateGuildScript"] = this.updateGuildScript?.properties(
|
|
126
|
+
);
|
|
127
|
+
}
|
|
116
128
|
if (this.joinGuildScript != null) {
|
|
117
129
|
properties["JoinGuildScript"] = this.joinGuildScript?.properties(
|
|
118
130
|
);
|
|
@@ -3,12 +3,14 @@ import ScriptSetting from "../../../core/model/ScriptSetting";
|
|
|
3
3
|
import LogSetting from "../../../core/model/LogSetting";
|
|
4
4
|
export interface NamespaceOptions {
|
|
5
5
|
description?: string | null;
|
|
6
|
+
changeNotification?: NotificationSetting | null;
|
|
6
7
|
joinNotification?: NotificationSetting | null;
|
|
7
8
|
leaveNotification?: NotificationSetting | null;
|
|
8
9
|
changeMemberNotification?: NotificationSetting | null;
|
|
9
10
|
receiveRequestNotification?: NotificationSetting | null;
|
|
10
11
|
removeRequestNotification?: NotificationSetting | null;
|
|
11
12
|
createGuildScript?: ScriptSetting | null;
|
|
13
|
+
updateGuildScript?: ScriptSetting | null;
|
|
12
14
|
joinGuildScript?: ScriptSetting | null;
|
|
13
15
|
leaveGuildScript?: ScriptSetting | null;
|
|
14
16
|
changeRoleScript?: ScriptSetting | null;
|
|
@@ -19,12 +19,14 @@ import LogSetting from "../../../core/model/LogSetting";
|
|
|
19
19
|
|
|
20
20
|
export interface NamespaceOptions {
|
|
21
21
|
description?: string|null;
|
|
22
|
+
changeNotification?: NotificationSetting|null;
|
|
22
23
|
joinNotification?: NotificationSetting|null;
|
|
23
24
|
leaveNotification?: NotificationSetting|null;
|
|
24
25
|
changeMemberNotification?: NotificationSetting|null;
|
|
25
26
|
receiveRequestNotification?: NotificationSetting|null;
|
|
26
27
|
removeRequestNotification?: NotificationSetting|null;
|
|
27
28
|
createGuildScript?: ScriptSetting|null;
|
|
29
|
+
updateGuildScript?: ScriptSetting|null;
|
|
28
30
|
joinGuildScript?: ScriptSetting|null;
|
|
29
31
|
leaveGuildScript?: ScriptSetting|null;
|
|
30
32
|
changeRoleScript?: ScriptSetting|null;
|
|
@@ -0,0 +1,26 @@
|
|
|
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 MasterDataVersionRef {
|
|
19
|
+
constructor(namespaceName, objectKey, versionId) {
|
|
20
|
+
this.namespaceName = namespaceName;
|
|
21
|
+
this.objectKey = objectKey;
|
|
22
|
+
this.versionId = versionId;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
exports.default = MasterDataVersionRef;
|
|
26
|
+
//# sourceMappingURL=MasterDataVersionRef.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MasterDataVersionRef.js","sourceRoot":"","sources":["MasterDataVersionRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAIH,MAAqB,oBAAoB;IAKrC,YACI,aAAqB,EACrB,SAAiB,EACjB,SAAiB;QAEjB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC/B,CAAC;CACJ;AAdD,uCAcC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
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
|
+
export default class MasterDataVersionRef {
|
|
20
|
+
private readonly namespaceName: string;
|
|
21
|
+
private readonly objectKey: string;
|
|
22
|
+
private readonly versionId: string;
|
|
23
|
+
|
|
24
|
+
public constructor(
|
|
25
|
+
namespaceName: string,
|
|
26
|
+
objectKey: string,
|
|
27
|
+
versionId: string,
|
|
28
|
+
) {
|
|
29
|
+
this.namespaceName = namespaceName;
|
|
30
|
+
this.objectKey = objectKey;
|
|
31
|
+
this.versionId = versionId;
|
|
32
|
+
}
|
|
33
|
+
}
|
package/guild/ref/index.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import InboxRef from "./InboxRef";
|
|
|
4
4
|
import GuildRef from "./GuildRef";
|
|
5
5
|
import IgnoreUsersRef from "./IgnoreUsersRef";
|
|
6
6
|
import LastGuildMasterActivityRef from "./LastGuildMasterActivityRef";
|
|
7
|
+
import MasterDataVersionRef from "./MasterDataVersionRef";
|
|
7
8
|
import RoleModelRef from "./RoleModelRef";
|
|
8
9
|
import IgnoreUserRef from "./IgnoreUserRef";
|
|
9
|
-
export { NamespaceRef, GuildModelRef, InboxRef, GuildRef, IgnoreUsersRef, LastGuildMasterActivityRef, RoleModelRef, IgnoreUserRef, };
|
|
10
|
+
export { NamespaceRef, GuildModelRef, InboxRef, GuildRef, IgnoreUsersRef, LastGuildMasterActivityRef, MasterDataVersionRef, RoleModelRef, IgnoreUserRef, };
|
package/guild/ref/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.IgnoreUserRef = exports.RoleModelRef = exports.LastGuildMasterActivityRef = exports.IgnoreUsersRef = exports.GuildRef = exports.InboxRef = exports.GuildModelRef = exports.NamespaceRef = void 0;
|
|
3
|
+
exports.IgnoreUserRef = exports.RoleModelRef = exports.MasterDataVersionRef = exports.LastGuildMasterActivityRef = exports.IgnoreUsersRef = exports.GuildRef = exports.InboxRef = exports.GuildModelRef = exports.NamespaceRef = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
/*
|
|
6
6
|
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
@@ -29,6 +29,8 @@ const IgnoreUsersRef_1 = tslib_1.__importDefault(require("./IgnoreUsersRef"));
|
|
|
29
29
|
exports.IgnoreUsersRef = IgnoreUsersRef_1.default;
|
|
30
30
|
const LastGuildMasterActivityRef_1 = tslib_1.__importDefault(require("./LastGuildMasterActivityRef"));
|
|
31
31
|
exports.LastGuildMasterActivityRef = LastGuildMasterActivityRef_1.default;
|
|
32
|
+
const MasterDataVersionRef_1 = tslib_1.__importDefault(require("./MasterDataVersionRef"));
|
|
33
|
+
exports.MasterDataVersionRef = MasterDataVersionRef_1.default;
|
|
32
34
|
const RoleModelRef_1 = tslib_1.__importDefault(require("./RoleModelRef"));
|
|
33
35
|
exports.RoleModelRef = RoleModelRef_1.default;
|
|
34
36
|
const IgnoreUserRef_1 = tslib_1.__importDefault(require("./IgnoreUserRef"));
|
package/guild/ref/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,0EAA0C;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,0EAA0C;AAWtC,uBAXG,sBAAY,CAWH;AAVhB,4EAA4C;AAWxC,wBAXG,uBAAa,CAWH;AAVjB,kEAAkC;AAW9B,mBAXG,kBAAQ,CAWH;AAVZ,kEAAkC;AAW9B,mBAXG,kBAAQ,CAWH;AAVZ,8EAA8C;AAW1C,yBAXG,wBAAc,CAWH;AAVlB,sGAAsE;AAWlE,qCAXG,oCAA0B,CAWH;AAV9B,0FAA0D;AAWtD,+BAXG,8BAAoB,CAWH;AAVxB,0EAA0C;AAWtC,uBAXG,sBAAY,CAWH;AAVhB,4EAA4C;AAWxC,wBAXG,uBAAa,CAWH"}
|
package/guild/ref/index.ts
CHANGED
|
@@ -19,6 +19,7 @@ import InboxRef from "./InboxRef";
|
|
|
19
19
|
import GuildRef from "./GuildRef";
|
|
20
20
|
import IgnoreUsersRef from "./IgnoreUsersRef";
|
|
21
21
|
import LastGuildMasterActivityRef from "./LastGuildMasterActivityRef";
|
|
22
|
+
import MasterDataVersionRef from "./MasterDataVersionRef";
|
|
22
23
|
import RoleModelRef from "./RoleModelRef";
|
|
23
24
|
import IgnoreUserRef from "./IgnoreUserRef";
|
|
24
25
|
|
|
@@ -29,6 +30,7 @@ export {
|
|
|
29
30
|
GuildRef,
|
|
30
31
|
IgnoreUsersRef,
|
|
31
32
|
LastGuildMasterActivityRef,
|
|
33
|
+
MasterDataVersionRef,
|
|
32
34
|
RoleModelRef,
|
|
33
35
|
IgnoreUserRef,
|
|
34
36
|
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { CdkResource, Stack } from "../../core/model";
|
|
2
|
+
export interface AttachGuardOptions {
|
|
3
|
+
}
|
|
4
|
+
export default class AttachGuard extends CdkResource {
|
|
5
|
+
private stack;
|
|
6
|
+
private userName;
|
|
7
|
+
private clientId;
|
|
8
|
+
private guardNamespaceId;
|
|
9
|
+
constructor(stack: Stack, userName: string, clientId: string, guardNamespaceId: string, options?: AttachGuardOptions | null);
|
|
10
|
+
resourceType(): string;
|
|
11
|
+
properties(): {
|
|
12
|
+
[name: string]: any;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
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
|
+
* deny overwrite
|
|
18
|
+
*/
|
|
19
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
20
|
+
const model_1 = require("../../core/model");
|
|
21
|
+
class AttachGuard extends model_1.CdkResource {
|
|
22
|
+
constructor(stack, userName, clientId, guardNamespaceId, options = null) {
|
|
23
|
+
super("Identifier_AttachGuard_" + userName);
|
|
24
|
+
this.stack = stack;
|
|
25
|
+
this.userName = userName;
|
|
26
|
+
this.clientId = clientId;
|
|
27
|
+
this.guardNamespaceId = guardNamespaceId;
|
|
28
|
+
stack.addResource(this);
|
|
29
|
+
}
|
|
30
|
+
resourceType() {
|
|
31
|
+
return "GS2::Identifier::AttachGuard";
|
|
32
|
+
}
|
|
33
|
+
properties() {
|
|
34
|
+
let properties = {};
|
|
35
|
+
if (this.userName != null) {
|
|
36
|
+
properties["UserName"] = this.userName;
|
|
37
|
+
}
|
|
38
|
+
if (this.clientId != null) {
|
|
39
|
+
properties["ClientId"] = this.clientId;
|
|
40
|
+
}
|
|
41
|
+
if (this.guardNamespaceId != null) {
|
|
42
|
+
properties["SecurityPolicyId"] = this.guardNamespaceId;
|
|
43
|
+
}
|
|
44
|
+
return properties;
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
exports.default = AttachGuard;
|
|
48
|
+
//# sourceMappingURL=AttachGuard.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AttachGuard.js","sourceRoot":"","sources":["AttachGuard.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;GAgBG;;AAIH,4CAAoD;AAKpD,MAAqB,WAAY,SAAQ,mBAAW;IAOhD,YACI,KAAY,EACZ,QAAgB,EAChB,QAAgB,EAChB,gBAAwB,EACxB,UAAmC,IAAI;QAEvC,KAAK,CAAC,yBAAyB,GAAG,QAAQ,CAAC,CAAC;QAC5C,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,IAAI,CAAC,gBAAgB,GAAG,gBAAgB,CAAC;QAEzC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;IAC5B,CAAC;IAEM,YAAY;QACf,OAAO,8BAA8B,CAAC;IAC1C,CAAC;IAEM,UAAU;QACb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAC3C,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,EAAE;YACvB,UAAU,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC;SAC1C;QACD,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,EAAE;YACvB,UAAU,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC;SAC1C;QACD,IAAI,IAAI,CAAC,gBAAgB,IAAI,IAAI,EAAE;YAC/B,UAAU,CAAC,kBAAkB,CAAC,GAAG,IAAI,CAAC,gBAAgB,CAAC;SAC1D;QACD,OAAO,UAAU,CAAC;IACtB,CAAC;CACJ;AAxCD,8BAwCC"}
|
|
@@ -0,0 +1,66 @@
|
|
|
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
|
+
* deny overwrite
|
|
17
|
+
*/
|
|
18
|
+
|
|
19
|
+
import core from "../../core";
|
|
20
|
+
import {GetAttr} from "../../core/func";
|
|
21
|
+
import {CdkResource, Stack} from "../../core/model";
|
|
22
|
+
|
|
23
|
+
export interface AttachGuardOptions {
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export default class AttachGuard extends CdkResource {
|
|
27
|
+
|
|
28
|
+
private stack: Stack;
|
|
29
|
+
private userName: string;
|
|
30
|
+
private clientId: string;
|
|
31
|
+
private guardNamespaceId: string;
|
|
32
|
+
|
|
33
|
+
public constructor(
|
|
34
|
+
stack: Stack,
|
|
35
|
+
userName: string,
|
|
36
|
+
clientId: string,
|
|
37
|
+
guardNamespaceId: string,
|
|
38
|
+
options: AttachGuardOptions|null = null,
|
|
39
|
+
) {
|
|
40
|
+
super("Identifier_AttachGuard_" + userName);
|
|
41
|
+
this.stack = stack;
|
|
42
|
+
this.userName = userName;
|
|
43
|
+
this.clientId = clientId;
|
|
44
|
+
this.guardNamespaceId = guardNamespaceId;
|
|
45
|
+
|
|
46
|
+
stack.addResource(this);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
public resourceType(): string {
|
|
50
|
+
return "GS2::Identifier::AttachGuard";
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
public properties(): {[name: string]: any} {
|
|
54
|
+
let properties: {[name: string]: any} = {};
|
|
55
|
+
if (this.userName != null) {
|
|
56
|
+
properties["UserName"] = this.userName;
|
|
57
|
+
}
|
|
58
|
+
if (this.clientId != null) {
|
|
59
|
+
properties["ClientId"] = this.clientId;
|
|
60
|
+
}
|
|
61
|
+
if (this.guardNamespaceId != null) {
|
|
62
|
+
properties["SecurityPolicyId"] = this.guardNamespaceId;
|
|
63
|
+
}
|
|
64
|
+
return properties;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
@@ -2,6 +2,7 @@ import { CdkResource, Stack } from "../../core/model";
|
|
|
2
2
|
import { GetAttr } from "../../core/func";
|
|
3
3
|
import IdentifierRef from "../ref/IdentifierRef";
|
|
4
4
|
import { IdentifierOptions } from "./options/IdentifierOptions";
|
|
5
|
+
import { Namespace } from "../../guard/model";
|
|
5
6
|
export default class Identifier extends CdkResource {
|
|
6
7
|
private readonly stack;
|
|
7
8
|
private readonly userName;
|
|
@@ -12,6 +13,8 @@ export default class Identifier extends CdkResource {
|
|
|
12
13
|
[name: string]: any;
|
|
13
14
|
};
|
|
14
15
|
ref(clientId: string): IdentifierRef;
|
|
16
|
+
attach(guardNamespace: Namespace): Identifier;
|
|
17
|
+
attachGrn(guardNamespaceGrn: string): Identifier;
|
|
15
18
|
getAttrClientId(): GetAttr;
|
|
16
19
|
getAttrClientSecret(): GetAttr;
|
|
17
20
|
}
|
|
@@ -13,12 +13,15 @@
|
|
|
13
13
|
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
14
14
|
* express or implied. See the License for the specific language governing
|
|
15
15
|
* permissions and limitations under the License.
|
|
16
|
+
*
|
|
17
|
+
* deny overwrite
|
|
16
18
|
*/
|
|
17
19
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
18
20
|
const tslib_1 = require("tslib");
|
|
19
21
|
const model_1 = require("../../core/model");
|
|
20
22
|
const func_1 = require("../../core/func");
|
|
21
23
|
const IdentifierRef_1 = tslib_1.__importDefault(require("../ref/IdentifierRef"));
|
|
24
|
+
const AttachSecurityPolicy_1 = tslib_1.__importDefault(require("./AttachSecurityPolicy"));
|
|
22
25
|
class Identifier extends model_1.CdkResource {
|
|
23
26
|
constructor(stack, userName, options = null) {
|
|
24
27
|
super("Identifier_Identifier_" + userName);
|
|
@@ -42,6 +45,14 @@ class Identifier extends model_1.CdkResource {
|
|
|
42
45
|
ref(clientId) {
|
|
43
46
|
return new IdentifierRef_1.default(this.userName, clientId);
|
|
44
47
|
}
|
|
48
|
+
attach(guardNamespace) {
|
|
49
|
+
new AttachSecurityPolicy_1.default(this.stack, this.userName, this.getAttrClientId().str(), guardNamespace.getAttrNamespaceId().str()).addDependsOn(this).addDependsOn(guardNamespace);
|
|
50
|
+
return this;
|
|
51
|
+
}
|
|
52
|
+
attachGrn(guardNamespaceGrn) {
|
|
53
|
+
new AttachSecurityPolicy_1.default(this.stack, this.userName, this.getAttrClientId().str(), guardNamespaceGrn).addDependsOn(this);
|
|
54
|
+
return this;
|
|
55
|
+
}
|
|
45
56
|
getAttrClientId() {
|
|
46
57
|
return new func_1.GetAttr(this, "Item.ClientId", null);
|
|
47
58
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Identifier.js","sourceRoot":"","sources":["Identifier.ts"],"names":[],"mappings":";AAAA
|
|
1
|
+
{"version":3,"file":"Identifier.js","sourceRoot":"","sources":["Identifier.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;GAgBG;;;AAEH,4CAAoD;AACpD,0CAAwC;AAExC,iFAAiD;AAIjD,0FAA0D;AAG1D,MAAqB,UAAW,SAAQ,mBAAW;IAI/C,YACI,KAAY,EACZ,QAAgB,EAChB,UAAkC,IAAI;QAEtC,KAAK,CACD,wBAAwB,GAAG,QAAQ,CACtC,CAAC;QAEF,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,QAAQ,GAAG,QAAQ,CAAC;QACzB,KAAK,CAAC,WAAW,CACb,IAAI,CACP,CAAC;IACN,CAAC;IAGM,aAAa;QAEhB,OAAO,UAAU,CAAC;IACtB,CAAC;IAEM,YAAY;QAEf,OAAO,6BAA6B,CAAC;IACzC,CAAC;IAEM,UAAU;QAEb,IAAI,UAAU,GAA0B,EAAE,CAAC;QAE3C,IAAI,IAAI,CAAC,QAAQ,IAAI,IAAI,EAAE;YACvB,UAAU,CAAC,UAAU,CAAC,GAAG,IAAI,CAAC,QAAQ,CAAC;SAC1C;QAED,OAAO,UAAU,CAAC;IACtB,CAAC;IAEM,GAAG,CACN,QAAgB;QAEhB,OAAO,IAAI,uBAAa,CACpB,IAAI,CAAC,QAAQ,EACb,QAAS,CACZ,CAAC;IACN,CAAC;IAEM,MAAM,CACT,cAAyB;QAEzB,IAAI,8BAAoB,CACpB,IAAI,CAAC,KAAK,EACV,IAAI,CAAC,QAAQ,EACb,IAAI,CAAC,eAAe,EAAE,CAAC,GAAG,EAAE,EAC5B,cAAc,CAAC,kBAAkB,EAChC,CAAC,GAAG,EACJ,CACJ,CAAC,YAAY,CACV,IAAI,CACP,CAAC,YAAY,CACV,cAAc,CACjB,CAAC;QAEF,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,SAAS,CACZ,iBAAyB;QAEzB,IAAI,8BAAoB,CACpB,IAAI,CAAC,KAAK,EACV,IAAI,CAAC,QAAQ,EACb,IAAI,CAAC,eAAe,EAAE,CAAC,GAAG,EAAE,EAC5B,iBAAiB,CACpB,CAAC,YAAY,CACV,IAAI,CACP,CAAC;QAEF,OAAO,IAAI,CAAC;IAChB,CAAC;IAEM,eAAe;QAElB,OAAO,IAAI,cAAO,CACd,IAAI,EACJ,eAAe,EACf,IAAI,CACP,CAAC;IACN,CAAC;IAGM,mBAAmB;QAEtB,OAAO,IAAI,cAAO,CACd,IAAI,EACJ,cAAc,EACd,IAAI,CACP,CAAC;IACN,CAAC;CACJ;AAvGD,6BAuGC"}
|
|
@@ -12,6 +12,8 @@
|
|
|
12
12
|
* on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
|
|
13
13
|
* express or implied. See the License for the specific language governing
|
|
14
14
|
* permissions and limitations under the License.
|
|
15
|
+
*
|
|
16
|
+
* deny overwrite
|
|
15
17
|
*/
|
|
16
18
|
|
|
17
19
|
import {CdkResource, Stack} from "../../core/model";
|
|
@@ -20,6 +22,9 @@ import {GetAttr} from "../../core/func";
|
|
|
20
22
|
import IdentifierRef from "../ref/IdentifierRef";
|
|
21
23
|
|
|
22
24
|
import { IdentifierOptions } from "./options/IdentifierOptions";
|
|
25
|
+
import SecurityPolicy from "./SecurityPolicy";
|
|
26
|
+
import AttachSecurityPolicy from "./AttachSecurityPolicy";
|
|
27
|
+
import {Namespace} from "../../guard/model";
|
|
23
28
|
|
|
24
29
|
export default class Identifier extends CdkResource {
|
|
25
30
|
private readonly stack: Stack;
|
|
@@ -72,6 +77,40 @@ export default class Identifier extends CdkResource {
|
|
|
72
77
|
);
|
|
73
78
|
}
|
|
74
79
|
|
|
80
|
+
public attach(
|
|
81
|
+
guardNamespace: Namespace,
|
|
82
|
+
): Identifier {
|
|
83
|
+
new AttachSecurityPolicy(
|
|
84
|
+
this.stack,
|
|
85
|
+
this.userName,
|
|
86
|
+
this.getAttrClientId().str(),
|
|
87
|
+
guardNamespace.getAttrNamespaceId(
|
|
88
|
+
).str(
|
|
89
|
+
),
|
|
90
|
+
).addDependsOn(
|
|
91
|
+
this,
|
|
92
|
+
).addDependsOn(
|
|
93
|
+
guardNamespace,
|
|
94
|
+
);
|
|
95
|
+
|
|
96
|
+
return this;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
public attachGrn(
|
|
100
|
+
guardNamespaceGrn: string,
|
|
101
|
+
): Identifier {
|
|
102
|
+
new AttachSecurityPolicy(
|
|
103
|
+
this.stack,
|
|
104
|
+
this.userName,
|
|
105
|
+
this.getAttrClientId().str(),
|
|
106
|
+
guardNamespaceGrn,
|
|
107
|
+
).addDependsOn(
|
|
108
|
+
this,
|
|
109
|
+
);
|
|
110
|
+
|
|
111
|
+
return this;
|
|
112
|
+
}
|
|
113
|
+
|
|
75
114
|
public getAttrClientId(
|
|
76
115
|
): GetAttr {
|
|
77
116
|
return new GetAttr(
|
|
@@ -0,0 +1,26 @@
|
|
|
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 MasterDataVersionRef {
|
|
19
|
+
constructor(namespaceName, objectKey, versionId) {
|
|
20
|
+
this.namespaceName = namespaceName;
|
|
21
|
+
this.objectKey = objectKey;
|
|
22
|
+
this.versionId = versionId;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
exports.default = MasterDataVersionRef;
|
|
26
|
+
//# sourceMappingURL=MasterDataVersionRef.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MasterDataVersionRef.js","sourceRoot":"","sources":["MasterDataVersionRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAIH,MAAqB,oBAAoB;IAKrC,YACI,aAAqB,EACrB,SAAiB,EACjB,SAAiB;QAEjB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC/B,CAAC;CACJ;AAdD,uCAcC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
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
|
+
export default class MasterDataVersionRef {
|
|
20
|
+
private readonly namespaceName: string;
|
|
21
|
+
private readonly objectKey: string;
|
|
22
|
+
private readonly versionId: string;
|
|
23
|
+
|
|
24
|
+
public constructor(
|
|
25
|
+
namespaceName: string,
|
|
26
|
+
objectKey: string,
|
|
27
|
+
versionId: string,
|
|
28
|
+
) {
|
|
29
|
+
this.namespaceName = namespaceName;
|
|
30
|
+
this.objectKey = objectKey;
|
|
31
|
+
this.versionId = versionId;
|
|
32
|
+
}
|
|
33
|
+
}
|
package/idle/ref/index.d.ts
CHANGED
package/idle/ref/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CategoryModelRef = exports.NamespaceRef = void 0;
|
|
3
|
+
exports.MasterDataVersionRef = exports.CategoryModelRef = exports.NamespaceRef = void 0;
|
|
4
4
|
const tslib_1 = require("tslib");
|
|
5
5
|
/*
|
|
6
6
|
* Copyright 2016- Game Server Services, Inc. or its affiliates. All Rights
|
|
@@ -21,4 +21,6 @@ const NamespaceRef_1 = tslib_1.__importDefault(require("./NamespaceRef"));
|
|
|
21
21
|
exports.NamespaceRef = NamespaceRef_1.default;
|
|
22
22
|
const CategoryModelRef_1 = tslib_1.__importDefault(require("./CategoryModelRef"));
|
|
23
23
|
exports.CategoryModelRef = CategoryModelRef_1.default;
|
|
24
|
+
const MasterDataVersionRef_1 = tslib_1.__importDefault(require("./MasterDataVersionRef"));
|
|
25
|
+
exports.MasterDataVersionRef = MasterDataVersionRef_1.default;
|
|
24
26
|
//# sourceMappingURL=index.js.map
|
package/idle/ref/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,0EAA0C;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;;AAAA;;;;;;;;;;;;;;GAcG;AACH,0EAA0C;AAKtC,uBALG,sBAAY,CAKH;AAJhB,kFAAkD;AAK9C,2BALG,0BAAgB,CAKH;AAJpB,0FAA0D;AAKtD,+BALG,8BAAoB,CAKH"}
|
package/idle/ref/index.ts
CHANGED
|
@@ -0,0 +1,26 @@
|
|
|
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 MasterDataVersionRef {
|
|
19
|
+
constructor(namespaceName, objectKey, versionId) {
|
|
20
|
+
this.namespaceName = namespaceName;
|
|
21
|
+
this.objectKey = objectKey;
|
|
22
|
+
this.versionId = versionId;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
exports.default = MasterDataVersionRef;
|
|
26
|
+
//# sourceMappingURL=MasterDataVersionRef.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"MasterDataVersionRef.js","sourceRoot":"","sources":["MasterDataVersionRef.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;GAcG;;AAIH,MAAqB,oBAAoB;IAKrC,YACI,aAAqB,EACrB,SAAiB,EACjB,SAAiB;QAEjB,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;QACnC,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;QAC3B,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC;IAC/B,CAAC;CACJ;AAdD,uCAcC"}
|
|
@@ -0,0 +1,33 @@
|
|
|
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
|
+
export default class MasterDataVersionRef {
|
|
20
|
+
private readonly namespaceName: string;
|
|
21
|
+
private readonly objectKey: string;
|
|
22
|
+
private readonly versionId: string;
|
|
23
|
+
|
|
24
|
+
public constructor(
|
|
25
|
+
namespaceName: string,
|
|
26
|
+
objectKey: string,
|
|
27
|
+
versionId: string,
|
|
28
|
+
) {
|
|
29
|
+
this.namespaceName = namespaceName;
|
|
30
|
+
this.objectKey = objectKey;
|
|
31
|
+
this.versionId = versionId;
|
|
32
|
+
}
|
|
33
|
+
}
|
package/inbox/ref/index.d.ts
CHANGED