@collabland/common
Advanced tools
Comparing version 0.47.0 to 0.48.0
@@ -85,3 +85,5 @@ /// <reference types="node" /> | ||
CommandCenterURL = "CommandCenterURL", | ||
WalletConnectionURL = "WalletConnectionURL" | ||
WalletConnectionURL = "WalletConnectionURL", | ||
GCPBigqueryDatabaseID = "GCPBigqueryDatabaseID", | ||
GCPBigqueryTableID = "GCPBigqueryTableID" | ||
} | ||
@@ -237,3 +239,3 @@ /** | ||
*/ | ||
event = "event" | ||
events = "events" | ||
} | ||
@@ -240,0 +242,0 @@ /** |
@@ -96,2 +96,4 @@ "use strict"; | ||
ResourceType["WalletConnectionURL"] = "WalletConnectionURL"; | ||
ResourceType["GCPBigqueryDatabaseID"] = "GCPBigqueryDatabaseID"; | ||
ResourceType["GCPBigqueryTableID"] = "GCPBigqueryTableID"; | ||
})(ResourceType || (exports.ResourceType = ResourceType = {})); | ||
@@ -262,2 +264,20 @@ /** | ||
}, | ||
GCPBigqueryDatabaseID: { | ||
template: 'collabland_${envName}_analytics', | ||
mappedNames: { | ||
[EnvType.PROD]: 'collabland_prod_analytics', | ||
[EnvType.STAGING]: 'collabland_staging_analytics', | ||
[EnvType.QA]: 'collabland_qa_analytics', | ||
}, | ||
envVarName: 'COLLABLAND_GCP_BIGQUERY_DATABASE_ID', | ||
}, | ||
GCPBigqueryTableID: { | ||
template: 'collabland-events', | ||
mappedNames: { | ||
[EnvType.PROD]: 'collabland-events', | ||
[EnvType.STAGING]: 'collabland-events', | ||
[EnvType.QA]: 'collabland-events', | ||
}, | ||
envVarName: 'COLLABLAND_GCP_BIGQUERY_TABLE_ID', | ||
}, | ||
}; | ||
@@ -481,3 +501,3 @@ /** | ||
*/ | ||
JobServerType["event"] = "event"; | ||
JobServerType["events"] = "events"; | ||
})(JobServerType || (exports.JobServerType = JobServerType = {})); | ||
@@ -493,3 +513,3 @@ /** | ||
case JobServerType.background: | ||
case JobServerType.event: | ||
case JobServerType.events: | ||
return jobServerType; | ||
@@ -496,0 +516,0 @@ default: |
@@ -17,1 +17,2 @@ export * from './bignumber.js'; | ||
export * from './string-normalize.js'; | ||
export * from './pro-feature'; |
@@ -37,2 +37,3 @@ "use strict"; | ||
__exportStar(require("./string-normalize.js"), exports); | ||
__exportStar(require("./pro-feature"), exports); | ||
//# sourceMappingURL=index.js.map |
{ | ||
"name": "@collabland/common", | ||
"version": "0.47.0", | ||
"version": "0.48.0", | ||
"description": "CollabLand common utilities", | ||
@@ -51,6 +51,6 @@ "type": "commonjs", | ||
"devDependencies": { | ||
"@loopback/eslint-config": "^14.0.2", | ||
"@loopback/testlab": "^6.1.1", | ||
"@loopback/eslint-config": "^14.0.3", | ||
"@loopback/testlab": "^6.1.2", | ||
"@types/minimatch": "3.0.5", | ||
"@types/node": "^16.18.38", | ||
"@types/node": "^16.18.40", | ||
"@types/toposort": "^2.0.3", | ||
@@ -69,3 +69,3 @@ "typescript": "~5.1.6" | ||
"author": "Abridged, Inc.", | ||
"gitHead": "c4168d3b95702821f9c2953b4f9a4901fe8f2b01" | ||
"gitHead": "1723ed0c528553568736ca4896d5385ca7ce915e" | ||
} |
@@ -98,2 +98,4 @@ // Copyright Abridged, Inc. 2021. All Rights Reserved. | ||
WalletConnectionURL = 'WalletConnectionURL', | ||
GCPBigqueryDatabaseID = 'GCPBigqueryDatabaseID', | ||
GCPBigqueryTableID = 'GCPBigqueryTableID', | ||
} | ||
@@ -288,2 +290,20 @@ | ||
}, | ||
GCPBigqueryDatabaseID: { | ||
template: 'collabland_${envName}_analytics', | ||
mappedNames: { | ||
[EnvType.PROD]: 'collabland_prod_analytics', | ||
[EnvType.STAGING]: 'collabland_staging_analytics', | ||
[EnvType.QA]: 'collabland_qa_analytics', | ||
}, | ||
envVarName: 'COLLABLAND_GCP_BIGQUERY_DATABASE_ID', | ||
}, | ||
GCPBigqueryTableID: { | ||
template: 'collabland-events', | ||
mappedNames: { | ||
[EnvType.PROD]: 'collabland-events', | ||
[EnvType.STAGING]: 'collabland-events', | ||
[EnvType.QA]: 'collabland-events', | ||
}, | ||
envVarName: 'COLLABLAND_GCP_BIGQUERY_TABLE_ID', | ||
}, | ||
}; | ||
@@ -557,3 +577,3 @@ | ||
*/ | ||
event = 'event', | ||
events = 'events', | ||
} | ||
@@ -573,3 +593,3 @@ | ||
case JobServerType.background: | ||
case JobServerType.event: | ||
case JobServerType.events: | ||
return jobServerType; | ||
@@ -576,0 +596,0 @@ default: |
@@ -22,1 +22,2 @@ // Copyright Abridged, Inc. 2021. All Rights Reserved. | ||
export * from './string-normalize.js'; | ||
export * from './pro-feature'; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
290695
84
7156