@aeriajs/builtins 0.0.201 → 0.0.202
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/dist/collections/file/index.d.ts +135 -171
- package/dist/collections/file/insert.d.ts +15 -51
- package/dist/collections/file/remove.d.ts +11 -38
- package/dist/collections/log/index.d.ts +294 -30
- package/dist/collections/resourceUsage/index.d.ts +44 -34
- package/dist/collections/user/createAccount.d.ts +31 -101
- package/dist/collections/user/getActivationLink.d.ts +4 -37
- package/dist/collections/user/getCurrentUser.d.ts +31 -101
- package/dist/collections/user/index.d.ts +160 -342
- package/dist/collections/user/insert.d.ts +57 -1
- package/dist/index.d.ts +633 -577
- package/package.json +6 -6
|
@@ -18,105 +18,35 @@ export declare const getCurrentUser: (_payload: undefined, context: Context<type
|
|
|
18
18
|
} | {
|
|
19
19
|
readonly _tag: "Result";
|
|
20
20
|
readonly error: undefined;
|
|
21
|
-
readonly result:
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
};
|
|
53
|
-
readonly password: {
|
|
54
|
-
readonly type: "string";
|
|
55
|
-
readonly inputType: "password";
|
|
56
|
-
readonly hidden: true;
|
|
57
|
-
};
|
|
58
|
-
readonly phone_number: {
|
|
59
|
-
readonly type: "string";
|
|
60
|
-
readonly mask: "(##) #####-####";
|
|
61
|
-
};
|
|
62
|
-
readonly picture_file: {
|
|
63
|
-
readonly $ref: "file";
|
|
64
|
-
readonly accept: readonly ["image/*"];
|
|
65
|
-
};
|
|
66
|
-
readonly picture: {
|
|
67
|
-
readonly getter: (doc: object) => Promise<string> | undefined;
|
|
68
|
-
};
|
|
69
|
-
readonly group: {
|
|
70
|
-
readonly type: "string";
|
|
71
|
-
};
|
|
72
|
-
readonly self_registered: {
|
|
73
|
-
readonly type: "boolean";
|
|
74
|
-
readonly readOnly: true;
|
|
75
|
-
};
|
|
76
|
-
readonly updated_at: {
|
|
77
|
-
readonly type: "string";
|
|
78
|
-
readonly format: "date-time";
|
|
79
|
-
};
|
|
80
|
-
};
|
|
81
|
-
readonly presets: readonly ["crud", "duplicate"];
|
|
82
|
-
readonly layout: {
|
|
83
|
-
readonly name: "grid";
|
|
84
|
-
readonly options: {
|
|
85
|
-
readonly title: "name";
|
|
86
|
-
readonly badge: "roles";
|
|
87
|
-
readonly picture: "picture_file";
|
|
88
|
-
readonly information: "email";
|
|
89
|
-
readonly active: "active";
|
|
90
|
-
};
|
|
91
|
-
};
|
|
92
|
-
readonly individualActions: {
|
|
93
|
-
readonly changePassword: {
|
|
94
|
-
readonly label: "change_password";
|
|
95
|
-
readonly icon: "key";
|
|
96
|
-
readonly translate: true;
|
|
97
|
-
readonly route: {
|
|
98
|
-
readonly name: "/dashboard/user/changepass";
|
|
99
|
-
readonly fetchItem: true;
|
|
100
|
-
};
|
|
101
|
-
};
|
|
102
|
-
readonly copyActivationLink: {
|
|
103
|
-
readonly label: "copy_activation_link";
|
|
104
|
-
readonly icon: "link";
|
|
105
|
-
readonly translate: true;
|
|
106
|
-
};
|
|
107
|
-
};
|
|
108
|
-
readonly filters: readonly ["name", "roles", "email", "phone_number"];
|
|
109
|
-
readonly table: readonly ["name", "roles", "picture_file", "active", "updated_at"];
|
|
110
|
-
readonly tableMeta: readonly ["email"];
|
|
111
|
-
readonly formLayout: {
|
|
112
|
-
readonly fields: {
|
|
113
|
-
readonly given_name: {
|
|
114
|
-
readonly span: 3;
|
|
115
|
-
};
|
|
116
|
-
readonly family_name: {
|
|
117
|
-
readonly span: 3;
|
|
118
|
-
};
|
|
119
|
-
};
|
|
120
|
-
};
|
|
121
|
-
}>;
|
|
21
|
+
readonly result: {
|
|
22
|
+
name: string;
|
|
23
|
+
roles: string[];
|
|
24
|
+
email: string;
|
|
25
|
+
picture_file?: {
|
|
26
|
+
name: string;
|
|
27
|
+
link: never;
|
|
28
|
+
type: string;
|
|
29
|
+
size: number;
|
|
30
|
+
last_modified: Date;
|
|
31
|
+
absolute_path: string;
|
|
32
|
+
relative_path: string;
|
|
33
|
+
immutable: boolean;
|
|
34
|
+
download_link: never;
|
|
35
|
+
owner?: Collections["user"]["item"] | undefined;
|
|
36
|
+
updated_at?: Date | undefined;
|
|
37
|
+
created_at?: Date | undefined;
|
|
38
|
+
_id: import("@aeriajs/core").ObjectId;
|
|
39
|
+
} | undefined;
|
|
40
|
+
password?: string | undefined;
|
|
41
|
+
updated_at?: Date | undefined;
|
|
42
|
+
picture?: undefined;
|
|
43
|
+
active?: boolean | undefined;
|
|
44
|
+
phone_number?: string | undefined;
|
|
45
|
+
given_name?: undefined;
|
|
46
|
+
family_name?: undefined;
|
|
47
|
+
group?: string | undefined;
|
|
48
|
+
readonly self_registered?: boolean | undefined;
|
|
49
|
+
created_at?: Date | undefined;
|
|
50
|
+
_id: import("@aeriajs/core").ObjectId;
|
|
51
|
+
};
|
|
122
52
|
}>;
|