dl-commons 0.0.2-testing.24 → 0.0.2-testing.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -91
- package/dist/models/dtos/commons/crop-area.dto.js +4 -4
- package/dist/models/dtos/commons/crop-area.dto.js.map +1 -1
- package/dist/models/schemas/base.schema.d.ts +4 -4
- package/dist/models/schemas/embedded/attachement.schema.d.ts +4 -4
- package/dist/models/schemas/embedded/author.schema.d.ts +4 -4
- package/dist/models/schemas/embedded/contact.schema.d.ts +4 -4
- package/dist/models/schemas/embedded/crop-area.schema.d.ts +4 -4
- package/dist/models/schemas/embedded/dictionary-embedded.schema.d.ts +4 -4
- package/dist/models/schemas/embedded/group-session.schema.d.ts +4 -4
- package/dist/models/schemas/embedded/i18n.embedded.d.ts +4 -4
- package/dist/models/schemas/embedded/person.schema.d.ts +4 -4
- package/dist/models/schemas/embedded/picture.schema.d.ts +4 -4
- package/dist/models/schemas/embedded/record.embedded.d.ts +4 -4
- package/dist/models/schemas/embedded/residence.schema.d.ts +4 -4
- package/dist/models/schemas/embedded/s3.schema.d.ts +32 -32
- package/dist/models/schemas/embedded/session-user.schema.d.ts +4 -4
- package/dist/models/schemas/embedded/student-embedded.schema.d.ts +4 -4
- package/dist/models/schemas/embedded/teacher.schema.d.ts +4 -4
- package/dist/models/schemas/embedded/time.schema.d.ts +4 -4
- package/dist/models/schemas/identifable.schema.d.ts +4 -4
- package/dist/models/schemas/parent.schema.d.ts +4 -4
- package/dist/models/schemas/session.schema.d.ts +4 -4
- package/dist/services/iam.service.d.ts +1 -0
- package/dist/services/iam.service.js +17 -0
- package/dist/services/iam.service.js.map +1 -1
- package/dist/services/permissions-scanner.service.js +0 -1
- package/dist/services/permissions-scanner.service.js.map +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/models/dtos/commons/crop-area.dto.ts +5 -5
- package/src/services/iam.service.ts +20 -0
- package/src/services/permissions-scanner.service.ts +0 -2
- package/dist/models/interfaces/group.interface.d.ts +0 -17
- package/dist/models/interfaces/group.interface.js +0 -3
- package/dist/models/interfaces/group.interface.js.map +0 -1
package/README.md
CHANGED
|
@@ -1,93 +1,2 @@
|
|
|
1
1
|
# dl-commons
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
## Getting started
|
|
6
|
-
|
|
7
|
-
To make it easy for you to get started with GitLab, here's a list of recommended next steps.
|
|
8
|
-
|
|
9
|
-
Already a pro? Just edit this README.md and make it your own. Want to make it easy? [Use the template at the bottom](#editing-this-readme)!
|
|
10
|
-
|
|
11
|
-
## Add your files
|
|
12
|
-
|
|
13
|
-
- [ ] [Create](https://docs.gitlab.com/ee/user/project/repository/web_editor.html#create-a-file) or [upload](https://docs.gitlab.com/ee/user/project/repository/web_editor.html#upload-a-file) files
|
|
14
|
-
- [ ] [Add files using the command line](https://docs.gitlab.com/ee/gitlab-basics/add-file.html#add-a-file-using-the-command-line) or push an existing Git repository with the following command:
|
|
15
|
-
|
|
16
|
-
```
|
|
17
|
-
cd existing_repo
|
|
18
|
-
git remote add origin https://git.emis.ge/distance-learning/libraries/dl-commons.git
|
|
19
|
-
git branch -M main
|
|
20
|
-
git push -uf origin main
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
## Integrate with your tools
|
|
24
|
-
|
|
25
|
-
- [ ] [Set up project integrations](https://git.emis.ge/distance-learning/libraries/dl-commons/-/settings/integrations)
|
|
26
|
-
|
|
27
|
-
## Collaborate with your team
|
|
28
|
-
|
|
29
|
-
- [ ] [Invite team members and collaborators](https://docs.gitlab.com/ee/user/project/members/)
|
|
30
|
-
- [ ] [Create a new merge request](https://docs.gitlab.com/ee/user/project/merge_requests/creating_merge_requests.html)
|
|
31
|
-
- [ ] [Automatically close issues from merge requests](https://docs.gitlab.com/ee/user/project/issues/managing_issues.html#closing-issues-automatically)
|
|
32
|
-
- [ ] [Enable merge request approvals](https://docs.gitlab.com/ee/user/project/merge_requests/approvals/)
|
|
33
|
-
- [ ] [Set auto-merge](https://docs.gitlab.com/ee/user/project/merge_requests/merge_when_pipeline_succeeds.html)
|
|
34
|
-
|
|
35
|
-
## Test and Deploy
|
|
36
|
-
|
|
37
|
-
Use the built-in continuous integration in GitLab.
|
|
38
|
-
|
|
39
|
-
- [ ] [Get started with GitLab CI/CD](https://docs.gitlab.com/ee/ci/quick_start/index.html)
|
|
40
|
-
- [ ] [Analyze your code for known vulnerabilities with Static Application Security Testing (SAST)](https://docs.gitlab.com/ee/user/application_security/sast/)
|
|
41
|
-
- [ ] [Deploy to Kubernetes, Amazon EC2, or Amazon ECS using Auto Deploy](https://docs.gitlab.com/ee/topics/autodevops/requirements.html)
|
|
42
|
-
- [ ] [Use pull-based deployments for improved Kubernetes management](https://docs.gitlab.com/ee/user/clusters/agent/)
|
|
43
|
-
- [ ] [Set up protected environments](https://docs.gitlab.com/ee/ci/environments/protected_environments.html)
|
|
44
|
-
|
|
45
|
-
***
|
|
46
|
-
|
|
47
|
-
# Editing this README
|
|
48
|
-
|
|
49
|
-
When you're ready to make this README your own, just edit this file and use the handy template below (or feel free to structure it however you want - this is just a starting point!). Thanks to [makeareadme.com](https://www.makeareadme.com/) for this template.
|
|
50
|
-
|
|
51
|
-
## Suggestions for a good README
|
|
52
|
-
|
|
53
|
-
Every project is different, so consider which of these sections apply to yours. The sections used in the template are suggestions for most open source projects. Also keep in mind that while a README can be too long and detailed, too long is better than too short. If you think your README is too long, consider utilizing another form of documentation rather than cutting out information.
|
|
54
|
-
|
|
55
|
-
## Name
|
|
56
|
-
Choose a self-explaining name for your project.
|
|
57
|
-
|
|
58
|
-
## Description
|
|
59
|
-
Let people know what your project can do specifically. Provide context and add a link to any reference visitors might be unfamiliar with. A list of Features or a Background subsection can also be added here. If there are alternatives to your project, this is a good place to list differentiating factors.
|
|
60
|
-
|
|
61
|
-
## Badges
|
|
62
|
-
On some READMEs, you may see small images that convey metadata, such as whether or not all the tests are passing for the project. You can use Shields to add some to your README. Many services also have instructions for adding a badge.
|
|
63
|
-
|
|
64
|
-
## Visuals
|
|
65
|
-
Depending on what you are making, it can be a good idea to include screenshots or even a video (you'll frequently see GIFs rather than actual videos). Tools like ttygif can help, but check out Asciinema for a more sophisticated method.
|
|
66
|
-
|
|
67
|
-
## Installation
|
|
68
|
-
Within a particular ecosystem, there may be a common way of installing things, such as using Yarn, NuGet, or Homebrew. However, consider the possibility that whoever is reading your README is a novice and would like more guidance. Listing specific steps helps remove ambiguity and gets people to using your project as quickly as possible. If it only runs in a specific context like a particular programming language version or operating system or has dependencies that have to be installed manually, also add a Requirements subsection.
|
|
69
|
-
|
|
70
|
-
## Usage
|
|
71
|
-
Use examples liberally, and show the expected output if you can. It's helpful to have inline the smallest example of usage that you can demonstrate, while providing links to more sophisticated examples if they are too long to reasonably include in the README.
|
|
72
|
-
|
|
73
|
-
## Support
|
|
74
|
-
Tell people where they can go to for help. It can be any combination of an issue tracker, a chat room, an email address, etc.
|
|
75
|
-
|
|
76
|
-
## Roadmap
|
|
77
|
-
If you have ideas for releases in the future, it is a good idea to list them in the README.
|
|
78
|
-
|
|
79
|
-
## Contributing
|
|
80
|
-
State if you are open to contributions and what your requirements are for accepting them.
|
|
81
|
-
|
|
82
|
-
For people who want to make changes to your project, it's helpful to have some documentation on how to get started. Perhaps there is a script that they should run or some environment variables that they need to set. Make these steps explicit. These instructions could also be useful to your future self.
|
|
83
|
-
|
|
84
|
-
You can also document commands to lint the code or run tests. These steps help to ensure high code quality and reduce the likelihood that the changes inadvertently break something. Having instructions for running tests is especially helpful if it requires external setup, such as starting a Selenium server for testing in a browser.
|
|
85
|
-
|
|
86
|
-
## Authors and acknowledgment
|
|
87
|
-
Show your appreciation to those who have contributed to the project.
|
|
88
|
-
|
|
89
|
-
## License
|
|
90
|
-
For open source projects, say how it is licensed.
|
|
91
|
-
|
|
92
|
-
## Project status
|
|
93
|
-
If you have run out of energy or time for your project, put a note at the top of the README saying that development has slowed down or stopped completely. Someone may choose to fork your project or volunteer to step in as a maintainer or owner, allowing your project to keep going. You can also make an explicit request for maintainers.
|
|
@@ -16,22 +16,22 @@ class CropAreaDTO {
|
|
|
16
16
|
exports.CropAreaDTO = CropAreaDTO;
|
|
17
17
|
__decorate([
|
|
18
18
|
(0, class_validator_1.IsNotEmpty)(),
|
|
19
|
-
(0, class_validator_1.
|
|
19
|
+
(0, class_validator_1.IsNumber)({ allowInfinity: false, allowNaN: false }),
|
|
20
20
|
__metadata("design:type", Number)
|
|
21
21
|
], CropAreaDTO.prototype, "x1", void 0);
|
|
22
22
|
__decorate([
|
|
23
23
|
(0, class_validator_1.IsNotEmpty)(),
|
|
24
|
-
(0, class_validator_1.
|
|
24
|
+
(0, class_validator_1.IsNumber)({ allowInfinity: false, allowNaN: false }),
|
|
25
25
|
__metadata("design:type", Number)
|
|
26
26
|
], CropAreaDTO.prototype, "x2", void 0);
|
|
27
27
|
__decorate([
|
|
28
28
|
(0, class_validator_1.IsNotEmpty)(),
|
|
29
|
-
(0, class_validator_1.
|
|
29
|
+
(0, class_validator_1.IsNumber)({ allowInfinity: false, allowNaN: false }),
|
|
30
30
|
__metadata("design:type", Number)
|
|
31
31
|
], CropAreaDTO.prototype, "y1", void 0);
|
|
32
32
|
__decorate([
|
|
33
33
|
(0, class_validator_1.IsNotEmpty)(),
|
|
34
|
-
(0, class_validator_1.
|
|
34
|
+
(0, class_validator_1.IsNumber)({ allowInfinity: false, allowNaN: false }),
|
|
35
35
|
__metadata("design:type", Number)
|
|
36
36
|
], CropAreaDTO.prototype, "y2", void 0);
|
|
37
37
|
//# sourceMappingURL=crop-area.dto.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"crop-area.dto.js","sourceRoot":"","sources":["../../../../src/models/dtos/commons/crop-area.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"crop-area.dto.js","sourceRoot":"","sources":["../../../../src/models/dtos/commons/crop-area.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AAEvD,MAAa,WAAW;CAgBvB;AAhBD,kCAgBC;AAbG;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,EAAC,EAAE,aAAa,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;uCACzC;AAIX;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,EAAC,EAAE,aAAa,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;uCACzC;AAIX;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,EAAC,EAAE,aAAa,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;uCACzC;AAIX;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,EAAC,EAAE,aAAa,EAAE,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC;;uCACzC"}
|
|
@@ -5,13 +5,13 @@ import { Identifable } from './identifable.schema';
|
|
|
5
5
|
export declare class Base extends Identifable implements IBase {
|
|
6
6
|
record: IRecord;
|
|
7
7
|
}
|
|
8
|
-
export declare const BaseSchema: import("mongoose").Schema<Base, import("mongoose").Model<Base, any, any, any, import("mongoose").Document<unknown, any, Base> & Base & Required<{
|
|
8
|
+
export declare const BaseSchema: import("mongoose").Schema<Base, import("mongoose").Model<Base, any, any, any, import("mongoose").Document<unknown, any, Base, any> & Base & Required<{
|
|
9
9
|
_id: import("mongoose").Types.ObjectId;
|
|
10
10
|
}> & {
|
|
11
|
-
__v
|
|
12
|
-
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, Base, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<Base
|
|
11
|
+
__v: number;
|
|
12
|
+
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, Base, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<Base>, {}> & import("mongoose").FlatRecord<Base> & Required<{
|
|
13
13
|
_id: import("mongoose").Types.ObjectId;
|
|
14
14
|
}> & {
|
|
15
|
-
__v
|
|
15
|
+
__v: number;
|
|
16
16
|
}>;
|
|
17
17
|
export type BaseDocument = HydratedDocument<Base>;
|
|
@@ -8,13 +8,13 @@ export declare class Attachement extends Identifable implements IAttachement {
|
|
|
8
8
|
file: IFileEmbedded;
|
|
9
9
|
link: string;
|
|
10
10
|
}
|
|
11
|
-
export declare const AttachementSchema: import("mongoose").Schema<Attachement, import("mongoose").Model<Attachement, any, any, any, import("mongoose").Document<unknown, any, Attachement> & Attachement & Required<{
|
|
11
|
+
export declare const AttachementSchema: import("mongoose").Schema<Attachement, import("mongoose").Model<Attachement, any, any, any, import("mongoose").Document<unknown, any, Attachement, any> & Attachement & Required<{
|
|
12
12
|
_id: import("mongoose").Types.ObjectId;
|
|
13
13
|
}> & {
|
|
14
|
-
__v
|
|
15
|
-
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, Attachement, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<Attachement
|
|
14
|
+
__v: number;
|
|
15
|
+
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, Attachement, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<Attachement>, {}> & import("mongoose").FlatRecord<Attachement> & Required<{
|
|
16
16
|
_id: import("mongoose").Types.ObjectId;
|
|
17
17
|
}> & {
|
|
18
|
-
__v
|
|
18
|
+
__v: number;
|
|
19
19
|
}>;
|
|
20
20
|
export type AttachementDocument = HydratedDocument<Attachement>;
|
|
@@ -6,13 +6,13 @@ export declare class Author implements IAuthor {
|
|
|
6
6
|
firstName: string | null | undefined;
|
|
7
7
|
lastName: string | null | undefined;
|
|
8
8
|
}
|
|
9
|
-
export declare const AuthorSchema: MongooseSchema<Author, import("mongoose").Model<Author, any, any, any, import("mongoose").Document<unknown, any, Author> & Author & {
|
|
9
|
+
export declare const AuthorSchema: MongooseSchema<Author, import("mongoose").Model<Author, any, any, any, import("mongoose").Document<unknown, any, Author, any> & Author & {
|
|
10
10
|
_id: Types.ObjectId;
|
|
11
11
|
} & {
|
|
12
|
-
__v
|
|
13
|
-
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, Author, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<Author
|
|
12
|
+
__v: number;
|
|
13
|
+
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, Author, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<Author>, {}> & import("mongoose").FlatRecord<Author> & {
|
|
14
14
|
_id: Types.ObjectId;
|
|
15
15
|
} & {
|
|
16
|
-
__v
|
|
16
|
+
__v: number;
|
|
17
17
|
}>;
|
|
18
18
|
export type AuthorDocument = HydratedDocument<Author>;
|
|
@@ -8,13 +8,13 @@ export declare class Contact extends Identifable implements IContact {
|
|
|
8
8
|
primary: boolean;
|
|
9
9
|
verified: boolean;
|
|
10
10
|
}
|
|
11
|
-
export declare const ContactSchema: import("mongoose").Schema<Contact, import("mongoose").Model<Contact, any, any, any, import("mongoose").Document<unknown, any, Contact> & Contact & Required<{
|
|
11
|
+
export declare const ContactSchema: import("mongoose").Schema<Contact, import("mongoose").Model<Contact, any, any, any, import("mongoose").Document<unknown, any, Contact, any> & Contact & Required<{
|
|
12
12
|
_id: import("mongoose").Types.ObjectId;
|
|
13
13
|
}> & {
|
|
14
|
-
__v
|
|
15
|
-
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, Contact, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<Contact
|
|
14
|
+
__v: number;
|
|
15
|
+
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, Contact, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<Contact>, {}> & import("mongoose").FlatRecord<Contact> & Required<{
|
|
16
16
|
_id: import("mongoose").Types.ObjectId;
|
|
17
17
|
}> & {
|
|
18
|
-
__v
|
|
18
|
+
__v: number;
|
|
19
19
|
}>;
|
|
20
20
|
export type ContactDocument = HydratedDocument<Contact>;
|
|
@@ -6,13 +6,13 @@ export declare class CropArea implements ICropArea {
|
|
|
6
6
|
y1: number;
|
|
7
7
|
y2: number;
|
|
8
8
|
}
|
|
9
|
-
export declare const CropAreaSchema: import("mongoose").Schema<CropArea, import("mongoose").Model<CropArea, any, any, any, import("mongoose").Document<unknown, any, CropArea> & CropArea & {
|
|
9
|
+
export declare const CropAreaSchema: import("mongoose").Schema<CropArea, import("mongoose").Model<CropArea, any, any, any, import("mongoose").Document<unknown, any, CropArea, any> & CropArea & {
|
|
10
10
|
_id: import("mongoose").Types.ObjectId;
|
|
11
11
|
} & {
|
|
12
|
-
__v
|
|
13
|
-
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, CropArea, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<CropArea
|
|
12
|
+
__v: number;
|
|
13
|
+
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, CropArea, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<CropArea>, {}> & import("mongoose").FlatRecord<CropArea> & {
|
|
14
14
|
_id: import("mongoose").Types.ObjectId;
|
|
15
15
|
} & {
|
|
16
|
-
__v
|
|
16
|
+
__v: number;
|
|
17
17
|
}>;
|
|
18
18
|
export type CropAreaDocument = HydratedDocument<CropArea>;
|
|
@@ -8,13 +8,13 @@ export declare class DictionaryEmbedded extends Base implements IDictionary {
|
|
|
8
8
|
metas: Map<string, string>;
|
|
9
9
|
keyword: string;
|
|
10
10
|
}
|
|
11
|
-
export declare const DictionaryEmbeddedSchema: MongooseSchema<DictionaryEmbedded, import("mongoose").Model<DictionaryEmbedded, any, any, any, import("mongoose").Document<unknown, any, DictionaryEmbedded> & DictionaryEmbedded & Required<{
|
|
11
|
+
export declare const DictionaryEmbeddedSchema: MongooseSchema<DictionaryEmbedded, import("mongoose").Model<DictionaryEmbedded, any, any, any, import("mongoose").Document<unknown, any, DictionaryEmbedded, any> & DictionaryEmbedded & Required<{
|
|
12
12
|
_id: Types.ObjectId;
|
|
13
13
|
}> & {
|
|
14
|
-
__v
|
|
15
|
-
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, DictionaryEmbedded, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<DictionaryEmbedded
|
|
14
|
+
__v: number;
|
|
15
|
+
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, DictionaryEmbedded, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<DictionaryEmbedded>, {}> & import("mongoose").FlatRecord<DictionaryEmbedded> & Required<{
|
|
16
16
|
_id: Types.ObjectId;
|
|
17
17
|
}> & {
|
|
18
|
-
__v
|
|
18
|
+
__v: number;
|
|
19
19
|
}>;
|
|
20
20
|
export type DictionaryEmbeddedDocument = HydratedDocument<DictionaryEmbedded>;
|
|
@@ -8,13 +8,13 @@ export declare class GroupSession extends Identifable implements IGroupSession {
|
|
|
8
8
|
day: WeekDay;
|
|
9
9
|
time: ITime;
|
|
10
10
|
}
|
|
11
|
-
export declare const GroupSessionSchema: import("mongoose").Schema<GroupSession, import("mongoose").Model<GroupSession, any, any, any, import("mongoose").Document<unknown, any, GroupSession> & GroupSession & Required<{
|
|
11
|
+
export declare const GroupSessionSchema: import("mongoose").Schema<GroupSession, import("mongoose").Model<GroupSession, any, any, any, import("mongoose").Document<unknown, any, GroupSession, any> & GroupSession & Required<{
|
|
12
12
|
_id: import("mongoose").Types.ObjectId;
|
|
13
13
|
}> & {
|
|
14
|
-
__v
|
|
15
|
-
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, GroupSession, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<GroupSession
|
|
14
|
+
__v: number;
|
|
15
|
+
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, GroupSession, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<GroupSession>, {}> & import("mongoose").FlatRecord<GroupSession> & Required<{
|
|
16
16
|
_id: import("mongoose").Types.ObjectId;
|
|
17
17
|
}> & {
|
|
18
|
-
__v
|
|
18
|
+
__v: number;
|
|
19
19
|
}>;
|
|
20
20
|
export type GroupSessionDocument = HydratedDocument<GroupSession>;
|
|
@@ -5,13 +5,13 @@ export declare class I18n implements II18n {
|
|
|
5
5
|
en: string;
|
|
6
6
|
ua: string;
|
|
7
7
|
}
|
|
8
|
-
export declare const I18nSchema: import("mongoose").Schema<I18n, import("mongoose").Model<I18n, any, any, any, import("mongoose").Document<unknown, any, I18n> & I18n & {
|
|
8
|
+
export declare const I18nSchema: import("mongoose").Schema<I18n, import("mongoose").Model<I18n, any, any, any, import("mongoose").Document<unknown, any, I18n, any> & I18n & {
|
|
9
9
|
_id: import("mongoose").Types.ObjectId;
|
|
10
10
|
} & {
|
|
11
|
-
__v
|
|
12
|
-
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, I18n, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<I18n
|
|
11
|
+
__v: number;
|
|
12
|
+
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, I18n, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<I18n>, {}> & import("mongoose").FlatRecord<I18n> & {
|
|
13
13
|
_id: import("mongoose").Types.ObjectId;
|
|
14
14
|
} & {
|
|
15
|
-
__v
|
|
15
|
+
__v: number;
|
|
16
16
|
}>;
|
|
17
17
|
export type I18nDocument = HydratedDocument<I18n>;
|
|
@@ -10,13 +10,13 @@ export declare class Person implements IPerson {
|
|
|
10
10
|
gender: IDictionary;
|
|
11
11
|
residence: IResidence;
|
|
12
12
|
}
|
|
13
|
-
export declare const PersonSchema: import("mongoose").Schema<Person, import("mongoose").Model<Person, any, any, any, import("mongoose").Document<unknown, any, Person> & Person & {
|
|
13
|
+
export declare const PersonSchema: import("mongoose").Schema<Person, import("mongoose").Model<Person, any, any, any, import("mongoose").Document<unknown, any, Person, any> & Person & {
|
|
14
14
|
_id: import("mongoose").Types.ObjectId;
|
|
15
15
|
} & {
|
|
16
|
-
__v
|
|
17
|
-
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, Person, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<Person
|
|
16
|
+
__v: number;
|
|
17
|
+
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, Person, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<Person>, {}> & import("mongoose").FlatRecord<Person> & {
|
|
18
18
|
_id: import("mongoose").Types.ObjectId;
|
|
19
19
|
} & {
|
|
20
|
-
__v
|
|
20
|
+
__v: number;
|
|
21
21
|
}>;
|
|
22
22
|
export type PersonDocument = HydratedDocument<Person>;
|
|
@@ -7,13 +7,13 @@ export declare class Picture implements IPicture {
|
|
|
7
7
|
cropped: IFileEmbedded | null | undefined;
|
|
8
8
|
cropArea: ICropArea | null | undefined;
|
|
9
9
|
}
|
|
10
|
-
export declare const PictureSchema: import("mongoose").Schema<Picture, import("mongoose").Model<Picture, any, any, any, import("mongoose").Document<unknown, any, Picture> & Picture & {
|
|
10
|
+
export declare const PictureSchema: import("mongoose").Schema<Picture, import("mongoose").Model<Picture, any, any, any, import("mongoose").Document<unknown, any, Picture, any> & Picture & {
|
|
11
11
|
_id: import("mongoose").Types.ObjectId;
|
|
12
12
|
} & {
|
|
13
|
-
__v
|
|
14
|
-
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, Picture, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<Picture
|
|
13
|
+
__v: number;
|
|
14
|
+
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, Picture, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<Picture>, {}> & import("mongoose").FlatRecord<Picture> & {
|
|
15
15
|
_id: import("mongoose").Types.ObjectId;
|
|
16
16
|
} & {
|
|
17
|
-
__v
|
|
17
|
+
__v: number;
|
|
18
18
|
}>;
|
|
19
19
|
export type PictureDocument = HydratedDocument<Picture>;
|
|
@@ -8,13 +8,13 @@ export declare class Record implements IRecord {
|
|
|
8
8
|
updatedAt: Date;
|
|
9
9
|
deletedAt: Date;
|
|
10
10
|
}
|
|
11
|
-
export declare const RecordSchema: import("mongoose").Schema<Record, import("mongoose").Model<Record, any, any, any, import("mongoose").Document<unknown, any, Record> & Record & {
|
|
11
|
+
export declare const RecordSchema: import("mongoose").Schema<Record, import("mongoose").Model<Record, any, any, any, import("mongoose").Document<unknown, any, Record, any> & Record & {
|
|
12
12
|
_id: import("mongoose").Types.ObjectId;
|
|
13
13
|
} & {
|
|
14
|
-
__v
|
|
15
|
-
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, Record, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<Record
|
|
14
|
+
__v: number;
|
|
15
|
+
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, Record, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<Record>, {}> & import("mongoose").FlatRecord<Record> & {
|
|
16
16
|
_id: import("mongoose").Types.ObjectId;
|
|
17
17
|
} & {
|
|
18
|
-
__v
|
|
18
|
+
__v: number;
|
|
19
19
|
}>;
|
|
20
20
|
export type RecordDocument = HydratedDocument<Record>;
|
|
@@ -7,13 +7,13 @@ export declare class Residence implements IResidence {
|
|
|
7
7
|
address1: string;
|
|
8
8
|
address2: string;
|
|
9
9
|
}
|
|
10
|
-
export declare const ResidenceSchema: import("mongoose").Schema<Residence, import("mongoose").Model<Residence, any, any, any, import("mongoose").Document<unknown, any, Residence> & Residence & {
|
|
10
|
+
export declare const ResidenceSchema: import("mongoose").Schema<Residence, import("mongoose").Model<Residence, any, any, any, import("mongoose").Document<unknown, any, Residence, any> & Residence & {
|
|
11
11
|
_id: import("mongoose").Types.ObjectId;
|
|
12
12
|
} & {
|
|
13
|
-
__v
|
|
14
|
-
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, Residence, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<Residence
|
|
13
|
+
__v: number;
|
|
14
|
+
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, Residence, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<Residence>, {}> & import("mongoose").FlatRecord<Residence> & {
|
|
15
15
|
_id: import("mongoose").Types.ObjectId;
|
|
16
16
|
} & {
|
|
17
|
-
__v
|
|
17
|
+
__v: number;
|
|
18
18
|
}>;
|
|
19
19
|
export type ResidenceDocument = HydratedDocument<Residence>;
|
|
@@ -45,77 +45,77 @@ export declare class FileEmbedded implements IFileEmbedded {
|
|
|
45
45
|
s3: S3;
|
|
46
46
|
createdAt: Date;
|
|
47
47
|
}
|
|
48
|
-
export declare const S3Schema: import("mongoose").Schema<S3, import("mongoose").Model<S3, any, any, any, import("mongoose").Document<unknown, any, S3> & S3 & {
|
|
48
|
+
export declare const S3Schema: import("mongoose").Schema<S3, import("mongoose").Model<S3, any, any, any, import("mongoose").Document<unknown, any, S3, any> & S3 & {
|
|
49
49
|
_id: import("mongoose").Types.ObjectId;
|
|
50
50
|
} & {
|
|
51
|
-
__v
|
|
52
|
-
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, S3, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<S3
|
|
51
|
+
__v: number;
|
|
52
|
+
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, S3, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<S3>, {}> & import("mongoose").FlatRecord<S3> & {
|
|
53
53
|
_id: import("mongoose").Types.ObjectId;
|
|
54
54
|
} & {
|
|
55
|
-
__v
|
|
55
|
+
__v: number;
|
|
56
56
|
}>;
|
|
57
|
-
export declare const LogInitiatorSchema: import("mongoose").Schema<LogInitiator, import("mongoose").Model<LogInitiator, any, any, any, import("mongoose").Document<unknown, any, LogInitiator> & LogInitiator & {
|
|
57
|
+
export declare const LogInitiatorSchema: import("mongoose").Schema<LogInitiator, import("mongoose").Model<LogInitiator, any, any, any, import("mongoose").Document<unknown, any, LogInitiator, any> & LogInitiator & {
|
|
58
58
|
_id: import("mongoose").Types.ObjectId;
|
|
59
59
|
} & {
|
|
60
|
-
__v
|
|
61
|
-
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, LogInitiator, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<LogInitiator
|
|
60
|
+
__v: number;
|
|
61
|
+
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, LogInitiator, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<LogInitiator>, {}> & import("mongoose").FlatRecord<LogInitiator> & {
|
|
62
62
|
_id: import("mongoose").Types.ObjectId;
|
|
63
63
|
} & {
|
|
64
|
-
__v
|
|
64
|
+
__v: number;
|
|
65
65
|
}>;
|
|
66
|
-
export declare const FileLogSchema: import("mongoose").Schema<FileLog, import("mongoose").Model<FileLog, any, any, any, import("mongoose").Document<unknown, any, FileLog> & FileLog & {
|
|
66
|
+
export declare const FileLogSchema: import("mongoose").Schema<FileLog, import("mongoose").Model<FileLog, any, any, any, import("mongoose").Document<unknown, any, FileLog, any> & FileLog & {
|
|
67
67
|
_id: import("mongoose").Types.ObjectId;
|
|
68
68
|
} & {
|
|
69
|
-
__v
|
|
70
|
-
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, FileLog, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<FileLog
|
|
69
|
+
__v: number;
|
|
70
|
+
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, FileLog, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<FileLog>, {}> & import("mongoose").FlatRecord<FileLog> & {
|
|
71
71
|
_id: import("mongoose").Types.ObjectId;
|
|
72
72
|
} & {
|
|
73
|
-
__v
|
|
73
|
+
__v: number;
|
|
74
74
|
}>;
|
|
75
|
-
export declare const FileMetaSchema: import("mongoose").Schema<FileMeta, import("mongoose").Model<FileMeta, any, any, any, import("mongoose").Document<unknown, any, FileMeta> & FileMeta & {
|
|
75
|
+
export declare const FileMetaSchema: import("mongoose").Schema<FileMeta, import("mongoose").Model<FileMeta, any, any, any, import("mongoose").Document<unknown, any, FileMeta, any> & FileMeta & {
|
|
76
76
|
_id: import("mongoose").Types.ObjectId;
|
|
77
77
|
} & {
|
|
78
|
-
__v
|
|
79
|
-
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, FileMeta, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<FileMeta
|
|
78
|
+
__v: number;
|
|
79
|
+
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, FileMeta, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<FileMeta>, {}> & import("mongoose").FlatRecord<FileMeta> & {
|
|
80
80
|
_id: import("mongoose").Types.ObjectId;
|
|
81
81
|
} & {
|
|
82
|
-
__v
|
|
82
|
+
__v: number;
|
|
83
83
|
}>;
|
|
84
|
-
export declare const FileStateSchema: import("mongoose").Schema<FileState, import("mongoose").Model<FileState, any, any, any, import("mongoose").Document<unknown, any, FileState> & FileState & {
|
|
84
|
+
export declare const FileStateSchema: import("mongoose").Schema<FileState, import("mongoose").Model<FileState, any, any, any, import("mongoose").Document<unknown, any, FileState, any> & FileState & {
|
|
85
85
|
_id: import("mongoose").Types.ObjectId;
|
|
86
86
|
} & {
|
|
87
|
-
__v
|
|
88
|
-
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, FileState, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<FileState
|
|
87
|
+
__v: number;
|
|
88
|
+
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, FileState, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<FileState>, {}> & import("mongoose").FlatRecord<FileState> & {
|
|
89
89
|
_id: import("mongoose").Types.ObjectId;
|
|
90
90
|
} & {
|
|
91
|
-
__v
|
|
91
|
+
__v: number;
|
|
92
92
|
}>;
|
|
93
|
-
export declare const FileRecordSchema: import("mongoose").Schema<FileRecord, import("mongoose").Model<FileRecord, any, any, any, import("mongoose").Document<unknown, any, FileRecord> & FileRecord & {
|
|
93
|
+
export declare const FileRecordSchema: import("mongoose").Schema<FileRecord, import("mongoose").Model<FileRecord, any, any, any, import("mongoose").Document<unknown, any, FileRecord, any> & FileRecord & {
|
|
94
94
|
_id: import("mongoose").Types.ObjectId;
|
|
95
95
|
} & {
|
|
96
|
-
__v
|
|
97
|
-
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, FileRecord, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<FileRecord
|
|
96
|
+
__v: number;
|
|
97
|
+
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, FileRecord, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<FileRecord>, {}> & import("mongoose").FlatRecord<FileRecord> & {
|
|
98
98
|
_id: import("mongoose").Types.ObjectId;
|
|
99
99
|
} & {
|
|
100
|
-
__v
|
|
100
|
+
__v: number;
|
|
101
101
|
}>;
|
|
102
|
-
export declare const S3FileSchema: import("mongoose").Schema<S3File, import("mongoose").Model<S3File, any, any, any, import("mongoose").Document<unknown, any, S3File> & S3File & {
|
|
102
|
+
export declare const S3FileSchema: import("mongoose").Schema<S3File, import("mongoose").Model<S3File, any, any, any, import("mongoose").Document<unknown, any, S3File, any> & S3File & {
|
|
103
103
|
_id: import("mongoose").Types.ObjectId;
|
|
104
104
|
} & {
|
|
105
|
-
__v
|
|
106
|
-
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, S3File, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<S3File
|
|
105
|
+
__v: number;
|
|
106
|
+
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, S3File, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<S3File>, {}> & import("mongoose").FlatRecord<S3File> & {
|
|
107
107
|
_id: import("mongoose").Types.ObjectId;
|
|
108
108
|
} & {
|
|
109
|
-
__v
|
|
109
|
+
__v: number;
|
|
110
110
|
}>;
|
|
111
|
-
export declare const FileEmbeddedSchema: import("mongoose").Schema<FileEmbedded, import("mongoose").Model<FileEmbedded, any, any, any, import("mongoose").Document<unknown, any, FileEmbedded> & FileEmbedded & {
|
|
111
|
+
export declare const FileEmbeddedSchema: import("mongoose").Schema<FileEmbedded, import("mongoose").Model<FileEmbedded, any, any, any, import("mongoose").Document<unknown, any, FileEmbedded, any> & FileEmbedded & {
|
|
112
112
|
_id: import("mongoose").Types.ObjectId;
|
|
113
113
|
} & {
|
|
114
|
-
__v
|
|
115
|
-
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, FileEmbedded, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<FileEmbedded
|
|
114
|
+
__v: number;
|
|
115
|
+
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, FileEmbedded, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<FileEmbedded>, {}> & import("mongoose").FlatRecord<FileEmbedded> & {
|
|
116
116
|
_id: import("mongoose").Types.ObjectId;
|
|
117
117
|
} & {
|
|
118
|
-
__v
|
|
118
|
+
__v: number;
|
|
119
119
|
}>;
|
|
120
120
|
export type S3Document = HydratedDocument<S3>;
|
|
121
121
|
export type LogInitiatorDocument = HydratedDocument<LogInitiator>;
|
|
@@ -11,13 +11,13 @@ export declare class SessionUser implements ISessionUser {
|
|
|
11
11
|
permissions: string[];
|
|
12
12
|
verificationLevel: UserVerificationLevel;
|
|
13
13
|
}
|
|
14
|
-
export declare const SessionUserSchema: import("mongoose").Schema<SessionUser, import("mongoose").Model<SessionUser, any, any, any, import("mongoose").Document<unknown, any, SessionUser> & SessionUser & Required<{
|
|
14
|
+
export declare const SessionUserSchema: import("mongoose").Schema<SessionUser, import("mongoose").Model<SessionUser, any, any, any, import("mongoose").Document<unknown, any, SessionUser, any> & SessionUser & Required<{
|
|
15
15
|
_id: string;
|
|
16
16
|
}> & {
|
|
17
|
-
__v
|
|
18
|
-
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, SessionUser, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<SessionUser
|
|
17
|
+
__v: number;
|
|
18
|
+
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, SessionUser, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<SessionUser>, {}> & import("mongoose").FlatRecord<SessionUser> & Required<{
|
|
19
19
|
_id: string;
|
|
20
20
|
}> & {
|
|
21
|
-
__v
|
|
21
|
+
__v: number;
|
|
22
22
|
}>;
|
|
23
23
|
export type SessionUserDocument = HydratedDocument<SessionUser>;
|
|
@@ -10,13 +10,13 @@ export declare class StudentEmbedded extends Identifable implements IStudentEmbe
|
|
|
10
10
|
person: IPerson;
|
|
11
11
|
knowladgeLevel: IDictionary;
|
|
12
12
|
}
|
|
13
|
-
export declare const StudentEmbeddedSchema: import("mongoose").Schema<StudentEmbedded, import("mongoose").Model<StudentEmbedded, any, any, any, import("mongoose").Document<unknown, any, StudentEmbedded> & StudentEmbedded & Required<{
|
|
13
|
+
export declare const StudentEmbeddedSchema: import("mongoose").Schema<StudentEmbedded, import("mongoose").Model<StudentEmbedded, any, any, any, import("mongoose").Document<unknown, any, StudentEmbedded, any> & StudentEmbedded & Required<{
|
|
14
14
|
_id: import("mongoose").Types.ObjectId;
|
|
15
15
|
}> & {
|
|
16
|
-
__v
|
|
17
|
-
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, StudentEmbedded, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<StudentEmbedded
|
|
16
|
+
__v: number;
|
|
17
|
+
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, StudentEmbedded, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<StudentEmbedded>, {}> & import("mongoose").FlatRecord<StudentEmbedded> & Required<{
|
|
18
18
|
_id: import("mongoose").Types.ObjectId;
|
|
19
19
|
}> & {
|
|
20
|
-
__v
|
|
20
|
+
__v: number;
|
|
21
21
|
}>;
|
|
22
22
|
export type StudentEmbeddedDocument = HydratedDocument<StudentEmbedded>;
|
|
@@ -5,13 +5,13 @@ export declare class Teacher implements ITeacher {
|
|
|
5
5
|
userId: Types.ObjectId | string;
|
|
6
6
|
person: IPerson;
|
|
7
7
|
}
|
|
8
|
-
export declare const TeacherSchema: MongooseSchema<Teacher, import("mongoose").Model<Teacher, any, any, any, import("mongoose").Document<unknown, any, Teacher> & Teacher & {
|
|
8
|
+
export declare const TeacherSchema: MongooseSchema<Teacher, import("mongoose").Model<Teacher, any, any, any, import("mongoose").Document<unknown, any, Teacher, any> & Teacher & {
|
|
9
9
|
_id: Types.ObjectId;
|
|
10
10
|
} & {
|
|
11
|
-
__v
|
|
12
|
-
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, Teacher, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<Teacher
|
|
11
|
+
__v: number;
|
|
12
|
+
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, Teacher, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<Teacher>, {}> & import("mongoose").FlatRecord<Teacher> & {
|
|
13
13
|
_id: Types.ObjectId;
|
|
14
14
|
} & {
|
|
15
|
-
__v
|
|
15
|
+
__v: number;
|
|
16
16
|
}>;
|
|
17
17
|
export type TeacherDocument = HydratedDocument<Teacher>;
|
|
@@ -5,13 +5,13 @@ export declare class Time implements ITime {
|
|
|
5
5
|
inNumber: number;
|
|
6
6
|
zone: string;
|
|
7
7
|
}
|
|
8
|
-
export declare const TimeSchema: import("mongoose").Schema<Time, import("mongoose").Model<Time, any, any, any, import("mongoose").Document<unknown, any, Time> & Time & {
|
|
8
|
+
export declare const TimeSchema: import("mongoose").Schema<Time, import("mongoose").Model<Time, any, any, any, import("mongoose").Document<unknown, any, Time, any> & Time & {
|
|
9
9
|
_id: import("mongoose").Types.ObjectId;
|
|
10
10
|
} & {
|
|
11
|
-
__v
|
|
12
|
-
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, Time, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<Time
|
|
11
|
+
__v: number;
|
|
12
|
+
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, Time, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<Time>, {}> & import("mongoose").FlatRecord<Time> & {
|
|
13
13
|
_id: import("mongoose").Types.ObjectId;
|
|
14
14
|
} & {
|
|
15
|
-
__v
|
|
15
|
+
__v: number;
|
|
16
16
|
}>;
|
|
17
17
|
export type TimeDocument = HydratedDocument<Time>;
|
|
@@ -3,13 +3,13 @@ import { IIdentifable } from '../interfaces/identifable.interface';
|
|
|
3
3
|
export declare class Identifable implements IIdentifable {
|
|
4
4
|
_id: Types.ObjectId;
|
|
5
5
|
}
|
|
6
|
-
export declare const IdentifableSchema: MongooseSchema<Identifable, import("mongoose").Model<Identifable, any, any, any, import("mongoose").Document<unknown, any, Identifable> & Identifable & Required<{
|
|
6
|
+
export declare const IdentifableSchema: MongooseSchema<Identifable, import("mongoose").Model<Identifable, any, any, any, import("mongoose").Document<unknown, any, Identifable, any> & Identifable & Required<{
|
|
7
7
|
_id: Types.ObjectId;
|
|
8
8
|
}> & {
|
|
9
|
-
__v
|
|
10
|
-
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, Identifable, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<Identifable
|
|
9
|
+
__v: number;
|
|
10
|
+
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, Identifable, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<Identifable>, {}> & import("mongoose").FlatRecord<Identifable> & Required<{
|
|
11
11
|
_id: Types.ObjectId;
|
|
12
12
|
}> & {
|
|
13
|
-
__v
|
|
13
|
+
__v: number;
|
|
14
14
|
}>;
|
|
15
15
|
export type IdentifableDocument = HydratedDocument<Identifable>;
|
|
@@ -7,13 +7,13 @@ export declare class Parent implements IParent {
|
|
|
7
7
|
person: IPerson;
|
|
8
8
|
contacts: IContact[];
|
|
9
9
|
}
|
|
10
|
-
export declare const ParentSchema: MongooseSchema<Parent, import("mongoose").Model<Parent, any, any, any, import("mongoose").Document<unknown, any, Parent> & Parent & {
|
|
10
|
+
export declare const ParentSchema: MongooseSchema<Parent, import("mongoose").Model<Parent, any, any, any, import("mongoose").Document<unknown, any, Parent, any> & Parent & {
|
|
11
11
|
_id: Types.ObjectId;
|
|
12
12
|
} & {
|
|
13
|
-
__v
|
|
14
|
-
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, Parent, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<Parent
|
|
13
|
+
__v: number;
|
|
14
|
+
}, any>, {}, {}, {}, {}, import("mongoose").DefaultSchemaOptions, Parent, import("mongoose").Document<unknown, {}, import("mongoose").FlatRecord<Parent>, {}> & import("mongoose").FlatRecord<Parent> & {
|
|
15
15
|
_id: Types.ObjectId;
|
|
16
16
|
} & {
|
|
17
|
-
__v
|
|
17
|
+
__v: number;
|
|
18
18
|
}>;
|
|
19
19
|
export type ParentDocument = HydratedDocument<Parent>;
|