Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
BykhovDenis committed Aug 8, 2024
2 parents ee49238 + 73cc6b8 commit 6ae1289
Show file tree
Hide file tree
Showing 57 changed files with 1,842 additions and 196 deletions.
7 changes: 4 additions & 3 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@
"name": "Debug tool upgrade",
"type": "node",
"request": "launch",
"args": ["src/__start.ts", "upgrade-workspace", "platform"],
"args": ["src/__start.ts", "stress", "ws://localhost:3333", "wrong"],
"env": {
"SERVER_SECRET": "secret",
"MINIO_ACCESS_KEY": "minioadmin",
Expand All @@ -203,6 +203,7 @@
},
"runtimeArgs": ["--nolazy", "-r", "ts-node/register"],
"sourceMaps": true,
"outputCapture": "std",
"cwd": "${workspaceRoot}/dev/tool"
},
{
Expand Down Expand Up @@ -244,7 +245,7 @@
"MINIO_ACCESS_KEY": "minioadmin",
"MINIO_SECRET_KEY": "minioadmin",
"FRONT_URL": "http://localhost:8080",
"PORT": "3500",
"PORT": "3500"
},
"runtimeArgs": ["--nolazy", "-r", "ts-node/register"],
"sourceMaps": true,
Expand Down Expand Up @@ -299,7 +300,7 @@
"MONGO_URL": "mongodb://localhost:27017",
"MINIO_ENDPOINT": "localhost",
"MINIO_ACCESS_KEY": "minioadmin",
"MINIO_SECRET_KEY": "minioadmin",
"MINIO_SECRET_KEY": "minioadmin"
},
"runtimeArgs": ["--nolazy", "-r", "ts-node/register"],
"runtimeVersion": "20",
Expand Down
165 changes: 144 additions & 21 deletions common/config/rush/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions desktop/src/ui/platform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ export async function configurePlatform (): Promise<void> {
setMetadata(presentation.metadata.FrontVersion, config.VERSION)
}
setMetadata(telegram.metadata.TelegramURL, config.TELEGRAM_URL ?? 'http://localhost:8086')
setMetadata(telegram.metadata.BotUrl, config.TELEGRAM_BOT_URL)
setMetadata(gmail.metadata.GmailURL, config.GMAIL_URL ?? 'http://localhost:8087')
setMetadata(calendar.metadata.CalendarServiceURL, config.CALENDAR_URL ?? 'http://localhost:8095')
setMetadata(notification.metadata.PushPublicKey, config.PUSH_PUBLIC_KEY)
Expand Down
1 change: 1 addition & 0 deletions desktop/src/ui/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ export interface Config {
PREVIEW_CONFIG: string
DESKTOP_UPDATES_URL?: string
DESKTOP_UPDATES_CHANNEL?: string
TELEGRAM_BOT_URL?: string
}

export interface Branding {
Expand Down
4 changes: 2 additions & 2 deletions dev/doc-import-tool/src/extract/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ const metadataTableCell = z.object({
col: z.number().min(0),
slice: z
.object({
start: z.number().min(0).optional(),
end: z.number().min(0).optional()
start: z.number().optional(),
end: z.number().optional()
})
.optional()
})
Expand Down
Loading

0 comments on commit 6ae1289

Please sign in to comment.