mirror of
https://github.com/hcengineering/platform.git
synced 2025-01-08 21:27:45 +03:00
checkpoint
Signed-off-by: Andrey Platov <andrey@hardcoreeng.com>
This commit is contained in:
parent
cb0a61cf6e
commit
00f694f906
5
common/config/rush/pnpm-lock.yaml
generated
5
common/config/rush/pnpm-lock.yaml
generated
@ -9513,7 +9513,7 @@ packages:
|
||||
dev: false
|
||||
|
||||
file:projects/server.tgz_6c259fadfeb3a4b20890aefe87070b8b:
|
||||
resolution: {integrity: sha512-FGh0R+fgnIuNcoSfPKeIXVZuNrlspS3l7hwwb/pJbyHQ/ao/mETg/xyDtFO53czcAIPCYt43i/de/OOGF0j3Lw==, tarball: file:projects/server.tgz}
|
||||
resolution: {integrity: sha512-Bpc8oo27XWe+uKFoDgS9nnkZF4A9rzcNq/IB1M6u0V4HUOfA/HW8XrdJ3Y2heEWev4B9CGuJ0j6QWq6Usm8lHg==, tarball: file:projects/server.tgz}
|
||||
id: file:projects/server.tgz
|
||||
name: '@rush-temp/server'
|
||||
version: 0.0.0
|
||||
@ -9526,7 +9526,10 @@ packages:
|
||||
eslint-plugin-import: 2.23.4_eslint@7.32.0
|
||||
eslint-plugin-node: 11.1.0_eslint@7.32.0
|
||||
eslint-plugin-promise: 4.3.1
|
||||
ts-node: 10.2.1_c780171742f6906a053a603dfa210a4e
|
||||
transitivePeerDependencies:
|
||||
- '@swc/core'
|
||||
- '@swc/wasm'
|
||||
- '@typescript-eslint/parser'
|
||||
- supports-color
|
||||
- typescript
|
||||
|
@ -4,5 +4,3 @@ ACCOUNTS_URL=/account
|
||||
UPLOAD_URL=/upload
|
||||
LOGIN_TOKEN=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJlbWFpbCI6InJvc2FtdW5kQGhjLmVuZ2luZWVyaW5nIiwid29ya3NwYWNlIjoid3MxIn0.crxqT7QUkpZiTmmxouB40LpMwK2CfTf76XqPFWIMyic
|
||||
LOGIN_ENDPOINT=ws://localhost:3333
|
||||
|
||||
X=ZfVAdSSnw9myvd70
|
||||
|
@ -19,8 +19,8 @@
|
||||
.container {
|
||||
user-select: none;
|
||||
span {
|
||||
margin-left: .75rem;
|
||||
font-size: .75rem;
|
||||
margin-left: .75em;
|
||||
font-size: .75em;
|
||||
color: var(--theme-content-accent-color);
|
||||
}
|
||||
}
|
||||
|
@ -67,6 +67,7 @@ class MongoStorage implements ServerStorage {
|
||||
options?: FindOptions<T>
|
||||
): Promise<FindResult<T>> {
|
||||
const domain = this.hierarchy.getDomain(_class)
|
||||
console.log('findAll', _class, domain, query)
|
||||
if (domain === DOMAIN_MODEL) return await this.modeldb.findAll(_class, query, options)
|
||||
return await this.db.collection(domain).find<T>(translateQuery(query)).toArray()
|
||||
}
|
||||
|
@ -5,6 +5,7 @@
|
||||
"author": "Anticrm Platform Contributors",
|
||||
"license": "EPL-2.0",
|
||||
"scripts": {
|
||||
"start": "ts-node src/__start.ts",
|
||||
"build": "heft build",
|
||||
"lint:fix": "eslint --fix src"
|
||||
},
|
||||
@ -17,7 +18,8 @@
|
||||
"eslint-plugin-promise":"4",
|
||||
"eslint-plugin-node":"11",
|
||||
"eslint":"^7.32.0",
|
||||
"@types/ws":"^7.4.7"
|
||||
"@types/ws":"^7.4.7",
|
||||
"ts-node":"^10.2.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"@anticrm/core": "~0.6.10",
|
||||
|
Loading…
Reference in New Issue
Block a user