UBERF-10408: Rename

Signed-off-by: Artem Savchenko <armisav@gmail.com>
This commit is contained in:
Artem Savchenko 2025-05-03 14:10:09 +07:00
parent 79dc64bde1
commit 16c86adf28
40 changed files with 85 additions and 5 deletions

View File

@ -775,6 +775,9 @@ importers:
'@rush-temp/pod-gmail': '@rush-temp/pod-gmail':
specifier: file:./projects/pod-gmail.tgz specifier: file:./projects/pod-gmail.tgz
version: file:projects/pod-gmail.tgz(@babel/core@7.23.9)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.23.9))(encoding@0.1.13)(gcp-metadata@5.3.0(encoding@0.1.13))(snappy@7.2.2)(socks@2.8.3) version: file:projects/pod-gmail.tgz(@babel/core@7.23.9)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.23.9))(encoding@0.1.13)(gcp-metadata@5.3.0(encoding@0.1.13))(snappy@7.2.2)(socks@2.8.3)
'@rush-temp/pod-gmail-next':
specifier: file:./projects/pod-gmail-next.tgz
version: file:projects/pod-gmail-next.tgz(@babel/core@7.23.9)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.23.9))(encoding@0.1.13)(gcp-metadata@5.3.0(encoding@0.1.13))(snappy@7.2.2)(socks@2.8.3)
'@rush-temp/pod-inbound-mail': '@rush-temp/pod-inbound-mail':
specifier: file:./projects/pod-inbound-mail.tgz specifier: file:./projects/pod-inbound-mail.tgz
version: file:projects/pod-inbound-mail.tgz(@babel/core@7.23.9)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.23.9)) version: file:projects/pod-inbound-mail.tgz(@babel/core@7.23.9)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.23.9))
@ -4503,7 +4506,7 @@ packages:
version: 0.0.0 version: 0.0.0
'@rush-temp/model-mail@file:projects/model-mail.tgz': '@rush-temp/model-mail@file:projects/model-mail.tgz':
resolution: {integrity: sha512-ZJ0BKaCme1heHlFvWPZO419uFncRPU832X/ce17INounlmwjTR8O/V6DBbeSn+VPJnhVq9LIZurd7REYrP+bjA==, tarball: file:projects/model-mail.tgz} resolution: {integrity: sha512-b8PJIg5C9jkWApkCCzBS2Zk5Yw4n0jvXAPVwalSWqo64mPcr1jNKzQE7PkwGtTezKvCOrrCIfHR5Fy1DGJnrIA==, tarball: file:projects/model-mail.tgz}
version: 0.0.0 version: 0.0.0
'@rush-temp/model-media@file:projects/model-media.tgz': '@rush-temp/model-media@file:projects/model-media.tgz':
@ -4838,6 +4841,10 @@ packages:
resolution: {integrity: sha512-MacXha5Tki03BvclakE7iMrCSQgSd8W5Sw6yF2sJROcwfoETEfcR54x2VVY/H3HAiMiiKrAEiHmp01WjUx4jAg==, tarball: file:projects/pod-github.tgz} resolution: {integrity: sha512-MacXha5Tki03BvclakE7iMrCSQgSd8W5Sw6yF2sJROcwfoETEfcR54x2VVY/H3HAiMiiKrAEiHmp01WjUx4jAg==, tarball: file:projects/pod-github.tgz}
version: 0.0.0 version: 0.0.0
'@rush-temp/pod-gmail-next@file:projects/pod-gmail-next.tgz':
resolution: {integrity: sha512-SOGL4Q+xqr/Z7bWiguE451Muqh3Rj9xJs+1K1WBPgkyf+F+ESBKE4EXVDsmpmZ8Q98EH5aW3bcEXzn3skH6LcA==, tarball: file:projects/pod-gmail-next.tgz}
version: 0.0.0
'@rush-temp/pod-gmail@file:projects/pod-gmail.tgz': '@rush-temp/pod-gmail@file:projects/pod-gmail.tgz':
resolution: {integrity: sha512-mWpD7TVaoiHBcGFgqt2KoPioV7Uc/9Y7DXu3LKiwZBrUX6X+WR/77RcKq/gNGPbwNxCKOc+dDsscF5NKMhIqSg==, tarball: file:projects/pod-gmail.tgz} resolution: {integrity: sha512-mWpD7TVaoiHBcGFgqt2KoPioV7Uc/9Y7DXu3LKiwZBrUX6X+WR/77RcKq/gNGPbwNxCKOc+dDsscF5NKMhIqSg==, tarball: file:projects/pod-gmail.tgz}
version: 0.0.0 version: 0.0.0
@ -22142,6 +22149,61 @@ snapshots:
- utf-8-validate - utf-8-validate
- y-prosemirror - y-prosemirror
'@rush-temp/pod-gmail-next@file:projects/pod-gmail-next.tgz(@babel/core@7.23.9)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.23.9))(encoding@0.1.13)(gcp-metadata@5.3.0(encoding@0.1.13))(snappy@7.2.2)(socks@2.8.3)':
dependencies:
'@tsconfig/node16': 1.0.4
'@types/cors': 2.8.17
'@types/express': 4.17.21
'@types/jest': 29.5.12
'@types/node': 20.11.19
'@types/sanitize-html': 2.15.0
'@types/uuid': 8.3.4
'@typescript-eslint/eslint-plugin': 6.21.0(@typescript-eslint/parser@6.21.0(eslint@8.56.0)(typescript@5.3.3))(eslint@8.56.0)(typescript@5.7.3)
'@typescript-eslint/parser': 6.21.0(eslint@8.56.0)(typescript@5.7.3)
cors: 2.8.5
cross-env: 7.0.3
dotenv: 16.0.3
esbuild: 0.24.2
eslint: 8.56.0
eslint-config-standard-with-typescript: 40.0.0(@typescript-eslint/eslint-plugin@6.21.0(@typescript-eslint/parser@6.21.0(eslint@8.56.0)(typescript@5.3.3))(eslint@8.56.0)(typescript@5.3.3))(eslint-plugin-import@2.29.1(eslint@8.56.0))(eslint-plugin-n@15.7.0(eslint@8.56.0))(eslint-plugin-promise@6.1.1(eslint@8.56.0))(eslint@8.56.0)(typescript@5.7.3)
eslint-plugin-import: 2.29.1(eslint@8.56.0)
eslint-plugin-n: 15.7.0(eslint@8.56.0)
eslint-plugin-node: 11.1.0(eslint@8.56.0)
eslint-plugin-promise: 6.1.1(eslint@8.56.0)
express: 4.21.2
fast-equals: 5.2.2
file-api: 0.10.4
gaxios: 5.1.3(encoding@0.1.13)
google-auth-library: 8.9.0(encoding@0.1.13)
googleapis: 122.0.0(encoding@0.1.13)
jest: 29.7.0(@types/node@20.11.19)(ts-node@10.9.2(@types/node@20.11.19)(typescript@5.3.3))
jwt-simple: 0.5.6
mongodb: 6.12.0(gcp-metadata@5.3.0(encoding@0.1.13))(snappy@7.2.2)(socks@2.8.3)
prettier: 3.2.5
sanitize-html: 2.16.0
ts-jest: 29.1.2(@babel/core@7.23.9)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.23.9))(esbuild@0.24.2)(jest@29.7.0(@types/node@20.11.19)(ts-node@10.9.2(@types/node@20.11.19)(typescript@5.3.3)))(typescript@5.7.3)
ts-node: 10.9.2(@types/node@20.11.19)(typescript@5.7.3)
ts-node-dev: 2.0.0(@types/node@20.11.19)(typescript@5.7.3)
typescript: 5.7.3
uuid: 8.3.2
transitivePeerDependencies:
- '@aws-sdk/credential-providers'
- '@babel/core'
- '@jest/types'
- '@mongodb-js/zstd'
- '@swc/core'
- '@swc/wasm'
- babel-jest
- babel-plugin-macros
- encoding
- gcp-metadata
- kerberos
- mongodb-client-encryption
- node-notifier
- snappy
- socks
- supports-color
'@rush-temp/pod-gmail@file:projects/pod-gmail.tgz(@babel/core@7.23.9)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.23.9))(encoding@0.1.13)(gcp-metadata@5.3.0(encoding@0.1.13))(snappy@7.2.2)(socks@2.8.3)': '@rush-temp/pod-gmail@file:projects/pod-gmail.tgz(@babel/core@7.23.9)(@jest/types@29.6.3)(babel-jest@29.7.0(@babel/core@7.23.9))(encoding@0.1.13)(gcp-metadata@5.3.0(encoding@0.1.13))(snappy@7.2.2)(socks@2.8.3)':
dependencies: dependencies:
'@tsconfig/node16': 1.0.4 '@tsconfig/node16': 1.0.4
@ -36948,6 +37010,24 @@ snapshots:
- '@swc/wasm' - '@swc/wasm'
- '@types/node' - '@types/node'
ts-node-dev@2.0.0(@types/node@20.11.19)(typescript@5.7.3):
dependencies:
chokidar: 3.6.0
dynamic-dedupe: 0.3.0
minimist: 1.2.8
mkdirp: 1.0.4
resolve: 1.22.8
rimraf: 2.7.1
source-map-support: 0.5.21
tree-kill: 1.2.2
ts-node: 10.9.2(@types/node@20.11.19)(typescript@5.7.3)
tsconfig: 7.0.0
typescript: 5.7.3
transitivePeerDependencies:
- '@swc/core'
- '@swc/wasm'
- '@types/node'
ts-node@10.9.2(@types/node@20.11.19)(typescript@5.3.3): ts-node@10.9.2(@types/node@20.11.19)(typescript@5.3.3):
dependencies: dependencies:
'@cspotcode/source-map-support': 0.8.1 '@cspotcode/source-map-support': 0.8.1

