alepha 0.11.1 → 0.11.2
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/jobs.d.ts +133 -133
- package/api/notifications.d.ts +99 -99
- package/api/users.d.ts +5 -5
- package/command.d.ts +4 -4
- package/devtools.d.ts +247 -247
- package/package.json +50 -50
- package/postgres.d.ts +18 -14
- package/server.d.ts +21 -20
- package/ui.d.ts +13 -13
package/api/notifications.d.ts
CHANGED
|
@@ -3,34 +3,34 @@ import { Alepha, Descriptor, KIND, Static, StaticEncode, TObject } from "alepha"
|
|
|
3
3
|
import * as _alepha_batch0 from "alepha/batch";
|
|
4
4
|
import { DateTimeProvider } from "alepha/datetime";
|
|
5
5
|
import * as _alepha_logger0 from "alepha/logger";
|
|
6
|
-
import * as
|
|
6
|
+
import * as _alepha_postgres0 from "alepha/postgres";
|
|
7
7
|
import * as _alepha_queue0 from "alepha/queue";
|
|
8
8
|
import { EmailProvider } from "alepha/email";
|
|
9
|
-
import * as
|
|
10
|
-
import * as
|
|
9
|
+
import * as typebox0 from "typebox";
|
|
10
|
+
import * as dayjs0 from "dayjs";
|
|
11
11
|
|
|
12
12
|
//#region src/controllers/NotificationController.d.ts
|
|
13
13
|
declare class NotificationController {}
|
|
14
14
|
//#endregion
|
|
15
15
|
//#region src/entities/notifications.d.ts
|
|
16
|
-
declare const notifications:
|
|
17
|
-
id:
|
|
18
|
-
version:
|
|
19
|
-
createdAt:
|
|
20
|
-
updatedAt:
|
|
21
|
-
type:
|
|
22
|
-
template:
|
|
23
|
-
category:
|
|
24
|
-
critical:
|
|
25
|
-
sensitive:
|
|
26
|
-
contact:
|
|
27
|
-
variables:
|
|
28
|
-
scheduledAt:
|
|
29
|
-
sentAt:
|
|
30
|
-
error:
|
|
31
|
-
at:
|
|
32
|
-
name:
|
|
33
|
-
message:
|
|
16
|
+
declare const notifications: _alepha_postgres0.EntityDescriptor<typebox0.TObject<{
|
|
17
|
+
id: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox0.TString, typeof _alepha_postgres0.PG_PRIMARY_KEY>, typeof _alepha_postgres0.PG_DEFAULT>;
|
|
18
|
+
version: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox0.TInteger, typeof _alepha_postgres0.PG_VERSION>, typeof _alepha_postgres0.PG_DEFAULT>;
|
|
19
|
+
createdAt: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox0.TCodec<typebox0.TString, dayjs0.Dayjs>, typeof _alepha_postgres0.PG_CREATED_AT>, typeof _alepha_postgres0.PG_DEFAULT>;
|
|
20
|
+
updatedAt: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox0.TCodec<typebox0.TString, dayjs0.Dayjs>, typeof _alepha_postgres0.PG_UPDATED_AT>, typeof _alepha_postgres0.PG_DEFAULT>;
|
|
21
|
+
type: typebox0.TUnsafe<"email" | "sms">;
|
|
22
|
+
template: typebox0.TString;
|
|
23
|
+
category: typebox0.TOptional<typebox0.TString>;
|
|
24
|
+
critical: typebox0.TOptional<typebox0.TBoolean>;
|
|
25
|
+
sensitive: typebox0.TOptional<typebox0.TBoolean>;
|
|
26
|
+
contact: typebox0.TString;
|
|
27
|
+
variables: typebox0.TOptional<typebox0.TRecord<"^.*$", typebox0.TAny>>;
|
|
28
|
+
scheduledAt: typebox0.TOptional<typebox0.TCodec<typebox0.TString, dayjs0.Dayjs>>;
|
|
29
|
+
sentAt: typebox0.TOptional<typebox0.TCodec<typebox0.TString, dayjs0.Dayjs>>;
|
|
30
|
+
error: typebox0.TOptional<typebox0.TObject<{
|
|
31
|
+
at: typebox0.TCodec<typebox0.TString, dayjs0.Dayjs>;
|
|
32
|
+
name: typebox0.TString;
|
|
33
|
+
message: typebox0.TString;
|
|
34
34
|
}>>;
|
|
35
35
|
}>>;
|
|
36
36
|
type NotificationEntity = Static<typeof notifications.schema>;
|
|
@@ -48,24 +48,24 @@ interface SmsSendOptions {
|
|
|
48
48
|
declare class NotificationSenderService {
|
|
49
49
|
protected readonly alepha: Alepha;
|
|
50
50
|
protected readonly log: _alepha_logger0.Logger;
|
|
51
|
-
protected readonly notificationRepository:
|
|
52
|
-
id:
|
|
53
|
-
version:
|
|
54
|
-
createdAt:
|
|
55
|
-
updatedAt:
|
|
56
|
-
type:
|
|
57
|
-
template:
|
|
58
|
-
category:
|
|
59
|
-
critical:
|
|
60
|
-
sensitive:
|
|
61
|
-
contact:
|
|
62
|
-
variables:
|
|
63
|
-
scheduledAt:
|
|
64
|
-
sentAt:
|
|
65
|
-
error:
|
|
66
|
-
at:
|
|
67
|
-
name:
|
|
68
|
-
message:
|
|
51
|
+
protected readonly notificationRepository: _alepha_postgres0.RepositoryDescriptor<typebox0.TObject<{
|
|
52
|
+
id: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox0.TString, typeof _alepha_postgres0.PG_PRIMARY_KEY>, typeof _alepha_postgres0.PG_DEFAULT>;
|
|
53
|
+
version: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox0.TInteger, typeof _alepha_postgres0.PG_VERSION>, typeof _alepha_postgres0.PG_DEFAULT>;
|
|
54
|
+
createdAt: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox0.TCodec<typebox0.TString, dayjs0.Dayjs>, typeof _alepha_postgres0.PG_CREATED_AT>, typeof _alepha_postgres0.PG_DEFAULT>;
|
|
55
|
+
updatedAt: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox0.TCodec<typebox0.TString, dayjs0.Dayjs>, typeof _alepha_postgres0.PG_UPDATED_AT>, typeof _alepha_postgres0.PG_DEFAULT>;
|
|
56
|
+
type: typebox0.TUnsafe<"email" | "sms">;
|
|
57
|
+
template: typebox0.TString;
|
|
58
|
+
category: typebox0.TOptional<typebox0.TString>;
|
|
59
|
+
critical: typebox0.TOptional<typebox0.TBoolean>;
|
|
60
|
+
sensitive: typebox0.TOptional<typebox0.TBoolean>;
|
|
61
|
+
contact: typebox0.TString;
|
|
62
|
+
variables: typebox0.TOptional<typebox0.TRecord<"^.*$", typebox0.TAny>>;
|
|
63
|
+
scheduledAt: typebox0.TOptional<typebox0.TCodec<typebox0.TString, dayjs0.Dayjs>>;
|
|
64
|
+
sentAt: typebox0.TOptional<typebox0.TCodec<typebox0.TString, dayjs0.Dayjs>>;
|
|
65
|
+
error: typebox0.TOptional<typebox0.TObject<{
|
|
66
|
+
at: typebox0.TCodec<typebox0.TString, dayjs0.Dayjs>;
|
|
67
|
+
name: typebox0.TString;
|
|
68
|
+
message: typebox0.TString;
|
|
69
69
|
}>>;
|
|
70
70
|
}>>;
|
|
71
71
|
protected readonly dateTimeProvider: DateTimeProvider;
|
|
@@ -82,7 +82,7 @@ declare class NotificationSenderService {
|
|
|
82
82
|
body: string;
|
|
83
83
|
};
|
|
84
84
|
protected load(notification: NotificationEntity): {
|
|
85
|
-
template: NotificationDescriptor<
|
|
85
|
+
template: NotificationDescriptor<typebox0.TObject<typebox0.TProperties>>;
|
|
86
86
|
variables: Record<string, any>;
|
|
87
87
|
contact: string;
|
|
88
88
|
};
|
|
@@ -91,17 +91,17 @@ declare class NotificationSenderService {
|
|
|
91
91
|
//#region src/queues/NotificationQueues.d.ts
|
|
92
92
|
declare class NotificationQueues {
|
|
93
93
|
protected readonly notificationSenderService: NotificationSenderService;
|
|
94
|
-
readonly processNotification: _alepha_queue0.QueueDescriptor<
|
|
95
|
-
notificationId:
|
|
94
|
+
readonly processNotification: _alepha_queue0.QueueDescriptor<typebox0.TObject<{
|
|
95
|
+
notificationId: typebox0.TString;
|
|
96
96
|
}>>;
|
|
97
97
|
}
|
|
98
98
|
//#endregion
|
|
99
99
|
//#region src/schemas/notificationCreateSchema.d.ts
|
|
100
|
-
declare const notificationCreateSchema:
|
|
101
|
-
type:
|
|
102
|
-
template:
|
|
103
|
-
contact:
|
|
104
|
-
variables:
|
|
100
|
+
declare const notificationCreateSchema: typebox0.TObject<{
|
|
101
|
+
type: typebox0.TUnsafe<"email" | "sms">;
|
|
102
|
+
template: typebox0.TString;
|
|
103
|
+
contact: typebox0.TString;
|
|
104
|
+
variables: typebox0.TOptional<typebox0.TRecord<"^.*$", typebox0.TAny>>;
|
|
105
105
|
}>;
|
|
106
106
|
type NotificationCreate = Static<typeof notificationCreateSchema>;
|
|
107
107
|
//#endregion
|
|
@@ -118,72 +118,72 @@ declare class NotificationService {
|
|
|
118
118
|
protected readonly env: {
|
|
119
119
|
NOTIFICATION_IMMEDIATE?: boolean | undefined;
|
|
120
120
|
};
|
|
121
|
-
protected readonly notificationRepository:
|
|
122
|
-
id:
|
|
123
|
-
version:
|
|
124
|
-
createdAt:
|
|
125
|
-
updatedAt:
|
|
126
|
-
type:
|
|
127
|
-
template:
|
|
128
|
-
category: _alepha_core1.TOptional<
|
|
121
|
+
protected readonly notificationRepository: _alepha_postgres0.RepositoryDescriptor<_alepha_core1.TObject<{
|
|
122
|
+
id: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox0.TString, typeof _alepha_postgres0.PG_PRIMARY_KEY>, typeof _alepha_postgres0.PG_DEFAULT>;
|
|
123
|
+
version: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox0.TInteger, typeof _alepha_postgres0.PG_VERSION>, typeof _alepha_postgres0.PG_DEFAULT>;
|
|
124
|
+
createdAt: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox0.TCodec<typebox0.TString, dayjs0.Dayjs>, typeof _alepha_postgres0.PG_CREATED_AT>, typeof _alepha_postgres0.PG_DEFAULT>;
|
|
125
|
+
updatedAt: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox0.TCodec<typebox0.TString, dayjs0.Dayjs>, typeof _alepha_postgres0.PG_UPDATED_AT>, typeof _alepha_postgres0.PG_DEFAULT>;
|
|
126
|
+
type: typebox0.TUnsafe<"email" | "sms">;
|
|
127
|
+
template: typebox0.TString;
|
|
128
|
+
category: _alepha_core1.TOptional<typebox0.TString>;
|
|
129
129
|
critical: _alepha_core1.TOptional<_alepha_core1.TBoolean>;
|
|
130
130
|
sensitive: _alepha_core1.TOptional<_alepha_core1.TBoolean>;
|
|
131
|
-
contact:
|
|
132
|
-
variables: _alepha_core1.TOptional<
|
|
133
|
-
scheduledAt: _alepha_core1.TOptional<
|
|
134
|
-
sentAt: _alepha_core1.TOptional<
|
|
131
|
+
contact: typebox0.TString;
|
|
132
|
+
variables: _alepha_core1.TOptional<typebox0.TRecord<"^.*$", typebox0.TAny>>;
|
|
133
|
+
scheduledAt: _alepha_core1.TOptional<typebox0.TCodec<typebox0.TString, dayjs0.Dayjs>>;
|
|
134
|
+
sentAt: _alepha_core1.TOptional<typebox0.TCodec<typebox0.TString, dayjs0.Dayjs>>;
|
|
135
135
|
error: _alepha_core1.TOptional<_alepha_core1.TObject<{
|
|
136
|
-
at:
|
|
137
|
-
name:
|
|
138
|
-
message:
|
|
136
|
+
at: typebox0.TCodec<typebox0.TString, dayjs0.Dayjs>;
|
|
137
|
+
name: typebox0.TString;
|
|
138
|
+
message: typebox0.TString;
|
|
139
139
|
}>>;
|
|
140
140
|
}>>;
|
|
141
141
|
protected readonly dateTimeProvider: DateTimeProvider;
|
|
142
142
|
protected readonly notificationQueues: NotificationQueues;
|
|
143
143
|
protected readonly notificationSenderService: NotificationSenderService;
|
|
144
144
|
readonly notificationBatch: _alepha_batch0.BatchDescriptor<_alepha_core1.TObject<{
|
|
145
|
-
type:
|
|
146
|
-
template:
|
|
147
|
-
contact:
|
|
148
|
-
variables: _alepha_core1.TOptional<
|
|
145
|
+
type: typebox0.TUnsafe<"email" | "sms">;
|
|
146
|
+
template: typebox0.TString;
|
|
147
|
+
contact: typebox0.TString;
|
|
148
|
+
variables: _alepha_core1.TOptional<typebox0.TRecord<"^.*$", typebox0.TAny>>;
|
|
149
149
|
}>, Promise<void>>;
|
|
150
|
-
findNotificationById(id: string): Promise<
|
|
151
|
-
id:
|
|
152
|
-
version:
|
|
153
|
-
createdAt:
|
|
154
|
-
updatedAt:
|
|
155
|
-
type:
|
|
156
|
-
template:
|
|
157
|
-
category: _alepha_core1.TOptional<
|
|
150
|
+
findNotificationById(id: string): Promise<_alepha_postgres0.PgStatic<_alepha_core1.TObject<{
|
|
151
|
+
id: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox0.TString, typeof _alepha_postgres0.PG_PRIMARY_KEY>, typeof _alepha_postgres0.PG_DEFAULT>;
|
|
152
|
+
version: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox0.TInteger, typeof _alepha_postgres0.PG_VERSION>, typeof _alepha_postgres0.PG_DEFAULT>;
|
|
153
|
+
createdAt: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox0.TCodec<typebox0.TString, dayjs0.Dayjs>, typeof _alepha_postgres0.PG_CREATED_AT>, typeof _alepha_postgres0.PG_DEFAULT>;
|
|
154
|
+
updatedAt: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox0.TCodec<typebox0.TString, dayjs0.Dayjs>, typeof _alepha_postgres0.PG_UPDATED_AT>, typeof _alepha_postgres0.PG_DEFAULT>;
|
|
155
|
+
type: typebox0.TUnsafe<"email" | "sms">;
|
|
156
|
+
template: typebox0.TString;
|
|
157
|
+
category: _alepha_core1.TOptional<typebox0.TString>;
|
|
158
158
|
critical: _alepha_core1.TOptional<_alepha_core1.TBoolean>;
|
|
159
159
|
sensitive: _alepha_core1.TOptional<_alepha_core1.TBoolean>;
|
|
160
|
-
contact:
|
|
161
|
-
variables: _alepha_core1.TOptional<
|
|
162
|
-
scheduledAt: _alepha_core1.TOptional<
|
|
163
|
-
sentAt: _alepha_core1.TOptional<
|
|
160
|
+
contact: typebox0.TString;
|
|
161
|
+
variables: _alepha_core1.TOptional<typebox0.TRecord<"^.*$", typebox0.TAny>>;
|
|
162
|
+
scheduledAt: _alepha_core1.TOptional<typebox0.TCodec<typebox0.TString, dayjs0.Dayjs>>;
|
|
163
|
+
sentAt: _alepha_core1.TOptional<typebox0.TCodec<typebox0.TString, dayjs0.Dayjs>>;
|
|
164
164
|
error: _alepha_core1.TOptional<_alepha_core1.TObject<{
|
|
165
|
-
at:
|
|
166
|
-
name:
|
|
167
|
-
message:
|
|
165
|
+
at: typebox0.TCodec<typebox0.TString, dayjs0.Dayjs>;
|
|
166
|
+
name: typebox0.TString;
|
|
167
|
+
message: typebox0.TString;
|
|
168
168
|
}>>;
|
|
169
|
-
}>,
|
|
170
|
-
id:
|
|
171
|
-
version:
|
|
172
|
-
createdAt:
|
|
173
|
-
updatedAt:
|
|
174
|
-
type:
|
|
175
|
-
template:
|
|
176
|
-
category: _alepha_core1.TOptional<
|
|
169
|
+
}>, _alepha_postgres0.PgRelationMap<_alepha_core1.TObject<{
|
|
170
|
+
id: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox0.TString, typeof _alepha_postgres0.PG_PRIMARY_KEY>, typeof _alepha_postgres0.PG_DEFAULT>;
|
|
171
|
+
version: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox0.TInteger, typeof _alepha_postgres0.PG_VERSION>, typeof _alepha_postgres0.PG_DEFAULT>;
|
|
172
|
+
createdAt: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox0.TCodec<typebox0.TString, dayjs0.Dayjs>, typeof _alepha_postgres0.PG_CREATED_AT>, typeof _alepha_postgres0.PG_DEFAULT>;
|
|
173
|
+
updatedAt: _alepha_postgres0.PgAttr<_alepha_postgres0.PgAttr<typebox0.TCodec<typebox0.TString, dayjs0.Dayjs>, typeof _alepha_postgres0.PG_UPDATED_AT>, typeof _alepha_postgres0.PG_DEFAULT>;
|
|
174
|
+
type: typebox0.TUnsafe<"email" | "sms">;
|
|
175
|
+
template: typebox0.TString;
|
|
176
|
+
category: _alepha_core1.TOptional<typebox0.TString>;
|
|
177
177
|
critical: _alepha_core1.TOptional<_alepha_core1.TBoolean>;
|
|
178
178
|
sensitive: _alepha_core1.TOptional<_alepha_core1.TBoolean>;
|
|
179
|
-
contact:
|
|
180
|
-
variables: _alepha_core1.TOptional<
|
|
181
|
-
scheduledAt: _alepha_core1.TOptional<
|
|
182
|
-
sentAt: _alepha_core1.TOptional<
|
|
179
|
+
contact: typebox0.TString;
|
|
180
|
+
variables: _alepha_core1.TOptional<typebox0.TRecord<"^.*$", typebox0.TAny>>;
|
|
181
|
+
scheduledAt: _alepha_core1.TOptional<typebox0.TCodec<typebox0.TString, dayjs0.Dayjs>>;
|
|
182
|
+
sentAt: _alepha_core1.TOptional<typebox0.TCodec<typebox0.TString, dayjs0.Dayjs>>;
|
|
183
183
|
error: _alepha_core1.TOptional<_alepha_core1.TObject<{
|
|
184
|
-
at:
|
|
185
|
-
name:
|
|
186
|
-
message:
|
|
184
|
+
at: typebox0.TCodec<typebox0.TString, dayjs0.Dayjs>;
|
|
185
|
+
name: typebox0.TString;
|
|
186
|
+
message: typebox0.TString;
|
|
187
187
|
}>>;
|
|
188
188
|
}>>>>;
|
|
189
189
|
/**
|
|
@@ -243,9 +243,9 @@ declare class MemorySmsProvider extends SmsProvider {
|
|
|
243
243
|
}
|
|
244
244
|
//#endregion
|
|
245
245
|
//#region src/schemas/notificationContactPreferencesSchema.d.ts
|
|
246
|
-
declare const notificationContactPreferencesSchema:
|
|
247
|
-
language:
|
|
248
|
-
exclude:
|
|
246
|
+
declare const notificationContactPreferencesSchema: typebox0.TObject<{
|
|
247
|
+
language: typebox0.TOptional<typebox0.TString>;
|
|
248
|
+
exclude: typebox0.TArray<typebox0.TString>;
|
|
249
249
|
}>;
|
|
250
250
|
type NotificationContactPreferences = Static<typeof notificationContactPreferencesSchema>;
|
|
251
251
|
//#endregion
|
package/api/users.d.ts
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
1
|
import * as _alepha_core0 from "alepha";
|
|
2
2
|
import { Alepha, Static } from "alepha";
|
|
3
|
-
import * as _alepha_react_auth0 from "alepha/react/auth";
|
|
4
|
-
import { OAuth2Profile } from "alepha/react/auth";
|
|
5
3
|
import * as _alepha_postgres2 from "alepha/postgres";
|
|
6
4
|
import { Page } from "alepha/postgres";
|
|
7
5
|
import * as _alepha_server0 from "alepha/server";
|
|
@@ -10,6 +8,8 @@ import { CryptoProvider, RealmDescriptor, RealmDescriptorOptions, UserAccount }
|
|
|
10
8
|
import * as _alepha_server_links0 from "alepha/server/links";
|
|
11
9
|
import * as _alepha_api_notifications0 from "alepha/api/notifications";
|
|
12
10
|
import { DateTimeProvider } from "alepha/datetime";
|
|
11
|
+
import * as _alepha_react_auth1 from "alepha/react/auth";
|
|
12
|
+
import { OAuth2Profile } from "alepha/react/auth";
|
|
13
13
|
import * as typebox282 from "typebox";
|
|
14
14
|
import * as dayjs17 from "dayjs";
|
|
15
15
|
import { VerificationController } from "alepha/api/verifications";
|
|
@@ -662,7 +662,7 @@ declare class UserController {
|
|
|
662
662
|
declare const $authApple: () => never;
|
|
663
663
|
//#endregion
|
|
664
664
|
//#region src/descriptors/$authCredentials.d.ts
|
|
665
|
-
declare const $authCredentials: (realm: RealmDescriptor) =>
|
|
665
|
+
declare const $authCredentials: (realm: RealmDescriptor) => _alepha_react_auth1.AuthDescriptor;
|
|
666
666
|
//#endregion
|
|
667
667
|
//#region src/descriptors/$authGithub.d.ts
|
|
668
668
|
/**
|
|
@@ -675,7 +675,7 @@ declare const $authCredentials: (realm: RealmDescriptor) => _alepha_react_auth0.
|
|
|
675
675
|
* - `GITHUB_CLIENT_ID`: The client ID obtained from the GitHub Developer Settings.
|
|
676
676
|
* - `GITHUB_CLIENT_SECRET`: The client secret obtained from the GitHub Developer Settings.
|
|
677
677
|
*/
|
|
678
|
-
declare const $authGithub: (realm: RealmDescriptor) =>
|
|
678
|
+
declare const $authGithub: (realm: RealmDescriptor) => _alepha_react_auth1.AuthDescriptor;
|
|
679
679
|
//#endregion
|
|
680
680
|
//#region src/descriptors/$authGoogle.d.ts
|
|
681
681
|
/**
|
|
@@ -688,7 +688,7 @@ declare const $authGithub: (realm: RealmDescriptor) => _alepha_react_auth0.AuthD
|
|
|
688
688
|
* - `GOOGLE_CLIENT_ID`: The client ID obtained from the Google Developer Console.
|
|
689
689
|
* - `GOOGLE_CLIENT_SECRET`: The client secret obtained from the Google Developer Console.
|
|
690
690
|
*/
|
|
691
|
-
declare const $authGoogle: (realm: RealmDescriptor) =>
|
|
691
|
+
declare const $authGoogle: (realm: RealmDescriptor) => _alepha_react_auth1.AuthDescriptor;
|
|
692
692
|
//#endregion
|
|
693
693
|
//#region src/descriptors/$realmUsers.d.ts
|
|
694
694
|
/**
|
package/command.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _alepha_core1 from "alepha";
|
|
2
2
|
import { Alepha, AlephaError, Async, Descriptor, KIND, Static, TObject, TSchema, TString } from "alepha";
|
|
3
|
-
import * as
|
|
3
|
+
import * as _alepha_logger0 from "alepha/logger";
|
|
4
4
|
import * as fs from "node:fs/promises";
|
|
5
5
|
import { glob } from "node:fs/promises";
|
|
6
6
|
import * as readline_promises0 from "readline/promises";
|
|
@@ -37,7 +37,7 @@ interface AskMethod {
|
|
|
37
37
|
<T extends TSchema = TString>(question: string, options?: AskOptions<T>): Promise<Static<T>>;
|
|
38
38
|
}
|
|
39
39
|
declare class Asker {
|
|
40
|
-
protected readonly log:
|
|
40
|
+
protected readonly log: _alepha_logger0.Logger;
|
|
41
41
|
readonly ask: AskMethod;
|
|
42
42
|
protected readonly alepha: Alepha;
|
|
43
43
|
constructor();
|
|
@@ -67,7 +67,7 @@ interface RunnerMethod {
|
|
|
67
67
|
cp: (source: string, dest: string, options?: RunOptions) => Promise<string>;
|
|
68
68
|
}
|
|
69
69
|
declare class Runner {
|
|
70
|
-
protected readonly log:
|
|
70
|
+
protected readonly log: _alepha_logger0.Logger;
|
|
71
71
|
protected readonly timers: Timer[];
|
|
72
72
|
protected readonly startTime: number;
|
|
73
73
|
readonly run: RunnerMethod;
|
|
@@ -177,7 +177,7 @@ declare class CliProvider {
|
|
|
177
177
|
CLI_DESCRIPTION: string;
|
|
178
178
|
};
|
|
179
179
|
protected readonly alepha: Alepha;
|
|
180
|
-
protected readonly log:
|
|
180
|
+
protected readonly log: _alepha_logger0.Logger;
|
|
181
181
|
protected readonly runner: Runner;
|
|
182
182
|
protected readonly asker: Asker;
|
|
183
183
|
options: {
|