alepha 0.10.5 → 0.10.6
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/api/files.d.ts +198 -121
- package/api/jobs.d.ts +170 -170
- package/api/users.d.ts +216 -216
- package/command.d.ts +1 -1
- package/devtools.d.ts +247 -247
- package/email.d.ts +5 -5
- package/package.json +48 -48
- package/postgres.d.ts +36 -13
- package/react.d.ts +26 -26
- package/security.d.ts +4 -7
- package/server/cache.d.ts +16 -7
- package/server/links.d.ts +31 -31
- package/server/security.d.ts +4 -6
- package/server.d.ts +20 -20
package/api/files.d.ts
CHANGED
|
@@ -1,93 +1,95 @@
|
|
|
1
1
|
import { BucketDescriptor } from "alepha/bucket";
|
|
2
2
|
import * as _alepha_core1 from "alepha";
|
|
3
3
|
import { Alepha, FileLike, Static } from "alepha";
|
|
4
|
-
import
|
|
4
|
+
import "alepha/server/security";
|
|
5
|
+
import * as _alepha_postgres83 from "alepha/postgres";
|
|
5
6
|
import { Page } from "alepha/postgres";
|
|
7
|
+
import * as _alepha_server0 from "alepha/server";
|
|
6
8
|
import { Ok } from "alepha/server";
|
|
7
9
|
import { DateTimeProvider, DurationLike } from "alepha/datetime";
|
|
8
10
|
import * as _alepha_logger0 from "alepha/logger";
|
|
9
11
|
import { UserAccountToken } from "alepha/security";
|
|
10
|
-
import * as
|
|
12
|
+
import * as typebox144 from "typebox";
|
|
11
13
|
|
|
12
14
|
//#region src/entities/files.d.ts
|
|
13
|
-
declare const files:
|
|
14
|
-
id:
|
|
15
|
-
version:
|
|
16
|
-
createdAt:
|
|
17
|
-
updatedAt:
|
|
18
|
-
blobId:
|
|
19
|
-
creator:
|
|
20
|
-
creatorRealm:
|
|
21
|
-
creatorName:
|
|
22
|
-
bucket:
|
|
23
|
-
expirationDate:
|
|
24
|
-
name:
|
|
25
|
-
size:
|
|
26
|
-
mimeType:
|
|
27
|
-
tags:
|
|
28
|
-
checksum:
|
|
29
|
-
}>,
|
|
30
|
-
id:
|
|
31
|
-
version:
|
|
32
|
-
createdAt:
|
|
33
|
-
updatedAt:
|
|
34
|
-
blobId:
|
|
35
|
-
creator:
|
|
36
|
-
creatorRealm:
|
|
37
|
-
creatorName:
|
|
38
|
-
bucket:
|
|
39
|
-
expirationDate:
|
|
40
|
-
name:
|
|
41
|
-
size:
|
|
42
|
-
mimeType:
|
|
43
|
-
tags:
|
|
44
|
-
checksum:
|
|
45
|
-
}>>>,
|
|
46
|
-
id:
|
|
47
|
-
version:
|
|
48
|
-
createdAt:
|
|
49
|
-
updatedAt:
|
|
50
|
-
blobId:
|
|
51
|
-
creator:
|
|
52
|
-
creatorRealm:
|
|
53
|
-
creatorName:
|
|
54
|
-
bucket:
|
|
55
|
-
expirationDate:
|
|
56
|
-
name:
|
|
57
|
-
size:
|
|
58
|
-
mimeType:
|
|
59
|
-
tags:
|
|
60
|
-
checksum:
|
|
15
|
+
declare const files: _alepha_postgres83.PgTableWithColumnsAndSchema<_alepha_postgres83.PgTableConfig<"files", typebox144.TObject<{
|
|
16
|
+
id: _alepha_postgres83.PgAttr<_alepha_postgres83.PgAttr<typebox144.TString, typeof _alepha_postgres83.PG_PRIMARY_KEY>, typeof _alepha_postgres83.PG_DEFAULT>;
|
|
17
|
+
version: _alepha_postgres83.PgAttr<_alepha_postgres83.PgAttr<typebox144.TInteger, typeof _alepha_postgres83.PG_VERSION>, typeof _alepha_postgres83.PG_DEFAULT>;
|
|
18
|
+
createdAt: _alepha_postgres83.PgAttr<_alepha_postgres83.PgAttr<typebox144.TString, typeof _alepha_postgres83.PG_CREATED_AT>, typeof _alepha_postgres83.PG_DEFAULT>;
|
|
19
|
+
updatedAt: _alepha_postgres83.PgAttr<_alepha_postgres83.PgAttr<typebox144.TString, typeof _alepha_postgres83.PG_UPDATED_AT>, typeof _alepha_postgres83.PG_DEFAULT>;
|
|
20
|
+
blobId: typebox144.TString;
|
|
21
|
+
creator: typebox144.TOptional<typebox144.TString>;
|
|
22
|
+
creatorRealm: typebox144.TOptional<typebox144.TString>;
|
|
23
|
+
creatorName: typebox144.TOptional<typebox144.TString>;
|
|
24
|
+
bucket: typebox144.TString;
|
|
25
|
+
expirationDate: typebox144.TOptional<typebox144.TString>;
|
|
26
|
+
name: typebox144.TString;
|
|
27
|
+
size: typebox144.TNumber;
|
|
28
|
+
mimeType: typebox144.TString;
|
|
29
|
+
tags: typebox144.TOptional<typebox144.TArray<typebox144.TString>>;
|
|
30
|
+
checksum: typebox144.TOptional<typebox144.TString>;
|
|
31
|
+
}>, _alepha_postgres83.FromSchema<typebox144.TObject<{
|
|
32
|
+
id: _alepha_postgres83.PgAttr<_alepha_postgres83.PgAttr<typebox144.TString, typeof _alepha_postgres83.PG_PRIMARY_KEY>, typeof _alepha_postgres83.PG_DEFAULT>;
|
|
33
|
+
version: _alepha_postgres83.PgAttr<_alepha_postgres83.PgAttr<typebox144.TInteger, typeof _alepha_postgres83.PG_VERSION>, typeof _alepha_postgres83.PG_DEFAULT>;
|
|
34
|
+
createdAt: _alepha_postgres83.PgAttr<_alepha_postgres83.PgAttr<typebox144.TString, typeof _alepha_postgres83.PG_CREATED_AT>, typeof _alepha_postgres83.PG_DEFAULT>;
|
|
35
|
+
updatedAt: _alepha_postgres83.PgAttr<_alepha_postgres83.PgAttr<typebox144.TString, typeof _alepha_postgres83.PG_UPDATED_AT>, typeof _alepha_postgres83.PG_DEFAULT>;
|
|
36
|
+
blobId: typebox144.TString;
|
|
37
|
+
creator: typebox144.TOptional<typebox144.TString>;
|
|
38
|
+
creatorRealm: typebox144.TOptional<typebox144.TString>;
|
|
39
|
+
creatorName: typebox144.TOptional<typebox144.TString>;
|
|
40
|
+
bucket: typebox144.TString;
|
|
41
|
+
expirationDate: typebox144.TOptional<typebox144.TString>;
|
|
42
|
+
name: typebox144.TString;
|
|
43
|
+
size: typebox144.TNumber;
|
|
44
|
+
mimeType: typebox144.TString;
|
|
45
|
+
tags: typebox144.TOptional<typebox144.TArray<typebox144.TString>>;
|
|
46
|
+
checksum: typebox144.TOptional<typebox144.TString>;
|
|
47
|
+
}>>>, typebox144.TObject<{
|
|
48
|
+
id: _alepha_postgres83.PgAttr<_alepha_postgres83.PgAttr<typebox144.TString, typeof _alepha_postgres83.PG_PRIMARY_KEY>, typeof _alepha_postgres83.PG_DEFAULT>;
|
|
49
|
+
version: _alepha_postgres83.PgAttr<_alepha_postgres83.PgAttr<typebox144.TInteger, typeof _alepha_postgres83.PG_VERSION>, typeof _alepha_postgres83.PG_DEFAULT>;
|
|
50
|
+
createdAt: _alepha_postgres83.PgAttr<_alepha_postgres83.PgAttr<typebox144.TString, typeof _alepha_postgres83.PG_CREATED_AT>, typeof _alepha_postgres83.PG_DEFAULT>;
|
|
51
|
+
updatedAt: _alepha_postgres83.PgAttr<_alepha_postgres83.PgAttr<typebox144.TString, typeof _alepha_postgres83.PG_UPDATED_AT>, typeof _alepha_postgres83.PG_DEFAULT>;
|
|
52
|
+
blobId: typebox144.TString;
|
|
53
|
+
creator: typebox144.TOptional<typebox144.TString>;
|
|
54
|
+
creatorRealm: typebox144.TOptional<typebox144.TString>;
|
|
55
|
+
creatorName: typebox144.TOptional<typebox144.TString>;
|
|
56
|
+
bucket: typebox144.TString;
|
|
57
|
+
expirationDate: typebox144.TOptional<typebox144.TString>;
|
|
58
|
+
name: typebox144.TString;
|
|
59
|
+
size: typebox144.TNumber;
|
|
60
|
+
mimeType: typebox144.TString;
|
|
61
|
+
tags: typebox144.TOptional<typebox144.TArray<typebox144.TString>>;
|
|
62
|
+
checksum: typebox144.TOptional<typebox144.TString>;
|
|
61
63
|
}>>;
|
|
62
64
|
type FileEntity = Static<typeof files.$schema>;
|
|
63
65
|
//#endregion
|
|
64
66
|
//#region src/schemas/fileQuerySchema.d.ts
|
|
65
|
-
declare const fileQuerySchema:
|
|
66
|
-
page:
|
|
67
|
-
size:
|
|
68
|
-
sort:
|
|
69
|
-
bucket:
|
|
70
|
-
tags:
|
|
67
|
+
declare const fileQuerySchema: typebox144.TObject<{
|
|
68
|
+
page: typebox144.TOptional<typebox144.TInteger>;
|
|
69
|
+
size: typebox144.TOptional<typebox144.TInteger>;
|
|
70
|
+
sort: typebox144.TOptional<typebox144.TString>;
|
|
71
|
+
bucket: typebox144.TOptional<typebox144.TString>;
|
|
72
|
+
tags: typebox144.TOptional<typebox144.TArray<typebox144.TString>>;
|
|
71
73
|
}>;
|
|
72
74
|
type FileQuery = Static<typeof fileQuerySchema>;
|
|
73
75
|
//#endregion
|
|
74
76
|
//#region src/schemas/fileResourceSchema.d.ts
|
|
75
|
-
declare const fileResourceSchema:
|
|
76
|
-
id:
|
|
77
|
-
version:
|
|
78
|
-
createdAt:
|
|
79
|
-
updatedAt:
|
|
80
|
-
blobId:
|
|
81
|
-
creator:
|
|
82
|
-
creatorRealm:
|
|
83
|
-
creatorName:
|
|
84
|
-
bucket:
|
|
85
|
-
expirationDate:
|
|
86
|
-
name:
|
|
87
|
-
size:
|
|
88
|
-
mimeType:
|
|
89
|
-
tags:
|
|
90
|
-
checksum:
|
|
77
|
+
declare const fileResourceSchema: typebox144.TObject<{
|
|
78
|
+
id: _alepha_postgres83.PgAttr<_alepha_postgres83.PgAttr<typebox144.TString, typeof _alepha_postgres83.PG_PRIMARY_KEY>, typeof _alepha_postgres83.PG_DEFAULT>;
|
|
79
|
+
version: _alepha_postgres83.PgAttr<_alepha_postgres83.PgAttr<typebox144.TInteger, typeof _alepha_postgres83.PG_VERSION>, typeof _alepha_postgres83.PG_DEFAULT>;
|
|
80
|
+
createdAt: _alepha_postgres83.PgAttr<_alepha_postgres83.PgAttr<typebox144.TString, typeof _alepha_postgres83.PG_CREATED_AT>, typeof _alepha_postgres83.PG_DEFAULT>;
|
|
81
|
+
updatedAt: _alepha_postgres83.PgAttr<_alepha_postgres83.PgAttr<typebox144.TString, typeof _alepha_postgres83.PG_UPDATED_AT>, typeof _alepha_postgres83.PG_DEFAULT>;
|
|
82
|
+
blobId: typebox144.TString;
|
|
83
|
+
creator: typebox144.TOptional<typebox144.TString>;
|
|
84
|
+
creatorRealm: typebox144.TOptional<typebox144.TString>;
|
|
85
|
+
creatorName: typebox144.TOptional<typebox144.TString>;
|
|
86
|
+
bucket: typebox144.TString;
|
|
87
|
+
expirationDate: typebox144.TOptional<typebox144.TString>;
|
|
88
|
+
name: typebox144.TString;
|
|
89
|
+
size: typebox144.TNumber;
|
|
90
|
+
mimeType: typebox144.TString;
|
|
91
|
+
tags: typebox144.TOptional<typebox144.TArray<typebox144.TString>>;
|
|
92
|
+
checksum: typebox144.TOptional<typebox144.TString>;
|
|
91
93
|
}>;
|
|
92
94
|
type FileResource = Static<typeof fileResourceSchema>;
|
|
93
95
|
//#endregion
|
|
@@ -95,54 +97,54 @@ type FileResource = Static<typeof fileResourceSchema>;
|
|
|
95
97
|
declare class FileService {
|
|
96
98
|
protected readonly alepha: Alepha;
|
|
97
99
|
protected readonly log: _alepha_logger0.Logger;
|
|
98
|
-
protected readonly fileRepository:
|
|
99
|
-
id:
|
|
100
|
-
version:
|
|
101
|
-
createdAt:
|
|
102
|
-
updatedAt:
|
|
103
|
-
blobId:
|
|
104
|
-
creator:
|
|
105
|
-
creatorRealm:
|
|
106
|
-
creatorName:
|
|
107
|
-
bucket:
|
|
108
|
-
expirationDate:
|
|
109
|
-
name:
|
|
110
|
-
size:
|
|
111
|
-
mimeType:
|
|
112
|
-
tags:
|
|
113
|
-
checksum:
|
|
114
|
-
}>,
|
|
115
|
-
id:
|
|
116
|
-
version:
|
|
117
|
-
createdAt:
|
|
118
|
-
updatedAt:
|
|
119
|
-
blobId:
|
|
120
|
-
creator:
|
|
121
|
-
creatorRealm:
|
|
122
|
-
creatorName:
|
|
123
|
-
bucket:
|
|
124
|
-
expirationDate:
|
|
125
|
-
name:
|
|
126
|
-
size:
|
|
127
|
-
mimeType:
|
|
128
|
-
tags:
|
|
129
|
-
checksum:
|
|
130
|
-
}>>>,
|
|
131
|
-
id:
|
|
132
|
-
version:
|
|
133
|
-
createdAt:
|
|
134
|
-
updatedAt:
|
|
135
|
-
blobId:
|
|
136
|
-
creator:
|
|
137
|
-
creatorRealm:
|
|
138
|
-
creatorName:
|
|
139
|
-
bucket:
|
|
140
|
-
expirationDate:
|
|
141
|
-
name:
|
|
142
|
-
size:
|
|
143
|
-
mimeType:
|
|
144
|
-
tags:
|
|
145
|
-
checksum:
|
|
100
|
+
protected readonly fileRepository: _alepha_postgres83.RepositoryDescriptor<_alepha_postgres83.PgTableConfig<"files", typebox144.TObject<{
|
|
101
|
+
id: _alepha_postgres83.PgAttr<_alepha_postgres83.PgAttr<typebox144.TString, typeof _alepha_postgres83.PG_PRIMARY_KEY>, typeof _alepha_postgres83.PG_DEFAULT>;
|
|
102
|
+
version: _alepha_postgres83.PgAttr<_alepha_postgres83.PgAttr<typebox144.TInteger, typeof _alepha_postgres83.PG_VERSION>, typeof _alepha_postgres83.PG_DEFAULT>;
|
|
103
|
+
createdAt: _alepha_postgres83.PgAttr<_alepha_postgres83.PgAttr<typebox144.TString, typeof _alepha_postgres83.PG_CREATED_AT>, typeof _alepha_postgres83.PG_DEFAULT>;
|
|
104
|
+
updatedAt: _alepha_postgres83.PgAttr<_alepha_postgres83.PgAttr<typebox144.TString, typeof _alepha_postgres83.PG_UPDATED_AT>, typeof _alepha_postgres83.PG_DEFAULT>;
|
|
105
|
+
blobId: typebox144.TString;
|
|
106
|
+
creator: typebox144.TOptional<typebox144.TString>;
|
|
107
|
+
creatorRealm: typebox144.TOptional<typebox144.TString>;
|
|
108
|
+
creatorName: typebox144.TOptional<typebox144.TString>;
|
|
109
|
+
bucket: typebox144.TString;
|
|
110
|
+
expirationDate: typebox144.TOptional<typebox144.TString>;
|
|
111
|
+
name: typebox144.TString;
|
|
112
|
+
size: typebox144.TNumber;
|
|
113
|
+
mimeType: typebox144.TString;
|
|
114
|
+
tags: typebox144.TOptional<typebox144.TArray<typebox144.TString>>;
|
|
115
|
+
checksum: typebox144.TOptional<typebox144.TString>;
|
|
116
|
+
}>, _alepha_postgres83.FromSchema<typebox144.TObject<{
|
|
117
|
+
id: _alepha_postgres83.PgAttr<_alepha_postgres83.PgAttr<typebox144.TString, typeof _alepha_postgres83.PG_PRIMARY_KEY>, typeof _alepha_postgres83.PG_DEFAULT>;
|
|
118
|
+
version: _alepha_postgres83.PgAttr<_alepha_postgres83.PgAttr<typebox144.TInteger, typeof _alepha_postgres83.PG_VERSION>, typeof _alepha_postgres83.PG_DEFAULT>;
|
|
119
|
+
createdAt: _alepha_postgres83.PgAttr<_alepha_postgres83.PgAttr<typebox144.TString, typeof _alepha_postgres83.PG_CREATED_AT>, typeof _alepha_postgres83.PG_DEFAULT>;
|
|
120
|
+
updatedAt: _alepha_postgres83.PgAttr<_alepha_postgres83.PgAttr<typebox144.TString, typeof _alepha_postgres83.PG_UPDATED_AT>, typeof _alepha_postgres83.PG_DEFAULT>;
|
|
121
|
+
blobId: typebox144.TString;
|
|
122
|
+
creator: typebox144.TOptional<typebox144.TString>;
|
|
123
|
+
creatorRealm: typebox144.TOptional<typebox144.TString>;
|
|
124
|
+
creatorName: typebox144.TOptional<typebox144.TString>;
|
|
125
|
+
bucket: typebox144.TString;
|
|
126
|
+
expirationDate: typebox144.TOptional<typebox144.TString>;
|
|
127
|
+
name: typebox144.TString;
|
|
128
|
+
size: typebox144.TNumber;
|
|
129
|
+
mimeType: typebox144.TString;
|
|
130
|
+
tags: typebox144.TOptional<typebox144.TArray<typebox144.TString>>;
|
|
131
|
+
checksum: typebox144.TOptional<typebox144.TString>;
|
|
132
|
+
}>>>, typebox144.TObject<{
|
|
133
|
+
id: _alepha_postgres83.PgAttr<_alepha_postgres83.PgAttr<typebox144.TString, typeof _alepha_postgres83.PG_PRIMARY_KEY>, typeof _alepha_postgres83.PG_DEFAULT>;
|
|
134
|
+
version: _alepha_postgres83.PgAttr<_alepha_postgres83.PgAttr<typebox144.TInteger, typeof _alepha_postgres83.PG_VERSION>, typeof _alepha_postgres83.PG_DEFAULT>;
|
|
135
|
+
createdAt: _alepha_postgres83.PgAttr<_alepha_postgres83.PgAttr<typebox144.TString, typeof _alepha_postgres83.PG_CREATED_AT>, typeof _alepha_postgres83.PG_DEFAULT>;
|
|
136
|
+
updatedAt: _alepha_postgres83.PgAttr<_alepha_postgres83.PgAttr<typebox144.TString, typeof _alepha_postgres83.PG_UPDATED_AT>, typeof _alepha_postgres83.PG_DEFAULT>;
|
|
137
|
+
blobId: typebox144.TString;
|
|
138
|
+
creator: typebox144.TOptional<typebox144.TString>;
|
|
139
|
+
creatorRealm: typebox144.TOptional<typebox144.TString>;
|
|
140
|
+
creatorName: typebox144.TOptional<typebox144.TString>;
|
|
141
|
+
bucket: typebox144.TString;
|
|
142
|
+
expirationDate: typebox144.TOptional<typebox144.TString>;
|
|
143
|
+
name: typebox144.TString;
|
|
144
|
+
size: typebox144.TNumber;
|
|
145
|
+
mimeType: typebox144.TString;
|
|
146
|
+
tags: typebox144.TOptional<typebox144.TArray<typebox144.TString>>;
|
|
147
|
+
checksum: typebox144.TOptional<typebox144.TString>;
|
|
146
148
|
}>>;
|
|
147
149
|
protected readonly dateTimeProvider: DateTimeProvider;
|
|
148
150
|
protected readonly defaultBucket: BucketDescriptor;
|
|
@@ -164,6 +166,81 @@ declare class FileService {
|
|
|
164
166
|
entityToResource(entity: FileEntity): FileResource;
|
|
165
167
|
}
|
|
166
168
|
//#endregion
|
|
169
|
+
//#region src/controllers/FileController.d.ts
|
|
170
|
+
declare class FileController {
|
|
171
|
+
protected readonly url = "/files";
|
|
172
|
+
protected readonly group = "files";
|
|
173
|
+
protected readonly fileService: FileService;
|
|
174
|
+
readonly findFiles: _alepha_server0.ActionDescriptorFn<{
|
|
175
|
+
query: typebox144.TObject<{
|
|
176
|
+
page: typebox144.TOptional<typebox144.TInteger>;
|
|
177
|
+
size: typebox144.TOptional<typebox144.TInteger>;
|
|
178
|
+
sort: typebox144.TOptional<typebox144.TString>;
|
|
179
|
+
bucket: typebox144.TOptional<typebox144.TString>;
|
|
180
|
+
tags: typebox144.TOptional<typebox144.TArray<typebox144.TString>>;
|
|
181
|
+
}>;
|
|
182
|
+
response: _alepha_postgres83.TPage<typebox144.TObject<{
|
|
183
|
+
id: _alepha_postgres83.PgAttr<_alepha_postgres83.PgAttr<typebox144.TString, typeof _alepha_postgres83.PG_PRIMARY_KEY>, typeof _alepha_postgres83.PG_DEFAULT>;
|
|
184
|
+
version: _alepha_postgres83.PgAttr<_alepha_postgres83.PgAttr<typebox144.TInteger, typeof _alepha_postgres83.PG_VERSION>, typeof _alepha_postgres83.PG_DEFAULT>;
|
|
185
|
+
createdAt: _alepha_postgres83.PgAttr<_alepha_postgres83.PgAttr<typebox144.TString, typeof _alepha_postgres83.PG_CREATED_AT>, typeof _alepha_postgres83.PG_DEFAULT>;
|
|
186
|
+
updatedAt: _alepha_postgres83.PgAttr<_alepha_postgres83.PgAttr<typebox144.TString, typeof _alepha_postgres83.PG_UPDATED_AT>, typeof _alepha_postgres83.PG_DEFAULT>;
|
|
187
|
+
blobId: typebox144.TString;
|
|
188
|
+
creator: typebox144.TOptional<typebox144.TString>;
|
|
189
|
+
creatorRealm: typebox144.TOptional<typebox144.TString>;
|
|
190
|
+
creatorName: typebox144.TOptional<typebox144.TString>;
|
|
191
|
+
bucket: typebox144.TString;
|
|
192
|
+
expirationDate: typebox144.TOptional<typebox144.TString>;
|
|
193
|
+
name: typebox144.TString;
|
|
194
|
+
size: typebox144.TNumber;
|
|
195
|
+
mimeType: typebox144.TString;
|
|
196
|
+
tags: typebox144.TOptional<typebox144.TArray<typebox144.TString>>;
|
|
197
|
+
checksum: typebox144.TOptional<typebox144.TString>;
|
|
198
|
+
}>>;
|
|
199
|
+
}>;
|
|
200
|
+
readonly deleteFile: _alepha_server0.ActionDescriptorFn<{
|
|
201
|
+
params: typebox144.TObject<{
|
|
202
|
+
id: typebox144.TString;
|
|
203
|
+
}>;
|
|
204
|
+
response: typebox144.TObject<{
|
|
205
|
+
ok: typebox144.TBoolean;
|
|
206
|
+
id: typebox144.TOptional<typebox144.TUnion<[typebox144.TString, typebox144.TInteger]>>;
|
|
207
|
+
count: typebox144.TOptional<typebox144.TNumber>;
|
|
208
|
+
}>;
|
|
209
|
+
}>;
|
|
210
|
+
readonly uploadFile: _alepha_server0.ActionDescriptorFn<{
|
|
211
|
+
body: typebox144.TObject<{
|
|
212
|
+
file: _alepha_core1.TFile;
|
|
213
|
+
}>;
|
|
214
|
+
query: typebox144.TObject<{
|
|
215
|
+
expirationDate: typebox144.TOptional<typebox144.TString>;
|
|
216
|
+
bucket: typebox144.TOptional<typebox144.TString>;
|
|
217
|
+
}>;
|
|
218
|
+
response: typebox144.TObject<{
|
|
219
|
+
id: _alepha_postgres83.PgAttr<_alepha_postgres83.PgAttr<typebox144.TString, typeof _alepha_postgres83.PG_PRIMARY_KEY>, typeof _alepha_postgres83.PG_DEFAULT>;
|
|
220
|
+
version: _alepha_postgres83.PgAttr<_alepha_postgres83.PgAttr<typebox144.TInteger, typeof _alepha_postgres83.PG_VERSION>, typeof _alepha_postgres83.PG_DEFAULT>;
|
|
221
|
+
createdAt: _alepha_postgres83.PgAttr<_alepha_postgres83.PgAttr<typebox144.TString, typeof _alepha_postgres83.PG_CREATED_AT>, typeof _alepha_postgres83.PG_DEFAULT>;
|
|
222
|
+
updatedAt: _alepha_postgres83.PgAttr<_alepha_postgres83.PgAttr<typebox144.TString, typeof _alepha_postgres83.PG_UPDATED_AT>, typeof _alepha_postgres83.PG_DEFAULT>;
|
|
223
|
+
blobId: typebox144.TString;
|
|
224
|
+
creator: typebox144.TOptional<typebox144.TString>;
|
|
225
|
+
creatorRealm: typebox144.TOptional<typebox144.TString>;
|
|
226
|
+
creatorName: typebox144.TOptional<typebox144.TString>;
|
|
227
|
+
bucket: typebox144.TString;
|
|
228
|
+
expirationDate: typebox144.TOptional<typebox144.TString>;
|
|
229
|
+
name: typebox144.TString;
|
|
230
|
+
size: typebox144.TNumber;
|
|
231
|
+
mimeType: typebox144.TString;
|
|
232
|
+
tags: typebox144.TOptional<typebox144.TArray<typebox144.TString>>;
|
|
233
|
+
checksum: typebox144.TOptional<typebox144.TString>;
|
|
234
|
+
}>;
|
|
235
|
+
}>;
|
|
236
|
+
readonly streamFile: _alepha_server0.ActionDescriptorFn<{
|
|
237
|
+
params: typebox144.TObject<{
|
|
238
|
+
id: typebox144.TString;
|
|
239
|
+
}>;
|
|
240
|
+
response: _alepha_core1.TFile;
|
|
241
|
+
}>;
|
|
242
|
+
}
|
|
243
|
+
//#endregion
|
|
167
244
|
//#region src/index.d.ts
|
|
168
245
|
declare module "alepha/bucket" {
|
|
169
246
|
interface BucketFileOptions {
|
|
@@ -197,5 +274,5 @@ declare module "alepha/bucket" {
|
|
|
197
274
|
*/
|
|
198
275
|
declare const AlephaApiFiles: _alepha_core1.Service<_alepha_core1.Module<{}>>;
|
|
199
276
|
//#endregion
|
|
200
|
-
export { AlephaApiFiles, FileEntity, FileService, files };
|
|
277
|
+
export { AlephaApiFiles, FileController, FileEntity, FileService, files };
|
|
201
278
|
//# sourceMappingURL=index.d.ts.map
|