@aeriajs/builtins 0.0.99 → 0.0.101
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/user/createAccount.d.ts +11 -1
- package/dist/collections/user/createAccount.js +2 -1
- package/dist/collections/user/createAccount.mjs +2 -1
- package/dist/collections/user/getActivationLink.d.ts +5 -1
- package/dist/collections/user/getActivationLink.js +2 -1
- package/dist/collections/user/getActivationLink.mjs +2 -1
- package/dist/collections/user/getCurrentUser.d.ts +97 -93
- package/dist/collections/user/getCurrentUser.js +3 -2
- package/dist/collections/user/getCurrentUser.mjs +3 -2
- package/dist/collections/user/getInfo.d.ts +6 -2
- package/dist/collections/user/getInfo.js +4 -3
- package/dist/collections/user/getInfo.mjs +4 -3
- package/dist/collections/user/index.d.ts +234 -192
- package/dist/functions/describe.d.ts +8 -4
- package/dist/functions/describe.js +1 -1
- package/dist/functions/describe.mjs +1 -1
- package/dist/index.d.ts +235 -193
- package/dist/index.js +2 -2
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="node" />
|
|
2
2
|
export * from './collections/index.js';
|
|
3
|
-
export * as
|
|
3
|
+
export * as builtinFunctions from './functions/index.js';
|
|
4
4
|
import { file, tempFile, log, resourceUsage, user } from './collections/index.js';
|
|
5
5
|
type File = typeof file.item;
|
|
6
6
|
type TempFile = typeof tempFile.item;
|
|
@@ -2312,7 +2312,16 @@ export declare const collections: {
|
|
|
2312
2312
|
};
|
|
2313
2313
|
};
|
|
2314
2314
|
};
|
|
2315
|
-
}>) => Promise<
|
|
2315
|
+
}>) => Promise<import("../../types/dist/result.js").Result.Error<{
|
|
2316
|
+
readonly code: import("@aeriajs/types").ACError.MalformedInput;
|
|
2317
|
+
readonly details: import("@aeriajs/types").PropertyValidationError | import("@aeriajs/types").ValidationError;
|
|
2318
|
+
} & {
|
|
2319
|
+
httpStatus: import("@aeriajs/types").HTTPStatus.BadRequest;
|
|
2320
|
+
}> | {
|
|
2321
|
+
readonly _tag: "Result";
|
|
2322
|
+
readonly error: undefined;
|
|
2323
|
+
readonly result: any;
|
|
2324
|
+
}>;
|
|
2316
2325
|
readonly getInfo: (payload: {
|
|
2317
2326
|
userId: string;
|
|
2318
2327
|
token: string;
|
|
@@ -2428,8 +2437,12 @@ export declare const collections: {
|
|
|
2428
2437
|
} & {
|
|
2429
2438
|
httpStatus: import("@aeriajs/types").HTTPStatus.Forbidden;
|
|
2430
2439
|
}> | {
|
|
2431
|
-
|
|
2432
|
-
|
|
2440
|
+
readonly _tag: "Result";
|
|
2441
|
+
readonly error: undefined;
|
|
2442
|
+
readonly result: {
|
|
2443
|
+
readonly name: any;
|
|
2444
|
+
readonly email: any;
|
|
2445
|
+
};
|
|
2433
2446
|
}>;
|
|
2434
2447
|
readonly getCurrentUser: (_payload: undefined, context: import("@aeriajs/types").Context<{
|
|
2435
2448
|
readonly $id: "user";
|
|
@@ -2530,107 +2543,115 @@ export declare const collections: {
|
|
|
2530
2543
|
};
|
|
2531
2544
|
};
|
|
2532
2545
|
};
|
|
2533
|
-
}>) => Promise<
|
|
2534
|
-
readonly
|
|
2535
|
-
readonly
|
|
2536
|
-
readonly
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
readonly
|
|
2540
|
-
|
|
2541
|
-
|
|
2542
|
-
|
|
2543
|
-
readonly type: "string";
|
|
2544
|
-
};
|
|
2545
|
-
readonly given_name: {
|
|
2546
|
-
readonly getter: (document: any) => string;
|
|
2547
|
-
};
|
|
2548
|
-
readonly family_name: {
|
|
2549
|
-
readonly getter: (document: any) => string;
|
|
2550
|
-
};
|
|
2551
|
-
readonly active: {
|
|
2552
|
-
readonly type: "boolean";
|
|
2546
|
+
}>) => Promise<{
|
|
2547
|
+
readonly _tag: "Result";
|
|
2548
|
+
readonly error: undefined;
|
|
2549
|
+
readonly result: import("@aeriajs/types").SchemaWithId<{
|
|
2550
|
+
readonly $id: "user";
|
|
2551
|
+
readonly required: readonly ["name", "roles", "email"];
|
|
2552
|
+
readonly form: readonly ["name", "active", "roles", "email", "phone_number", "picture_file"];
|
|
2553
|
+
readonly indexes: readonly ["name"];
|
|
2554
|
+
readonly freshItem: {
|
|
2555
|
+
readonly active: true;
|
|
2553
2556
|
};
|
|
2554
|
-
readonly
|
|
2555
|
-
readonly
|
|
2556
|
-
readonly items: {
|
|
2557
|
+
readonly properties: {
|
|
2558
|
+
readonly name: {
|
|
2557
2559
|
readonly type: "string";
|
|
2558
2560
|
};
|
|
2559
|
-
readonly uniqueItems: true;
|
|
2560
|
-
};
|
|
2561
|
-
readonly email: {
|
|
2562
|
-
readonly type: "string";
|
|
2563
|
-
readonly inputType: "email";
|
|
2564
|
-
readonly unique: true;
|
|
2565
|
-
};
|
|
2566
|
-
readonly password: {
|
|
2567
|
-
readonly type: "string";
|
|
2568
|
-
readonly inputType: "password";
|
|
2569
|
-
readonly hidden: true;
|
|
2570
|
-
};
|
|
2571
|
-
readonly phone_number: {
|
|
2572
|
-
readonly type: "string";
|
|
2573
|
-
readonly mask: "(##) #####-####";
|
|
2574
|
-
};
|
|
2575
|
-
readonly picture_file: {
|
|
2576
|
-
readonly $ref: "file";
|
|
2577
|
-
readonly accept: readonly ["image/*"];
|
|
2578
|
-
};
|
|
2579
|
-
readonly picture: {
|
|
2580
|
-
readonly getter: (value: any) => any;
|
|
2581
|
-
};
|
|
2582
|
-
readonly group: {
|
|
2583
|
-
readonly type: "string";
|
|
2584
|
-
};
|
|
2585
|
-
readonly self_registered: {
|
|
2586
|
-
readonly type: "boolean";
|
|
2587
|
-
readonly readOnly: true;
|
|
2588
|
-
};
|
|
2589
|
-
readonly updated_at: {
|
|
2590
|
-
readonly type: "string";
|
|
2591
|
-
readonly format: "date-time";
|
|
2592
|
-
};
|
|
2593
|
-
};
|
|
2594
|
-
readonly presets: readonly ["crud", "view", "duplicate"];
|
|
2595
|
-
readonly layout: {
|
|
2596
|
-
readonly name: "grid";
|
|
2597
|
-
readonly options: {
|
|
2598
|
-
readonly title: "name";
|
|
2599
|
-
readonly badge: "roles";
|
|
2600
|
-
readonly picture: "picture_file";
|
|
2601
|
-
readonly information: "email";
|
|
2602
|
-
readonly active: "active";
|
|
2603
|
-
};
|
|
2604
|
-
};
|
|
2605
|
-
readonly individualActions: {
|
|
2606
|
-
readonly 'ui:spawnEdit': {
|
|
2607
|
-
readonly label: "action.edit";
|
|
2608
|
-
readonly icon: "pencil";
|
|
2609
|
-
readonly translate: true;
|
|
2610
|
-
};
|
|
2611
|
-
readonly 'route:/dashboard/user/changepass': {
|
|
2612
|
-
readonly label: "change_password";
|
|
2613
|
-
readonly icon: "key";
|
|
2614
|
-
readonly fetchItem: true;
|
|
2615
|
-
readonly translate: true;
|
|
2616
|
-
};
|
|
2617
|
-
};
|
|
2618
|
-
readonly icon: "users";
|
|
2619
|
-
readonly filters: readonly ["name", "roles", "email", "phone_number"];
|
|
2620
|
-
readonly table: readonly ["name", "roles", "picture_file", "active", "updated_at"];
|
|
2621
|
-
readonly tableMeta: readonly ["email"];
|
|
2622
|
-
readonly formLayout: {
|
|
2623
|
-
readonly fields: {
|
|
2624
2561
|
readonly given_name: {
|
|
2625
|
-
readonly
|
|
2562
|
+
readonly getter: (document: any) => string;
|
|
2626
2563
|
};
|
|
2627
2564
|
readonly family_name: {
|
|
2628
|
-
readonly
|
|
2565
|
+
readonly getter: (document: any) => string;
|
|
2566
|
+
};
|
|
2567
|
+
readonly active: {
|
|
2568
|
+
readonly type: "boolean";
|
|
2569
|
+
};
|
|
2570
|
+
readonly roles: {
|
|
2571
|
+
readonly type: "array";
|
|
2572
|
+
readonly items: {
|
|
2573
|
+
readonly type: "string";
|
|
2574
|
+
};
|
|
2575
|
+
readonly uniqueItems: true;
|
|
2576
|
+
};
|
|
2577
|
+
readonly email: {
|
|
2578
|
+
readonly type: "string";
|
|
2579
|
+
readonly inputType: "email";
|
|
2580
|
+
readonly unique: true;
|
|
2581
|
+
};
|
|
2582
|
+
readonly password: {
|
|
2583
|
+
readonly type: "string";
|
|
2584
|
+
readonly inputType: "password";
|
|
2585
|
+
readonly hidden: true;
|
|
2586
|
+
};
|
|
2587
|
+
readonly phone_number: {
|
|
2588
|
+
readonly type: "string";
|
|
2589
|
+
readonly mask: "(##) #####-####";
|
|
2590
|
+
};
|
|
2591
|
+
readonly picture_file: {
|
|
2592
|
+
readonly $ref: "file";
|
|
2593
|
+
readonly accept: readonly ["image/*"];
|
|
2594
|
+
};
|
|
2595
|
+
readonly picture: {
|
|
2596
|
+
readonly getter: (value: any) => any;
|
|
2597
|
+
};
|
|
2598
|
+
readonly group: {
|
|
2599
|
+
readonly type: "string";
|
|
2600
|
+
};
|
|
2601
|
+
readonly self_registered: {
|
|
2602
|
+
readonly type: "boolean";
|
|
2603
|
+
readonly readOnly: true;
|
|
2604
|
+
};
|
|
2605
|
+
readonly updated_at: {
|
|
2606
|
+
readonly type: "string";
|
|
2607
|
+
readonly format: "date-time";
|
|
2629
2608
|
};
|
|
2630
2609
|
};
|
|
2631
|
-
|
|
2632
|
-
|
|
2633
|
-
|
|
2610
|
+
readonly presets: readonly ["crud", "view", "duplicate"];
|
|
2611
|
+
readonly layout: {
|
|
2612
|
+
readonly name: "grid";
|
|
2613
|
+
readonly options: {
|
|
2614
|
+
readonly title: "name";
|
|
2615
|
+
readonly badge: "roles";
|
|
2616
|
+
readonly picture: "picture_file";
|
|
2617
|
+
readonly information: "email";
|
|
2618
|
+
readonly active: "active";
|
|
2619
|
+
};
|
|
2620
|
+
};
|
|
2621
|
+
readonly individualActions: {
|
|
2622
|
+
readonly 'ui:spawnEdit': {
|
|
2623
|
+
readonly label: "action.edit";
|
|
2624
|
+
readonly icon: "pencil";
|
|
2625
|
+
readonly translate: true;
|
|
2626
|
+
};
|
|
2627
|
+
readonly 'route:/dashboard/user/changepass': {
|
|
2628
|
+
readonly label: "change_password";
|
|
2629
|
+
readonly icon: "key";
|
|
2630
|
+
readonly fetchItem: true;
|
|
2631
|
+
readonly translate: true;
|
|
2632
|
+
};
|
|
2633
|
+
};
|
|
2634
|
+
readonly icon: "users";
|
|
2635
|
+
readonly filters: readonly ["name", "roles", "email", "phone_number"];
|
|
2636
|
+
readonly table: readonly ["name", "roles", "picture_file", "active", "updated_at"];
|
|
2637
|
+
readonly tableMeta: readonly ["email"];
|
|
2638
|
+
readonly formLayout: {
|
|
2639
|
+
readonly fields: {
|
|
2640
|
+
readonly given_name: {
|
|
2641
|
+
readonly span: 3;
|
|
2642
|
+
};
|
|
2643
|
+
readonly family_name: {
|
|
2644
|
+
readonly span: 3;
|
|
2645
|
+
};
|
|
2646
|
+
};
|
|
2647
|
+
};
|
|
2648
|
+
}>;
|
|
2649
|
+
}>;
|
|
2650
|
+
readonly getActivationLink: (userId: import("mongodb").ObjectId) => Promise<{
|
|
2651
|
+
readonly _tag: "Result";
|
|
2652
|
+
readonly error: undefined;
|
|
2653
|
+
readonly result: string;
|
|
2654
|
+
}>;
|
|
2634
2655
|
};
|
|
2635
2656
|
contracts: {
|
|
2636
2657
|
readonly getCurrentUser: {
|
|
@@ -3841,7 +3862,16 @@ export declare const collections: {
|
|
|
3841
3862
|
};
|
|
3842
3863
|
};
|
|
3843
3864
|
};
|
|
3844
|
-
}>) => Promise<
|
|
3865
|
+
}>) => Promise<import("../../types/dist/result.js").Result.Error<{
|
|
3866
|
+
readonly code: import("@aeriajs/types").ACError.MalformedInput;
|
|
3867
|
+
readonly details: import("@aeriajs/types").PropertyValidationError | import("@aeriajs/types").ValidationError;
|
|
3868
|
+
} & {
|
|
3869
|
+
httpStatus: import("@aeriajs/types").HTTPStatus.BadRequest;
|
|
3870
|
+
}> | {
|
|
3871
|
+
readonly _tag: "Result";
|
|
3872
|
+
readonly error: undefined;
|
|
3873
|
+
readonly result: any;
|
|
3874
|
+
}>;
|
|
3845
3875
|
readonly getInfo: (payload: {
|
|
3846
3876
|
userId: string;
|
|
3847
3877
|
token: string;
|
|
@@ -3957,8 +3987,12 @@ export declare const collections: {
|
|
|
3957
3987
|
} & {
|
|
3958
3988
|
httpStatus: import("@aeriajs/types").HTTPStatus.Forbidden;
|
|
3959
3989
|
}> | {
|
|
3960
|
-
|
|
3961
|
-
|
|
3990
|
+
readonly _tag: "Result";
|
|
3991
|
+
readonly error: undefined;
|
|
3992
|
+
readonly result: {
|
|
3993
|
+
readonly name: any;
|
|
3994
|
+
readonly email: any;
|
|
3995
|
+
};
|
|
3962
3996
|
}>;
|
|
3963
3997
|
readonly getCurrentUser: (_payload: undefined, context: import("@aeriajs/types").Context<{
|
|
3964
3998
|
readonly $id: "user";
|
|
@@ -4059,107 +4093,115 @@ export declare const collections: {
|
|
|
4059
4093
|
};
|
|
4060
4094
|
};
|
|
4061
4095
|
};
|
|
4062
|
-
}>) => Promise<
|
|
4063
|
-
readonly
|
|
4064
|
-
readonly
|
|
4065
|
-
readonly
|
|
4066
|
-
|
|
4067
|
-
|
|
4068
|
-
readonly
|
|
4069
|
-
|
|
4070
|
-
|
|
4071
|
-
|
|
4072
|
-
readonly type: "string";
|
|
4073
|
-
};
|
|
4074
|
-
readonly given_name: {
|
|
4075
|
-
readonly getter: (document: any) => string;
|
|
4076
|
-
};
|
|
4077
|
-
readonly family_name: {
|
|
4078
|
-
readonly getter: (document: any) => string;
|
|
4079
|
-
};
|
|
4080
|
-
readonly active: {
|
|
4081
|
-
readonly type: "boolean";
|
|
4096
|
+
}>) => Promise<{
|
|
4097
|
+
readonly _tag: "Result";
|
|
4098
|
+
readonly error: undefined;
|
|
4099
|
+
readonly result: import("@aeriajs/types").SchemaWithId<{
|
|
4100
|
+
readonly $id: "user";
|
|
4101
|
+
readonly required: readonly ["name", "roles", "email"];
|
|
4102
|
+
readonly form: readonly ["name", "active", "roles", "email", "phone_number", "picture_file"];
|
|
4103
|
+
readonly indexes: readonly ["name"];
|
|
4104
|
+
readonly freshItem: {
|
|
4105
|
+
readonly active: true;
|
|
4082
4106
|
};
|
|
4083
|
-
readonly
|
|
4084
|
-
readonly
|
|
4085
|
-
readonly items: {
|
|
4107
|
+
readonly properties: {
|
|
4108
|
+
readonly name: {
|
|
4086
4109
|
readonly type: "string";
|
|
4087
4110
|
};
|
|
4088
|
-
readonly uniqueItems: true;
|
|
4089
|
-
};
|
|
4090
|
-
readonly email: {
|
|
4091
|
-
readonly type: "string";
|
|
4092
|
-
readonly inputType: "email";
|
|
4093
|
-
readonly unique: true;
|
|
4094
|
-
};
|
|
4095
|
-
readonly password: {
|
|
4096
|
-
readonly type: "string";
|
|
4097
|
-
readonly inputType: "password";
|
|
4098
|
-
readonly hidden: true;
|
|
4099
|
-
};
|
|
4100
|
-
readonly phone_number: {
|
|
4101
|
-
readonly type: "string";
|
|
4102
|
-
readonly mask: "(##) #####-####";
|
|
4103
|
-
};
|
|
4104
|
-
readonly picture_file: {
|
|
4105
|
-
readonly $ref: "file";
|
|
4106
|
-
readonly accept: readonly ["image/*"];
|
|
4107
|
-
};
|
|
4108
|
-
readonly picture: {
|
|
4109
|
-
readonly getter: (value: any) => any;
|
|
4110
|
-
};
|
|
4111
|
-
readonly group: {
|
|
4112
|
-
readonly type: "string";
|
|
4113
|
-
};
|
|
4114
|
-
readonly self_registered: {
|
|
4115
|
-
readonly type: "boolean";
|
|
4116
|
-
readonly readOnly: true;
|
|
4117
|
-
};
|
|
4118
|
-
readonly updated_at: {
|
|
4119
|
-
readonly type: "string";
|
|
4120
|
-
readonly format: "date-time";
|
|
4121
|
-
};
|
|
4122
|
-
};
|
|
4123
|
-
readonly presets: readonly ["crud", "view", "duplicate"];
|
|
4124
|
-
readonly layout: {
|
|
4125
|
-
readonly name: "grid";
|
|
4126
|
-
readonly options: {
|
|
4127
|
-
readonly title: "name";
|
|
4128
|
-
readonly badge: "roles";
|
|
4129
|
-
readonly picture: "picture_file";
|
|
4130
|
-
readonly information: "email";
|
|
4131
|
-
readonly active: "active";
|
|
4132
|
-
};
|
|
4133
|
-
};
|
|
4134
|
-
readonly individualActions: {
|
|
4135
|
-
readonly 'ui:spawnEdit': {
|
|
4136
|
-
readonly label: "action.edit";
|
|
4137
|
-
readonly icon: "pencil";
|
|
4138
|
-
readonly translate: true;
|
|
4139
|
-
};
|
|
4140
|
-
readonly 'route:/dashboard/user/changepass': {
|
|
4141
|
-
readonly label: "change_password";
|
|
4142
|
-
readonly icon: "key";
|
|
4143
|
-
readonly fetchItem: true;
|
|
4144
|
-
readonly translate: true;
|
|
4145
|
-
};
|
|
4146
|
-
};
|
|
4147
|
-
readonly icon: "users";
|
|
4148
|
-
readonly filters: readonly ["name", "roles", "email", "phone_number"];
|
|
4149
|
-
readonly table: readonly ["name", "roles", "picture_file", "active", "updated_at"];
|
|
4150
|
-
readonly tableMeta: readonly ["email"];
|
|
4151
|
-
readonly formLayout: {
|
|
4152
|
-
readonly fields: {
|
|
4153
4111
|
readonly given_name: {
|
|
4154
|
-
readonly
|
|
4112
|
+
readonly getter: (document: any) => string;
|
|
4155
4113
|
};
|
|
4156
4114
|
readonly family_name: {
|
|
4157
|
-
readonly
|
|
4115
|
+
readonly getter: (document: any) => string;
|
|
4116
|
+
};
|
|
4117
|
+
readonly active: {
|
|
4118
|
+
readonly type: "boolean";
|
|
4119
|
+
};
|
|
4120
|
+
readonly roles: {
|
|
4121
|
+
readonly type: "array";
|
|
4122
|
+
readonly items: {
|
|
4123
|
+
readonly type: "string";
|
|
4124
|
+
};
|
|
4125
|
+
readonly uniqueItems: true;
|
|
4126
|
+
};
|
|
4127
|
+
readonly email: {
|
|
4128
|
+
readonly type: "string";
|
|
4129
|
+
readonly inputType: "email";
|
|
4130
|
+
readonly unique: true;
|
|
4131
|
+
};
|
|
4132
|
+
readonly password: {
|
|
4133
|
+
readonly type: "string";
|
|
4134
|
+
readonly inputType: "password";
|
|
4135
|
+
readonly hidden: true;
|
|
4136
|
+
};
|
|
4137
|
+
readonly phone_number: {
|
|
4138
|
+
readonly type: "string";
|
|
4139
|
+
readonly mask: "(##) #####-####";
|
|
4140
|
+
};
|
|
4141
|
+
readonly picture_file: {
|
|
4142
|
+
readonly $ref: "file";
|
|
4143
|
+
readonly accept: readonly ["image/*"];
|
|
4144
|
+
};
|
|
4145
|
+
readonly picture: {
|
|
4146
|
+
readonly getter: (value: any) => any;
|
|
4147
|
+
};
|
|
4148
|
+
readonly group: {
|
|
4149
|
+
readonly type: "string";
|
|
4150
|
+
};
|
|
4151
|
+
readonly self_registered: {
|
|
4152
|
+
readonly type: "boolean";
|
|
4153
|
+
readonly readOnly: true;
|
|
4154
|
+
};
|
|
4155
|
+
readonly updated_at: {
|
|
4156
|
+
readonly type: "string";
|
|
4157
|
+
readonly format: "date-time";
|
|
4158
4158
|
};
|
|
4159
4159
|
};
|
|
4160
|
-
|
|
4161
|
-
|
|
4162
|
-
|
|
4160
|
+
readonly presets: readonly ["crud", "view", "duplicate"];
|
|
4161
|
+
readonly layout: {
|
|
4162
|
+
readonly name: "grid";
|
|
4163
|
+
readonly options: {
|
|
4164
|
+
readonly title: "name";
|
|
4165
|
+
readonly badge: "roles";
|
|
4166
|
+
readonly picture: "picture_file";
|
|
4167
|
+
readonly information: "email";
|
|
4168
|
+
readonly active: "active";
|
|
4169
|
+
};
|
|
4170
|
+
};
|
|
4171
|
+
readonly individualActions: {
|
|
4172
|
+
readonly 'ui:spawnEdit': {
|
|
4173
|
+
readonly label: "action.edit";
|
|
4174
|
+
readonly icon: "pencil";
|
|
4175
|
+
readonly translate: true;
|
|
4176
|
+
};
|
|
4177
|
+
readonly 'route:/dashboard/user/changepass': {
|
|
4178
|
+
readonly label: "change_password";
|
|
4179
|
+
readonly icon: "key";
|
|
4180
|
+
readonly fetchItem: true;
|
|
4181
|
+
readonly translate: true;
|
|
4182
|
+
};
|
|
4183
|
+
};
|
|
4184
|
+
readonly icon: "users";
|
|
4185
|
+
readonly filters: readonly ["name", "roles", "email", "phone_number"];
|
|
4186
|
+
readonly table: readonly ["name", "roles", "picture_file", "active", "updated_at"];
|
|
4187
|
+
readonly tableMeta: readonly ["email"];
|
|
4188
|
+
readonly formLayout: {
|
|
4189
|
+
readonly fields: {
|
|
4190
|
+
readonly given_name: {
|
|
4191
|
+
readonly span: 3;
|
|
4192
|
+
};
|
|
4193
|
+
readonly family_name: {
|
|
4194
|
+
readonly span: 3;
|
|
4195
|
+
};
|
|
4196
|
+
};
|
|
4197
|
+
};
|
|
4198
|
+
}>;
|
|
4199
|
+
}>;
|
|
4200
|
+
readonly getActivationLink: (userId: import("mongodb").ObjectId) => Promise<{
|
|
4201
|
+
readonly _tag: "Result";
|
|
4202
|
+
readonly error: undefined;
|
|
4203
|
+
readonly result: string;
|
|
4204
|
+
}>;
|
|
4163
4205
|
};
|
|
4164
4206
|
contracts: {
|
|
4165
4207
|
readonly getCurrentUser: {
|
package/dist/index.js
CHANGED
|
@@ -14,9 +14,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.collections = exports.
|
|
17
|
+
exports.collections = exports.builtinFunctions = void 0;
|
|
18
18
|
__exportStar(require("./collections/index.js"), exports);
|
|
19
|
-
exports.
|
|
19
|
+
exports.builtinFunctions = require("./functions/index.js");
|
|
20
20
|
const index_js_1 = require("./collections/index.js");
|
|
21
21
|
exports.collections = {
|
|
22
22
|
file: index_js_1.file,
|
package/dist/index.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aeriajs/builtins",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.101",
|
|
4
4
|
"description": "## Installation",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"mongodb": "^6.5.0"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
48
|
-
"@aeriajs/core": "^0.0.
|
|
48
|
+
"@aeriajs/core": "^0.0.101",
|
|
49
49
|
"@aeriajs/common": "^0.0.62",
|
|
50
50
|
"@aeriajs/entrypoint": "^0.0.64",
|
|
51
51
|
"@aeriajs/types": "^0.0.58",
|