mirror of
https://github.com/hcengineering/platform.git
synced 2025-04-30 20:25:38 +00:00
fix schedule link text (#8216)
Signed-off-by: Nikolay Chunosov <Chunosov.N@gmail.com>
This commit is contained in:
parent
d4731a63b0
commit
7fafd3d772
@ -9,5 +9,6 @@
|
|||||||
"COLLABORATOR_URL": "wss://collaborator.hc.engineering",
|
"COLLABORATOR_URL": "wss://collaborator.hc.engineering",
|
||||||
"STATS_URL": "https://stats.hc.engineering",
|
"STATS_URL": "https://stats.hc.engineering",
|
||||||
"PRESENCE_URL": "wss://presence.hc.engineering",
|
"PRESENCE_URL": "wss://presence.hc.engineering",
|
||||||
|
"PUBLIC_SCHEDULE_URL": "http://schedule.hc.engineering",
|
||||||
"BACKUP_URL": "https://front.hc.engineering/api/backup"
|
"BACKUP_URL": "https://front.hc.engineering/api/backup"
|
||||||
}
|
}
|
@ -43,5 +43,12 @@
|
|||||||
"repository": "https://github.com/hcengineering/platform",
|
"repository": "https://github.com/hcengineering/platform",
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"registry": "https://npm.pkg.github.com"
|
"registry": "https://npm.pkg.github.com"
|
||||||
|
},
|
||||||
|
"exports": {
|
||||||
|
".": {
|
||||||
|
"types": "./types/index.d.ts",
|
||||||
|
"require": "./lib/index.js",
|
||||||
|
"import": "./lib/index.js"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -46,5 +46,12 @@
|
|||||||
"repository": "https://github.com/hcengineering/platform",
|
"repository": "https://github.com/hcengineering/platform",
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"registry": "https://npm.pkg.github.com"
|
"registry": "https://npm.pkg.github.com"
|
||||||
|
},
|
||||||
|
"exports": {
|
||||||
|
".": {
|
||||||
|
"types": "./types/index.d.ts",
|
||||||
|
"require": "./lib/index.js",
|
||||||
|
"import": "./lib/index.js"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -91,7 +91,7 @@
|
|||||||
"ScheduleNew": "Přidat rozvrh",
|
"ScheduleNew": "Přidat rozvrh",
|
||||||
"ScheduleDeleteConfirm": "Plán bude smazán. Potvrdit?",
|
"ScheduleDeleteConfirm": "Plán bude smazán. Potvrdit?",
|
||||||
"ScheduleShareLink": "Sdílet odkaz",
|
"ScheduleShareLink": "Sdílet odkaz",
|
||||||
"ScheduleSharedLinkMessage": "Sdílením tohoto odkazu umožníte ostatním zarezervovat si s vámi schůzku:</p><p><a href=\"{link}\" target=\"_blank\">{link}</a></p>",
|
"ScheduleSharedLinkMessage": "<p>Sdílením tohoto odkazu umožníte ostatním zarezervovat si s vámi schůzku:</p><p><a href=\"{link}\" target=\"_blank\">{link}</a></p>",
|
||||||
"ScheduleSharedLinkCopy": "Kopírovat odkaz",
|
"ScheduleSharedLinkCopy": "Kopírovat odkaz",
|
||||||
"ScheduleAvailability": "Dostupnost",
|
"ScheduleAvailability": "Dostupnost",
|
||||||
"ScheduleUnavailable": "Nedostupné",
|
"ScheduleUnavailable": "Nedostupné",
|
||||||
|
@ -91,7 +91,7 @@
|
|||||||
"ScheduleNew": "Zeitplan hinzufügen",
|
"ScheduleNew": "Zeitplan hinzufügen",
|
||||||
"ScheduleDeleteConfirm": "Der Zeitplan wird gelöscht. Bestätigen?",
|
"ScheduleDeleteConfirm": "Der Zeitplan wird gelöscht. Bestätigen?",
|
||||||
"ScheduleShareLink": "Link teilen",
|
"ScheduleShareLink": "Link teilen",
|
||||||
"ScheduleSharedLinkMessage": "Teilen Sie diesen Link, damit andere ein Meeting mit Ihnen buchen können:</p><p><a href=\"{link}\" target=\"_blank\">{link}</a></p>",
|
"ScheduleSharedLinkMessage": "<p>Teilen Sie diesen Link, damit andere ein Meeting mit Ihnen buchen können:</p><p><a href=\"{link}\" target=\"_blank\">{link}</a></p>",
|
||||||
"ScheduleSharedLinkCopy": "Link kopieren",
|
"ScheduleSharedLinkCopy": "Link kopieren",
|
||||||
"ScheduleAvailability": "Verfügbarkeit",
|
"ScheduleAvailability": "Verfügbarkeit",
|
||||||
"ScheduleUnavailable": "Nicht verfügbar",
|
"ScheduleUnavailable": "Nicht verfügbar",
|
||||||
|
@ -91,7 +91,7 @@
|
|||||||
"ScheduleNew": "Add schedule",
|
"ScheduleNew": "Add schedule",
|
||||||
"ScheduleDeleteConfirm": "The schedule will be deleted. Confirm?",
|
"ScheduleDeleteConfirm": "The schedule will be deleted. Confirm?",
|
||||||
"ScheduleShareLink": "Share link",
|
"ScheduleShareLink": "Share link",
|
||||||
"ScheduleSharedLinkMessage": "Share this link to allow others to book a meeting with you:</p><p><a href=\"{link}\" target=\"_blank\">{link}</a></p>",
|
"ScheduleSharedLinkMessage": "<p>Share this link to allow others to book a meeting with you:</p><p><a href=\"{link}\" target=\"_blank\">{link}</a></p>",
|
||||||
"ScheduleSharedLinkCopy": "Copy link",
|
"ScheduleSharedLinkCopy": "Copy link",
|
||||||
"ScheduleAvailability": "Availability",
|
"ScheduleAvailability": "Availability",
|
||||||
"ScheduleUnavailable": "Unavailable",
|
"ScheduleUnavailable": "Unavailable",
|
||||||
|
@ -91,7 +91,7 @@
|
|||||||
"ScheduleNew": "Agregar programa",
|
"ScheduleNew": "Agregar programa",
|
||||||
"ScheduleDeleteConfirm": "Se eliminará el programa. ¿Confirmar?",
|
"ScheduleDeleteConfirm": "Se eliminará el programa. ¿Confirmar?",
|
||||||
"ScheduleShareLink": "Compartir enlace",
|
"ScheduleShareLink": "Compartir enlace",
|
||||||
"ScheduleSharedLinkMessage": "Comparte este enlace para permitir que otros reserven una reunión contigo:</p><p><a href=\"{link}\" target=\"_blank\">{link}</a></p>",
|
"ScheduleSharedLinkMessage": "<p>Comparte este enlace para permitir que otros reserven una reunión contigo:</p><p><a href=\"{link}\" target=\"_blank\">{link}</a></p>",
|
||||||
"ScheduleSharedLinkCopy": "Copiar enlace",
|
"ScheduleSharedLinkCopy": "Copiar enlace",
|
||||||
"ScheduleAvailability": "Disponibilidad",
|
"ScheduleAvailability": "Disponibilidad",
|
||||||
"ScheduleUnavailable": "No disponible",
|
"ScheduleUnavailable": "No disponible",
|
||||||
|
@ -91,7 +91,7 @@
|
|||||||
"ScheduleNew": "Ajouter un calendrier",
|
"ScheduleNew": "Ajouter un calendrier",
|
||||||
"ScheduleDeleteConfirm": "Le calendrier sera supprimé. Confirmer ?",
|
"ScheduleDeleteConfirm": "Le calendrier sera supprimé. Confirmer ?",
|
||||||
"ScheduleShareLink": "Partager le lien",
|
"ScheduleShareLink": "Partager le lien",
|
||||||
"ScheduleSharedLinkMessage": "Partager ce lien pour permettre à d'autres personnes de réserver une réunion avec vous :</p><p><a href=\"{link}\" target=\"_blank\">{link}</a></p>",
|
"ScheduleSharedLinkMessage": "<p>Partager ce lien pour permettre à d'autres personnes de réserver une réunion avec vous :</p><p><a href=\"{link}\" target=\"_blank\">{link}</a></p>",
|
||||||
"ScheduleSharedLinkCopy": "Copier le lien",
|
"ScheduleSharedLinkCopy": "Copier le lien",
|
||||||
"ScheduleAvailability": "Disponibilité",
|
"ScheduleAvailability": "Disponibilité",
|
||||||
"ScheduleUnavailable": "Indisponible",
|
"ScheduleUnavailable": "Indisponible",
|
||||||
|
@ -91,7 +91,7 @@
|
|||||||
"ScheduleNew": "Aggiungi programma",
|
"ScheduleNew": "Aggiungi programma",
|
||||||
"ScheduleDeleteConfirm": "Il programma verrà eliminato. Confermare?",
|
"ScheduleDeleteConfirm": "Il programma verrà eliminato. Confermare?",
|
||||||
"ScheduleShareLink": "Condividi link",
|
"ScheduleShareLink": "Condividi link",
|
||||||
"ScheduleSharedLinkMessage": "Condividi questo link per consentire ad altri di prenotare una riunione con te:</p><p><a href=\"{link}\" target=\"_blank\">{link}</a></p>",
|
"ScheduleSharedLinkMessage": "<p>Condividi questo link per consentire ad altri di prenotare una riunione con te:</p><p><a href=\"{link}\" target=\"_blank\">{link}</a></p>",
|
||||||
"ScheduleSharedLinkCopy": "Copia link",
|
"ScheduleSharedLinkCopy": "Copia link",
|
||||||
"ScheduleAvailability": "Disponibilità",
|
"ScheduleAvailability": "Disponibilità",
|
||||||
"ScheduleUnavailable": "Non disponibile",
|
"ScheduleUnavailable": "Non disponibile",
|
||||||
|
@ -91,7 +91,7 @@
|
|||||||
"ScheduleNew": "Adicionar agenda",
|
"ScheduleNew": "Adicionar agenda",
|
||||||
"ScheduleDeleteConfirm": "A agenda será eliminada. Confirma?",
|
"ScheduleDeleteConfirm": "A agenda será eliminada. Confirma?",
|
||||||
"ScheduleShareLink": "Partilhar link",
|
"ScheduleShareLink": "Partilhar link",
|
||||||
"ScheduleSharedLinkMessage": "Partilhe este link para permitir que outras pessoas agendem uma reunião consigo:</p><p><a href=\"{link}\" ></p>",
|
"ScheduleSharedLinkMessage": "<p>Partilhe este link para permitir que outras pessoas agendem uma reunião consigo:</p><p><a href=\"{link}\" ></p>",
|
||||||
"ScheduleSharedLinkCopy": "Copiar link",
|
"ScheduleSharedLinkCopy": "Copiar link",
|
||||||
"ScheduleAvailability": "Disponibilidade",
|
"ScheduleAvailability": "Disponibilidade",
|
||||||
"ScheduleUnavailable": "Indisponível",
|
"ScheduleUnavailable": "Indisponível",
|
||||||
|
@ -91,7 +91,7 @@
|
|||||||
"ScheduleNew": "Добавить расписание",
|
"ScheduleNew": "Добавить расписание",
|
||||||
"ScheduleDeleteConfirm": "Расписание будет удалено. Подтвердить?",
|
"ScheduleDeleteConfirm": "Расписание будет удалено. Подтвердить?",
|
||||||
"ScheduleShareLink": "Поделиться ссылкой",
|
"ScheduleShareLink": "Поделиться ссылкой",
|
||||||
"ScheduleSharedLinkMessage": "Поделитесь этой ссылкой, чтобы другие могли записаться на встречу с вами:</p><p><a href=\"{link}\" target=\"_blank\">{link}</a></p>",
|
"ScheduleSharedLinkMessage": "<p>Поделитесь этой ссылкой, чтобы другие могли записаться на встречу с вами:</p><p><a href=\"{link}\" target=\"_blank\">{link}</a></p>",
|
||||||
"ScheduleSharedLinkCopy": "Копировать ссылку",
|
"ScheduleSharedLinkCopy": "Копировать ссылку",
|
||||||
"ScheduleAvailability": "Доступность",
|
"ScheduleAvailability": "Доступность",
|
||||||
"ScheduleUnavailable": "Недоступно",
|
"ScheduleUnavailable": "Недоступно",
|
||||||
|
@ -91,7 +91,7 @@
|
|||||||
"ScheduleNew": "添加日程表",
|
"ScheduleNew": "添加日程表",
|
||||||
"ScheduleDeleteConfirm": "日程表将被删除。确认吗?",
|
"ScheduleDeleteConfirm": "日程表将被删除。确认吗?",
|
||||||
"ScheduleShareLink": "共享链接",
|
"ScheduleShareLink": "共享链接",
|
||||||
"ScheduleSharedLinkMessage": "共享此链接以允许其他人与您预约会议: </p><p><a href=\"{link}\" target=\"_blank\">{link</a></p>",
|
"ScheduleSharedLinkMessage": "<p>共享此链接以允许其他人与您预约会议: </p><p><a href=\"{link}\" target=\"_blank\">{link</a></p>",
|
||||||
"ScheduleSharedLinkCopy": "复制链接",
|
"ScheduleSharedLinkCopy": "复制链接",
|
||||||
"ScheduleAvailability": "可用性",
|
"ScheduleAvailability": "可用性",
|
||||||
"ScheduleUnavailable": "不可用",
|
"ScheduleUnavailable": "不可用",
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
import core, {
|
import core, {
|
||||||
|
generateId,
|
||||||
TxProcessor,
|
TxProcessor,
|
||||||
type Class,
|
type Class,
|
||||||
type Doc,
|
type Doc,
|
||||||
@ -242,6 +243,14 @@ export function registerRPC (
|
|||||||
await sendJson(req, res, result)
|
await sendJson(req, res, result)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
// To use in non-js (rust) clients that can't link to @hcengineering/core
|
||||||
|
app.get('/api/v1/generate-id/:workspaceId', (req, res) => {
|
||||||
|
void withSession(req, res, async () => {
|
||||||
|
const result = { id: generateId() }
|
||||||
|
await sendJson(req, res, result)
|
||||||
|
})
|
||||||
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
function createClosingSocket (rawToken: string, rpcSessions: Map<string, RPCClientInfo>): ConnectionSocket {
|
function createClosingSocket (rawToken: string, rpcSessions: Map<string, RPCClientInfo>): ConnectionSocket {
|
||||||
|
Loading…
Reference in New Issue
Block a user