View File

@ -2479,8 +2479,8 @@
"shouldPublish": false "shouldPublish": false
}, },
{ {
"packageName": "@hcengineering/pod-gmail-v2", "packageName": "@hcengineering/pod-gmail-next",
"projectFolder": "services/gmail/pod-gmail-v2", "projectFolder": "services/gmail/pod-gmail-next",
"shouldPublish": false "shouldPublish": false
} }
] ]

View File

@ -1,5 +1,5 @@
{ {
"name": "@hcengineering/pod-gmail-v2", "name": "@hcengineering/pod-gmail-next",
"version": "0.6.0", "version": "0.6.0",
"main": "lib/index.js", "main": "lib/index.js",
"svelte": "src/index.ts", "svelte": "src/index.ts",

View File

@ -371,7 +371,7 @@ export class GmailClient {
try { try {
this.ctx.info('Register client', { socialId: this.socialId._id, email: this.email }) this.ctx.info('Register client', { socialId: this.socialId._id, email: this.email })
const controller = GmailController.getGmailController() const controller = GmailController.getGmailController()
controller.addClient(this.socialId._id, this) controller.addClient(this.socialId._id, this.user.workspace, this)
} catch (err) { } catch (err) {
this.ctx.error('Add client error', { this.ctx.error('Add client error', {
workspaceUuid: this.user.workspace, workspaceUuid: this.user.workspace,