From bf9f479500a74559d0f44026b27d44a4da2fe68d Mon Sep 17 00:00:00 2001 From: Andrey Platov <87076238+aplatoff@users.noreply.github.com> Date: Wed, 15 Sep 2021 19:03:34 +0200 Subject: [PATCH] Rework Attachments as a bag (#193) Signed-off-by: Andrey Platov --- deploy/README.md | 2 +- dev/prod/.env | 2 +- dev/server/src/__start.ts | 2 +- dev/storage/src/model.tx.json | 499 +++++++++--------- dev/tool/src/model.tx.json | 499 +++++++++--------- models/chunter/src/index.ts | 8 +- models/core/src/index.ts | 3 +- models/core/src/tx.ts | 11 +- models/demo/src/index.ts | 6 +- models/recruit/src/index.ts | 24 +- packages/core/src/component.ts | 3 +- packages/core/src/tx.ts | 2 +- packages/model/src/dsl.ts | 7 + packages/query/src/index.ts | 18 +- packages/ui/src/index.ts | 1 + plugins/chunter/src/index.ts | 5 +- .../src/components/PersonPresenter.svelte | 2 +- .../src/components/Attachments.svelte | 39 +- .../src/components/CreateCandidate.svelte | 74 +-- .../src/components/EditCandidate.svelte | 16 +- plugins/recruit-resources/src/utils.ts | 9 +- plugins/recruit/src/index.ts | 4 +- server/core/src/fulltext.ts | 4 +- server/core/src/types.ts | 2 +- server/mongo/src/storage.ts | 9 +- server/upload/src/app.ts | 6 +- server/workspace/src/model.tx.json | 499 +++++++++--------- 27 files changed, 923 insertions(+), 833 deletions(-) diff --git a/deploy/README.md b/deploy/README.md index a1929f8464..ec4b7cdcfb 100644 --- a/deploy/README.md +++ b/deploy/README.md @@ -1,2 +1,2 @@ -helm upgrade dev --set master.persistence.size=10Gi,data.persistence.size=10Gi,image.repository=anticrm/elasticsearch,ingest.enabled=true,data.heapSize=4096m,master.heapSize=256m,coordinating.heapSize=256m bitnami/elasticsearch +helm upgrade dev --set master.persistence.size=10Gi,data.persistence.size=10Gi,image.repository=anticrm/elasticsearch,ingest.enabled=true,data.heapSize=8192m,master.heapSize=1024m,coordinating.heapSize=1024m bitnami/elasticsearch diff --git a/dev/prod/.env b/dev/prod/.env index e445a057d6..fbc8053278 100644 --- a/dev/prod/.env +++ b/dev/prod/.env @@ -2,6 +2,6 @@ CLIENT_TYPE=dev ACCOUNTS_URL=/account UPLOAD_URL=/upload -LOGIN_TOKEN=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJlbWFpbCI6InJvc2FtdW5kQGhjLmVuZ2luZWVyaW5nIiwid29ya3NwYWNlIjoid3MxIn0.crxqT7QUkpZiTmmxouB40LpMwK2CfTf76XqPFWIMyic +LOGIN_TOKEN=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJlbWFpbCI6InJvc2FtdW5kQGhjLmVuZ2luZWVyaW5nIiwid29ya3NwYWNlIjoidHJ4NDAifQ.dYsCF2VRbuc-zmRt0yLAww1_--xtX4P1EqPFREEzCjQ # LOGIN_ENDPOINT=ws://localhost:3333 LOGIN_ENDPOINT=wss://transactor.hc.engineering/ diff --git a/dev/server/src/__start.ts b/dev/server/src/__start.ts index 66b8f8edb0..20f04a2570 100644 --- a/dev/server/src/__start.ts +++ b/dev/server/src/__start.ts @@ -18,7 +18,7 @@ import { start } from '.' import { encode } from 'jwt-simple' -const token = encode({ email: 'rosamund@hc.engineering', workspace: 'ws1' }, 'secret') +const token = encode({ email: 'rosamund@hc.engineering', workspace: 'trx40' }, 'secret') console.log(token) // eslint-disable-next-line @typescript-eslint/no-floating-promises diff --git a/dev/storage/src/model.tx.json b/dev/storage/src/model.tx.json index c32abbddb9..eee52fdbc7 100644 --- a/dev/storage/src/model.tx.json +++ b/dev/storage/src/model.tx.json @@ -1,25 +1,25 @@ [ { - "_id": "61408c52aa949c71bfcfb1d8", + "_id": "61420078c479b5c209a22342", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "core:class:Obj", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448000, "modifiedBy": "core:account:System", "attributes": { "kind": 0 } }, { - "_id": "61408c52aa949c71bfcfb1d9", + "_id": "61420078c479b5c209a22343", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "core:class:Doc", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448000, "modifiedBy": "core:account:System", "attributes": { "kind": 0, @@ -27,13 +27,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb1da", + "_id": "61420078c479b5c209a22344", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "core:class:State", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448000, "modifiedBy": "core:account:System", "attributes": { "domain": "state", @@ -42,13 +42,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb1db", + "_id": "61420078c479b5c209a22345", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "core:class:Type", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448000, "modifiedBy": "core:account:System", "attributes": { "kind": 0, @@ -56,13 +56,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb1dc", + "_id": "61420078c479b5c209a22346", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "core:class:TypeString", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448000, "modifiedBy": "core:account:System", "attributes": { "kind": 0, @@ -70,13 +70,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb1dd", + "_id": "61420078c479b5c209a22347", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "core:class:Attribute", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448000, "modifiedBy": "core:account:System", "attributes": { "kind": 0, @@ -84,13 +84,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb1de", + "_id": "61420078c479b5c209a22348", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "core:class:Account", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448000, "modifiedBy": "core:account:System", "attributes": { "domain": "model", @@ -99,13 +99,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb1df", + "_id": "61420078c479b5c209a22349", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "core:class:Space", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448000, "modifiedBy": "core:account:System", "attributes": { "domain": "model", @@ -114,13 +114,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb1e0", + "_id": "61420078c479b5c209a2234a", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "core:class:Tx", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448000, "modifiedBy": "core:account:System", "attributes": { "domain": "tx", @@ -129,13 +129,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb1e1", + "_id": "61420078c479b5c209a2234b", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "core:class:TxCUD", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448000, "modifiedBy": "core:account:System", "attributes": { "kind": 0, @@ -143,13 +143,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb1e2", + "_id": "61420078c479b5c209a2234c", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "core:class:TxUpdateDoc", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448000, "modifiedBy": "core:account:System", "attributes": { "kind": 0, @@ -157,13 +157,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb1e3", + "_id": "61420078c479b5c209a2234d", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "core:class:TxMixin", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448000, "modifiedBy": "core:account:System", "attributes": { "kind": 0, @@ -171,13 +171,27 @@ } }, { - "_id": "61408c52aa949c71bfcfb1e4", + "_id": "61420078c479b5c209a2234e", + "_class": "core:class:TxCreateDoc", + "space": "core:space:Tx", + "objectId": "core:class:TxPutBag", + "objectClass": "core:class:Class", + "objectSpace": "core:space:Model", + "modifiedOn": 1631715448000, + "modifiedBy": "core:account:System", + "attributes": { + "kind": 0, + "extends": "core:class:TxCUD" + } + }, + { + "_id": "61420078c479b5c209a2234f", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "core:class:TxCreateDoc", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448000, "modifiedBy": "core:account:System", "attributes": { "kind": 0, @@ -185,13 +199,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb1e5", + "_id": "61420078c479b5c209a22350", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "core:class:Class", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448000, "modifiedBy": "core:account:System", "attributes": { "domain": "model", @@ -200,13 +214,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb1e6", + "_id": "61420078c479b5c209a22351", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "core:class:Mixin", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448000, "modifiedBy": "core:account:System", "attributes": { "kind": 0, @@ -214,13 +228,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb1e7", + "_id": "61420078c479b5c209a22352", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "view:class:Viewlet", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448000, "modifiedBy": "core:account:System", "attributes": { "domain": "model", @@ -229,13 +243,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb1e8", + "_id": "61420078c479b5c209a22353", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "view:class:ViewletDescriptor", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448000, "modifiedBy": "core:account:System", "attributes": { "domain": "model", @@ -244,13 +258,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb1e9", + "_id": "61420078c479b5c209a22354", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "view:mixin:ObjectEditor", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448000, "modifiedBy": "core:account:System", "attributes": { "kind": 0, @@ -258,13 +272,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb1ea", + "_id": "61420078c479b5c209a22355", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "view:mixin:KanbanCard", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448000, "modifiedBy": "core:account:System", "attributes": { "kind": 0, @@ -272,13 +286,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb1eb", + "_id": "61420078c479b5c209a22356", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "view:mixin:AttributePresenter", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448000, "modifiedBy": "core:account:System", "attributes": { "kind": 0, @@ -286,13 +300,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb1ec", + "_id": "61420078c479b5c209a22357", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "view:mixin:AttributeEditor", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448000, "modifiedBy": "core:account:System", "attributes": { "kind": 0, @@ -300,11 +314,11 @@ } }, { - "_id": "61408c52aa949c71bfcfb1ed", + "_id": "61420078c479b5c209a22358", "_class": "core:class:TxMixin", "space": "core:space:Tx", "modifiedBy": "core:account:System", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448000, "objectId": "core:class:TypeString", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", @@ -314,11 +328,11 @@ } }, { - "_id": "61408c52aa949c71bfcfb1ee", + "_id": "61420078c479b5c209a22359", "_class": "core:class:TxMixin", "space": "core:space:Tx", "modifiedBy": "core:account:System", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448000, "objectId": "core:class:TypeString", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", @@ -328,11 +342,11 @@ } }, { - "_id": "61408c52aa949c71bfcfb1ef", + "_id": "61420078c479b5c209a2235a", "_class": "core:class:TxMixin", "space": "core:space:Tx", "modifiedBy": "core:account:System", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448000, "objectId": "core:class:State", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", @@ -342,13 +356,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb1f0", + "_id": "61420078c479b5c209a2235b", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "view:viewlet:Table", "objectClass": "view:class:ViewletDescriptor", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448000, "modifiedBy": "core:account:System", "attributes": { "label": "Table", @@ -357,13 +371,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb1f1", + "_id": "61420078c479b5c209a2235c", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "view:viewlet:Kanban", "objectClass": "view:class:ViewletDescriptor", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448000, "modifiedBy": "core:account:System", "attributes": { "label": "Kanban", @@ -372,13 +386,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb1f2", + "_id": "61420078c479b5c209a2235d", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "workbench:mixin:SpaceView", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448000, "modifiedBy": "core:account:System", "attributes": { "kind": 0, @@ -386,13 +400,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb1f3", + "_id": "61420078c479b5c209a2235e", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "workbench:class:Application", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448000, "modifiedBy": "core:account:System", "attributes": { "domain": "model", @@ -401,13 +415,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb1f4", + "_id": "61420078c479b5c209a2235f", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "contact:class:EmployeeAccount", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448000, "modifiedBy": "core:account:System", "attributes": { "kind": 0, @@ -415,13 +429,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb1f5", + "_id": "61420078c479b5c209a22360", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "contact:class:Contact", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448000, "modifiedBy": "core:account:System", "attributes": { "domain": "contact", @@ -430,12 +444,12 @@ } }, { - "_id": "61408c52aa949c71bfcfb1f6", - "objectId": "61408c52aa949c71bfcfb1f7", + "_id": "61420078c479b5c209a22361", + "objectId": "61420078c479b5c209a22362", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "modifiedBy": "core:account:System", - "modifiedOn": 1631620178696, + "modifiedOn": 1631715447838, "objectSpace": "core:space:Model", "objectClass": "core:class:Attribute", "attributes": { @@ -448,13 +462,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb1f8", + "_id": "61420078c479b5c209a22363", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "contact:class:Person", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448000, "modifiedBy": "core:account:System", "attributes": { "kind": 0, @@ -463,12 +477,12 @@ } }, { - "_id": "61408c52aa949c71bfcfb1f9", - "objectId": "61408c52aa949c71bfcfb1fa", + "_id": "61420078c479b5c209a22364", + "objectId": "61420078c479b5c209a22365", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "modifiedBy": "core:account:System", - "modifiedOn": 1631620178696, + "modifiedOn": 1631715447838, "objectSpace": "core:space:Model", "objectClass": "core:class:Attribute", "attributes": { @@ -482,12 +496,12 @@ } }, { - "_id": "61408c52aa949c71bfcfb1fb", - "objectId": "61408c52aa949c71bfcfb1fc", + "_id": "61420078c479b5c209a22366", + "objectId": "61420078c479b5c209a22367", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "modifiedBy": "core:account:System", - "modifiedOn": 1631620178696, + "modifiedOn": 1631715447838, "objectSpace": "core:space:Model", "objectClass": "core:class:Attribute", "attributes": { @@ -500,12 +514,12 @@ } }, { - "_id": "61408c52aa949c71bfcfb1fd", - "objectId": "61408c52aa949c71bfcfb1fe", + "_id": "61420078c479b5c209a22368", + "objectId": "61420078c479b5c209a22369", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "modifiedBy": "core:account:System", - "modifiedOn": 1631620178696, + "modifiedOn": 1631715447838, "objectSpace": "core:space:Model", "objectClass": "core:class:Attribute", "attributes": { @@ -518,13 +532,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb1ff", + "_id": "61420078c479b5c209a2236a", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "contact:class:Employee", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "kind": 0, @@ -532,13 +546,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb200", + "_id": "61420078c479b5c209a2236b", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "contact:class:Organization", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "kind": 0, @@ -546,13 +560,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb201", + "_id": "61420078c479b5c209a2236c", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "contact:class:TypeChannels", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "kind": 0, @@ -560,13 +574,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb202", + "_id": "61420078c479b5c209a2236d", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "contact:class:ChannelProvider", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "domain": "model", @@ -575,11 +589,11 @@ } }, { - "_id": "61408c52aa949c71bfcfb203", + "_id": "61420078c479b5c209a2236e", "_class": "core:class:TxMixin", "space": "core:space:Tx", "modifiedBy": "core:account:System", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448001, "objectId": "contact:class:TypeChannels", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", @@ -589,13 +603,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb204", + "_id": "61420078c479b5c209a2236f", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "contact:channelProvider:Email", "objectClass": "contact:class:ChannelProvider", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "label": "Email", @@ -604,13 +618,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb205", + "_id": "61420078c479b5c209a22370", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", - "objectId": "61408c52aa949c71bfcfb206", + "objectId": "61420078c479b5c209a22371", "objectClass": "contact:class:ChannelProvider", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "label": "Phone", @@ -619,13 +633,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb207", + "_id": "61420078c479b5c209a22372", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", - "objectId": "61408c52aa949c71bfcfb208", + "objectId": "61420078c479b5c209a22373", "objectClass": "contact:class:ChannelProvider", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "label": "LinkedIn", @@ -634,13 +648,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb209", + "_id": "61420078c479b5c209a22374", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", - "objectId": "61408c52aa949c71bfcfb20a", + "objectId": "61420078c479b5c209a22375", "objectClass": "contact:class:ChannelProvider", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "label": "Twitter", @@ -649,13 +663,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb20b", + "_id": "61420078c479b5c209a22376", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", - "objectId": "61408c52aa949c71bfcfb20c", + "objectId": "61420078c479b5c209a22377", "objectClass": "contact:class:ChannelProvider", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "label": "Telegram", @@ -664,13 +678,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb20d", + "_id": "61420078c479b5c209a22378", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "contact:space:Employee", "objectClass": "core:class:Space", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "name": "Employees", @@ -680,11 +694,11 @@ } }, { - "_id": "61408c52aa949c71bfcfb20e", + "_id": "61420078c479b5c209a22379", "_class": "core:class:TxMixin", "space": "core:space:Tx", "modifiedBy": "core:account:System", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448001, "objectId": "contact:class:Person", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", @@ -694,28 +708,28 @@ } }, { - "_id": "61408c52aa949c71bfcfb20f", + "_id": "61420078c479b5c209a2237a", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "chunter:class:Attachment", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "domain": "attachment", "kind": 0, - "extends": "core:class:Doc" + "extends": "core:class:Obj" } }, { - "_id": "61408c52aa949c71bfcfb210", + "_id": "61420078c479b5c209a2237b", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "chunter:class:Comment", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "domain": "comment", @@ -724,12 +738,12 @@ } }, { - "_id": "61408c52aa949c71bfcfb211", - "objectId": "61408c52aa949c71bfcfb212", + "_id": "61420078c479b5c209a2237c", + "objectId": "61420078c479b5c209a2237d", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "modifiedBy": "core:account:System", - "modifiedOn": 1631620178800, + "modifiedOn": 1631715447942, "objectSpace": "core:space:Model", "objectClass": "core:class:Attribute", "attributes": { @@ -743,13 +757,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb213", + "_id": "61420078c479b5c209a2237e", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "chunter:class:Backlink", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "kind": 0, @@ -757,13 +771,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb214", + "_id": "61420078c479b5c209a2237f", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "chunter:class:Message", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "domain": "chunter", @@ -772,12 +786,12 @@ } }, { - "_id": "61408c52aa949c71bfcfb215", - "objectId": "61408c52aa949c71bfcfb216", + "_id": "61420078c479b5c209a22380", + "objectId": "61420078c479b5c209a22381", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "modifiedBy": "core:account:System", - "modifiedOn": 1631620178800, + "modifiedOn": 1631715447942, "objectSpace": "core:space:Model", "objectClass": "core:class:Attribute", "attributes": { @@ -791,13 +805,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb217", + "_id": "61420078c479b5c209a22382", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "chunter:class:Channel", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "kind": 0, @@ -807,11 +821,11 @@ } }, { - "_id": "61408c52aa949c71bfcfb218", + "_id": "61420078c479b5c209a22383", "_class": "core:class:TxMixin", "space": "core:space:Tx", "modifiedBy": "core:account:System", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448001, "objectId": "chunter:class:Channel", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", @@ -823,13 +837,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb219", + "_id": "61420078c479b5c209a22384", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "chunter:viewlet:Chat", "objectClass": "view:class:ViewletDescriptor", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "label": "Chat", @@ -838,13 +852,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb21a", + "_id": "61420078c479b5c209a22385", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", - "objectId": "61408c52aa949c71bfcfb21b", + "objectId": "61420078c479b5c209a22386", "objectClass": "view:class:Viewlet", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "attachTo": "chunter:class:Message", @@ -854,13 +868,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb21c", + "_id": "61420078c479b5c209a22387", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", - "objectId": "61408c52aa949c71bfcfb21d", + "objectId": "61420078c479b5c209a22388", "objectClass": "workbench:class:Application", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "label": "chunter:string:ApplicationLabelChunter", @@ -878,13 +892,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb21e", + "_id": "61420078c479b5c209a22389", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", - "objectId": "61408c52aa949c71bfcfb21f", + "objectId": "61420078c479b5c209a2238a", "objectClass": "chunter:class:Channel", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "name": "general", @@ -894,13 +908,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb220", + "_id": "61420078c479b5c209a2238b", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", - "objectId": "61408c52aa949c71bfcfb221", + "objectId": "61420078c479b5c209a2238c", "objectClass": "chunter:class:Channel", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "name": "random", @@ -910,11 +924,11 @@ } }, { - "_id": "61408c52aa949c71bfcfb222", + "_id": "61420078c479b5c209a2238d", "_class": "core:class:TxMixin", "space": "core:space:Tx", "modifiedBy": "core:account:System", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448001, "objectId": "chunter:class:Attachment", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", @@ -924,13 +938,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb223", + "_id": "61420078c479b5c209a2238e", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "task:class:Task", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "kind": 0, @@ -938,12 +952,12 @@ } }, { - "_id": "61408c52aa949c71bfcfb224", - "objectId": "61408c52aa949c71bfcfb225", + "_id": "61420078c479b5c209a2238f", + "objectId": "61420078c479b5c209a22390", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "modifiedBy": "core:account:System", - "modifiedOn": 1631620178742, + "modifiedOn": 1631715447885, "objectSpace": "core:space:Model", "objectClass": "core:class:Attribute", "attributes": { @@ -956,12 +970,12 @@ } }, { - "_id": "61408c52aa949c71bfcfb226", - "objectId": "61408c52aa949c71bfcfb227", + "_id": "61420078c479b5c209a22391", + "objectId": "61420078c479b5c209a22392", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "modifiedBy": "core:account:System", - "modifiedOn": 1631620178742, + "modifiedOn": 1631715447885, "objectSpace": "core:space:Model", "objectClass": "core:class:Attribute", "attributes": { @@ -974,12 +988,12 @@ } }, { - "_id": "61408c52aa949c71bfcfb228", - "objectId": "61408c52aa949c71bfcfb229", + "_id": "61420078c479b5c209a22393", + "objectId": "61420078c479b5c209a22394", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "modifiedBy": "core:account:System", - "modifiedOn": 1631620178742, + "modifiedOn": 1631715447885, "objectSpace": "core:space:Model", "objectClass": "core:class:Attribute", "attributes": { @@ -992,13 +1006,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb22a", + "_id": "61420078c479b5c209a22395", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "task:class:Project", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "kind": 0, @@ -1008,11 +1022,11 @@ } }, { - "_id": "61408c52aa949c71bfcfb22b", + "_id": "61420078c479b5c209a22396", "_class": "core:class:TxMixin", "space": "core:space:Tx", "modifiedBy": "core:account:System", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448001, "objectId": "task:class:Project", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", @@ -1025,13 +1039,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb22c", + "_id": "61420078c479b5c209a22397", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", - "objectId": "61408c52aa949c71bfcfb22d", + "objectId": "61420078c479b5c209a22398", "objectClass": "view:class:Viewlet", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "attachTo": "task:class:Task", @@ -1049,13 +1063,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb22e", + "_id": "61420078c479b5c209a22399", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", - "objectId": "61408c52aa949c71bfcfb22f", + "objectId": "61420078c479b5c209a2239a", "objectClass": "workbench:class:Application", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178867, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "label": "task:string:ApplicationLabelTask", @@ -1073,13 +1087,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb230", + "_id": "61420078c479b5c209a2239b", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", - "objectId": "61408c52aa949c71bfcfb231", + "objectId": "61420078c479b5c209a2239c", "objectClass": "task:class:Project", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178867, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "name": "demo", @@ -1089,13 +1103,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb232", + "_id": "61420078c479b5c209a2239d", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "recruit:class:Applicant", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178867, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "domain": "recruit", @@ -1104,12 +1118,12 @@ } }, { - "_id": "61408c52aa949c71bfcfb233", - "objectId": "61408c52aa949c71bfcfb234", + "_id": "61420078c479b5c209a2239e", + "objectId": "61420078c479b5c209a2239f", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "modifiedBy": "core:account:System", - "modifiedOn": 1631620178854, + "modifiedOn": 1631715447994, "objectSpace": "core:space:Model", "objectClass": "core:class:Attribute", "attributes": { @@ -1122,12 +1136,12 @@ } }, { - "_id": "61408c52aa949c71bfcfb235", - "objectId": "61408c52aa949c71bfcfb236", + "_id": "61420078c479b5c209a223a0", + "objectId": "61420078c479b5c209a223a1", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "modifiedBy": "core:account:System", - "modifiedOn": 1631620178854, + "modifiedOn": 1631715447994, "objectSpace": "core:space:Model", "objectClass": "core:class:Attribute", "attributes": { @@ -1140,13 +1154,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb237", + "_id": "61420078c479b5c209a223a2", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "recruit:class:Candidate", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178867, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "kind": 0, @@ -1155,30 +1169,12 @@ } }, { - "_id": "61408c52aa949c71bfcfb238", - "objectId": "61408c52aa949c71bfcfb239", + "_id": "61420078c479b5c209a223a3", + "objectId": "61420078c479b5c209a223a4", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "modifiedBy": "core:account:System", - "modifiedOn": 1631620178854, - "objectSpace": "core:space:Model", - "objectClass": "core:class:Attribute", - "attributes": { - "name": "resume", - "type": { - "_class": "core:class:TypeString" - }, - "label": "Resume", - "attributeOf": "recruit:class:Candidate" - } - }, - { - "_id": "61408c52aa949c71bfcfb23a", - "objectId": "61408c52aa949c71bfcfb23b", - "_class": "core:class:TxCreateDoc", - "space": "core:space:Tx", - "modifiedBy": "core:account:System", - "modifiedOn": 1631620178854, + "modifiedOn": 1631715447994, "objectSpace": "core:space:Model", "objectClass": "core:class:Attribute", "attributes": { @@ -1191,13 +1187,31 @@ } }, { - "_id": "61408c52aa949c71bfcfb23c", + "_id": "61420078c479b5c209a223a5", + "objectId": "61420078c479b5c209a223a6", + "_class": "core:class:TxCreateDoc", + "space": "core:space:Tx", + "modifiedBy": "core:account:System", + "modifiedOn": 1631715447994, + "objectSpace": "core:space:Model", + "objectClass": "core:class:Attribute", + "attributes": { + "name": "attachments", + "type": { + "_class": "core:class:Bag" + }, + "label": "Attachments", + "attributeOf": "recruit:class:Candidate" + } + }, + { + "_id": "61420078c479b5c209a223a7", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "recruit:class:Candidates", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178867, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "kind": 0, @@ -1207,13 +1221,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb23d", + "_id": "61420078c479b5c209a223a8", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "recruit:class:Vacancy", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178867, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "kind": 0, @@ -1223,11 +1237,11 @@ } }, { - "_id": "61408c52aa949c71bfcfb23e", + "_id": "61420078c479b5c209a223a9", "_class": "core:class:TxMixin", "space": "core:space:Tx", "modifiedBy": "core:account:System", - "modifiedOn": 1631620178867, + "modifiedOn": 1631715448001, "objectId": "recruit:class:Vacancy", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", @@ -1240,11 +1254,11 @@ } }, { - "_id": "61408c52aa949c71bfcfb23f", + "_id": "61420078c479b5c209a223aa", "_class": "core:class:TxMixin", "space": "core:space:Tx", "modifiedBy": "core:account:System", - "modifiedOn": 1631620178867, + "modifiedOn": 1631715448001, "objectId": "recruit:class:Candidates", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", @@ -1257,13 +1271,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb240", + "_id": "61420078c479b5c209a223ab", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", - "objectId": "61408c52aa949c71bfcfb241", + "objectId": "61420078c479b5c209a223ac", "objectClass": "workbench:class:Application", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178867, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "label": "recruit:string:RecruitApplication", @@ -1287,13 +1301,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb242", + "_id": "61420078c479b5c209a223ad", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "recruit:space:CandidatesPublic", "objectClass": "recruit:class:Candidates", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178867, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "name": "public", @@ -1303,40 +1317,35 @@ } }, { - "_id": "61408c52aa949c71bfcfb243", + "_id": "61420078c479b5c209a223ae", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", - "objectId": "61408c52aa949c71bfcfb244", + "objectId": "61420078c479b5c209a223af", "objectClass": "view:class:Viewlet", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178867, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "attachTo": "recruit:class:Candidate", "descriptor": "view:viewlet:Table", "open": "recruit:component:EditCandidate", - "options": { - "lookup": { - "resume": "chunter:class:Attachment" - } - }, + "options": {}, "config": [ "", "#recruit:component:CreateApplicationPresenter/Action", "city", - "$lookup.resume", "channels" ] } }, { - "_id": "61408c52aa949c71bfcfb245", + "_id": "61420078c479b5c209a223b0", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", - "objectId": "61408c52aa949c71bfcfb246", + "objectId": "61420078c479b5c209a223b1", "objectClass": "view:class:Viewlet", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178867, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "attachTo": "recruit:class:Applicant", @@ -1358,13 +1367,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb247", + "_id": "61420078c479b5c209a223b2", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", - "objectId": "61408c52aa949c71bfcfb248", + "objectId": "61420078c479b5c209a223b3", "objectClass": "view:class:Viewlet", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178867, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "attachTo": "recruit:class:Applicant", @@ -1385,11 +1394,11 @@ } }, { - "_id": "61408c52aa949c71bfcfb249", + "_id": "61420078c479b5c209a223b4", "_class": "core:class:TxMixin", "space": "core:space:Tx", "modifiedBy": "core:account:System", - "modifiedOn": 1631620178867, + "modifiedOn": 1631715448001, "objectId": "recruit:class:Applicant", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", @@ -1399,11 +1408,11 @@ } }, { - "_id": "61408c52aa949c71bfcfb24a", + "_id": "61420078c479b5c209a223b5", "_class": "core:class:TxMixin", "space": "core:space:Tx", "modifiedBy": "core:account:System", - "modifiedOn": 1631620178867, + "modifiedOn": 1631715448001, "objectId": "recruit:class:Candidate", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", @@ -1413,13 +1422,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb24b", + "_id": "61420078c479b5c209a223b6", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "server-core:class:Trigger", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178867, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "domain": "model", @@ -1428,26 +1437,26 @@ } }, { - "_id": "61408c52aa949c71bfcfb24c", + "_id": "61420078c479b5c209a223b7", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", - "objectId": "61408c52aa949c71bfcfb24d", + "objectId": "61420078c479b5c209a223b8", "objectClass": "server-core:class:Trigger", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178867, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "trigger": "server-chunter:trigger:OnMessage" } }, { - "_id": "61408c52aa949c71bfcfb24f", + "_id": "61420078c479b5c209a223ba", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", - "objectId": "61408c52aa949c71bfcfb24e", + "objectId": "61420078c479b5c209a223b9", "objectClass": "contact:class:Employee", "objectSpace": "contact:space:Employee", - "modifiedOn": 1631620178867, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "firstName": "Rosamund", @@ -1457,29 +1466,29 @@ } }, { - "_id": "61408c52aa949c71bfcfb250", + "_id": "61420078c479b5c209a223bb", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", - "objectId": "61408c52aa949c71bfcfb251", + "objectId": "61420078c479b5c209a223bc", "objectClass": "contact:class:EmployeeAccount", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178867, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "email": "rosamund@hc.engineering", - "employee": "61408c52aa949c71bfcfb24e", + "employee": "61420078c479b5c209a223b9", "firstName": "Rosamund", "lastName": "Chen" } }, { - "_id": "61408c52aa949c71bfcfb252", + "_id": "61420078c479b5c209a223bd", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", - "objectId": "61408c52aa949c71bfcfb253", + "objectId": "61420078c479b5c209a223be", "objectClass": "recruit:class:Candidate", "objectSpace": "recruit:space:CandidatesPublic", - "modifiedOn": 1631620178867, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "firstName": "Andrey", @@ -1490,17 +1499,18 @@ "provider": "contact:channelProvider:Email", "value": "andrey@hc.engineering" } - ] + ], + "attachments": {} } }, { - "_id": "61408c52aa949c71bfcfb254", + "_id": "61420078c479b5c209a223bf", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", - "objectId": "61408c52aa949c71bfcfb255", + "objectId": "61420078c479b5c209a223c0", "objectClass": "recruit:class:Candidate", "objectSpace": "recruit:space:CandidatesPublic", - "modifiedOn": 1631620178867, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "firstName": "Marina", @@ -1511,7 +1521,8 @@ "provider": "contact:channelProvider:Email", "value": "marina@hc.engineering" } - ] + ], + "attachments": {} } } ] \ No newline at end of file diff --git a/dev/tool/src/model.tx.json b/dev/tool/src/model.tx.json index c32abbddb9..eee52fdbc7 100644 --- a/dev/tool/src/model.tx.json +++ b/dev/tool/src/model.tx.json @@ -1,25 +1,25 @@ [ { - "_id": "61408c52aa949c71bfcfb1d8", + "_id": "61420078c479b5c209a22342", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "core:class:Obj", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448000, "modifiedBy": "core:account:System", "attributes": { "kind": 0 } }, { - "_id": "61408c52aa949c71bfcfb1d9", + "_id": "61420078c479b5c209a22343", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "core:class:Doc", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448000, "modifiedBy": "core:account:System", "attributes": { "kind": 0, @@ -27,13 +27,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb1da", + "_id": "61420078c479b5c209a22344", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "core:class:State", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448000, "modifiedBy": "core:account:System", "attributes": { "domain": "state", @@ -42,13 +42,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb1db", + "_id": "61420078c479b5c209a22345", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "core:class:Type", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448000, "modifiedBy": "core:account:System", "attributes": { "kind": 0, @@ -56,13 +56,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb1dc", + "_id": "61420078c479b5c209a22346", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "core:class:TypeString", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448000, "modifiedBy": "core:account:System", "attributes": { "kind": 0, @@ -70,13 +70,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb1dd", + "_id": "61420078c479b5c209a22347", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "core:class:Attribute", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448000, "modifiedBy": "core:account:System", "attributes": { "kind": 0, @@ -84,13 +84,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb1de", + "_id": "61420078c479b5c209a22348", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "core:class:Account", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448000, "modifiedBy": "core:account:System", "attributes": { "domain": "model", @@ -99,13 +99,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb1df", + "_id": "61420078c479b5c209a22349", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "core:class:Space", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448000, "modifiedBy": "core:account:System", "attributes": { "domain": "model", @@ -114,13 +114,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb1e0", + "_id": "61420078c479b5c209a2234a", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "core:class:Tx", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448000, "modifiedBy": "core:account:System", "attributes": { "domain": "tx", @@ -129,13 +129,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb1e1", + "_id": "61420078c479b5c209a2234b", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "core:class:TxCUD", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448000, "modifiedBy": "core:account:System", "attributes": { "kind": 0, @@ -143,13 +143,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb1e2", + "_id": "61420078c479b5c209a2234c", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "core:class:TxUpdateDoc", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448000, "modifiedBy": "core:account:System", "attributes": { "kind": 0, @@ -157,13 +157,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb1e3", + "_id": "61420078c479b5c209a2234d", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "core:class:TxMixin", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448000, "modifiedBy": "core:account:System", "attributes": { "kind": 0, @@ -171,13 +171,27 @@ } }, { - "_id": "61408c52aa949c71bfcfb1e4", + "_id": "61420078c479b5c209a2234e", + "_class": "core:class:TxCreateDoc", + "space": "core:space:Tx", + "objectId": "core:class:TxPutBag", + "objectClass": "core:class:Class", + "objectSpace": "core:space:Model", + "modifiedOn": 1631715448000, + "modifiedBy": "core:account:System", + "attributes": { + "kind": 0, + "extends": "core:class:TxCUD" + } + }, + { + "_id": "61420078c479b5c209a2234f", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "core:class:TxCreateDoc", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448000, "modifiedBy": "core:account:System", "attributes": { "kind": 0, @@ -185,13 +199,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb1e5", + "_id": "61420078c479b5c209a22350", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "core:class:Class", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448000, "modifiedBy": "core:account:System", "attributes": { "domain": "model", @@ -200,13 +214,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb1e6", + "_id": "61420078c479b5c209a22351", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "core:class:Mixin", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448000, "modifiedBy": "core:account:System", "attributes": { "kind": 0, @@ -214,13 +228,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb1e7", + "_id": "61420078c479b5c209a22352", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "view:class:Viewlet", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448000, "modifiedBy": "core:account:System", "attributes": { "domain": "model", @@ -229,13 +243,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb1e8", + "_id": "61420078c479b5c209a22353", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "view:class:ViewletDescriptor", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448000, "modifiedBy": "core:account:System", "attributes": { "domain": "model", @@ -244,13 +258,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb1e9", + "_id": "61420078c479b5c209a22354", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "view:mixin:ObjectEditor", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448000, "modifiedBy": "core:account:System", "attributes": { "kind": 0, @@ -258,13 +272,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb1ea", + "_id": "61420078c479b5c209a22355", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "view:mixin:KanbanCard", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448000, "modifiedBy": "core:account:System", "attributes": { "kind": 0, @@ -272,13 +286,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb1eb", + "_id": "61420078c479b5c209a22356", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "view:mixin:AttributePresenter", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448000, "modifiedBy": "core:account:System", "attributes": { "kind": 0, @@ -286,13 +300,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb1ec", + "_id": "61420078c479b5c209a22357", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "view:mixin:AttributeEditor", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448000, "modifiedBy": "core:account:System", "attributes": { "kind": 0, @@ -300,11 +314,11 @@ } }, { - "_id": "61408c52aa949c71bfcfb1ed", + "_id": "61420078c479b5c209a22358", "_class": "core:class:TxMixin", "space": "core:space:Tx", "modifiedBy": "core:account:System", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448000, "objectId": "core:class:TypeString", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", @@ -314,11 +328,11 @@ } }, { - "_id": "61408c52aa949c71bfcfb1ee", + "_id": "61420078c479b5c209a22359", "_class": "core:class:TxMixin", "space": "core:space:Tx", "modifiedBy": "core:account:System", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448000, "objectId": "core:class:TypeString", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", @@ -328,11 +342,11 @@ } }, { - "_id": "61408c52aa949c71bfcfb1ef", + "_id": "61420078c479b5c209a2235a", "_class": "core:class:TxMixin", "space": "core:space:Tx", "modifiedBy": "core:account:System", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448000, "objectId": "core:class:State", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", @@ -342,13 +356,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb1f0", + "_id": "61420078c479b5c209a2235b", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "view:viewlet:Table", "objectClass": "view:class:ViewletDescriptor", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448000, "modifiedBy": "core:account:System", "attributes": { "label": "Table", @@ -357,13 +371,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb1f1", + "_id": "61420078c479b5c209a2235c", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "view:viewlet:Kanban", "objectClass": "view:class:ViewletDescriptor", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448000, "modifiedBy": "core:account:System", "attributes": { "label": "Kanban", @@ -372,13 +386,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb1f2", + "_id": "61420078c479b5c209a2235d", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "workbench:mixin:SpaceView", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448000, "modifiedBy": "core:account:System", "attributes": { "kind": 0, @@ -386,13 +400,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb1f3", + "_id": "61420078c479b5c209a2235e", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "workbench:class:Application", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448000, "modifiedBy": "core:account:System", "attributes": { "domain": "model", @@ -401,13 +415,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb1f4", + "_id": "61420078c479b5c209a2235f", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "contact:class:EmployeeAccount", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448000, "modifiedBy": "core:account:System", "attributes": { "kind": 0, @@ -415,13 +429,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb1f5", + "_id": "61420078c479b5c209a22360", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "contact:class:Contact", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448000, "modifiedBy": "core:account:System", "attributes": { "domain": "contact", @@ -430,12 +444,12 @@ } }, { - "_id": "61408c52aa949c71bfcfb1f6", - "objectId": "61408c52aa949c71bfcfb1f7", + "_id": "61420078c479b5c209a22361", + "objectId": "61420078c479b5c209a22362", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "modifiedBy": "core:account:System", - "modifiedOn": 1631620178696, + "modifiedOn": 1631715447838, "objectSpace": "core:space:Model", "objectClass": "core:class:Attribute", "attributes": { @@ -448,13 +462,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb1f8", + "_id": "61420078c479b5c209a22363", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "contact:class:Person", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448000, "modifiedBy": "core:account:System", "attributes": { "kind": 0, @@ -463,12 +477,12 @@ } }, { - "_id": "61408c52aa949c71bfcfb1f9", - "objectId": "61408c52aa949c71bfcfb1fa", + "_id": "61420078c479b5c209a22364", + "objectId": "61420078c479b5c209a22365", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "modifiedBy": "core:account:System", - "modifiedOn": 1631620178696, + "modifiedOn": 1631715447838, "objectSpace": "core:space:Model", "objectClass": "core:class:Attribute", "attributes": { @@ -482,12 +496,12 @@ } }, { - "_id": "61408c52aa949c71bfcfb1fb", - "objectId": "61408c52aa949c71bfcfb1fc", + "_id": "61420078c479b5c209a22366", + "objectId": "61420078c479b5c209a22367", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "modifiedBy": "core:account:System", - "modifiedOn": 1631620178696, + "modifiedOn": 1631715447838, "objectSpace": "core:space:Model", "objectClass": "core:class:Attribute", "attributes": { @@ -500,12 +514,12 @@ } }, { - "_id": "61408c52aa949c71bfcfb1fd", - "objectId": "61408c52aa949c71bfcfb1fe", + "_id": "61420078c479b5c209a22368", + "objectId": "61420078c479b5c209a22369", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "modifiedBy": "core:account:System", - "modifiedOn": 1631620178696, + "modifiedOn": 1631715447838, "objectSpace": "core:space:Model", "objectClass": "core:class:Attribute", "attributes": { @@ -518,13 +532,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb1ff", + "_id": "61420078c479b5c209a2236a", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "contact:class:Employee", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "kind": 0, @@ -532,13 +546,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb200", + "_id": "61420078c479b5c209a2236b", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "contact:class:Organization", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "kind": 0, @@ -546,13 +560,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb201", + "_id": "61420078c479b5c209a2236c", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "contact:class:TypeChannels", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "kind": 0, @@ -560,13 +574,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb202", + "_id": "61420078c479b5c209a2236d", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "contact:class:ChannelProvider", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "domain": "model", @@ -575,11 +589,11 @@ } }, { - "_id": "61408c52aa949c71bfcfb203", + "_id": "61420078c479b5c209a2236e", "_class": "core:class:TxMixin", "space": "core:space:Tx", "modifiedBy": "core:account:System", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448001, "objectId": "contact:class:TypeChannels", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", @@ -589,13 +603,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb204", + "_id": "61420078c479b5c209a2236f", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "contact:channelProvider:Email", "objectClass": "contact:class:ChannelProvider", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "label": "Email", @@ -604,13 +618,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb205", + "_id": "61420078c479b5c209a22370", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", - "objectId": "61408c52aa949c71bfcfb206", + "objectId": "61420078c479b5c209a22371", "objectClass": "contact:class:ChannelProvider", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "label": "Phone", @@ -619,13 +633,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb207", + "_id": "61420078c479b5c209a22372", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", - "objectId": "61408c52aa949c71bfcfb208", + "objectId": "61420078c479b5c209a22373", "objectClass": "contact:class:ChannelProvider", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "label": "LinkedIn", @@ -634,13 +648,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb209", + "_id": "61420078c479b5c209a22374", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", - "objectId": "61408c52aa949c71bfcfb20a", + "objectId": "61420078c479b5c209a22375", "objectClass": "contact:class:ChannelProvider", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "label": "Twitter", @@ -649,13 +663,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb20b", + "_id": "61420078c479b5c209a22376", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", - "objectId": "61408c52aa949c71bfcfb20c", + "objectId": "61420078c479b5c209a22377", "objectClass": "contact:class:ChannelProvider", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "label": "Telegram", @@ -664,13 +678,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb20d", + "_id": "61420078c479b5c209a22378", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "contact:space:Employee", "objectClass": "core:class:Space", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "name": "Employees", @@ -680,11 +694,11 @@ } }, { - "_id": "61408c52aa949c71bfcfb20e", + "_id": "61420078c479b5c209a22379", "_class": "core:class:TxMixin", "space": "core:space:Tx", "modifiedBy": "core:account:System", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448001, "objectId": "contact:class:Person", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", @@ -694,28 +708,28 @@ } }, { - "_id": "61408c52aa949c71bfcfb20f", + "_id": "61420078c479b5c209a2237a", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "chunter:class:Attachment", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "domain": "attachment", "kind": 0, - "extends": "core:class:Doc" + "extends": "core:class:Obj" } }, { - "_id": "61408c52aa949c71bfcfb210", + "_id": "61420078c479b5c209a2237b", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "chunter:class:Comment", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "domain": "comment", @@ -724,12 +738,12 @@ } }, { - "_id": "61408c52aa949c71bfcfb211", - "objectId": "61408c52aa949c71bfcfb212", + "_id": "61420078c479b5c209a2237c", + "objectId": "61420078c479b5c209a2237d", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "modifiedBy": "core:account:System", - "modifiedOn": 1631620178800, + "modifiedOn": 1631715447942, "objectSpace": "core:space:Model", "objectClass": "core:class:Attribute", "attributes": { @@ -743,13 +757,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb213", + "_id": "61420078c479b5c209a2237e", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "chunter:class:Backlink", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "kind": 0, @@ -757,13 +771,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb214", + "_id": "61420078c479b5c209a2237f", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "chunter:class:Message", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "domain": "chunter", @@ -772,12 +786,12 @@ } }, { - "_id": "61408c52aa949c71bfcfb215", - "objectId": "61408c52aa949c71bfcfb216", + "_id": "61420078c479b5c209a22380", + "objectId": "61420078c479b5c209a22381", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "modifiedBy": "core:account:System", - "modifiedOn": 1631620178800, + "modifiedOn": 1631715447942, "objectSpace": "core:space:Model", "objectClass": "core:class:Attribute", "attributes": { @@ -791,13 +805,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb217", + "_id": "61420078c479b5c209a22382", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "chunter:class:Channel", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "kind": 0, @@ -807,11 +821,11 @@ } }, { - "_id": "61408c52aa949c71bfcfb218", + "_id": "61420078c479b5c209a22383", "_class": "core:class:TxMixin", "space": "core:space:Tx", "modifiedBy": "core:account:System", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448001, "objectId": "chunter:class:Channel", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", @@ -823,13 +837,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb219", + "_id": "61420078c479b5c209a22384", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "chunter:viewlet:Chat", "objectClass": "view:class:ViewletDescriptor", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "label": "Chat", @@ -838,13 +852,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb21a", + "_id": "61420078c479b5c209a22385", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", - "objectId": "61408c52aa949c71bfcfb21b", + "objectId": "61420078c479b5c209a22386", "objectClass": "view:class:Viewlet", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "attachTo": "chunter:class:Message", @@ -854,13 +868,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb21c", + "_id": "61420078c479b5c209a22387", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", - "objectId": "61408c52aa949c71bfcfb21d", + "objectId": "61420078c479b5c209a22388", "objectClass": "workbench:class:Application", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "label": "chunter:string:ApplicationLabelChunter", @@ -878,13 +892,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb21e", + "_id": "61420078c479b5c209a22389", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", - "objectId": "61408c52aa949c71bfcfb21f", + "objectId": "61420078c479b5c209a2238a", "objectClass": "chunter:class:Channel", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "name": "general", @@ -894,13 +908,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb220", + "_id": "61420078c479b5c209a2238b", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", - "objectId": "61408c52aa949c71bfcfb221", + "objectId": "61420078c479b5c209a2238c", "objectClass": "chunter:class:Channel", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "name": "random", @@ -910,11 +924,11 @@ } }, { - "_id": "61408c52aa949c71bfcfb222", + "_id": "61420078c479b5c209a2238d", "_class": "core:class:TxMixin", "space": "core:space:Tx", "modifiedBy": "core:account:System", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448001, "objectId": "chunter:class:Attachment", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", @@ -924,13 +938,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb223", + "_id": "61420078c479b5c209a2238e", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "task:class:Task", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "kind": 0, @@ -938,12 +952,12 @@ } }, { - "_id": "61408c52aa949c71bfcfb224", - "objectId": "61408c52aa949c71bfcfb225", + "_id": "61420078c479b5c209a2238f", + "objectId": "61420078c479b5c209a22390", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "modifiedBy": "core:account:System", - "modifiedOn": 1631620178742, + "modifiedOn": 1631715447885, "objectSpace": "core:space:Model", "objectClass": "core:class:Attribute", "attributes": { @@ -956,12 +970,12 @@ } }, { - "_id": "61408c52aa949c71bfcfb226", - "objectId": "61408c52aa949c71bfcfb227", + "_id": "61420078c479b5c209a22391", + "objectId": "61420078c479b5c209a22392", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "modifiedBy": "core:account:System", - "modifiedOn": 1631620178742, + "modifiedOn": 1631715447885, "objectSpace": "core:space:Model", "objectClass": "core:class:Attribute", "attributes": { @@ -974,12 +988,12 @@ } }, { - "_id": "61408c52aa949c71bfcfb228", - "objectId": "61408c52aa949c71bfcfb229", + "_id": "61420078c479b5c209a22393", + "objectId": "61420078c479b5c209a22394", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "modifiedBy": "core:account:System", - "modifiedOn": 1631620178742, + "modifiedOn": 1631715447885, "objectSpace": "core:space:Model", "objectClass": "core:class:Attribute", "attributes": { @@ -992,13 +1006,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb22a", + "_id": "61420078c479b5c209a22395", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "task:class:Project", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "kind": 0, @@ -1008,11 +1022,11 @@ } }, { - "_id": "61408c52aa949c71bfcfb22b", + "_id": "61420078c479b5c209a22396", "_class": "core:class:TxMixin", "space": "core:space:Tx", "modifiedBy": "core:account:System", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448001, "objectId": "task:class:Project", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", @@ -1025,13 +1039,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb22c", + "_id": "61420078c479b5c209a22397", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", - "objectId": "61408c52aa949c71bfcfb22d", + "objectId": "61420078c479b5c209a22398", "objectClass": "view:class:Viewlet", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178866, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "attachTo": "task:class:Task", @@ -1049,13 +1063,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb22e", + "_id": "61420078c479b5c209a22399", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", - "objectId": "61408c52aa949c71bfcfb22f", + "objectId": "61420078c479b5c209a2239a", "objectClass": "workbench:class:Application", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178867, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "label": "task:string:ApplicationLabelTask", @@ -1073,13 +1087,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb230", + "_id": "61420078c479b5c209a2239b", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", - "objectId": "61408c52aa949c71bfcfb231", + "objectId": "61420078c479b5c209a2239c", "objectClass": "task:class:Project", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178867, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "name": "demo", @@ -1089,13 +1103,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb232", + "_id": "61420078c479b5c209a2239d", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "recruit:class:Applicant", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178867, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "domain": "recruit", @@ -1104,12 +1118,12 @@ } }, { - "_id": "61408c52aa949c71bfcfb233", - "objectId": "61408c52aa949c71bfcfb234", + "_id": "61420078c479b5c209a2239e", + "objectId": "61420078c479b5c209a2239f", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "modifiedBy": "core:account:System", - "modifiedOn": 1631620178854, + "modifiedOn": 1631715447994, "objectSpace": "core:space:Model", "objectClass": "core:class:Attribute", "attributes": { @@ -1122,12 +1136,12 @@ } }, { - "_id": "61408c52aa949c71bfcfb235", - "objectId": "61408c52aa949c71bfcfb236", + "_id": "61420078c479b5c209a223a0", + "objectId": "61420078c479b5c209a223a1", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "modifiedBy": "core:account:System", - "modifiedOn": 1631620178854, + "modifiedOn": 1631715447994, "objectSpace": "core:space:Model", "objectClass": "core:class:Attribute", "attributes": { @@ -1140,13 +1154,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb237", + "_id": "61420078c479b5c209a223a2", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "recruit:class:Candidate", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178867, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "kind": 0, @@ -1155,30 +1169,12 @@ } }, { - "_id": "61408c52aa949c71bfcfb238", - "objectId": "61408c52aa949c71bfcfb239", + "_id": "61420078c479b5c209a223a3", + "objectId": "61420078c479b5c209a223a4", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "modifiedBy": "core:account:System", - "modifiedOn": 1631620178854, - "objectSpace": "core:space:Model", - "objectClass": "core:class:Attribute", - "attributes": { - "name": "resume", - "type": { - "_class": "core:class:TypeString" - }, - "label": "Resume", - "attributeOf": "recruit:class:Candidate" - } - }, - { - "_id": "61408c52aa949c71bfcfb23a", - "objectId": "61408c52aa949c71bfcfb23b", - "_class": "core:class:TxCreateDoc", - "space": "core:space:Tx", - "modifiedBy": "core:account:System", - "modifiedOn": 1631620178854, + "modifiedOn": 1631715447994, "objectSpace": "core:space:Model", "objectClass": "core:class:Attribute", "attributes": { @@ -1191,13 +1187,31 @@ } }, { - "_id": "61408c52aa949c71bfcfb23c", + "_id": "61420078c479b5c209a223a5", + "objectId": "61420078c479b5c209a223a6", + "_class": "core:class:TxCreateDoc", + "space": "core:space:Tx", + "modifiedBy": "core:account:System", + "modifiedOn": 1631715447994, + "objectSpace": "core:space:Model", + "objectClass": "core:class:Attribute", + "attributes": { + "name": "attachments", + "type": { + "_class": "core:class:Bag" + }, + "label": "Attachments", + "attributeOf": "recruit:class:Candidate" + } + }, + { + "_id": "61420078c479b5c209a223a7", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "recruit:class:Candidates", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178867, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "kind": 0, @@ -1207,13 +1221,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb23d", + "_id": "61420078c479b5c209a223a8", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "recruit:class:Vacancy", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178867, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "kind": 0, @@ -1223,11 +1237,11 @@ } }, { - "_id": "61408c52aa949c71bfcfb23e", + "_id": "61420078c479b5c209a223a9", "_class": "core:class:TxMixin", "space": "core:space:Tx", "modifiedBy": "core:account:System", - "modifiedOn": 1631620178867, + "modifiedOn": 1631715448001, "objectId": "recruit:class:Vacancy", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", @@ -1240,11 +1254,11 @@ } }, { - "_id": "61408c52aa949c71bfcfb23f", + "_id": "61420078c479b5c209a223aa", "_class": "core:class:TxMixin", "space": "core:space:Tx", "modifiedBy": "core:account:System", - "modifiedOn": 1631620178867, + "modifiedOn": 1631715448001, "objectId": "recruit:class:Candidates", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", @@ -1257,13 +1271,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb240", + "_id": "61420078c479b5c209a223ab", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", - "objectId": "61408c52aa949c71bfcfb241", + "objectId": "61420078c479b5c209a223ac", "objectClass": "workbench:class:Application", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178867, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "label": "recruit:string:RecruitApplication", @@ -1287,13 +1301,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb242", + "_id": "61420078c479b5c209a223ad", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "recruit:space:CandidatesPublic", "objectClass": "recruit:class:Candidates", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178867, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "name": "public", @@ -1303,40 +1317,35 @@ } }, { - "_id": "61408c52aa949c71bfcfb243", + "_id": "61420078c479b5c209a223ae", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", - "objectId": "61408c52aa949c71bfcfb244", + "objectId": "61420078c479b5c209a223af", "objectClass": "view:class:Viewlet", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178867, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "attachTo": "recruit:class:Candidate", "descriptor": "view:viewlet:Table", "open": "recruit:component:EditCandidate", - "options": { - "lookup": { - "resume": "chunter:class:Attachment" - } - }, + "options": {}, "config": [ "", "#recruit:component:CreateApplicationPresenter/Action", "city", - "$lookup.resume", "channels" ] } }, { - "_id": "61408c52aa949c71bfcfb245", + "_id": "61420078c479b5c209a223b0", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", - "objectId": "61408c52aa949c71bfcfb246", + "objectId": "61420078c479b5c209a223b1", "objectClass": "view:class:Viewlet", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178867, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "attachTo": "recruit:class:Applicant", @@ -1358,13 +1367,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb247", + "_id": "61420078c479b5c209a223b2", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", - "objectId": "61408c52aa949c71bfcfb248", + "objectId": "61420078c479b5c209a223b3", "objectClass": "view:class:Viewlet", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178867, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "attachTo": "recruit:class:Applicant", @@ -1385,11 +1394,11 @@ } }, { - "_id": "61408c52aa949c71bfcfb249", + "_id": "61420078c479b5c209a223b4", "_class": "core:class:TxMixin", "space": "core:space:Tx", "modifiedBy": "core:account:System", - "modifiedOn": 1631620178867, + "modifiedOn": 1631715448001, "objectId": "recruit:class:Applicant", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", @@ -1399,11 +1408,11 @@ } }, { - "_id": "61408c52aa949c71bfcfb24a", + "_id": "61420078c479b5c209a223b5", "_class": "core:class:TxMixin", "space": "core:space:Tx", "modifiedBy": "core:account:System", - "modifiedOn": 1631620178867, + "modifiedOn": 1631715448001, "objectId": "recruit:class:Candidate", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", @@ -1413,13 +1422,13 @@ } }, { - "_id": "61408c52aa949c71bfcfb24b", + "_id": "61420078c479b5c209a223b6", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", "objectId": "server-core:class:Trigger", "objectClass": "core:class:Class", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178867, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "domain": "model", @@ -1428,26 +1437,26 @@ } }, { - "_id": "61408c52aa949c71bfcfb24c", + "_id": "61420078c479b5c209a223b7", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", - "objectId": "61408c52aa949c71bfcfb24d", + "objectId": "61420078c479b5c209a223b8", "objectClass": "server-core:class:Trigger", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178867, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "trigger": "server-chunter:trigger:OnMessage" } }, { - "_id": "61408c52aa949c71bfcfb24f", + "_id": "61420078c479b5c209a223ba", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", - "objectId": "61408c52aa949c71bfcfb24e", + "objectId": "61420078c479b5c209a223b9", "objectClass": "contact:class:Employee", "objectSpace": "contact:space:Employee", - "modifiedOn": 1631620178867, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "firstName": "Rosamund", @@ -1457,29 +1466,29 @@ } }, { - "_id": "61408c52aa949c71bfcfb250", + "_id": "61420078c479b5c209a223bb", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", - "objectId": "61408c52aa949c71bfcfb251", + "objectId": "61420078c479b5c209a223bc", "objectClass": "contact:class:EmployeeAccount", "objectSpace": "core:space:Model", - "modifiedOn": 1631620178867, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "email": "rosamund@hc.engineering", - "employee": "61408c52aa949c71bfcfb24e", + "employee": "61420078c479b5c209a223b9", "firstName": "Rosamund", "lastName": "Chen" } }, { - "_id": "61408c52aa949c71bfcfb252", + "_id": "61420078c479b5c209a223bd", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", - "objectId": "61408c52aa949c71bfcfb253", + "objectId": "61420078c479b5c209a223be", "objectClass": "recruit:class:Candidate", "objectSpace": "recruit:space:CandidatesPublic", - "modifiedOn": 1631620178867, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "firstName": "Andrey", @@ -1490,17 +1499,18 @@ "provider": "contact:channelProvider:Email", "value": "andrey@hc.engineering" } - ] + ], + "attachments": {} } }, { - "_id": "61408c52aa949c71bfcfb254", + "_id": "61420078c479b5c209a223bf", "_class": "core:class:TxCreateDoc", "space": "core:space:Tx", - "objectId": "61408c52aa949c71bfcfb255", + "objectId": "61420078c479b5c209a223c0", "objectClass": "recruit:class:Candidate", "objectSpace": "recruit:space:CandidatesPublic", - "modifiedOn": 1631620178867, + "modifiedOn": 1631715448001, "modifiedBy": "core:account:System", "attributes": { "firstName": "Marina", @@ -1511,7 +1521,8 @@ "provider": "contact:channelProvider:Email", "value": "marina@hc.engineering" } - ] + ], + "attachments": {} } } ] \ No newline at end of file diff --git a/models/chunter/src/index.ts b/models/chunter/src/index.ts index 3333020984..fb453091c2 100644 --- a/models/chunter/src/index.ts +++ b/models/chunter/src/index.ts @@ -17,7 +17,7 @@ import type { IntlString } from '@anticrm/platform' import { Builder, Model, Prop, UX, TypeString, Index } from '@anticrm/model' import type { Ref, Doc, Class, Domain } from '@anticrm/core' import { IndexKind } from '@anticrm/core' -import core, { TSpace, TDoc } from '@anticrm/model-core' +import core, { TSpace, TDoc, TObj } from '@anticrm/model-core' import type { Backlink, Channel, Message, Comment, Attachment } from '@anticrm/chunter' import type { AnyComponent } from '@anticrm/ui' @@ -55,10 +55,8 @@ export class TBacklink extends TComment implements Backlink { backlinkClass!: Ref> } -@Model(chunter.class.Attachment, core.class.Doc, DOMAIN_ATTACHMENT) -export class TAttachment extends TDoc implements Attachment { - attachedTo!: Ref - collection!: string +@Model(chunter.class.Attachment, core.class.Obj, DOMAIN_ATTACHMENT) +export class TAttachment extends TObj implements Attachment { name!: string file!: string size!: number diff --git a/models/core/src/index.ts b/models/core/src/index.ts index fda1dace73..e296186ecd 100644 --- a/models/core/src/index.ts +++ b/models/core/src/index.ts @@ -17,7 +17,7 @@ import { Builder } from '@anticrm/model' import core from './component' import { TAttribute, TClass, TDoc, TMixin, TObj, TType, TTypeString } from './core' import { TSpace, TAccount, TState } from './security' -import { TTx, TTxCreateDoc, TTxMixin, TTxUpdateDoc, TTxCUD } from './tx' +import { TTx, TTxCreateDoc, TTxMixin, TTxUpdateDoc, TTxCUD, TTxPutBag } from './tx' export * from './core' export * from './security' @@ -33,6 +33,7 @@ export function createModel (builder: Builder): void { TTx, TTxCUD, TTxCreateDoc, + TTxPutBag, TTxMixin, TTxUpdateDoc, TSpace, diff --git a/models/core/src/tx.ts b/models/core/src/tx.ts index 08ecc4f72b..a638a3b581 100644 --- a/models/core/src/tx.ts +++ b/models/core/src/tx.ts @@ -27,7 +27,9 @@ import type { TxUpdateDoc, TxMixin, Mixin, - ExtendedAttributes + ExtendedAttributes, + PropertyType, + TxPutBag } from '@anticrm/core' import { DOMAIN_TX } from '@anticrm/core' import { Model } from '@anticrm/model' @@ -52,6 +54,13 @@ export class TTxCreateDoc extends TTxCUD implements TxCreateDo attributes!: Data } +@Model(core.class.TxPutBag, core.class.TxCUD) +export class TTxPutBag extends TTxCUD implements TxPutBag { + bag!: string + key!: string + value!: T +} + @Model(core.class.TxMixin, core.class.TxCUD) export class TTxMixin extends TTxCUD implements TxMixin { mixin!: Ref> diff --git a/models/demo/src/index.ts b/models/demo/src/index.ts index e0f66d4ba7..6c97181292 100644 --- a/models/demo/src/index.ts +++ b/models/demo/src/index.ts @@ -46,7 +46,8 @@ export function createDemo (builder: Builder): void { provider: contact.channelProvider.Email, value: 'andrey@hc.engineering' } - ] + ], + attachments: {} }) builder.createDoc(recruit.class.Candidate, recruit.space.CandidatesPublic, { @@ -58,6 +59,7 @@ export function createDemo (builder: Builder): void { provider: contact.channelProvider.Email, value: 'marina@hc.engineering' } - ] + ], + attachments: {} }) } diff --git a/models/recruit/src/index.ts b/models/recruit/src/index.ts index caa1fbf1c6..930f36c308 100644 --- a/models/recruit/src/index.ts +++ b/models/recruit/src/index.ts @@ -14,8 +14,8 @@ // import type { IntlString } from '@anticrm/platform' -import { Builder, Model, UX, Prop, TypeString } from '@anticrm/model' -import type { Ref, FindOptions, Doc, Domain, State } from '@anticrm/core' +import { Builder, Model, UX, Prop, TypeString, Bag as TypeBag } from '@anticrm/model' +import type { Ref, FindOptions, Doc, Domain, State, Bag } from '@anticrm/core' import core, { TSpace, TDoc } from '@anticrm/model-core' import type { Vacancy, Candidates, Candidate, Applicant } from '@anticrm/recruit' import type { Attachment } from '@anticrm/chunter' @@ -25,8 +25,6 @@ import workbench from '@anticrm/model-workbench' import view from '@anticrm/model-view' import contact, { TPerson } from '@anticrm/model-contact' import recruit from './plugin' -import chunter from '@anticrm/chunter' -import type { Person } from '@anticrm/contact' export const DOMAIN_RECRUIT = 'recruit' as Domain @@ -41,17 +39,17 @@ export class TCandidates extends TSpace implements Candidates {} @Model(recruit.class.Candidate, contact.class.Person) @UX('Candidate' as IntlString) export class TCandidate extends TPerson implements Candidate { - @Prop(TypeString(), 'Resume' as IntlString) - resume?: Ref - @Prop(TypeString(), 'Title' as IntlString) - title?: Ref + title?: string + + @Prop(TypeBag(), 'Attachments' as IntlString) + attachments!: Bag } @Model(recruit.class.Applicant, core.class.Doc, DOMAIN_RECRUIT) export class TApplicant extends TDoc implements Applicant { @Prop(TypeString(), 'Candidate' as IntlString) - candidate!: Ref + candidate!: Ref @Prop(TypeString(), 'State' as IntlString) state!: Ref @@ -107,11 +105,11 @@ export function createModel (builder: Builder): void { open: recruit.component.EditCandidate, // eslint-disable-next-line @typescript-eslint/consistent-type-assertions options: { - lookup: { - resume: chunter.class.Attachment - } + // lookup: { + // resume: chunter.class.Attachment + // } } as FindOptions, // TODO: fix - config: ['', '#' + recruit.component.CreateApplicationPresenter + '/Action', 'city', '$lookup.resume', 'channels'] + config: ['', '#' + recruit.component.CreateApplicationPresenter + '/Action', 'city', 'channels'] }) builder.createDoc(view.class.Viewlet, core.space.Model, { diff --git a/packages/core/src/component.ts b/packages/core/src/component.ts index 4abd0a5fce..9ec22c694f 100644 --- a/packages/core/src/component.ts +++ b/packages/core/src/component.ts @@ -38,7 +38,8 @@ export default plugin(coreId, { Space: '' as Ref>, Account: '' as Ref>, State: '' as Ref>, - TypeString: '' as Ref>> + TypeString: '' as Ref>>, + Bag: '' as Ref>>> }, space: { Tx: '' as Ref, diff --git a/packages/core/src/tx.ts b/packages/core/src/tx.ts index a9c211af6a..93f07ca95c 100644 --- a/packages/core/src/tx.ts +++ b/packages/core/src/tx.ts @@ -266,7 +266,7 @@ export class TxFactory { ): TxPutBag

{ return { _id: generateId(), - _class: core.class.TxUpdateDoc, + _class: core.class.TxPutBag, space: core.space.Tx, modifiedBy: this.account, modifiedOn: Date.now(), diff --git a/packages/model/src/dsl.ts b/packages/model/src/dsl.ts index 237f45ddb6..25c52c5545 100644 --- a/packages/model/src/dsl.ts +++ b/packages/model/src/dsl.ts @@ -272,3 +272,10 @@ export class Builder { export function TypeString (): Type { return { _class: core.class.TypeString } } + +/** + * @public + */ +export function Bag (): Type> { + return { _class: core.class.Bag } +} diff --git a/packages/query/src/index.ts b/packages/query/src/index.ts index aeb0a85011..bff9100886 100644 --- a/packages/query/src/index.ts +++ b/packages/query/src/index.ts @@ -87,8 +87,22 @@ export class LiveQuery extends TxProcessor implements Client { } } - protected txPutBag (tx: TxPutBag): Promise { - throw new Error('Method not implemented.') + protected override async txPutBag (tx: TxPutBag): Promise { + for (const q of this.queries) { + if (q.result instanceof Promise) { + q.result = await q.result + } + const updatedDoc = q.result.find(p => p._id === tx.objectId) + if (updatedDoc !== undefined) { + const doc = updatedDoc as any + let bag = doc[tx.bag] + if (bag === undefined) { + doc[tx.bag] = bag = {} + } + bag[tx.key] = tx.value + await this.callback(updatedDoc, q) + } + } } protected txMixin (tx: TxMixin): Promise { diff --git a/packages/ui/src/index.ts b/packages/ui/src/index.ts index 0936ccc685..891c9b6097 100644 --- a/packages/ui/src/index.ts +++ b/packages/ui/src/index.ts @@ -53,6 +53,7 @@ export { default as Row } from './components/Row.svelte' // export { default as CheckBoxList } from './components/CheckBoxList.svelte.txt' export { default as EditWithIcon } from './components/EditWithIcon.svelte' export { default as Loading } from './components/Loading.svelte' +export { default as Spinner } from './components/Spinner.svelte' export { default as Popup } from './components/Popup.svelte' export { default as CircleButton } from './components/CircleButton.svelte' export { default as Link } from './components/Link.svelte' diff --git a/plugins/chunter/src/index.ts b/plugins/chunter/src/index.ts index 3a8c5794ec..2d30444150 100644 --- a/plugins/chunter/src/index.ts +++ b/plugins/chunter/src/index.ts @@ -15,7 +15,7 @@ import { plugin } from '@anticrm/platform' import type { Asset, Plugin } from '@anticrm/platform' -import type { Space, Doc, Ref, Class, AttachedDoc } from '@anticrm/core' +import type { Space, Obj, Doc, Ref, Class, AttachedDoc } from '@anticrm/core' /** * @public @@ -47,8 +47,7 @@ export interface Backlink extends Comment { /** * @public */ -export interface Attachment extends AttachedDoc { - collection: string +export interface Attachment extends Obj { name: string file: string size: number diff --git a/plugins/contact-resources/src/components/PersonPresenter.svelte b/plugins/contact-resources/src/components/PersonPresenter.svelte index c57089e736..abf7154d1a 100644 --- a/plugins/contact-resources/src/components/PersonPresenter.svelte +++ b/plugins/contact-resources/src/components/PersonPresenter.svelte @@ -29,7 +29,7 @@ async function onClick() { const clazz = hierarchy.getClass(value._class) const editorMixin = hierarchy.as(clazz, view.mixin.ObjectEditor) const editor = await getResource(editorMixin.editor) - showPopup(editor, { object: value }, 'full') + showPopup(editor, { _id: value._id }, 'full') } diff --git a/plugins/recruit-resources/src/components/Attachments.svelte b/plugins/recruit-resources/src/components/Attachments.svelte index adda7923aa..93841aa093 100644 --- a/plugins/recruit-resources/src/components/Attachments.svelte +++ b/plugins/recruit-resources/src/components/Attachments.svelte @@ -14,9 +14,10 @@ --> +{#if object !== undefined} { dispatch('close') }}>

@@ -69,10 +74,11 @@
- +
+{/if}