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