Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

This file was deleted.

10 changes: 0 additions & 10 deletions common/changes/@hcengineering/core/fix-clone_2026-01-13-06-37.json

This file was deleted.

938 changes: 507 additions & 431 deletions common/config/rush/pnpm-lock.yaml

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions common/scripts/package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"name": "@hcengineering/scripts",
"version": "0.7.17",
"version": "0.7.18",
"scripts": {
"format": "echo \"No format specified\""
},
"devDependencies": {
"@hcengineering/platform-rig": "^0.7.19",
"@hcengineering/platform-rig": "^0.7.21",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-promise": "^6.1.1",
Expand Down
17 changes: 17 additions & 0 deletions packages/account-client/CHANGELOG.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,23 @@
{
"name": "@hcengineering/account-client",
"entries": [
{
"version": "0.7.22",
"tag": "@hcengineering/account-client_v0.7.22",
"date": "Sun, 22 Feb 2026 06:34:18 GMT",
"comments": {
"patch": [
{
"comment": "Add permission methods"
}
],
"dependency": [
{
"comment": "Updating dependency \"@hcengineering/core\" from `^0.7.24` to `0.7.26`"
}
]
}
},
{
"version": "0.7.20",
"tag": "@hcengineering/account-client_v0.7.20",
Expand Down
9 changes: 8 additions & 1 deletion packages/account-client/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# Change Log - @hcengineering/account-client

This log was last generated on Wed, 26 Nov 2025 15:28:11 GMT and should not be manually modified.
This log was last generated on Sun, 22 Feb 2026 06:34:18 GMT and should not be manually modified.

## 0.7.22
Sun, 22 Feb 2026 06:34:18 GMT

### Patches

- Add permission methods

## 0.7.20
Wed, 26 Nov 2025 15:28:11 GMT
Expand Down
14 changes: 7 additions & 7 deletions packages/account-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hcengineering/account-client",
"version": "0.7.21",
"version": "0.7.25",
"main": "lib/index.js",
"svelte": "src/index.ts",
"types": "types/index.d.ts",
Expand All @@ -25,26 +25,26 @@
},
"devDependencies": {
"cross-env": "~7.0.3",
"@hcengineering/platform-rig": "^0.7.19",
"@types/node": "^22.15.29",
"@hcengineering/platform-rig": "^0.7.21",
"@types/node": "^22.18.1",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-n": "^15.4.0",
"eslint": "^8.54.0",
"esbuild": "^0.25.9",
"esbuild": "^0.25.10",
"@typescript-eslint/parser": "^6.21.0",
"eslint-config-standard-with-typescript": "^40.0.0",
"prettier": "^3.1.0",
"prettier": "^3.6.2",
"typescript": "^5.9.3",
"jest": "^29.7.0",
"ts-jest": "^29.1.1",
"@types/jest": "^29.5.5",
"eslint-plugin-svelte": "^2.35.1"
},
"dependencies": {
"@hcengineering/core": "workspace:^0.7.24",
"@hcengineering/platform": "workspace:^0.7.19"
"@hcengineering/core": "workspace:^0.7.26",
"@hcengineering/platform": "workspace:^0.7.20"
},
"repository": "https://github.com/hcengineering/huly.core",
"publishConfig": {
Expand Down
21 changes: 21 additions & 0 deletions packages/account-client/src/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ import type {
LoginInfo,
LoginInfoByToken,
LoginInfoRequestData,
InviteInfo,
LoginInfoWithWorkspaces,
MailboxInfo,
MailboxOptions,
Expand Down Expand Up @@ -124,7 +125,9 @@ export interface AccountClient {
}
) => Promise<string>
checkJoin: (inviteId: string) => Promise<WorkspaceLoginInfo>
joinByToken: (inviteId: string) => Promise<WorkspaceLoginInfo>
checkAutoJoin: (inviteId: string, firstName?: string, lastName?: string) => Promise<WorkspaceLoginInfo>
getInviteInfo: (inviteId: string) => Promise<InviteInfo>
getWorkspaceInfo: (updateLastVisit?: boolean) => Promise<WorkspaceInfoWithStatus>
getWorkspacesInfo: (workspaces: WorkspaceUuid[]) => Promise<WorkspaceInfoWithStatus[]>
updateLastVisit: (workspaces: WorkspaceUuid[]) => Promise<void>
Expand Down Expand Up @@ -577,6 +580,15 @@ class AccountClientImpl implements AccountClient {
return await this.rpc(request)
}

async joinByToken (inviteId: string): Promise<WorkspaceLoginInfo> {
const request = {
method: 'joinByToken' as const,
params: { inviteId }
}

return await this.rpc(request)
}

async checkAutoJoin (inviteId: string, firstName?: string, lastName?: string): Promise<WorkspaceLoginInfo> {
const request = {
method: 'checkAutoJoin' as const,
Expand All @@ -586,6 +598,15 @@ class AccountClientImpl implements AccountClient {
return await this.rpc(request)
}

async getInviteInfo (inviteId: string): Promise<InviteInfo> {
const request = {
method: 'getInviteInfo' as const,
params: { inviteId }
}

return await this.rpc(request)
}

async getWorkspacesInfo (ids: WorkspaceUuid[]): Promise<WorkspaceInfoWithStatus[]> {
const request = {
method: 'getWorkspacesInfo' as const,
Expand Down
5 changes: 5 additions & 0 deletions packages/account-client/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,11 @@ export interface WorkspaceInviteInfo {
name?: string
}

/** Public invite details from getInviteInfo (no auth required). */
export interface InviteInfo {
workspaceName: string | null
}

export interface OtpInfo {
sent: boolean
retryOn: Timestamp
Expand Down
14 changes: 7 additions & 7 deletions packages/analytics-service/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hcengineering/analytics-service",
"version": "0.7.17",
"version": "0.7.18",
"main": "lib/index.js",
"svelte": "src/index.ts",
"types": "types/index.d.ts",
Expand All @@ -24,26 +24,26 @@
"_phase:validate": "compile validate"
},
"devDependencies": {
"@hcengineering/platform-rig": "^0.7.19",
"@hcengineering/platform-rig": "^0.7.21",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-n": "^15.4.0",
"eslint": "^8.54.0",
"@typescript-eslint/parser": "^6.21.0",
"eslint-config-standard-with-typescript": "^40.0.0",
"prettier": "^3.1.0",
"prettier": "^3.6.2",
"typescript": "^5.9.3",
"jest": "^29.7.0",
"ts-jest": "^29.1.1",
"@types/jest": "^29.5.5",
"eslint-plugin-svelte": "^2.35.1"
},
"dependencies": {
"@hcengineering/platform": "workspace:^0.7.19",
"@hcengineering/core": "workspace:^0.7.24",
"@hcengineering/analytics": "workspace:^0.7.17",
"@hcengineering/measurements-otlp": "workspace:^0.7.17",
"@hcengineering/platform": "workspace:^0.7.20",
"@hcengineering/core": "workspace:^0.7.26",
"@hcengineering/analytics": "workspace:^0.7.19",
"@hcengineering/measurements-otlp": "workspace:^0.7.18",
"winston": "^3.11.0",
"winston-daily-rotate-file": "^5.0.0"
},
Expand Down
8 changes: 4 additions & 4 deletions packages/analytics/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hcengineering/analytics",
"version": "0.7.17",
"version": "0.7.19",
"main": "lib/index.js",
"svelte": "src/index.ts",
"types": "types/index.d.ts",
Expand All @@ -24,23 +24,23 @@
"_phase:validate": "compile validate"
},
"devDependencies": {
"@hcengineering/platform-rig": "^0.7.19",
"@hcengineering/platform-rig": "^0.7.21",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-n": "^15.4.0",
"eslint": "^8.54.0",
"@typescript-eslint/parser": "^6.21.0",
"eslint-config-standard-with-typescript": "^40.0.0",
"prettier": "^3.1.0",
"prettier": "^3.6.2",
"typescript": "^5.9.3",
"jest": "^29.7.0",
"ts-jest": "^29.1.1",
"@types/jest": "^29.5.5",
"eslint-plugin-svelte": "^2.35.1"
},
"dependencies": {
"@hcengineering/platform": "workspace:^0.7.19"
"@hcengineering/platform": "workspace:^0.7.20"
},
"repository": "https://github.com/hcengineering/huly.core",
"publishConfig": {
Expand Down
26 changes: 13 additions & 13 deletions packages/api-client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hcengineering/api-client",
"version": "0.7.18",
"version": "0.7.19",
"main": "lib/index.js",
"exports": {
".": {
Expand Down Expand Up @@ -32,34 +32,34 @@
"_phase:validate": "compile validate"
},
"devDependencies": {
"@hcengineering/platform-rig": "^0.7.19",
"@hcengineering/platform-rig": "^0.7.21",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-n": "^15.4.0",
"eslint": "^8.54.0",
"@typescript-eslint/parser": "^6.21.0",
"eslint-config-standard-with-typescript": "^40.0.0",
"prettier": "^3.1.0",
"prettier": "^3.6.2",
"typescript": "^5.9.3",
"jest": "^29.7.0",
"ts-jest": "^29.1.1",
"ts-node": "^10.8.0",
"@types/node": "^22.15.29",
"ts-node": "^10.9.2",
"@types/node": "^22.18.1",
"@types/jest": "^29.5.5",
"@types/ws": "^8.5.12",
"@types/snappyjs": "^0.7.1",
"eslint-plugin-svelte": "^2.35.1"
},
"dependencies": {
"@hcengineering/account-client": "workspace:^0.7.21",
"@hcengineering/client": "workspace:^0.7.18",
"@hcengineering/client-resources": "workspace:^0.7.18",
"@hcengineering/collaborator-client": "workspace:^0.7.17",
"@hcengineering/core": "workspace:^0.7.24",
"@hcengineering/platform": "workspace:^0.7.19",
"@hcengineering/text": "workspace:^0.7.18",
"@hcengineering/text-markdown": "workspace:^0.7.20",
"@hcengineering/account-client": "workspace:^0.7.25",
"@hcengineering/client": "workspace:^0.7.19",
"@hcengineering/client-resources": "workspace:^0.7.19",
"@hcengineering/collaborator-client": "workspace:^0.7.18",
"@hcengineering/core": "workspace:^0.7.26",
"@hcengineering/platform": "workspace:^0.7.20",
"@hcengineering/text": "workspace:^0.7.19",
"@hcengineering/text-markdown": "workspace:^0.7.21",
"snappyjs": "^0.7.0"
},
"repository": "https://github.com/hcengineering/huly.core",
Expand Down
18 changes: 9 additions & 9 deletions packages/client-resources/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hcengineering/client-resources",
"version": "0.7.18",
"version": "0.7.19",
"main": "lib/index.js",
"svelte": "src/index.ts",
"types": "types/index.d.ts",
Expand All @@ -24,31 +24,31 @@
"_phase:validate": "compile validate"
},
"devDependencies": {
"@hcengineering/platform-rig": "^0.7.19",
"@hcengineering/platform-rig": "^0.7.21",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-n": "^15.4.0",
"eslint": "^8.54.0",
"@typescript-eslint/parser": "^6.21.0",
"eslint-config-standard-with-typescript": "^40.0.0",
"prettier": "^3.1.0",
"prettier": "^3.6.2",
"typescript": "^5.9.3",
"jest": "^29.7.0",
"ts-jest": "^29.1.1",
"@types/jest": "^29.5.5",
"@types/snappyjs": "^0.7.1",
"@types/node": "^22.15.29",
"@types/node": "^22.18.1",
"ws": "^8.18.2",
"@types/ws": "^8.5.12",
"eslint-plugin-svelte": "^2.35.1"
},
"dependencies": {
"@hcengineering/analytics": "workspace:^0.7.17",
"@hcengineering/client": "workspace:^0.7.18",
"@hcengineering/core": "workspace:^0.7.24",
"@hcengineering/platform": "workspace:^0.7.19",
"@hcengineering/rpc": "workspace:^0.7.17",
"@hcengineering/analytics": "workspace:^0.7.19",
"@hcengineering/client": "workspace:^0.7.19",
"@hcengineering/core": "workspace:^0.7.26",
"@hcengineering/platform": "workspace:^0.7.20",
"@hcengineering/rpc": "workspace:^0.7.18",
"snappyjs": "^0.7.0"
},
"repository": "https://github.com/hcengineering/huly.core",
Expand Down
Loading