@aeriajs/builtins 0.0.13 → 0.0.14
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 +7 -1065
- package/dist/collections/log/index.d.ts +5 -411
- package/dist/collections/resourceUsage/index.d.ts +2 -48
- package/dist/collections/user/index.d.ts +13 -1971
- package/dist/index.d.ts +550 -4018
- package/package.json +7 -7
package/dist/index.d.ts
CHANGED
|
@@ -158,7 +158,7 @@ export declare const collections: {
|
|
|
158
158
|
readonly ask: true;
|
|
159
159
|
};
|
|
160
160
|
};
|
|
161
|
-
}>, options?: import("@aeriajs/api").GetOptions | undefined) => Promise<import("@aeriajs/types").SchemaWithId<{
|
|
161
|
+
}, any>, options?: import("@aeriajs/api").GetOptions | undefined) => Promise<import("@aeriajs/types").SchemaWithId<{
|
|
162
162
|
readonly $id: "file";
|
|
163
163
|
readonly owned: "always";
|
|
164
164
|
readonly presets: readonly ["owned"];
|
|
@@ -616,3978 +616,418 @@ export declare const collections: {
|
|
|
616
616
|
};
|
|
617
617
|
};
|
|
618
618
|
};
|
|
619
|
-
functions:
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
readonly type: "string";
|
|
634
|
-
readonly format: "date-time";
|
|
635
|
-
};
|
|
636
|
-
readonly filename: {
|
|
637
|
-
readonly type: "string";
|
|
638
|
-
};
|
|
639
|
-
readonly absolute_path: {
|
|
640
|
-
readonly type: "string";
|
|
641
|
-
};
|
|
642
|
-
readonly relative_path: {
|
|
643
|
-
readonly type: "string";
|
|
644
|
-
};
|
|
645
|
-
readonly immutable: {
|
|
646
|
-
readonly type: "boolean";
|
|
647
|
-
};
|
|
648
|
-
readonly link: {
|
|
649
|
-
readonly getter: (value: any) => Promise<string>;
|
|
650
|
-
};
|
|
651
|
-
readonly download_link: {
|
|
652
|
-
readonly getter: (value: any) => Promise<string>;
|
|
653
|
-
};
|
|
654
|
-
};
|
|
655
|
-
readonly actions: {
|
|
656
|
-
readonly deleteAll: {
|
|
657
|
-
readonly name: "Remover";
|
|
658
|
-
readonly ask: true;
|
|
659
|
-
readonly selection: true;
|
|
660
|
-
};
|
|
661
|
-
};
|
|
662
|
-
readonly individualActions: {
|
|
663
|
-
readonly remove: {
|
|
664
|
-
readonly name: "Remover";
|
|
665
|
-
readonly icon: "trash";
|
|
666
|
-
readonly ask: true;
|
|
667
|
-
};
|
|
668
|
-
};
|
|
669
|
-
}>>, context: import("@aeriajs/types").Context<{
|
|
670
|
-
readonly $id: "file";
|
|
671
|
-
readonly owned: "always";
|
|
672
|
-
readonly presets: readonly ["owned"];
|
|
673
|
-
readonly indexes: readonly ["filename", "link", "mime"];
|
|
674
|
-
readonly properties: {
|
|
675
|
-
readonly mime: {
|
|
676
|
-
readonly type: "string";
|
|
677
|
-
};
|
|
678
|
-
readonly size: {
|
|
679
|
-
readonly type: "number";
|
|
680
|
-
};
|
|
681
|
-
readonly last_modified: {
|
|
682
|
-
readonly type: "string";
|
|
683
|
-
readonly format: "date-time";
|
|
684
|
-
};
|
|
685
|
-
readonly filename: {
|
|
686
|
-
readonly type: "string";
|
|
687
|
-
};
|
|
688
|
-
readonly absolute_path: {
|
|
689
|
-
readonly type: "string";
|
|
690
|
-
};
|
|
691
|
-
readonly relative_path: {
|
|
692
|
-
readonly type: "string";
|
|
693
|
-
};
|
|
694
|
-
readonly immutable: {
|
|
695
|
-
readonly type: "boolean";
|
|
696
|
-
};
|
|
697
|
-
readonly link: {
|
|
698
|
-
readonly getter: (value: any) => Promise<string>;
|
|
699
|
-
};
|
|
700
|
-
readonly download_link: {
|
|
701
|
-
readonly getter: (value: any) => Promise<string>;
|
|
702
|
-
};
|
|
703
|
-
};
|
|
704
|
-
readonly actions: {
|
|
705
|
-
readonly deleteAll: {
|
|
706
|
-
readonly name: "Remover";
|
|
707
|
-
readonly ask: true;
|
|
708
|
-
readonly selection: true;
|
|
709
|
-
};
|
|
710
|
-
};
|
|
711
|
-
readonly individualActions: {
|
|
712
|
-
readonly remove: {
|
|
713
|
-
readonly name: "Remover";
|
|
714
|
-
readonly icon: "trash";
|
|
715
|
-
readonly ask: true;
|
|
716
|
-
};
|
|
717
|
-
};
|
|
718
|
-
}>, options?: import("@aeriajs/api").GetOptions | undefined) => Promise<import("@aeriajs/types").SchemaWithId<{
|
|
719
|
-
readonly $id: "file";
|
|
720
|
-
readonly owned: "always";
|
|
721
|
-
readonly presets: readonly ["owned"];
|
|
722
|
-
readonly indexes: readonly ["filename", "link", "mime"];
|
|
723
|
-
readonly properties: {
|
|
724
|
-
readonly mime: {
|
|
725
|
-
readonly type: "string";
|
|
726
|
-
};
|
|
727
|
-
readonly size: {
|
|
728
|
-
readonly type: "number";
|
|
729
|
-
};
|
|
730
|
-
readonly last_modified: {
|
|
731
|
-
readonly type: "string";
|
|
732
|
-
readonly format: "date-time";
|
|
733
|
-
};
|
|
734
|
-
readonly filename: {
|
|
735
|
-
readonly type: "string";
|
|
736
|
-
};
|
|
737
|
-
readonly absolute_path: {
|
|
738
|
-
readonly type: "string";
|
|
739
|
-
};
|
|
740
|
-
readonly relative_path: {
|
|
741
|
-
readonly type: "string";
|
|
742
|
-
};
|
|
743
|
-
readonly immutable: {
|
|
744
|
-
readonly type: "boolean";
|
|
745
|
-
};
|
|
746
|
-
readonly link: {
|
|
747
|
-
readonly getter: (value: any) => Promise<string>;
|
|
748
|
-
};
|
|
749
|
-
readonly download_link: {
|
|
750
|
-
readonly getter: (value: any) => Promise<string>;
|
|
751
|
-
};
|
|
752
|
-
};
|
|
753
|
-
readonly actions: {
|
|
754
|
-
readonly deleteAll: {
|
|
755
|
-
readonly name: "Remover";
|
|
756
|
-
readonly ask: true;
|
|
757
|
-
readonly selection: true;
|
|
758
|
-
};
|
|
759
|
-
};
|
|
760
|
-
readonly individualActions: {
|
|
761
|
-
readonly remove: {
|
|
762
|
-
readonly name: "Remover";
|
|
763
|
-
readonly icon: "trash";
|
|
764
|
-
readonly ask: true;
|
|
765
|
-
};
|
|
766
|
-
};
|
|
767
|
-
}> | null>;
|
|
768
|
-
readonly insert: (payload: {
|
|
769
|
-
what: {
|
|
770
|
-
content: string;
|
|
771
|
-
} & Pick<import("@aeriajs/types").PackReferences<import("@aeriajs/types").SchemaWithId<{
|
|
772
|
-
readonly $id: "file";
|
|
773
|
-
readonly owned: "always";
|
|
774
|
-
readonly presets: readonly ["owned"];
|
|
775
|
-
readonly indexes: readonly ["filename", "link", "mime"];
|
|
776
|
-
readonly properties: {
|
|
777
|
-
readonly mime: {
|
|
778
|
-
readonly type: "string";
|
|
779
|
-
};
|
|
780
|
-
readonly size: {
|
|
781
|
-
readonly type: "number";
|
|
782
|
-
};
|
|
783
|
-
readonly last_modified: {
|
|
784
|
-
readonly type: "string";
|
|
785
|
-
readonly format: "date-time";
|
|
786
|
-
};
|
|
787
|
-
readonly filename: {
|
|
788
|
-
readonly type: "string";
|
|
789
|
-
};
|
|
790
|
-
readonly absolute_path: {
|
|
791
|
-
readonly type: "string";
|
|
792
|
-
};
|
|
793
|
-
readonly relative_path: {
|
|
794
|
-
readonly type: "string";
|
|
795
|
-
};
|
|
796
|
-
readonly immutable: {
|
|
797
|
-
readonly type: "boolean";
|
|
798
|
-
};
|
|
799
|
-
readonly link: {
|
|
800
|
-
readonly getter: (value: any) => Promise<string>;
|
|
801
|
-
};
|
|
802
|
-
readonly download_link: {
|
|
803
|
-
readonly getter: (value: any) => Promise<string>;
|
|
804
|
-
};
|
|
805
|
-
};
|
|
806
|
-
readonly actions: {
|
|
807
|
-
readonly deleteAll: {
|
|
808
|
-
readonly name: "Remover";
|
|
809
|
-
readonly ask: true;
|
|
810
|
-
readonly selection: true;
|
|
811
|
-
};
|
|
812
|
-
};
|
|
813
|
-
readonly individualActions: {
|
|
814
|
-
readonly remove: {
|
|
815
|
-
readonly name: "Remover";
|
|
816
|
-
readonly icon: "trash";
|
|
817
|
-
readonly ask: true;
|
|
818
|
-
};
|
|
819
|
-
};
|
|
820
|
-
}>>, "filename" | "absolute_path" | "_id" | "owner">;
|
|
821
|
-
}, context: import("@aeriajs/types").Context<{
|
|
822
|
-
readonly $id: "file";
|
|
823
|
-
readonly owned: "always";
|
|
824
|
-
readonly presets: readonly ["owned"];
|
|
825
|
-
readonly indexes: readonly ["filename", "link", "mime"];
|
|
826
|
-
readonly properties: {
|
|
827
|
-
readonly mime: {
|
|
828
|
-
readonly type: "string";
|
|
829
|
-
};
|
|
830
|
-
readonly size: {
|
|
831
|
-
readonly type: "number";
|
|
832
|
-
};
|
|
833
|
-
readonly last_modified: {
|
|
834
|
-
readonly type: "string";
|
|
835
|
-
readonly format: "date-time";
|
|
836
|
-
};
|
|
837
|
-
readonly filename: {
|
|
838
|
-
readonly type: "string";
|
|
839
|
-
};
|
|
840
|
-
readonly absolute_path: {
|
|
841
|
-
readonly type: "string";
|
|
842
|
-
};
|
|
843
|
-
readonly relative_path: {
|
|
844
|
-
readonly type: "string";
|
|
845
|
-
};
|
|
846
|
-
readonly immutable: {
|
|
847
|
-
readonly type: "boolean";
|
|
848
|
-
};
|
|
849
|
-
readonly link: {
|
|
850
|
-
readonly getter: (value: any) => Promise<string>;
|
|
851
|
-
};
|
|
852
|
-
readonly download_link: {
|
|
853
|
-
readonly getter: (value: any) => Promise<string>;
|
|
854
|
-
};
|
|
855
|
-
};
|
|
856
|
-
readonly actions: {
|
|
857
|
-
readonly deleteAll: {
|
|
858
|
-
readonly name: "Remover";
|
|
859
|
-
readonly ask: true;
|
|
860
|
-
readonly selection: true;
|
|
861
|
-
};
|
|
862
|
-
};
|
|
863
|
-
readonly individualActions: {
|
|
864
|
-
readonly remove: {
|
|
865
|
-
readonly name: "Remover";
|
|
866
|
-
readonly icon: "trash";
|
|
867
|
-
readonly ask: true;
|
|
868
|
-
};
|
|
869
|
-
};
|
|
870
|
-
}>) => Promise<import("@aeriajs/types").Right<any> | import("@aeriajs/types").Left<import("@aeriajs/types").ACErrors | import("@aeriajs/types").ValidationError>>;
|
|
871
|
-
readonly download: (payload: {
|
|
872
|
-
fileId: string;
|
|
873
|
-
options: readonly ("download" | "picture")[];
|
|
874
|
-
noHeaders?: boolean | undefined;
|
|
875
|
-
}, context: import("@aeriajs/types").Context<{
|
|
876
|
-
readonly $id: "file";
|
|
877
|
-
readonly owned: "always";
|
|
878
|
-
readonly presets: readonly ["owned"];
|
|
879
|
-
readonly indexes: readonly ["filename", "link", "mime"];
|
|
880
|
-
readonly properties: {
|
|
881
|
-
readonly mime: {
|
|
882
|
-
readonly type: "string";
|
|
883
|
-
};
|
|
884
|
-
readonly size: {
|
|
885
|
-
readonly type: "number";
|
|
886
|
-
};
|
|
887
|
-
readonly last_modified: {
|
|
888
|
-
readonly type: "string";
|
|
889
|
-
readonly format: "date-time";
|
|
890
|
-
};
|
|
891
|
-
readonly filename: {
|
|
892
|
-
readonly type: "string";
|
|
893
|
-
};
|
|
894
|
-
readonly absolute_path: {
|
|
895
|
-
readonly type: "string";
|
|
896
|
-
};
|
|
897
|
-
readonly relative_path: {
|
|
898
|
-
readonly type: "string";
|
|
899
|
-
};
|
|
900
|
-
readonly immutable: {
|
|
901
|
-
readonly type: "boolean";
|
|
902
|
-
};
|
|
903
|
-
readonly link: {
|
|
904
|
-
readonly getter: (value: any) => Promise<string>;
|
|
905
|
-
};
|
|
906
|
-
readonly download_link: {
|
|
907
|
-
readonly getter: (value: any) => Promise<string>;
|
|
908
|
-
};
|
|
909
|
-
};
|
|
910
|
-
readonly actions: {
|
|
911
|
-
readonly deleteAll: {
|
|
912
|
-
readonly name: "Remover";
|
|
913
|
-
readonly ask: true;
|
|
914
|
-
readonly selection: true;
|
|
915
|
-
};
|
|
916
|
-
};
|
|
917
|
-
readonly individualActions: {
|
|
918
|
-
readonly remove: {
|
|
919
|
-
readonly name: "Remover";
|
|
920
|
-
readonly icon: "trash";
|
|
921
|
-
readonly ask: true;
|
|
922
|
-
};
|
|
923
|
-
};
|
|
924
|
-
}>) => Promise<import("@aeriajs/types").Left<import("./collections/file/download.js").FileReadError.DocumentNotFound> | import("@aeriajs/types").Left<import("./collections/file/download.js").FileReadError.FileNotFound> | import("fs").ReadStream>;
|
|
925
|
-
readonly remove: (payload: import("@aeriajs/types").RemovePayload<import("@aeriajs/types").SchemaWithId<{
|
|
926
|
-
readonly $id: "file";
|
|
927
|
-
readonly owned: "always";
|
|
928
|
-
readonly presets: readonly ["owned"];
|
|
929
|
-
readonly indexes: readonly ["filename", "link", "mime"];
|
|
930
|
-
readonly properties: {
|
|
931
|
-
readonly mime: {
|
|
932
|
-
readonly type: "string";
|
|
933
|
-
};
|
|
934
|
-
readonly size: {
|
|
935
|
-
readonly type: "number";
|
|
936
|
-
};
|
|
937
|
-
readonly last_modified: {
|
|
938
|
-
readonly type: "string";
|
|
939
|
-
readonly format: "date-time";
|
|
940
|
-
};
|
|
941
|
-
readonly filename: {
|
|
942
|
-
readonly type: "string";
|
|
943
|
-
};
|
|
944
|
-
readonly absolute_path: {
|
|
945
|
-
readonly type: "string";
|
|
946
|
-
};
|
|
947
|
-
readonly relative_path: {
|
|
948
|
-
readonly type: "string";
|
|
949
|
-
};
|
|
950
|
-
readonly immutable: {
|
|
951
|
-
readonly type: "boolean";
|
|
952
|
-
};
|
|
953
|
-
readonly link: {
|
|
954
|
-
readonly getter: (value: any) => Promise<string>;
|
|
955
|
-
};
|
|
956
|
-
readonly download_link: {
|
|
957
|
-
readonly getter: (value: any) => Promise<string>;
|
|
958
|
-
};
|
|
959
|
-
};
|
|
960
|
-
readonly actions: {
|
|
961
|
-
readonly deleteAll: {
|
|
962
|
-
readonly name: "Remover";
|
|
963
|
-
readonly ask: true;
|
|
964
|
-
readonly selection: true;
|
|
965
|
-
};
|
|
966
|
-
};
|
|
967
|
-
readonly individualActions: {
|
|
968
|
-
readonly remove: {
|
|
969
|
-
readonly name: "Remover";
|
|
970
|
-
readonly icon: "trash";
|
|
971
|
-
readonly ask: true;
|
|
972
|
-
};
|
|
973
|
-
};
|
|
974
|
-
}>>, context: import("@aeriajs/types").Context<{
|
|
975
|
-
readonly $id: "file";
|
|
976
|
-
readonly owned: "always";
|
|
977
|
-
readonly presets: readonly ["owned"];
|
|
978
|
-
readonly indexes: readonly ["filename", "link", "mime"];
|
|
979
|
-
readonly properties: {
|
|
980
|
-
readonly mime: {
|
|
981
|
-
readonly type: "string";
|
|
982
|
-
};
|
|
983
|
-
readonly size: {
|
|
984
|
-
readonly type: "number";
|
|
985
|
-
};
|
|
986
|
-
readonly last_modified: {
|
|
987
|
-
readonly type: "string";
|
|
988
|
-
readonly format: "date-time";
|
|
989
|
-
};
|
|
990
|
-
readonly filename: {
|
|
991
|
-
readonly type: "string";
|
|
992
|
-
};
|
|
993
|
-
readonly absolute_path: {
|
|
994
|
-
readonly type: "string";
|
|
995
|
-
};
|
|
996
|
-
readonly relative_path: {
|
|
997
|
-
readonly type: "string";
|
|
998
|
-
};
|
|
999
|
-
readonly immutable: {
|
|
1000
|
-
readonly type: "boolean";
|
|
1001
|
-
};
|
|
1002
|
-
readonly link: {
|
|
1003
|
-
readonly getter: (value: any) => Promise<string>;
|
|
1004
|
-
};
|
|
1005
|
-
readonly download_link: {
|
|
1006
|
-
readonly getter: (value: any) => Promise<string>;
|
|
1007
|
-
};
|
|
1008
|
-
};
|
|
1009
|
-
readonly actions: {
|
|
1010
|
-
readonly deleteAll: {
|
|
1011
|
-
readonly name: "Remover";
|
|
1012
|
-
readonly ask: true;
|
|
1013
|
-
readonly selection: true;
|
|
1014
|
-
};
|
|
1015
|
-
};
|
|
1016
|
-
readonly individualActions: {
|
|
1017
|
-
readonly remove: {
|
|
1018
|
-
readonly name: "Remover";
|
|
1019
|
-
readonly icon: "trash";
|
|
1020
|
-
readonly ask: true;
|
|
1021
|
-
};
|
|
1022
|
-
};
|
|
1023
|
-
}>) => Promise<any>;
|
|
1024
|
-
readonly removeAll: (payload: import("@aeriajs/types").RemoveAllPayload, context: import("@aeriajs/types").Context<{
|
|
1025
|
-
readonly $id: "file";
|
|
1026
|
-
readonly owned: "always";
|
|
1027
|
-
readonly presets: readonly ["owned"];
|
|
1028
|
-
readonly indexes: readonly ["filename", "link", "mime"];
|
|
1029
|
-
readonly properties: {
|
|
1030
|
-
readonly mime: {
|
|
1031
|
-
readonly type: "string";
|
|
1032
|
-
};
|
|
1033
|
-
readonly size: {
|
|
1034
|
-
readonly type: "number";
|
|
1035
|
-
};
|
|
1036
|
-
readonly last_modified: {
|
|
1037
|
-
readonly type: "string";
|
|
1038
|
-
readonly format: "date-time";
|
|
1039
|
-
};
|
|
1040
|
-
readonly filename: {
|
|
1041
|
-
readonly type: "string";
|
|
1042
|
-
};
|
|
1043
|
-
readonly absolute_path: {
|
|
1044
|
-
readonly type: "string";
|
|
1045
|
-
};
|
|
1046
|
-
readonly relative_path: {
|
|
1047
|
-
readonly type: "string";
|
|
1048
|
-
};
|
|
1049
|
-
readonly immutable: {
|
|
1050
|
-
readonly type: "boolean";
|
|
1051
|
-
};
|
|
1052
|
-
readonly link: {
|
|
1053
|
-
readonly getter: (value: any) => Promise<string>;
|
|
1054
|
-
};
|
|
1055
|
-
readonly download_link: {
|
|
1056
|
-
readonly getter: (value: any) => Promise<string>;
|
|
1057
|
-
};
|
|
1058
|
-
};
|
|
1059
|
-
readonly actions: {
|
|
1060
|
-
readonly deleteAll: {
|
|
1061
|
-
readonly name: "Remover";
|
|
1062
|
-
readonly ask: true;
|
|
1063
|
-
readonly selection: true;
|
|
1064
|
-
};
|
|
1065
|
-
};
|
|
1066
|
-
readonly individualActions: {
|
|
1067
|
-
readonly remove: {
|
|
1068
|
-
readonly name: "Remover";
|
|
1069
|
-
readonly icon: "trash";
|
|
1070
|
-
readonly ask: true;
|
|
1071
|
-
};
|
|
1072
|
-
};
|
|
1073
|
-
}>) => Promise<any>;
|
|
1074
|
-
};
|
|
1075
|
-
functionContracts: Partial<{
|
|
1076
|
-
readonly get: import("@aeriajs/types").Contract;
|
|
1077
|
-
readonly insert: import("@aeriajs/types").Contract;
|
|
1078
|
-
readonly download: import("@aeriajs/types").Contract;
|
|
1079
|
-
readonly remove: import("@aeriajs/types").Contract;
|
|
1080
|
-
readonly removeAll: import("@aeriajs/types").Contract;
|
|
1081
|
-
}>;
|
|
1082
|
-
accessControl: import("@aeriajs/types").AccessControl<{
|
|
1083
|
-
description: {
|
|
1084
|
-
readonly $id: "file";
|
|
1085
|
-
readonly owned: "always";
|
|
1086
|
-
readonly presets: readonly ["owned"];
|
|
1087
|
-
readonly indexes: readonly ["filename", "link", "mime"];
|
|
1088
|
-
readonly properties: {
|
|
1089
|
-
readonly mime: {
|
|
1090
|
-
readonly type: "string";
|
|
1091
|
-
};
|
|
1092
|
-
readonly size: {
|
|
1093
|
-
readonly type: "number";
|
|
1094
|
-
};
|
|
1095
|
-
readonly last_modified: {
|
|
1096
|
-
readonly type: "string";
|
|
1097
|
-
readonly format: "date-time";
|
|
1098
|
-
};
|
|
1099
|
-
readonly filename: {
|
|
1100
|
-
readonly type: "string";
|
|
1101
|
-
};
|
|
1102
|
-
readonly absolute_path: {
|
|
1103
|
-
readonly type: "string";
|
|
1104
|
-
};
|
|
1105
|
-
readonly relative_path: {
|
|
1106
|
-
readonly type: "string";
|
|
1107
|
-
};
|
|
1108
|
-
readonly immutable: {
|
|
1109
|
-
readonly type: "boolean";
|
|
1110
|
-
};
|
|
1111
|
-
readonly link: {
|
|
1112
|
-
readonly getter: (value: any) => Promise<string>;
|
|
1113
|
-
};
|
|
1114
|
-
readonly download_link: {
|
|
1115
|
-
readonly getter: (value: any) => Promise<string>;
|
|
1116
|
-
};
|
|
1117
|
-
};
|
|
1118
|
-
readonly actions: {
|
|
1119
|
-
readonly deleteAll: {
|
|
1120
|
-
readonly name: "Remover";
|
|
1121
|
-
readonly ask: true;
|
|
1122
|
-
readonly selection: true;
|
|
1123
|
-
};
|
|
1124
|
-
};
|
|
1125
|
-
readonly individualActions: {
|
|
1126
|
-
readonly remove: {
|
|
1127
|
-
readonly name: "Remover";
|
|
1128
|
-
readonly icon: "trash";
|
|
1129
|
-
readonly ask: true;
|
|
1130
|
-
};
|
|
1131
|
-
};
|
|
1132
|
-
};
|
|
1133
|
-
functions: {
|
|
1134
|
-
readonly get: (payload: import("@aeriajs/types").GetPayload<import("@aeriajs/types").SchemaWithId<{
|
|
1135
|
-
readonly $id: "file";
|
|
1136
|
-
readonly owned: "always";
|
|
1137
|
-
readonly presets: readonly ["owned"];
|
|
1138
|
-
readonly indexes: readonly ["filename", "link", "mime"];
|
|
1139
|
-
readonly properties: {
|
|
1140
|
-
readonly mime: {
|
|
1141
|
-
readonly type: "string";
|
|
1142
|
-
};
|
|
1143
|
-
readonly size: {
|
|
1144
|
-
readonly type: "number";
|
|
1145
|
-
};
|
|
1146
|
-
readonly last_modified: {
|
|
1147
|
-
readonly type: "string";
|
|
1148
|
-
readonly format: "date-time";
|
|
1149
|
-
};
|
|
1150
|
-
readonly filename: {
|
|
1151
|
-
readonly type: "string";
|
|
1152
|
-
};
|
|
1153
|
-
readonly absolute_path: {
|
|
1154
|
-
readonly type: "string";
|
|
1155
|
-
};
|
|
1156
|
-
readonly relative_path: {
|
|
1157
|
-
readonly type: "string";
|
|
1158
|
-
};
|
|
1159
|
-
readonly immutable: {
|
|
1160
|
-
readonly type: "boolean";
|
|
1161
|
-
};
|
|
1162
|
-
readonly link: {
|
|
1163
|
-
readonly getter: (value: any) => Promise<string>;
|
|
1164
|
-
};
|
|
1165
|
-
readonly download_link: {
|
|
1166
|
-
readonly getter: (value: any) => Promise<string>;
|
|
1167
|
-
};
|
|
1168
|
-
};
|
|
1169
|
-
readonly actions: {
|
|
1170
|
-
readonly deleteAll: {
|
|
1171
|
-
readonly name: "Remover";
|
|
1172
|
-
readonly ask: true;
|
|
1173
|
-
readonly selection: true;
|
|
1174
|
-
};
|
|
1175
|
-
};
|
|
1176
|
-
readonly individualActions: {
|
|
1177
|
-
readonly remove: {
|
|
1178
|
-
readonly name: "Remover";
|
|
1179
|
-
readonly icon: "trash";
|
|
1180
|
-
readonly ask: true;
|
|
1181
|
-
};
|
|
1182
|
-
};
|
|
1183
|
-
}>>, context: import("@aeriajs/types").Context<{
|
|
1184
|
-
readonly $id: "file";
|
|
1185
|
-
readonly owned: "always";
|
|
1186
|
-
readonly presets: readonly ["owned"];
|
|
1187
|
-
readonly indexes: readonly ["filename", "link", "mime"];
|
|
1188
|
-
readonly properties: {
|
|
1189
|
-
readonly mime: {
|
|
1190
|
-
readonly type: "string";
|
|
1191
|
-
};
|
|
1192
|
-
readonly size: {
|
|
1193
|
-
readonly type: "number";
|
|
1194
|
-
};
|
|
1195
|
-
readonly last_modified: {
|
|
1196
|
-
readonly type: "string";
|
|
1197
|
-
readonly format: "date-time";
|
|
1198
|
-
};
|
|
1199
|
-
readonly filename: {
|
|
1200
|
-
readonly type: "string";
|
|
1201
|
-
};
|
|
1202
|
-
readonly absolute_path: {
|
|
1203
|
-
readonly type: "string";
|
|
1204
|
-
};
|
|
1205
|
-
readonly relative_path: {
|
|
1206
|
-
readonly type: "string";
|
|
1207
|
-
};
|
|
1208
|
-
readonly immutable: {
|
|
1209
|
-
readonly type: "boolean";
|
|
1210
|
-
};
|
|
1211
|
-
readonly link: {
|
|
1212
|
-
readonly getter: (value: any) => Promise<string>;
|
|
1213
|
-
};
|
|
1214
|
-
readonly download_link: {
|
|
1215
|
-
readonly getter: (value: any) => Promise<string>;
|
|
1216
|
-
};
|
|
1217
|
-
};
|
|
1218
|
-
readonly actions: {
|
|
1219
|
-
readonly deleteAll: {
|
|
1220
|
-
readonly name: "Remover";
|
|
1221
|
-
readonly ask: true;
|
|
1222
|
-
readonly selection: true;
|
|
1223
|
-
};
|
|
1224
|
-
};
|
|
1225
|
-
readonly individualActions: {
|
|
1226
|
-
readonly remove: {
|
|
1227
|
-
readonly name: "Remover";
|
|
1228
|
-
readonly icon: "trash";
|
|
1229
|
-
readonly ask: true;
|
|
1230
|
-
};
|
|
1231
|
-
};
|
|
1232
|
-
}>, options?: import("@aeriajs/api").GetOptions | undefined) => Promise<import("@aeriajs/types").SchemaWithId<{
|
|
1233
|
-
readonly $id: "file";
|
|
1234
|
-
readonly owned: "always";
|
|
1235
|
-
readonly presets: readonly ["owned"];
|
|
1236
|
-
readonly indexes: readonly ["filename", "link", "mime"];
|
|
1237
|
-
readonly properties: {
|
|
1238
|
-
readonly mime: {
|
|
1239
|
-
readonly type: "string";
|
|
1240
|
-
};
|
|
1241
|
-
readonly size: {
|
|
1242
|
-
readonly type: "number";
|
|
1243
|
-
};
|
|
1244
|
-
readonly last_modified: {
|
|
1245
|
-
readonly type: "string";
|
|
1246
|
-
readonly format: "date-time";
|
|
1247
|
-
};
|
|
1248
|
-
readonly filename: {
|
|
1249
|
-
readonly type: "string";
|
|
1250
|
-
};
|
|
1251
|
-
readonly absolute_path: {
|
|
1252
|
-
readonly type: "string";
|
|
1253
|
-
};
|
|
1254
|
-
readonly relative_path: {
|
|
1255
|
-
readonly type: "string";
|
|
1256
|
-
};
|
|
1257
|
-
readonly immutable: {
|
|
1258
|
-
readonly type: "boolean";
|
|
1259
|
-
};
|
|
1260
|
-
readonly link: {
|
|
1261
|
-
readonly getter: (value: any) => Promise<string>;
|
|
1262
|
-
};
|
|
1263
|
-
readonly download_link: {
|
|
1264
|
-
readonly getter: (value: any) => Promise<string>;
|
|
1265
|
-
};
|
|
1266
|
-
};
|
|
1267
|
-
readonly actions: {
|
|
1268
|
-
readonly deleteAll: {
|
|
1269
|
-
readonly name: "Remover";
|
|
1270
|
-
readonly ask: true;
|
|
1271
|
-
readonly selection: true;
|
|
1272
|
-
};
|
|
1273
|
-
};
|
|
1274
|
-
readonly individualActions: {
|
|
1275
|
-
readonly remove: {
|
|
1276
|
-
readonly name: "Remover";
|
|
1277
|
-
readonly icon: "trash";
|
|
1278
|
-
readonly ask: true;
|
|
1279
|
-
};
|
|
1280
|
-
};
|
|
1281
|
-
}> | null>;
|
|
1282
|
-
readonly insert: (payload: {
|
|
1283
|
-
what: {
|
|
1284
|
-
content: string;
|
|
1285
|
-
} & Pick<import("@aeriajs/types").PackReferences<import("@aeriajs/types").SchemaWithId<{
|
|
1286
|
-
readonly $id: "file";
|
|
1287
|
-
readonly owned: "always";
|
|
1288
|
-
readonly presets: readonly ["owned"];
|
|
1289
|
-
readonly indexes: readonly ["filename", "link", "mime"];
|
|
1290
|
-
readonly properties: {
|
|
1291
|
-
readonly mime: {
|
|
1292
|
-
readonly type: "string";
|
|
1293
|
-
};
|
|
1294
|
-
readonly size: {
|
|
1295
|
-
readonly type: "number";
|
|
1296
|
-
};
|
|
1297
|
-
readonly last_modified: {
|
|
1298
|
-
readonly type: "string";
|
|
1299
|
-
readonly format: "date-time";
|
|
1300
|
-
};
|
|
1301
|
-
readonly filename: {
|
|
1302
|
-
readonly type: "string";
|
|
1303
|
-
};
|
|
1304
|
-
readonly absolute_path: {
|
|
1305
|
-
readonly type: "string";
|
|
1306
|
-
};
|
|
1307
|
-
readonly relative_path: {
|
|
1308
|
-
readonly type: "string";
|
|
1309
|
-
};
|
|
1310
|
-
readonly immutable: {
|
|
1311
|
-
readonly type: "boolean";
|
|
1312
|
-
};
|
|
1313
|
-
readonly link: {
|
|
1314
|
-
readonly getter: (value: any) => Promise<string>;
|
|
1315
|
-
};
|
|
1316
|
-
readonly download_link: {
|
|
1317
|
-
readonly getter: (value: any) => Promise<string>;
|
|
1318
|
-
};
|
|
1319
|
-
};
|
|
1320
|
-
readonly actions: {
|
|
1321
|
-
readonly deleteAll: {
|
|
1322
|
-
readonly name: "Remover";
|
|
1323
|
-
readonly ask: true;
|
|
1324
|
-
readonly selection: true;
|
|
1325
|
-
};
|
|
1326
|
-
};
|
|
1327
|
-
readonly individualActions: {
|
|
1328
|
-
readonly remove: {
|
|
1329
|
-
readonly name: "Remover";
|
|
1330
|
-
readonly icon: "trash";
|
|
1331
|
-
readonly ask: true;
|
|
1332
|
-
};
|
|
1333
|
-
};
|
|
1334
|
-
}>>, "filename" | "absolute_path" | "_id" | "owner">;
|
|
1335
|
-
}, context: import("@aeriajs/types").Context<{
|
|
1336
|
-
readonly $id: "file";
|
|
1337
|
-
readonly owned: "always";
|
|
1338
|
-
readonly presets: readonly ["owned"];
|
|
1339
|
-
readonly indexes: readonly ["filename", "link", "mime"];
|
|
1340
|
-
readonly properties: {
|
|
1341
|
-
readonly mime: {
|
|
1342
|
-
readonly type: "string";
|
|
1343
|
-
};
|
|
1344
|
-
readonly size: {
|
|
1345
|
-
readonly type: "number";
|
|
1346
|
-
};
|
|
1347
|
-
readonly last_modified: {
|
|
1348
|
-
readonly type: "string";
|
|
1349
|
-
readonly format: "date-time";
|
|
1350
|
-
};
|
|
1351
|
-
readonly filename: {
|
|
1352
|
-
readonly type: "string";
|
|
1353
|
-
};
|
|
1354
|
-
readonly absolute_path: {
|
|
1355
|
-
readonly type: "string";
|
|
1356
|
-
};
|
|
1357
|
-
readonly relative_path: {
|
|
1358
|
-
readonly type: "string";
|
|
1359
|
-
};
|
|
1360
|
-
readonly immutable: {
|
|
1361
|
-
readonly type: "boolean";
|
|
1362
|
-
};
|
|
1363
|
-
readonly link: {
|
|
1364
|
-
readonly getter: (value: any) => Promise<string>;
|
|
1365
|
-
};
|
|
1366
|
-
readonly download_link: {
|
|
1367
|
-
readonly getter: (value: any) => Promise<string>;
|
|
1368
|
-
};
|
|
1369
|
-
};
|
|
1370
|
-
readonly actions: {
|
|
1371
|
-
readonly deleteAll: {
|
|
1372
|
-
readonly name: "Remover";
|
|
1373
|
-
readonly ask: true;
|
|
1374
|
-
readonly selection: true;
|
|
1375
|
-
};
|
|
1376
|
-
};
|
|
1377
|
-
readonly individualActions: {
|
|
1378
|
-
readonly remove: {
|
|
1379
|
-
readonly name: "Remover";
|
|
1380
|
-
readonly icon: "trash";
|
|
1381
|
-
readonly ask: true;
|
|
1382
|
-
};
|
|
1383
|
-
};
|
|
1384
|
-
}>) => Promise<import("@aeriajs/types").Right<any> | import("@aeriajs/types").Left<import("@aeriajs/types").ACErrors | import("@aeriajs/types").ValidationError>>;
|
|
1385
|
-
readonly download: (payload: {
|
|
1386
|
-
fileId: string;
|
|
1387
|
-
options: readonly ("download" | "picture")[];
|
|
1388
|
-
noHeaders?: boolean | undefined;
|
|
1389
|
-
}, context: import("@aeriajs/types").Context<{
|
|
1390
|
-
readonly $id: "file";
|
|
1391
|
-
readonly owned: "always";
|
|
1392
|
-
readonly presets: readonly ["owned"];
|
|
1393
|
-
readonly indexes: readonly ["filename", "link", "mime"];
|
|
1394
|
-
readonly properties: {
|
|
1395
|
-
readonly mime: {
|
|
1396
|
-
readonly type: "string";
|
|
1397
|
-
};
|
|
1398
|
-
readonly size: {
|
|
1399
|
-
readonly type: "number";
|
|
1400
|
-
};
|
|
1401
|
-
readonly last_modified: {
|
|
1402
|
-
readonly type: "string";
|
|
1403
|
-
readonly format: "date-time";
|
|
1404
|
-
};
|
|
1405
|
-
readonly filename: {
|
|
1406
|
-
readonly type: "string";
|
|
1407
|
-
};
|
|
1408
|
-
readonly absolute_path: {
|
|
1409
|
-
readonly type: "string";
|
|
1410
|
-
};
|
|
1411
|
-
readonly relative_path: {
|
|
1412
|
-
readonly type: "string";
|
|
1413
|
-
};
|
|
1414
|
-
readonly immutable: {
|
|
1415
|
-
readonly type: "boolean";
|
|
1416
|
-
};
|
|
1417
|
-
readonly link: {
|
|
1418
|
-
readonly getter: (value: any) => Promise<string>;
|
|
1419
|
-
};
|
|
1420
|
-
readonly download_link: {
|
|
1421
|
-
readonly getter: (value: any) => Promise<string>;
|
|
1422
|
-
};
|
|
1423
|
-
};
|
|
1424
|
-
readonly actions: {
|
|
1425
|
-
readonly deleteAll: {
|
|
1426
|
-
readonly name: "Remover";
|
|
1427
|
-
readonly ask: true;
|
|
1428
|
-
readonly selection: true;
|
|
1429
|
-
};
|
|
1430
|
-
};
|
|
1431
|
-
readonly individualActions: {
|
|
1432
|
-
readonly remove: {
|
|
1433
|
-
readonly name: "Remover";
|
|
1434
|
-
readonly icon: "trash";
|
|
1435
|
-
readonly ask: true;
|
|
1436
|
-
};
|
|
1437
|
-
};
|
|
1438
|
-
}>) => Promise<import("@aeriajs/types").Left<import("./collections/file/download.js").FileReadError.DocumentNotFound> | import("@aeriajs/types").Left<import("./collections/file/download.js").FileReadError.FileNotFound> | import("fs").ReadStream>;
|
|
1439
|
-
readonly remove: (payload: import("@aeriajs/types").RemovePayload<import("@aeriajs/types").SchemaWithId<{
|
|
1440
|
-
readonly $id: "file";
|
|
1441
|
-
readonly owned: "always";
|
|
1442
|
-
readonly presets: readonly ["owned"];
|
|
1443
|
-
readonly indexes: readonly ["filename", "link", "mime"];
|
|
1444
|
-
readonly properties: {
|
|
1445
|
-
readonly mime: {
|
|
1446
|
-
readonly type: "string";
|
|
1447
|
-
};
|
|
1448
|
-
readonly size: {
|
|
1449
|
-
readonly type: "number";
|
|
1450
|
-
};
|
|
1451
|
-
readonly last_modified: {
|
|
1452
|
-
readonly type: "string";
|
|
1453
|
-
readonly format: "date-time";
|
|
1454
|
-
};
|
|
1455
|
-
readonly filename: {
|
|
1456
|
-
readonly type: "string";
|
|
1457
|
-
};
|
|
1458
|
-
readonly absolute_path: {
|
|
1459
|
-
readonly type: "string";
|
|
1460
|
-
};
|
|
1461
|
-
readonly relative_path: {
|
|
1462
|
-
readonly type: "string";
|
|
1463
|
-
};
|
|
1464
|
-
readonly immutable: {
|
|
1465
|
-
readonly type: "boolean";
|
|
1466
|
-
};
|
|
1467
|
-
readonly link: {
|
|
1468
|
-
readonly getter: (value: any) => Promise<string>;
|
|
1469
|
-
};
|
|
1470
|
-
readonly download_link: {
|
|
1471
|
-
readonly getter: (value: any) => Promise<string>;
|
|
1472
|
-
};
|
|
1473
|
-
};
|
|
1474
|
-
readonly actions: {
|
|
1475
|
-
readonly deleteAll: {
|
|
1476
|
-
readonly name: "Remover";
|
|
1477
|
-
readonly ask: true;
|
|
1478
|
-
readonly selection: true;
|
|
1479
|
-
};
|
|
1480
|
-
};
|
|
1481
|
-
readonly individualActions: {
|
|
1482
|
-
readonly remove: {
|
|
1483
|
-
readonly name: "Remover";
|
|
1484
|
-
readonly icon: "trash";
|
|
1485
|
-
readonly ask: true;
|
|
1486
|
-
};
|
|
1487
|
-
};
|
|
1488
|
-
}>>, context: import("@aeriajs/types").Context<{
|
|
1489
|
-
readonly $id: "file";
|
|
1490
|
-
readonly owned: "always";
|
|
1491
|
-
readonly presets: readonly ["owned"];
|
|
1492
|
-
readonly indexes: readonly ["filename", "link", "mime"];
|
|
1493
|
-
readonly properties: {
|
|
1494
|
-
readonly mime: {
|
|
1495
|
-
readonly type: "string";
|
|
1496
|
-
};
|
|
1497
|
-
readonly size: {
|
|
1498
|
-
readonly type: "number";
|
|
1499
|
-
};
|
|
1500
|
-
readonly last_modified: {
|
|
1501
|
-
readonly type: "string";
|
|
1502
|
-
readonly format: "date-time";
|
|
1503
|
-
};
|
|
1504
|
-
readonly filename: {
|
|
1505
|
-
readonly type: "string";
|
|
1506
|
-
};
|
|
1507
|
-
readonly absolute_path: {
|
|
1508
|
-
readonly type: "string";
|
|
1509
|
-
};
|
|
1510
|
-
readonly relative_path: {
|
|
1511
|
-
readonly type: "string";
|
|
1512
|
-
};
|
|
1513
|
-
readonly immutable: {
|
|
1514
|
-
readonly type: "boolean";
|
|
1515
|
-
};
|
|
1516
|
-
readonly link: {
|
|
1517
|
-
readonly getter: (value: any) => Promise<string>;
|
|
1518
|
-
};
|
|
1519
|
-
readonly download_link: {
|
|
1520
|
-
readonly getter: (value: any) => Promise<string>;
|
|
1521
|
-
};
|
|
1522
|
-
};
|
|
1523
|
-
readonly actions: {
|
|
1524
|
-
readonly deleteAll: {
|
|
1525
|
-
readonly name: "Remover";
|
|
1526
|
-
readonly ask: true;
|
|
1527
|
-
readonly selection: true;
|
|
1528
|
-
};
|
|
1529
|
-
};
|
|
1530
|
-
readonly individualActions: {
|
|
1531
|
-
readonly remove: {
|
|
1532
|
-
readonly name: "Remover";
|
|
1533
|
-
readonly icon: "trash";
|
|
1534
|
-
readonly ask: true;
|
|
1535
|
-
};
|
|
1536
|
-
};
|
|
1537
|
-
}>) => Promise<any>;
|
|
1538
|
-
readonly removeAll: (payload: import("@aeriajs/types").RemoveAllPayload, context: import("@aeriajs/types").Context<{
|
|
1539
|
-
readonly $id: "file";
|
|
1540
|
-
readonly owned: "always";
|
|
1541
|
-
readonly presets: readonly ["owned"];
|
|
1542
|
-
readonly indexes: readonly ["filename", "link", "mime"];
|
|
1543
|
-
readonly properties: {
|
|
1544
|
-
readonly mime: {
|
|
1545
|
-
readonly type: "string";
|
|
1546
|
-
};
|
|
1547
|
-
readonly size: {
|
|
1548
|
-
readonly type: "number";
|
|
1549
|
-
};
|
|
1550
|
-
readonly last_modified: {
|
|
1551
|
-
readonly type: "string";
|
|
1552
|
-
readonly format: "date-time";
|
|
1553
|
-
};
|
|
1554
|
-
readonly filename: {
|
|
1555
|
-
readonly type: "string";
|
|
1556
|
-
};
|
|
1557
|
-
readonly absolute_path: {
|
|
1558
|
-
readonly type: "string";
|
|
1559
|
-
};
|
|
1560
|
-
readonly relative_path: {
|
|
1561
|
-
readonly type: "string";
|
|
1562
|
-
};
|
|
1563
|
-
readonly immutable: {
|
|
1564
|
-
readonly type: "boolean";
|
|
1565
|
-
};
|
|
1566
|
-
readonly link: {
|
|
1567
|
-
readonly getter: (value: any) => Promise<string>;
|
|
1568
|
-
};
|
|
1569
|
-
readonly download_link: {
|
|
1570
|
-
readonly getter: (value: any) => Promise<string>;
|
|
1571
|
-
};
|
|
1572
|
-
};
|
|
1573
|
-
readonly actions: {
|
|
1574
|
-
readonly deleteAll: {
|
|
1575
|
-
readonly name: "Remover";
|
|
1576
|
-
readonly ask: true;
|
|
1577
|
-
readonly selection: true;
|
|
1578
|
-
};
|
|
1579
|
-
};
|
|
1580
|
-
readonly individualActions: {
|
|
1581
|
-
readonly remove: {
|
|
1582
|
-
readonly name: "Remover";
|
|
1583
|
-
readonly icon: "trash";
|
|
1584
|
-
readonly ask: true;
|
|
1585
|
-
};
|
|
1586
|
-
};
|
|
1587
|
-
}>) => Promise<any>;
|
|
1588
|
-
};
|
|
1589
|
-
}>;
|
|
1590
|
-
};
|
|
1591
|
-
tempFile: Omit<import("@aeriajs/types").Collection<{
|
|
1592
|
-
description: {
|
|
1593
|
-
readonly $id: "tempFile";
|
|
1594
|
-
readonly temporary: {
|
|
1595
|
-
readonly index: "created_at";
|
|
1596
|
-
readonly expireAfterSeconds: 3600;
|
|
1597
|
-
};
|
|
1598
|
-
readonly properties: {
|
|
1599
|
-
readonly created_at: {
|
|
1600
|
-
readonly type: "string";
|
|
1601
|
-
readonly format: "date-time";
|
|
1602
|
-
};
|
|
1603
|
-
readonly absolute_path: {
|
|
1604
|
-
readonly type: "string";
|
|
1605
|
-
};
|
|
1606
|
-
readonly size: {
|
|
1607
|
-
readonly type: "number";
|
|
1608
|
-
};
|
|
1609
|
-
readonly mime: {
|
|
1610
|
-
readonly type: "number";
|
|
1611
|
-
};
|
|
1612
|
-
readonly collection: {
|
|
1613
|
-
readonly type: "string";
|
|
1614
|
-
};
|
|
1615
|
-
readonly filename: {
|
|
1616
|
-
readonly type: "string";
|
|
1617
|
-
};
|
|
1618
|
-
};
|
|
1619
|
-
};
|
|
1620
|
-
}>, "description" | "functions" | "item"> & {
|
|
1621
|
-
item: import("@aeriajs/types").SchemaWithId<{
|
|
1622
|
-
readonly $id: "tempFile";
|
|
1623
|
-
readonly temporary: {
|
|
1624
|
-
readonly index: "created_at";
|
|
1625
|
-
readonly expireAfterSeconds: 3600;
|
|
1626
|
-
};
|
|
1627
|
-
readonly properties: {
|
|
1628
|
-
readonly created_at: {
|
|
1629
|
-
readonly type: "string";
|
|
1630
|
-
readonly format: "date-time";
|
|
1631
|
-
};
|
|
1632
|
-
readonly absolute_path: {
|
|
1633
|
-
readonly type: "string";
|
|
1634
|
-
};
|
|
1635
|
-
readonly size: {
|
|
1636
|
-
readonly type: "number";
|
|
1637
|
-
};
|
|
1638
|
-
readonly mime: {
|
|
1639
|
-
readonly type: "number";
|
|
1640
|
-
};
|
|
1641
|
-
readonly collection: {
|
|
1642
|
-
readonly type: "string";
|
|
1643
|
-
};
|
|
1644
|
-
readonly filename: {
|
|
1645
|
-
readonly type: "string";
|
|
1646
|
-
};
|
|
1647
|
-
};
|
|
1648
|
-
}>;
|
|
1649
|
-
description: {
|
|
1650
|
-
readonly $id: "tempFile";
|
|
1651
|
-
readonly temporary: {
|
|
1652
|
-
readonly index: "created_at";
|
|
1653
|
-
readonly expireAfterSeconds: 3600;
|
|
1654
|
-
};
|
|
1655
|
-
readonly properties: {
|
|
1656
|
-
readonly created_at: {
|
|
1657
|
-
readonly type: "string";
|
|
1658
|
-
readonly format: "date-time";
|
|
1659
|
-
};
|
|
1660
|
-
readonly absolute_path: {
|
|
1661
|
-
readonly type: "string";
|
|
1662
|
-
};
|
|
1663
|
-
readonly size: {
|
|
1664
|
-
readonly type: "number";
|
|
1665
|
-
};
|
|
1666
|
-
readonly mime: {
|
|
1667
|
-
readonly type: "number";
|
|
1668
|
-
};
|
|
1669
|
-
readonly collection: {
|
|
1670
|
-
readonly type: "string";
|
|
1671
|
-
};
|
|
1672
|
-
readonly filename: {
|
|
1673
|
-
readonly type: "string";
|
|
1674
|
-
};
|
|
1675
|
-
};
|
|
1676
|
-
};
|
|
1677
|
-
functions: {
|
|
1678
|
-
[P: string]: (payload: any, context: import("@aeriajs/types").Context<{
|
|
1679
|
-
readonly $id: "tempFile";
|
|
1680
|
-
readonly temporary: {
|
|
1681
|
-
readonly index: "created_at";
|
|
1682
|
-
readonly expireAfterSeconds: 3600;
|
|
1683
|
-
};
|
|
1684
|
-
readonly properties: {
|
|
1685
|
-
readonly created_at: {
|
|
1686
|
-
readonly type: "string";
|
|
1687
|
-
readonly format: "date-time";
|
|
1688
|
-
};
|
|
1689
|
-
readonly absolute_path: {
|
|
1690
|
-
readonly type: "string";
|
|
1691
|
-
};
|
|
1692
|
-
readonly size: {
|
|
1693
|
-
readonly type: "number";
|
|
1694
|
-
};
|
|
1695
|
-
readonly mime: {
|
|
1696
|
-
readonly type: "number";
|
|
1697
|
-
};
|
|
1698
|
-
readonly collection: {
|
|
1699
|
-
readonly type: "string";
|
|
1700
|
-
};
|
|
1701
|
-
readonly filename: {
|
|
1702
|
-
readonly type: "string";
|
|
1703
|
-
};
|
|
1704
|
-
};
|
|
1705
|
-
}>, ...args: any[]) => any;
|
|
1706
|
-
};
|
|
1707
|
-
functionContracts: Partial<{
|
|
1708
|
-
[x: string]: import("@aeriajs/types").Contract;
|
|
1709
|
-
}>;
|
|
1710
|
-
accessControl: import("@aeriajs/types").AccessControl<{
|
|
1711
|
-
description: {
|
|
1712
|
-
readonly $id: "tempFile";
|
|
1713
|
-
readonly temporary: {
|
|
1714
|
-
readonly index: "created_at";
|
|
1715
|
-
readonly expireAfterSeconds: 3600;
|
|
1716
|
-
};
|
|
1717
|
-
readonly properties: {
|
|
1718
|
-
readonly created_at: {
|
|
1719
|
-
readonly type: "string";
|
|
1720
|
-
readonly format: "date-time";
|
|
1721
|
-
};
|
|
1722
|
-
readonly absolute_path: {
|
|
1723
|
-
readonly type: "string";
|
|
1724
|
-
};
|
|
1725
|
-
readonly size: {
|
|
1726
|
-
readonly type: "number";
|
|
1727
|
-
};
|
|
1728
|
-
readonly mime: {
|
|
1729
|
-
readonly type: "number";
|
|
1730
|
-
};
|
|
1731
|
-
readonly collection: {
|
|
1732
|
-
readonly type: "string";
|
|
1733
|
-
};
|
|
1734
|
-
readonly filename: {
|
|
1735
|
-
readonly type: "string";
|
|
1736
|
-
};
|
|
1737
|
-
};
|
|
1738
|
-
};
|
|
1739
|
-
functions: {
|
|
1740
|
-
[P: string]: (payload: any, context: import("@aeriajs/types").Context<{
|
|
1741
|
-
readonly $id: "tempFile";
|
|
1742
|
-
readonly temporary: {
|
|
1743
|
-
readonly index: "created_at";
|
|
1744
|
-
readonly expireAfterSeconds: 3600;
|
|
1745
|
-
};
|
|
1746
|
-
readonly properties: {
|
|
1747
|
-
readonly created_at: {
|
|
1748
|
-
readonly type: "string";
|
|
1749
|
-
readonly format: "date-time";
|
|
1750
|
-
};
|
|
1751
|
-
readonly absolute_path: {
|
|
1752
|
-
readonly type: "string";
|
|
1753
|
-
};
|
|
1754
|
-
readonly size: {
|
|
1755
|
-
readonly type: "number";
|
|
1756
|
-
};
|
|
1757
|
-
readonly mime: {
|
|
1758
|
-
readonly type: "number";
|
|
1759
|
-
};
|
|
1760
|
-
readonly collection: {
|
|
1761
|
-
readonly type: "string";
|
|
1762
|
-
};
|
|
1763
|
-
readonly filename: {
|
|
1764
|
-
readonly type: "string";
|
|
1765
|
-
};
|
|
1766
|
-
};
|
|
1767
|
-
}>, ...args: any[]) => any;
|
|
1768
|
-
};
|
|
1769
|
-
}>;
|
|
1770
|
-
};
|
|
1771
|
-
log: Omit<import("@aeriajs/types").Collection<{
|
|
1772
|
-
description: {
|
|
1773
|
-
readonly $id: "log";
|
|
1774
|
-
readonly required: readonly ["context", "message"];
|
|
1775
|
-
readonly properties: {
|
|
1776
|
-
readonly owner: {
|
|
1777
|
-
readonly $ref: "user";
|
|
1778
|
-
readonly noForm: true;
|
|
1779
|
-
};
|
|
1780
|
-
readonly context: {
|
|
1781
|
-
readonly type: "string";
|
|
1782
|
-
};
|
|
1783
|
-
readonly message: {
|
|
1784
|
-
readonly type: "string";
|
|
1785
|
-
};
|
|
1786
|
-
readonly details: {
|
|
1787
|
-
readonly type: "object";
|
|
1788
|
-
readonly variable: true;
|
|
1789
|
-
};
|
|
1790
|
-
readonly created_at: {
|
|
1791
|
-
readonly type: "string";
|
|
1792
|
-
readonly format: "date-time";
|
|
1793
|
-
};
|
|
1794
|
-
};
|
|
1795
|
-
readonly icon: "magnifying-glass";
|
|
1796
|
-
readonly presets: readonly ["view"];
|
|
1797
|
-
readonly filters: readonly ["context", "message", "owner"];
|
|
1798
|
-
};
|
|
1799
|
-
functions: {
|
|
1800
|
-
readonly get: (payload: import("@aeriajs/types").GetPayload<import("@aeriajs/types").SchemaWithId<{
|
|
1801
|
-
readonly $id: "log";
|
|
1802
|
-
readonly required: readonly ["context", "message"];
|
|
1803
|
-
readonly properties: {
|
|
1804
|
-
readonly owner: {
|
|
1805
|
-
readonly $ref: "user";
|
|
1806
|
-
readonly noForm: true;
|
|
1807
|
-
};
|
|
1808
|
-
readonly context: {
|
|
1809
|
-
readonly type: "string";
|
|
1810
|
-
};
|
|
1811
|
-
readonly message: {
|
|
1812
|
-
readonly type: "string";
|
|
1813
|
-
};
|
|
1814
|
-
readonly details: {
|
|
1815
|
-
readonly type: "object";
|
|
1816
|
-
readonly variable: true;
|
|
1817
|
-
};
|
|
1818
|
-
readonly created_at: {
|
|
1819
|
-
readonly type: "string";
|
|
1820
|
-
readonly format: "date-time";
|
|
1821
|
-
};
|
|
1822
|
-
};
|
|
1823
|
-
readonly icon: "magnifying-glass";
|
|
1824
|
-
readonly presets: readonly ["view"];
|
|
1825
|
-
readonly filters: readonly ["context", "message", "owner"];
|
|
1826
|
-
}>>, context: import("@aeriajs/types").Context<{
|
|
1827
|
-
readonly $id: "log";
|
|
1828
|
-
readonly required: readonly ["context", "message"];
|
|
1829
|
-
readonly properties: {
|
|
1830
|
-
readonly owner: {
|
|
1831
|
-
readonly $ref: "user";
|
|
1832
|
-
readonly noForm: true;
|
|
1833
|
-
};
|
|
1834
|
-
readonly context: {
|
|
1835
|
-
readonly type: "string";
|
|
1836
|
-
};
|
|
1837
|
-
readonly message: {
|
|
1838
|
-
readonly type: "string";
|
|
1839
|
-
};
|
|
1840
|
-
readonly details: {
|
|
1841
|
-
readonly type: "object";
|
|
1842
|
-
readonly variable: true;
|
|
1843
|
-
};
|
|
1844
|
-
readonly created_at: {
|
|
1845
|
-
readonly type: "string";
|
|
1846
|
-
readonly format: "date-time";
|
|
1847
|
-
};
|
|
1848
|
-
};
|
|
1849
|
-
readonly icon: "magnifying-glass";
|
|
1850
|
-
readonly presets: readonly ["view"];
|
|
1851
|
-
readonly filters: readonly ["context", "message", "owner"];
|
|
1852
|
-
}>, options?: import("@aeriajs/api").GetOptions | undefined) => Promise<import("@aeriajs/types").SchemaWithId<{
|
|
1853
|
-
readonly $id: "log";
|
|
1854
|
-
readonly required: readonly ["context", "message"];
|
|
1855
|
-
readonly properties: {
|
|
1856
|
-
readonly owner: {
|
|
1857
|
-
readonly $ref: "user";
|
|
1858
|
-
readonly noForm: true;
|
|
1859
|
-
};
|
|
1860
|
-
readonly context: {
|
|
1861
|
-
readonly type: "string";
|
|
1862
|
-
};
|
|
1863
|
-
readonly message: {
|
|
1864
|
-
readonly type: "string";
|
|
1865
|
-
};
|
|
1866
|
-
readonly details: {
|
|
1867
|
-
readonly type: "object";
|
|
1868
|
-
readonly variable: true;
|
|
1869
|
-
};
|
|
1870
|
-
readonly created_at: {
|
|
1871
|
-
readonly type: "string";
|
|
1872
|
-
readonly format: "date-time";
|
|
1873
|
-
};
|
|
1874
|
-
};
|
|
1875
|
-
readonly icon: "magnifying-glass";
|
|
1876
|
-
readonly presets: readonly ["view"];
|
|
1877
|
-
readonly filters: readonly ["context", "message", "owner"];
|
|
1878
|
-
}> | null>;
|
|
1879
|
-
readonly getAll: (_payload: import("@aeriajs/types").GetAllPayload<import("@aeriajs/types").SchemaWithId<any>> | undefined, context: import("@aeriajs/types").Context<{
|
|
1880
|
-
readonly $id: "log";
|
|
1881
|
-
readonly required: readonly ["context", "message"];
|
|
1882
|
-
readonly properties: {
|
|
1883
|
-
readonly owner: {
|
|
1884
|
-
readonly $ref: "user";
|
|
1885
|
-
readonly noForm: true;
|
|
1886
|
-
};
|
|
1887
|
-
readonly context: {
|
|
1888
|
-
readonly type: "string";
|
|
1889
|
-
};
|
|
1890
|
-
readonly message: {
|
|
1891
|
-
readonly type: "string";
|
|
1892
|
-
};
|
|
1893
|
-
readonly details: {
|
|
1894
|
-
readonly type: "object";
|
|
1895
|
-
readonly variable: true;
|
|
1896
|
-
};
|
|
1897
|
-
readonly created_at: {
|
|
1898
|
-
readonly type: "string";
|
|
1899
|
-
readonly format: "date-time";
|
|
1900
|
-
};
|
|
1901
|
-
};
|
|
1902
|
-
readonly icon: "magnifying-glass";
|
|
1903
|
-
readonly presets: readonly ["view"];
|
|
1904
|
-
readonly filters: readonly ["context", "message", "owner"];
|
|
1905
|
-
}>, options?: import("@aeriajs/api").GetAllOptions | undefined) => Promise<import("@aeriajs/types").SchemaWithId<{
|
|
1906
|
-
readonly $id: "log";
|
|
1907
|
-
readonly required: readonly ["context", "message"];
|
|
1908
|
-
readonly properties: {
|
|
1909
|
-
readonly owner: {
|
|
1910
|
-
readonly $ref: "user";
|
|
1911
|
-
readonly noForm: true;
|
|
1912
|
-
};
|
|
1913
|
-
readonly context: {
|
|
1914
|
-
readonly type: "string";
|
|
1915
|
-
};
|
|
1916
|
-
readonly message: {
|
|
1917
|
-
readonly type: "string";
|
|
1918
|
-
};
|
|
1919
|
-
readonly details: {
|
|
1920
|
-
readonly type: "object";
|
|
1921
|
-
readonly variable: true;
|
|
1922
|
-
};
|
|
1923
|
-
readonly created_at: {
|
|
1924
|
-
readonly type: "string";
|
|
1925
|
-
readonly format: "date-time";
|
|
1926
|
-
};
|
|
1927
|
-
};
|
|
1928
|
-
readonly icon: "magnifying-glass";
|
|
1929
|
-
readonly presets: readonly ["view"];
|
|
1930
|
-
readonly filters: readonly ["context", "message", "owner"];
|
|
1931
|
-
}>[]>;
|
|
1932
|
-
readonly insert: (payload: import("@aeriajs/types").InsertPayload<import("@aeriajs/types").SchemaWithId<{
|
|
1933
|
-
readonly $id: "log";
|
|
1934
|
-
readonly required: readonly ["context", "message"];
|
|
1935
|
-
readonly properties: {
|
|
1936
|
-
readonly owner: {
|
|
1937
|
-
readonly $ref: "user";
|
|
1938
|
-
readonly noForm: true;
|
|
1939
|
-
};
|
|
1940
|
-
readonly context: {
|
|
1941
|
-
readonly type: "string";
|
|
1942
|
-
};
|
|
1943
|
-
readonly message: {
|
|
1944
|
-
readonly type: "string";
|
|
1945
|
-
};
|
|
1946
|
-
readonly details: {
|
|
1947
|
-
readonly type: "object";
|
|
1948
|
-
readonly variable: true;
|
|
1949
|
-
};
|
|
1950
|
-
readonly created_at: {
|
|
1951
|
-
readonly type: "string";
|
|
1952
|
-
readonly format: "date-time";
|
|
1953
|
-
};
|
|
1954
|
-
};
|
|
1955
|
-
readonly icon: "magnifying-glass";
|
|
1956
|
-
readonly presets: readonly ["view"];
|
|
1957
|
-
readonly filters: readonly ["context", "message", "owner"];
|
|
1958
|
-
}>>, context: import("@aeriajs/types").Context<{
|
|
1959
|
-
readonly $id: "log";
|
|
1960
|
-
readonly required: readonly ["context", "message"];
|
|
1961
|
-
readonly properties: {
|
|
1962
|
-
readonly owner: {
|
|
1963
|
-
readonly $ref: "user";
|
|
1964
|
-
readonly noForm: true;
|
|
1965
|
-
};
|
|
1966
|
-
readonly context: {
|
|
1967
|
-
readonly type: "string";
|
|
1968
|
-
};
|
|
1969
|
-
readonly message: {
|
|
1970
|
-
readonly type: "string";
|
|
1971
|
-
};
|
|
1972
|
-
readonly details: {
|
|
1973
|
-
readonly type: "object";
|
|
1974
|
-
readonly variable: true;
|
|
1975
|
-
};
|
|
1976
|
-
readonly created_at: {
|
|
1977
|
-
readonly type: "string";
|
|
1978
|
-
readonly format: "date-time";
|
|
1979
|
-
};
|
|
1980
|
-
};
|
|
1981
|
-
readonly icon: "magnifying-glass";
|
|
1982
|
-
readonly presets: readonly ["view"];
|
|
1983
|
-
readonly filters: readonly ["context", "message", "owner"];
|
|
1984
|
-
}>, options?: import("@aeriajs/api").InsertOptions | undefined) => Promise<import("@aeriajs/types").Right<any> | import("@aeriajs/types").Left<import("@aeriajs/types").ACErrors | import("@aeriajs/types").ValidationError>>;
|
|
1985
|
-
};
|
|
1986
|
-
}>, "description" | "functions" | "item"> & {
|
|
1987
|
-
item: import("@aeriajs/types").SchemaWithId<{
|
|
1988
|
-
readonly $id: "log";
|
|
1989
|
-
readonly required: readonly ["context", "message"];
|
|
1990
|
-
readonly properties: {
|
|
1991
|
-
readonly owner: {
|
|
1992
|
-
readonly $ref: "user";
|
|
1993
|
-
readonly noForm: true;
|
|
1994
|
-
};
|
|
1995
|
-
readonly context: {
|
|
1996
|
-
readonly type: "string";
|
|
1997
|
-
};
|
|
1998
|
-
readonly message: {
|
|
1999
|
-
readonly type: "string";
|
|
2000
|
-
};
|
|
2001
|
-
readonly details: {
|
|
2002
|
-
readonly type: "object";
|
|
2003
|
-
readonly variable: true;
|
|
2004
|
-
};
|
|
2005
|
-
readonly created_at: {
|
|
2006
|
-
readonly type: "string";
|
|
2007
|
-
readonly format: "date-time";
|
|
2008
|
-
};
|
|
2009
|
-
};
|
|
2010
|
-
readonly icon: "magnifying-glass";
|
|
2011
|
-
readonly presets: readonly ["view"];
|
|
2012
|
-
readonly filters: readonly ["context", "message", "owner"];
|
|
2013
|
-
}>;
|
|
2014
|
-
description: {
|
|
2015
|
-
readonly $id: "log";
|
|
2016
|
-
readonly required: readonly ["context", "message"];
|
|
2017
|
-
readonly properties: {
|
|
2018
|
-
readonly owner: {
|
|
2019
|
-
readonly $ref: "user";
|
|
2020
|
-
readonly noForm: true;
|
|
2021
|
-
};
|
|
2022
|
-
readonly context: {
|
|
2023
|
-
readonly type: "string";
|
|
2024
|
-
};
|
|
2025
|
-
readonly message: {
|
|
2026
|
-
readonly type: "string";
|
|
2027
|
-
};
|
|
2028
|
-
readonly details: {
|
|
2029
|
-
readonly type: "object";
|
|
2030
|
-
readonly variable: true;
|
|
2031
|
-
};
|
|
2032
|
-
readonly created_at: {
|
|
2033
|
-
readonly type: "string";
|
|
2034
|
-
readonly format: "date-time";
|
|
2035
|
-
};
|
|
2036
|
-
};
|
|
2037
|
-
readonly icon: "magnifying-glass";
|
|
2038
|
-
readonly presets: readonly ["view"];
|
|
2039
|
-
readonly filters: readonly ["context", "message", "owner"];
|
|
2040
|
-
};
|
|
2041
|
-
functions: {
|
|
2042
|
-
readonly get: (payload: import("@aeriajs/types").GetPayload<import("@aeriajs/types").SchemaWithId<{
|
|
2043
|
-
readonly $id: "log";
|
|
2044
|
-
readonly required: readonly ["context", "message"];
|
|
2045
|
-
readonly properties: {
|
|
2046
|
-
readonly owner: {
|
|
2047
|
-
readonly $ref: "user";
|
|
2048
|
-
readonly noForm: true;
|
|
2049
|
-
};
|
|
2050
|
-
readonly context: {
|
|
2051
|
-
readonly type: "string";
|
|
2052
|
-
};
|
|
2053
|
-
readonly message: {
|
|
2054
|
-
readonly type: "string";
|
|
2055
|
-
};
|
|
2056
|
-
readonly details: {
|
|
2057
|
-
readonly type: "object";
|
|
2058
|
-
readonly variable: true;
|
|
2059
|
-
};
|
|
2060
|
-
readonly created_at: {
|
|
2061
|
-
readonly type: "string";
|
|
2062
|
-
readonly format: "date-time";
|
|
2063
|
-
};
|
|
2064
|
-
};
|
|
2065
|
-
readonly icon: "magnifying-glass";
|
|
2066
|
-
readonly presets: readonly ["view"];
|
|
2067
|
-
readonly filters: readonly ["context", "message", "owner"];
|
|
2068
|
-
}>>, context: import("@aeriajs/types").Context<{
|
|
2069
|
-
readonly $id: "log";
|
|
2070
|
-
readonly required: readonly ["context", "message"];
|
|
2071
|
-
readonly properties: {
|
|
2072
|
-
readonly owner: {
|
|
2073
|
-
readonly $ref: "user";
|
|
2074
|
-
readonly noForm: true;
|
|
2075
|
-
};
|
|
2076
|
-
readonly context: {
|
|
2077
|
-
readonly type: "string";
|
|
2078
|
-
};
|
|
2079
|
-
readonly message: {
|
|
2080
|
-
readonly type: "string";
|
|
2081
|
-
};
|
|
2082
|
-
readonly details: {
|
|
2083
|
-
readonly type: "object";
|
|
2084
|
-
readonly variable: true;
|
|
2085
|
-
};
|
|
2086
|
-
readonly created_at: {
|
|
2087
|
-
readonly type: "string";
|
|
2088
|
-
readonly format: "date-time";
|
|
2089
|
-
};
|
|
2090
|
-
};
|
|
2091
|
-
readonly icon: "magnifying-glass";
|
|
2092
|
-
readonly presets: readonly ["view"];
|
|
2093
|
-
readonly filters: readonly ["context", "message", "owner"];
|
|
2094
|
-
}>, options?: import("@aeriajs/api").GetOptions | undefined) => Promise<import("@aeriajs/types").SchemaWithId<{
|
|
2095
|
-
readonly $id: "log";
|
|
2096
|
-
readonly required: readonly ["context", "message"];
|
|
2097
|
-
readonly properties: {
|
|
2098
|
-
readonly owner: {
|
|
2099
|
-
readonly $ref: "user";
|
|
2100
|
-
readonly noForm: true;
|
|
2101
|
-
};
|
|
2102
|
-
readonly context: {
|
|
2103
|
-
readonly type: "string";
|
|
2104
|
-
};
|
|
2105
|
-
readonly message: {
|
|
2106
|
-
readonly type: "string";
|
|
2107
|
-
};
|
|
2108
|
-
readonly details: {
|
|
2109
|
-
readonly type: "object";
|
|
2110
|
-
readonly variable: true;
|
|
2111
|
-
};
|
|
2112
|
-
readonly created_at: {
|
|
2113
|
-
readonly type: "string";
|
|
2114
|
-
readonly format: "date-time";
|
|
2115
|
-
};
|
|
2116
|
-
};
|
|
2117
|
-
readonly icon: "magnifying-glass";
|
|
2118
|
-
readonly presets: readonly ["view"];
|
|
2119
|
-
readonly filters: readonly ["context", "message", "owner"];
|
|
2120
|
-
}> | null>;
|
|
2121
|
-
readonly getAll: (_payload: import("@aeriajs/types").GetAllPayload<import("@aeriajs/types").SchemaWithId<any>> | undefined, context: import("@aeriajs/types").Context<{
|
|
2122
|
-
readonly $id: "log";
|
|
2123
|
-
readonly required: readonly ["context", "message"];
|
|
2124
|
-
readonly properties: {
|
|
2125
|
-
readonly owner: {
|
|
2126
|
-
readonly $ref: "user";
|
|
2127
|
-
readonly noForm: true;
|
|
2128
|
-
};
|
|
2129
|
-
readonly context: {
|
|
2130
|
-
readonly type: "string";
|
|
2131
|
-
};
|
|
2132
|
-
readonly message: {
|
|
2133
|
-
readonly type: "string";
|
|
2134
|
-
};
|
|
2135
|
-
readonly details: {
|
|
2136
|
-
readonly type: "object";
|
|
2137
|
-
readonly variable: true;
|
|
2138
|
-
};
|
|
2139
|
-
readonly created_at: {
|
|
2140
|
-
readonly type: "string";
|
|
2141
|
-
readonly format: "date-time";
|
|
2142
|
-
};
|
|
2143
|
-
};
|
|
2144
|
-
readonly icon: "magnifying-glass";
|
|
2145
|
-
readonly presets: readonly ["view"];
|
|
2146
|
-
readonly filters: readonly ["context", "message", "owner"];
|
|
2147
|
-
}>, options?: import("@aeriajs/api").GetAllOptions | undefined) => Promise<import("@aeriajs/types").SchemaWithId<{
|
|
2148
|
-
readonly $id: "log";
|
|
2149
|
-
readonly required: readonly ["context", "message"];
|
|
2150
|
-
readonly properties: {
|
|
2151
|
-
readonly owner: {
|
|
2152
|
-
readonly $ref: "user";
|
|
2153
|
-
readonly noForm: true;
|
|
2154
|
-
};
|
|
2155
|
-
readonly context: {
|
|
2156
|
-
readonly type: "string";
|
|
2157
|
-
};
|
|
2158
|
-
readonly message: {
|
|
2159
|
-
readonly type: "string";
|
|
2160
|
-
};
|
|
2161
|
-
readonly details: {
|
|
2162
|
-
readonly type: "object";
|
|
2163
|
-
readonly variable: true;
|
|
2164
|
-
};
|
|
2165
|
-
readonly created_at: {
|
|
2166
|
-
readonly type: "string";
|
|
2167
|
-
readonly format: "date-time";
|
|
2168
|
-
};
|
|
2169
|
-
};
|
|
2170
|
-
readonly icon: "magnifying-glass";
|
|
2171
|
-
readonly presets: readonly ["view"];
|
|
2172
|
-
readonly filters: readonly ["context", "message", "owner"];
|
|
2173
|
-
}>[]>;
|
|
2174
|
-
readonly insert: (payload: import("@aeriajs/types").InsertPayload<import("@aeriajs/types").SchemaWithId<{
|
|
2175
|
-
readonly $id: "log";
|
|
2176
|
-
readonly required: readonly ["context", "message"];
|
|
2177
|
-
readonly properties: {
|
|
2178
|
-
readonly owner: {
|
|
2179
|
-
readonly $ref: "user";
|
|
2180
|
-
readonly noForm: true;
|
|
2181
|
-
};
|
|
2182
|
-
readonly context: {
|
|
2183
|
-
readonly type: "string";
|
|
2184
|
-
};
|
|
2185
|
-
readonly message: {
|
|
2186
|
-
readonly type: "string";
|
|
2187
|
-
};
|
|
2188
|
-
readonly details: {
|
|
2189
|
-
readonly type: "object";
|
|
2190
|
-
readonly variable: true;
|
|
2191
|
-
};
|
|
2192
|
-
readonly created_at: {
|
|
2193
|
-
readonly type: "string";
|
|
2194
|
-
readonly format: "date-time";
|
|
2195
|
-
};
|
|
2196
|
-
};
|
|
2197
|
-
readonly icon: "magnifying-glass";
|
|
2198
|
-
readonly presets: readonly ["view"];
|
|
2199
|
-
readonly filters: readonly ["context", "message", "owner"];
|
|
2200
|
-
}>>, context: import("@aeriajs/types").Context<{
|
|
2201
|
-
readonly $id: "log";
|
|
2202
|
-
readonly required: readonly ["context", "message"];
|
|
2203
|
-
readonly properties: {
|
|
2204
|
-
readonly owner: {
|
|
2205
|
-
readonly $ref: "user";
|
|
2206
|
-
readonly noForm: true;
|
|
2207
|
-
};
|
|
2208
|
-
readonly context: {
|
|
2209
|
-
readonly type: "string";
|
|
2210
|
-
};
|
|
2211
|
-
readonly message: {
|
|
2212
|
-
readonly type: "string";
|
|
2213
|
-
};
|
|
2214
|
-
readonly details: {
|
|
2215
|
-
readonly type: "object";
|
|
2216
|
-
readonly variable: true;
|
|
2217
|
-
};
|
|
2218
|
-
readonly created_at: {
|
|
2219
|
-
readonly type: "string";
|
|
2220
|
-
readonly format: "date-time";
|
|
2221
|
-
};
|
|
2222
|
-
};
|
|
2223
|
-
readonly icon: "magnifying-glass";
|
|
2224
|
-
readonly presets: readonly ["view"];
|
|
2225
|
-
readonly filters: readonly ["context", "message", "owner"];
|
|
2226
|
-
}>, options?: import("@aeriajs/api").InsertOptions | undefined) => Promise<import("@aeriajs/types").Right<any> | import("@aeriajs/types").Left<import("@aeriajs/types").ACErrors | import("@aeriajs/types").ValidationError>>;
|
|
2227
|
-
};
|
|
2228
|
-
functionContracts: Partial<{
|
|
2229
|
-
readonly get: import("@aeriajs/types").Contract;
|
|
2230
|
-
readonly getAll: import("@aeriajs/types").Contract;
|
|
2231
|
-
readonly insert: import("@aeriajs/types").Contract;
|
|
2232
|
-
}>;
|
|
2233
|
-
accessControl: import("@aeriajs/types").AccessControl<{
|
|
2234
|
-
description: {
|
|
2235
|
-
readonly $id: "log";
|
|
2236
|
-
readonly required: readonly ["context", "message"];
|
|
2237
|
-
readonly properties: {
|
|
2238
|
-
readonly owner: {
|
|
2239
|
-
readonly $ref: "user";
|
|
2240
|
-
readonly noForm: true;
|
|
2241
|
-
};
|
|
2242
|
-
readonly context: {
|
|
2243
|
-
readonly type: "string";
|
|
2244
|
-
};
|
|
2245
|
-
readonly message: {
|
|
2246
|
-
readonly type: "string";
|
|
2247
|
-
};
|
|
2248
|
-
readonly details: {
|
|
2249
|
-
readonly type: "object";
|
|
2250
|
-
readonly variable: true;
|
|
2251
|
-
};
|
|
2252
|
-
readonly created_at: {
|
|
2253
|
-
readonly type: "string";
|
|
2254
|
-
readonly format: "date-time";
|
|
2255
|
-
};
|
|
2256
|
-
};
|
|
2257
|
-
readonly icon: "magnifying-glass";
|
|
2258
|
-
readonly presets: readonly ["view"];
|
|
2259
|
-
readonly filters: readonly ["context", "message", "owner"];
|
|
2260
|
-
};
|
|
2261
|
-
functions: {
|
|
2262
|
-
readonly get: (payload: import("@aeriajs/types").GetPayload<import("@aeriajs/types").SchemaWithId<{
|
|
2263
|
-
readonly $id: "log";
|
|
2264
|
-
readonly required: readonly ["context", "message"];
|
|
2265
|
-
readonly properties: {
|
|
2266
|
-
readonly owner: {
|
|
2267
|
-
readonly $ref: "user";
|
|
2268
|
-
readonly noForm: true;
|
|
2269
|
-
};
|
|
2270
|
-
readonly context: {
|
|
2271
|
-
readonly type: "string";
|
|
2272
|
-
};
|
|
2273
|
-
readonly message: {
|
|
2274
|
-
readonly type: "string";
|
|
2275
|
-
};
|
|
2276
|
-
readonly details: {
|
|
2277
|
-
readonly type: "object";
|
|
2278
|
-
readonly variable: true;
|
|
2279
|
-
};
|
|
2280
|
-
readonly created_at: {
|
|
2281
|
-
readonly type: "string";
|
|
2282
|
-
readonly format: "date-time";
|
|
2283
|
-
};
|
|
2284
|
-
};
|
|
2285
|
-
readonly icon: "magnifying-glass";
|
|
2286
|
-
readonly presets: readonly ["view"];
|
|
2287
|
-
readonly filters: readonly ["context", "message", "owner"];
|
|
2288
|
-
}>>, context: import("@aeriajs/types").Context<{
|
|
2289
|
-
readonly $id: "log";
|
|
2290
|
-
readonly required: readonly ["context", "message"];
|
|
2291
|
-
readonly properties: {
|
|
2292
|
-
readonly owner: {
|
|
2293
|
-
readonly $ref: "user";
|
|
2294
|
-
readonly noForm: true;
|
|
2295
|
-
};
|
|
2296
|
-
readonly context: {
|
|
2297
|
-
readonly type: "string";
|
|
2298
|
-
};
|
|
2299
|
-
readonly message: {
|
|
2300
|
-
readonly type: "string";
|
|
2301
|
-
};
|
|
2302
|
-
readonly details: {
|
|
2303
|
-
readonly type: "object";
|
|
2304
|
-
readonly variable: true;
|
|
2305
|
-
};
|
|
2306
|
-
readonly created_at: {
|
|
2307
|
-
readonly type: "string";
|
|
2308
|
-
readonly format: "date-time";
|
|
2309
|
-
};
|
|
2310
|
-
};
|
|
2311
|
-
readonly icon: "magnifying-glass";
|
|
2312
|
-
readonly presets: readonly ["view"];
|
|
2313
|
-
readonly filters: readonly ["context", "message", "owner"];
|
|
2314
|
-
}>, options?: import("@aeriajs/api").GetOptions | undefined) => Promise<import("@aeriajs/types").SchemaWithId<{
|
|
2315
|
-
readonly $id: "log";
|
|
2316
|
-
readonly required: readonly ["context", "message"];
|
|
2317
|
-
readonly properties: {
|
|
2318
|
-
readonly owner: {
|
|
2319
|
-
readonly $ref: "user";
|
|
2320
|
-
readonly noForm: true;
|
|
2321
|
-
};
|
|
2322
|
-
readonly context: {
|
|
2323
|
-
readonly type: "string";
|
|
2324
|
-
};
|
|
2325
|
-
readonly message: {
|
|
2326
|
-
readonly type: "string";
|
|
2327
|
-
};
|
|
2328
|
-
readonly details: {
|
|
2329
|
-
readonly type: "object";
|
|
2330
|
-
readonly variable: true;
|
|
2331
|
-
};
|
|
2332
|
-
readonly created_at: {
|
|
2333
|
-
readonly type: "string";
|
|
2334
|
-
readonly format: "date-time";
|
|
2335
|
-
};
|
|
2336
|
-
};
|
|
2337
|
-
readonly icon: "magnifying-glass";
|
|
2338
|
-
readonly presets: readonly ["view"];
|
|
2339
|
-
readonly filters: readonly ["context", "message", "owner"];
|
|
2340
|
-
}> | null>;
|
|
2341
|
-
readonly getAll: (_payload: import("@aeriajs/types").GetAllPayload<import("@aeriajs/types").SchemaWithId<any>> | undefined, context: import("@aeriajs/types").Context<{
|
|
2342
|
-
readonly $id: "log";
|
|
2343
|
-
readonly required: readonly ["context", "message"];
|
|
2344
|
-
readonly properties: {
|
|
2345
|
-
readonly owner: {
|
|
2346
|
-
readonly $ref: "user";
|
|
2347
|
-
readonly noForm: true;
|
|
2348
|
-
};
|
|
2349
|
-
readonly context: {
|
|
2350
|
-
readonly type: "string";
|
|
2351
|
-
};
|
|
2352
|
-
readonly message: {
|
|
2353
|
-
readonly type: "string";
|
|
2354
|
-
};
|
|
2355
|
-
readonly details: {
|
|
2356
|
-
readonly type: "object";
|
|
2357
|
-
readonly variable: true;
|
|
2358
|
-
};
|
|
2359
|
-
readonly created_at: {
|
|
2360
|
-
readonly type: "string";
|
|
2361
|
-
readonly format: "date-time";
|
|
2362
|
-
};
|
|
2363
|
-
};
|
|
2364
|
-
readonly icon: "magnifying-glass";
|
|
2365
|
-
readonly presets: readonly ["view"];
|
|
2366
|
-
readonly filters: readonly ["context", "message", "owner"];
|
|
2367
|
-
}>, options?: import("@aeriajs/api").GetAllOptions | undefined) => Promise<import("@aeriajs/types").SchemaWithId<{
|
|
2368
|
-
readonly $id: "log";
|
|
2369
|
-
readonly required: readonly ["context", "message"];
|
|
2370
|
-
readonly properties: {
|
|
2371
|
-
readonly owner: {
|
|
2372
|
-
readonly $ref: "user";
|
|
2373
|
-
readonly noForm: true;
|
|
2374
|
-
};
|
|
2375
|
-
readonly context: {
|
|
2376
|
-
readonly type: "string";
|
|
2377
|
-
};
|
|
2378
|
-
readonly message: {
|
|
2379
|
-
readonly type: "string";
|
|
2380
|
-
};
|
|
2381
|
-
readonly details: {
|
|
2382
|
-
readonly type: "object";
|
|
2383
|
-
readonly variable: true;
|
|
2384
|
-
};
|
|
2385
|
-
readonly created_at: {
|
|
2386
|
-
readonly type: "string";
|
|
2387
|
-
readonly format: "date-time";
|
|
2388
|
-
};
|
|
2389
|
-
};
|
|
2390
|
-
readonly icon: "magnifying-glass";
|
|
2391
|
-
readonly presets: readonly ["view"];
|
|
2392
|
-
readonly filters: readonly ["context", "message", "owner"];
|
|
2393
|
-
}>[]>;
|
|
2394
|
-
readonly insert: (payload: import("@aeriajs/types").InsertPayload<import("@aeriajs/types").SchemaWithId<{
|
|
2395
|
-
readonly $id: "log";
|
|
2396
|
-
readonly required: readonly ["context", "message"];
|
|
2397
|
-
readonly properties: {
|
|
2398
|
-
readonly owner: {
|
|
2399
|
-
readonly $ref: "user";
|
|
2400
|
-
readonly noForm: true;
|
|
2401
|
-
};
|
|
2402
|
-
readonly context: {
|
|
2403
|
-
readonly type: "string";
|
|
2404
|
-
};
|
|
2405
|
-
readonly message: {
|
|
2406
|
-
readonly type: "string";
|
|
2407
|
-
};
|
|
2408
|
-
readonly details: {
|
|
2409
|
-
readonly type: "object";
|
|
2410
|
-
readonly variable: true;
|
|
2411
|
-
};
|
|
2412
|
-
readonly created_at: {
|
|
2413
|
-
readonly type: "string";
|
|
2414
|
-
readonly format: "date-time";
|
|
2415
|
-
};
|
|
2416
|
-
};
|
|
2417
|
-
readonly icon: "magnifying-glass";
|
|
2418
|
-
readonly presets: readonly ["view"];
|
|
2419
|
-
readonly filters: readonly ["context", "message", "owner"];
|
|
2420
|
-
}>>, context: import("@aeriajs/types").Context<{
|
|
2421
|
-
readonly $id: "log";
|
|
2422
|
-
readonly required: readonly ["context", "message"];
|
|
2423
|
-
readonly properties: {
|
|
2424
|
-
readonly owner: {
|
|
2425
|
-
readonly $ref: "user";
|
|
2426
|
-
readonly noForm: true;
|
|
2427
|
-
};
|
|
2428
|
-
readonly context: {
|
|
2429
|
-
readonly type: "string";
|
|
2430
|
-
};
|
|
2431
|
-
readonly message: {
|
|
2432
|
-
readonly type: "string";
|
|
2433
|
-
};
|
|
2434
|
-
readonly details: {
|
|
2435
|
-
readonly type: "object";
|
|
2436
|
-
readonly variable: true;
|
|
2437
|
-
};
|
|
2438
|
-
readonly created_at: {
|
|
2439
|
-
readonly type: "string";
|
|
2440
|
-
readonly format: "date-time";
|
|
2441
|
-
};
|
|
2442
|
-
};
|
|
2443
|
-
readonly icon: "magnifying-glass";
|
|
2444
|
-
readonly presets: readonly ["view"];
|
|
2445
|
-
readonly filters: readonly ["context", "message", "owner"];
|
|
2446
|
-
}>, options?: import("@aeriajs/api").InsertOptions | undefined) => Promise<import("@aeriajs/types").Right<any> | import("@aeriajs/types").Left<import("@aeriajs/types").ACErrors | import("@aeriajs/types").ValidationError>>;
|
|
2447
|
-
};
|
|
2448
|
-
}>;
|
|
2449
|
-
};
|
|
2450
|
-
resourceUsage: Omit<import("@aeriajs/types").Collection<{
|
|
2451
|
-
description: {
|
|
2452
|
-
readonly $id: "resourceUsage";
|
|
2453
|
-
readonly required: readonly [];
|
|
2454
|
-
readonly properties: {
|
|
2455
|
-
readonly hits: {
|
|
2456
|
-
readonly type: "integer";
|
|
2457
|
-
};
|
|
2458
|
-
readonly last_maximum_reach: {
|
|
2459
|
-
readonly type: "string";
|
|
2460
|
-
readonly format: "date-time";
|
|
2461
|
-
};
|
|
2462
|
-
};
|
|
2463
|
-
};
|
|
2464
|
-
}>, "description" | "functions" | "item"> & {
|
|
2465
|
-
item: import("@aeriajs/types").SchemaWithId<{
|
|
2466
|
-
readonly $id: "resourceUsage";
|
|
2467
|
-
readonly required: readonly [];
|
|
2468
|
-
readonly properties: {
|
|
2469
|
-
readonly hits: {
|
|
2470
|
-
readonly type: "integer";
|
|
2471
|
-
};
|
|
2472
|
-
readonly last_maximum_reach: {
|
|
2473
|
-
readonly type: "string";
|
|
2474
|
-
readonly format: "date-time";
|
|
2475
|
-
};
|
|
2476
|
-
};
|
|
2477
|
-
}>;
|
|
2478
|
-
description: {
|
|
2479
|
-
readonly $id: "resourceUsage";
|
|
2480
|
-
readonly required: readonly [];
|
|
2481
|
-
readonly properties: {
|
|
2482
|
-
readonly hits: {
|
|
2483
|
-
readonly type: "integer";
|
|
2484
|
-
};
|
|
2485
|
-
readonly last_maximum_reach: {
|
|
2486
|
-
readonly type: "string";
|
|
2487
|
-
readonly format: "date-time";
|
|
2488
|
-
};
|
|
2489
|
-
};
|
|
2490
|
-
};
|
|
2491
|
-
functions: {
|
|
2492
|
-
[P: string]: (payload: any, context: import("@aeriajs/types").Context<{
|
|
2493
|
-
readonly $id: "resourceUsage";
|
|
2494
|
-
readonly required: readonly [];
|
|
2495
|
-
readonly properties: {
|
|
2496
|
-
readonly hits: {
|
|
2497
|
-
readonly type: "integer";
|
|
2498
|
-
};
|
|
2499
|
-
readonly last_maximum_reach: {
|
|
2500
|
-
readonly type: "string";
|
|
2501
|
-
readonly format: "date-time";
|
|
2502
|
-
};
|
|
2503
|
-
};
|
|
2504
|
-
}>, ...args: any[]) => any;
|
|
2505
|
-
};
|
|
2506
|
-
functionContracts: Partial<{
|
|
2507
|
-
[x: string]: import("@aeriajs/types").Contract;
|
|
2508
|
-
}>;
|
|
2509
|
-
accessControl: import("@aeriajs/types").AccessControl<{
|
|
2510
|
-
description: {
|
|
2511
|
-
readonly $id: "resourceUsage";
|
|
2512
|
-
readonly required: readonly [];
|
|
2513
|
-
readonly properties: {
|
|
2514
|
-
readonly hits: {
|
|
2515
|
-
readonly type: "integer";
|
|
2516
|
-
};
|
|
2517
|
-
readonly last_maximum_reach: {
|
|
2518
|
-
readonly type: "string";
|
|
2519
|
-
readonly format: "date-time";
|
|
2520
|
-
};
|
|
2521
|
-
};
|
|
2522
|
-
};
|
|
2523
|
-
functions: {
|
|
2524
|
-
[P: string]: (payload: any, context: import("@aeriajs/types").Context<{
|
|
2525
|
-
readonly $id: "resourceUsage";
|
|
2526
|
-
readonly required: readonly [];
|
|
2527
|
-
readonly properties: {
|
|
2528
|
-
readonly hits: {
|
|
2529
|
-
readonly type: "integer";
|
|
2530
|
-
};
|
|
2531
|
-
readonly last_maximum_reach: {
|
|
2532
|
-
readonly type: "string";
|
|
2533
|
-
readonly format: "date-time";
|
|
2534
|
-
};
|
|
2535
|
-
};
|
|
2536
|
-
}>, ...args: any[]) => any;
|
|
2537
|
-
};
|
|
2538
|
-
}>;
|
|
2539
|
-
};
|
|
2540
|
-
user: {
|
|
2541
|
-
description: {
|
|
2542
|
-
readonly $id: "user";
|
|
2543
|
-
readonly required: readonly ["name", "roles", "email"];
|
|
2544
|
-
readonly form: readonly ["name", "active", "roles", "email", "phone_number", "picture_file"];
|
|
2545
|
-
readonly indexes: readonly ["name"];
|
|
2546
|
-
readonly freshItem: {
|
|
2547
|
-
readonly active: true;
|
|
2548
|
-
};
|
|
2549
|
-
readonly properties: {
|
|
2550
|
-
readonly name: {
|
|
2551
|
-
readonly type: "string";
|
|
2552
|
-
};
|
|
2553
|
-
readonly given_name: {
|
|
2554
|
-
readonly getter: (document: any) => string;
|
|
2555
|
-
};
|
|
2556
|
-
readonly family_name: {
|
|
2557
|
-
readonly getter: (document: any) => string;
|
|
2558
|
-
};
|
|
2559
|
-
readonly active: {
|
|
2560
|
-
readonly type: "boolean";
|
|
2561
|
-
};
|
|
2562
|
-
readonly roles: {
|
|
2563
|
-
readonly type: "array";
|
|
2564
|
-
readonly items: {
|
|
2565
|
-
readonly type: "string";
|
|
2566
|
-
};
|
|
2567
|
-
readonly uniqueItems: true;
|
|
2568
|
-
};
|
|
2569
|
-
readonly email: {
|
|
2570
|
-
readonly type: "string";
|
|
2571
|
-
readonly inputType: "email";
|
|
2572
|
-
readonly unique: true;
|
|
2573
|
-
};
|
|
2574
|
-
readonly password: {
|
|
2575
|
-
readonly type: "string";
|
|
2576
|
-
readonly inputType: "password";
|
|
2577
|
-
readonly hidden: true;
|
|
2578
|
-
};
|
|
2579
|
-
readonly phone_number: {
|
|
2580
|
-
readonly type: "string";
|
|
2581
|
-
readonly mask: "(##) #####-####";
|
|
2582
|
-
};
|
|
2583
|
-
readonly picture_file: {
|
|
2584
|
-
readonly $ref: "file";
|
|
2585
|
-
readonly accept: readonly ["image/*"];
|
|
2586
|
-
};
|
|
2587
|
-
readonly picture: {
|
|
2588
|
-
readonly getter: (value: any) => any;
|
|
2589
|
-
};
|
|
2590
|
-
readonly group: {
|
|
2591
|
-
readonly type: "string";
|
|
2592
|
-
};
|
|
2593
|
-
readonly self_registered: {
|
|
2594
|
-
readonly type: "boolean";
|
|
2595
|
-
readonly readOnly: true;
|
|
2596
|
-
};
|
|
2597
|
-
readonly updated_at: {
|
|
2598
|
-
readonly type: "string";
|
|
2599
|
-
readonly format: "date-time";
|
|
2600
|
-
};
|
|
2601
|
-
};
|
|
2602
|
-
readonly presets: readonly ["crud", "view", "duplicate"];
|
|
2603
|
-
readonly layout: {
|
|
2604
|
-
readonly name: "grid";
|
|
2605
|
-
readonly options: {
|
|
2606
|
-
readonly title: "name";
|
|
2607
|
-
readonly badge: "roles";
|
|
2608
|
-
readonly picture: "picture_file";
|
|
2609
|
-
readonly information: "email";
|
|
2610
|
-
readonly active: "active";
|
|
2611
|
-
readonly translateBadge: true;
|
|
2612
|
-
};
|
|
2613
|
-
};
|
|
2614
|
-
readonly individualActions: {
|
|
2615
|
-
readonly 'ui:spawnEdit': {
|
|
2616
|
-
readonly name: "Editar";
|
|
2617
|
-
readonly icon: "pencil";
|
|
2618
|
-
};
|
|
2619
|
-
readonly 'route:/dashboard/user/changepass': {
|
|
2620
|
-
readonly name: "Mudar senha";
|
|
2621
|
-
readonly icon: "key";
|
|
2622
|
-
readonly fetchItem: true;
|
|
2623
|
-
};
|
|
2624
|
-
};
|
|
2625
|
-
readonly icon: "users";
|
|
2626
|
-
readonly filters: readonly ["name", "roles", "email", "phone_number"];
|
|
2627
|
-
readonly table: readonly ["name", "roles", "picture_file", "active", "updated_at"];
|
|
2628
|
-
readonly tableMeta: readonly ["email"];
|
|
2629
|
-
readonly formLayout: {
|
|
2630
|
-
readonly fields: {
|
|
2631
|
-
readonly given_name: {
|
|
2632
|
-
readonly span: 3;
|
|
2633
|
-
};
|
|
2634
|
-
readonly family_name: {
|
|
2635
|
-
readonly span: 3;
|
|
2636
|
-
};
|
|
2637
|
-
};
|
|
2638
|
-
};
|
|
2639
|
-
};
|
|
2640
|
-
functions: {
|
|
2641
|
-
readonly get: (payload: import("@aeriajs/types").GetPayload<import("@aeriajs/types").SchemaWithId<{
|
|
2642
|
-
readonly $id: "user";
|
|
2643
|
-
readonly required: readonly ["name", "roles", "email"];
|
|
2644
|
-
readonly form: readonly ["name", "active", "roles", "email", "phone_number", "picture_file"];
|
|
2645
|
-
readonly indexes: readonly ["name"];
|
|
2646
|
-
readonly freshItem: {
|
|
2647
|
-
readonly active: true;
|
|
2648
|
-
};
|
|
2649
|
-
readonly properties: {
|
|
2650
|
-
readonly name: {
|
|
2651
|
-
readonly type: "string";
|
|
2652
|
-
};
|
|
2653
|
-
readonly given_name: {
|
|
2654
|
-
readonly getter: (document: any) => string;
|
|
2655
|
-
};
|
|
2656
|
-
readonly family_name: {
|
|
2657
|
-
readonly getter: (document: any) => string;
|
|
2658
|
-
};
|
|
2659
|
-
readonly active: {
|
|
2660
|
-
readonly type: "boolean";
|
|
2661
|
-
};
|
|
2662
|
-
readonly roles: {
|
|
2663
|
-
readonly type: "array";
|
|
2664
|
-
readonly items: {
|
|
2665
|
-
readonly type: "string";
|
|
2666
|
-
};
|
|
2667
|
-
readonly uniqueItems: true;
|
|
2668
|
-
};
|
|
2669
|
-
readonly email: {
|
|
2670
|
-
readonly type: "string";
|
|
2671
|
-
readonly inputType: "email";
|
|
2672
|
-
readonly unique: true;
|
|
2673
|
-
};
|
|
2674
|
-
readonly password: {
|
|
2675
|
-
readonly type: "string";
|
|
2676
|
-
readonly inputType: "password";
|
|
2677
|
-
readonly hidden: true;
|
|
2678
|
-
};
|
|
2679
|
-
readonly phone_number: {
|
|
2680
|
-
readonly type: "string";
|
|
2681
|
-
readonly mask: "(##) #####-####";
|
|
2682
|
-
};
|
|
2683
|
-
readonly picture_file: {
|
|
2684
|
-
readonly $ref: "file";
|
|
2685
|
-
readonly accept: readonly ["image/*"];
|
|
2686
|
-
};
|
|
2687
|
-
readonly picture: {
|
|
2688
|
-
readonly getter: (value: any) => any;
|
|
2689
|
-
};
|
|
2690
|
-
readonly group: {
|
|
2691
|
-
readonly type: "string";
|
|
2692
|
-
};
|
|
2693
|
-
readonly self_registered: {
|
|
2694
|
-
readonly type: "boolean";
|
|
2695
|
-
readonly readOnly: true;
|
|
2696
|
-
};
|
|
2697
|
-
readonly updated_at: {
|
|
2698
|
-
readonly type: "string";
|
|
2699
|
-
readonly format: "date-time";
|
|
2700
|
-
};
|
|
2701
|
-
};
|
|
2702
|
-
readonly presets: readonly ["crud", "view", "duplicate"];
|
|
2703
|
-
readonly layout: {
|
|
2704
|
-
readonly name: "grid";
|
|
2705
|
-
readonly options: {
|
|
2706
|
-
readonly title: "name";
|
|
2707
|
-
readonly badge: "roles";
|
|
2708
|
-
readonly picture: "picture_file";
|
|
2709
|
-
readonly information: "email";
|
|
2710
|
-
readonly active: "active";
|
|
2711
|
-
readonly translateBadge: true;
|
|
2712
|
-
};
|
|
2713
|
-
};
|
|
2714
|
-
readonly individualActions: {
|
|
2715
|
-
readonly 'ui:spawnEdit': {
|
|
2716
|
-
readonly name: "Editar";
|
|
2717
|
-
readonly icon: "pencil";
|
|
2718
|
-
};
|
|
2719
|
-
readonly 'route:/dashboard/user/changepass': {
|
|
2720
|
-
readonly name: "Mudar senha";
|
|
2721
|
-
readonly icon: "key";
|
|
2722
|
-
readonly fetchItem: true;
|
|
2723
|
-
};
|
|
2724
|
-
};
|
|
2725
|
-
readonly icon: "users";
|
|
2726
|
-
readonly filters: readonly ["name", "roles", "email", "phone_number"];
|
|
2727
|
-
readonly table: readonly ["name", "roles", "picture_file", "active", "updated_at"];
|
|
2728
|
-
readonly tableMeta: readonly ["email"];
|
|
2729
|
-
readonly formLayout: {
|
|
2730
|
-
readonly fields: {
|
|
2731
|
-
readonly given_name: {
|
|
2732
|
-
readonly span: 3;
|
|
2733
|
-
};
|
|
2734
|
-
readonly family_name: {
|
|
2735
|
-
readonly span: 3;
|
|
2736
|
-
};
|
|
2737
|
-
};
|
|
2738
|
-
};
|
|
2739
|
-
}>>, context: import("@aeriajs/types").Context<{
|
|
2740
|
-
readonly $id: "user";
|
|
2741
|
-
readonly required: readonly ["name", "roles", "email"];
|
|
2742
|
-
readonly form: readonly ["name", "active", "roles", "email", "phone_number", "picture_file"];
|
|
2743
|
-
readonly indexes: readonly ["name"];
|
|
2744
|
-
readonly freshItem: {
|
|
2745
|
-
readonly active: true;
|
|
2746
|
-
};
|
|
2747
|
-
readonly properties: {
|
|
2748
|
-
readonly name: {
|
|
2749
|
-
readonly type: "string";
|
|
2750
|
-
};
|
|
2751
|
-
readonly given_name: {
|
|
2752
|
-
readonly getter: (document: any) => string;
|
|
2753
|
-
};
|
|
2754
|
-
readonly family_name: {
|
|
2755
|
-
readonly getter: (document: any) => string;
|
|
2756
|
-
};
|
|
2757
|
-
readonly active: {
|
|
2758
|
-
readonly type: "boolean";
|
|
2759
|
-
};
|
|
2760
|
-
readonly roles: {
|
|
2761
|
-
readonly type: "array";
|
|
2762
|
-
readonly items: {
|
|
2763
|
-
readonly type: "string";
|
|
2764
|
-
};
|
|
2765
|
-
readonly uniqueItems: true;
|
|
2766
|
-
};
|
|
2767
|
-
readonly email: {
|
|
2768
|
-
readonly type: "string";
|
|
2769
|
-
readonly inputType: "email";
|
|
2770
|
-
readonly unique: true;
|
|
2771
|
-
};
|
|
2772
|
-
readonly password: {
|
|
2773
|
-
readonly type: "string";
|
|
2774
|
-
readonly inputType: "password";
|
|
2775
|
-
readonly hidden: true;
|
|
2776
|
-
};
|
|
2777
|
-
readonly phone_number: {
|
|
2778
|
-
readonly type: "string";
|
|
2779
|
-
readonly mask: "(##) #####-####";
|
|
2780
|
-
};
|
|
2781
|
-
readonly picture_file: {
|
|
2782
|
-
readonly $ref: "file";
|
|
2783
|
-
readonly accept: readonly ["image/*"];
|
|
2784
|
-
};
|
|
2785
|
-
readonly picture: {
|
|
2786
|
-
readonly getter: (value: any) => any;
|
|
2787
|
-
};
|
|
2788
|
-
readonly group: {
|
|
2789
|
-
readonly type: "string";
|
|
2790
|
-
};
|
|
2791
|
-
readonly self_registered: {
|
|
2792
|
-
readonly type: "boolean";
|
|
2793
|
-
readonly readOnly: true;
|
|
2794
|
-
};
|
|
2795
|
-
readonly updated_at: {
|
|
2796
|
-
readonly type: "string";
|
|
2797
|
-
readonly format: "date-time";
|
|
2798
|
-
};
|
|
2799
|
-
};
|
|
2800
|
-
readonly presets: readonly ["crud", "view", "duplicate"];
|
|
2801
|
-
readonly layout: {
|
|
2802
|
-
readonly name: "grid";
|
|
2803
|
-
readonly options: {
|
|
2804
|
-
readonly title: "name";
|
|
2805
|
-
readonly badge: "roles";
|
|
2806
|
-
readonly picture: "picture_file";
|
|
2807
|
-
readonly information: "email";
|
|
2808
|
-
readonly active: "active";
|
|
2809
|
-
readonly translateBadge: true;
|
|
2810
|
-
};
|
|
2811
|
-
};
|
|
2812
|
-
readonly individualActions: {
|
|
2813
|
-
readonly 'ui:spawnEdit': {
|
|
2814
|
-
readonly name: "Editar";
|
|
2815
|
-
readonly icon: "pencil";
|
|
2816
|
-
};
|
|
2817
|
-
readonly 'route:/dashboard/user/changepass': {
|
|
2818
|
-
readonly name: "Mudar senha";
|
|
2819
|
-
readonly icon: "key";
|
|
2820
|
-
readonly fetchItem: true;
|
|
2821
|
-
};
|
|
2822
|
-
};
|
|
2823
|
-
readonly icon: "users";
|
|
2824
|
-
readonly filters: readonly ["name", "roles", "email", "phone_number"];
|
|
2825
|
-
readonly table: readonly ["name", "roles", "picture_file", "active", "updated_at"];
|
|
2826
|
-
readonly tableMeta: readonly ["email"];
|
|
2827
|
-
readonly formLayout: {
|
|
2828
|
-
readonly fields: {
|
|
2829
|
-
readonly given_name: {
|
|
2830
|
-
readonly span: 3;
|
|
2831
|
-
};
|
|
2832
|
-
readonly family_name: {
|
|
2833
|
-
readonly span: 3;
|
|
2834
|
-
};
|
|
2835
|
-
};
|
|
2836
|
-
};
|
|
2837
|
-
}>, options?: import("@aeriajs/api").GetOptions | undefined) => Promise<import("@aeriajs/types").SchemaWithId<{
|
|
2838
|
-
readonly $id: "user";
|
|
2839
|
-
readonly required: readonly ["name", "roles", "email"];
|
|
2840
|
-
readonly form: readonly ["name", "active", "roles", "email", "phone_number", "picture_file"];
|
|
2841
|
-
readonly indexes: readonly ["name"];
|
|
2842
|
-
readonly freshItem: {
|
|
2843
|
-
readonly active: true;
|
|
2844
|
-
};
|
|
2845
|
-
readonly properties: {
|
|
2846
|
-
readonly name: {
|
|
2847
|
-
readonly type: "string";
|
|
2848
|
-
};
|
|
2849
|
-
readonly given_name: {
|
|
2850
|
-
readonly getter: (document: any) => string;
|
|
2851
|
-
};
|
|
2852
|
-
readonly family_name: {
|
|
2853
|
-
readonly getter: (document: any) => string;
|
|
2854
|
-
};
|
|
2855
|
-
readonly active: {
|
|
2856
|
-
readonly type: "boolean";
|
|
2857
|
-
};
|
|
2858
|
-
readonly roles: {
|
|
2859
|
-
readonly type: "array";
|
|
2860
|
-
readonly items: {
|
|
2861
|
-
readonly type: "string";
|
|
2862
|
-
};
|
|
2863
|
-
readonly uniqueItems: true;
|
|
2864
|
-
};
|
|
2865
|
-
readonly email: {
|
|
2866
|
-
readonly type: "string";
|
|
2867
|
-
readonly inputType: "email";
|
|
2868
|
-
readonly unique: true;
|
|
2869
|
-
};
|
|
2870
|
-
readonly password: {
|
|
2871
|
-
readonly type: "string";
|
|
2872
|
-
readonly inputType: "password";
|
|
2873
|
-
readonly hidden: true;
|
|
2874
|
-
};
|
|
2875
|
-
readonly phone_number: {
|
|
2876
|
-
readonly type: "string";
|
|
2877
|
-
readonly mask: "(##) #####-####";
|
|
2878
|
-
};
|
|
2879
|
-
readonly picture_file: {
|
|
2880
|
-
readonly $ref: "file";
|
|
2881
|
-
readonly accept: readonly ["image/*"];
|
|
2882
|
-
};
|
|
2883
|
-
readonly picture: {
|
|
2884
|
-
readonly getter: (value: any) => any;
|
|
2885
|
-
};
|
|
2886
|
-
readonly group: {
|
|
2887
|
-
readonly type: "string";
|
|
2888
|
-
};
|
|
2889
|
-
readonly self_registered: {
|
|
2890
|
-
readonly type: "boolean";
|
|
2891
|
-
readonly readOnly: true;
|
|
2892
|
-
};
|
|
2893
|
-
readonly updated_at: {
|
|
2894
|
-
readonly type: "string";
|
|
2895
|
-
readonly format: "date-time";
|
|
2896
|
-
};
|
|
2897
|
-
};
|
|
2898
|
-
readonly presets: readonly ["crud", "view", "duplicate"];
|
|
2899
|
-
readonly layout: {
|
|
2900
|
-
readonly name: "grid";
|
|
2901
|
-
readonly options: {
|
|
2902
|
-
readonly title: "name";
|
|
2903
|
-
readonly badge: "roles";
|
|
2904
|
-
readonly picture: "picture_file";
|
|
2905
|
-
readonly information: "email";
|
|
2906
|
-
readonly active: "active";
|
|
2907
|
-
readonly translateBadge: true;
|
|
2908
|
-
};
|
|
2909
|
-
};
|
|
2910
|
-
readonly individualActions: {
|
|
2911
|
-
readonly 'ui:spawnEdit': {
|
|
2912
|
-
readonly name: "Editar";
|
|
2913
|
-
readonly icon: "pencil";
|
|
2914
|
-
};
|
|
2915
|
-
readonly 'route:/dashboard/user/changepass': {
|
|
2916
|
-
readonly name: "Mudar senha";
|
|
2917
|
-
readonly icon: "key";
|
|
2918
|
-
readonly fetchItem: true;
|
|
2919
|
-
};
|
|
2920
|
-
};
|
|
2921
|
-
readonly icon: "users";
|
|
2922
|
-
readonly filters: readonly ["name", "roles", "email", "phone_number"];
|
|
2923
|
-
readonly table: readonly ["name", "roles", "picture_file", "active", "updated_at"];
|
|
2924
|
-
readonly tableMeta: readonly ["email"];
|
|
2925
|
-
readonly formLayout: {
|
|
2926
|
-
readonly fields: {
|
|
2927
|
-
readonly given_name: {
|
|
2928
|
-
readonly span: 3;
|
|
2929
|
-
};
|
|
2930
|
-
readonly family_name: {
|
|
2931
|
-
readonly span: 3;
|
|
2932
|
-
};
|
|
2933
|
-
};
|
|
2934
|
-
};
|
|
2935
|
-
}> | null>;
|
|
2936
|
-
readonly getAll: (_payload: import("@aeriajs/types").GetAllPayload<import("@aeriajs/types").SchemaWithId<any>> | undefined, context: import("@aeriajs/types").Context<{
|
|
2937
|
-
readonly $id: "user";
|
|
2938
|
-
readonly required: readonly ["name", "roles", "email"];
|
|
2939
|
-
readonly form: readonly ["name", "active", "roles", "email", "phone_number", "picture_file"];
|
|
2940
|
-
readonly indexes: readonly ["name"];
|
|
2941
|
-
readonly freshItem: {
|
|
2942
|
-
readonly active: true;
|
|
2943
|
-
};
|
|
2944
|
-
readonly properties: {
|
|
2945
|
-
readonly name: {
|
|
2946
|
-
readonly type: "string";
|
|
2947
|
-
};
|
|
2948
|
-
readonly given_name: {
|
|
2949
|
-
readonly getter: (document: any) => string;
|
|
2950
|
-
};
|
|
2951
|
-
readonly family_name: {
|
|
2952
|
-
readonly getter: (document: any) => string;
|
|
2953
|
-
};
|
|
2954
|
-
readonly active: {
|
|
2955
|
-
readonly type: "boolean";
|
|
2956
|
-
};
|
|
2957
|
-
readonly roles: {
|
|
2958
|
-
readonly type: "array";
|
|
2959
|
-
readonly items: {
|
|
2960
|
-
readonly type: "string";
|
|
2961
|
-
};
|
|
2962
|
-
readonly uniqueItems: true;
|
|
2963
|
-
};
|
|
2964
|
-
readonly email: {
|
|
2965
|
-
readonly type: "string";
|
|
2966
|
-
readonly inputType: "email";
|
|
2967
|
-
readonly unique: true;
|
|
2968
|
-
};
|
|
2969
|
-
readonly password: {
|
|
2970
|
-
readonly type: "string";
|
|
2971
|
-
readonly inputType: "password";
|
|
2972
|
-
readonly hidden: true;
|
|
2973
|
-
};
|
|
2974
|
-
readonly phone_number: {
|
|
2975
|
-
readonly type: "string";
|
|
2976
|
-
readonly mask: "(##) #####-####";
|
|
2977
|
-
};
|
|
2978
|
-
readonly picture_file: {
|
|
2979
|
-
readonly $ref: "file";
|
|
2980
|
-
readonly accept: readonly ["image/*"];
|
|
2981
|
-
};
|
|
2982
|
-
readonly picture: {
|
|
2983
|
-
readonly getter: (value: any) => any;
|
|
2984
|
-
};
|
|
2985
|
-
readonly group: {
|
|
2986
|
-
readonly type: "string";
|
|
2987
|
-
};
|
|
2988
|
-
readonly self_registered: {
|
|
2989
|
-
readonly type: "boolean";
|
|
2990
|
-
readonly readOnly: true;
|
|
2991
|
-
};
|
|
2992
|
-
readonly updated_at: {
|
|
2993
|
-
readonly type: "string";
|
|
2994
|
-
readonly format: "date-time";
|
|
2995
|
-
};
|
|
2996
|
-
};
|
|
2997
|
-
readonly presets: readonly ["crud", "view", "duplicate"];
|
|
2998
|
-
readonly layout: {
|
|
2999
|
-
readonly name: "grid";
|
|
3000
|
-
readonly options: {
|
|
3001
|
-
readonly title: "name";
|
|
3002
|
-
readonly badge: "roles";
|
|
3003
|
-
readonly picture: "picture_file";
|
|
3004
|
-
readonly information: "email";
|
|
3005
|
-
readonly active: "active";
|
|
3006
|
-
readonly translateBadge: true;
|
|
3007
|
-
};
|
|
3008
|
-
};
|
|
3009
|
-
readonly individualActions: {
|
|
3010
|
-
readonly 'ui:spawnEdit': {
|
|
3011
|
-
readonly name: "Editar";
|
|
3012
|
-
readonly icon: "pencil";
|
|
3013
|
-
};
|
|
3014
|
-
readonly 'route:/dashboard/user/changepass': {
|
|
3015
|
-
readonly name: "Mudar senha";
|
|
3016
|
-
readonly icon: "key";
|
|
3017
|
-
readonly fetchItem: true;
|
|
3018
|
-
};
|
|
3019
|
-
};
|
|
3020
|
-
readonly icon: "users";
|
|
3021
|
-
readonly filters: readonly ["name", "roles", "email", "phone_number"];
|
|
3022
|
-
readonly table: readonly ["name", "roles", "picture_file", "active", "updated_at"];
|
|
3023
|
-
readonly tableMeta: readonly ["email"];
|
|
3024
|
-
readonly formLayout: {
|
|
3025
|
-
readonly fields: {
|
|
3026
|
-
readonly given_name: {
|
|
3027
|
-
readonly span: 3;
|
|
3028
|
-
};
|
|
3029
|
-
readonly family_name: {
|
|
3030
|
-
readonly span: 3;
|
|
3031
|
-
};
|
|
3032
|
-
};
|
|
3033
|
-
};
|
|
3034
|
-
}>, options?: import("@aeriajs/api").GetAllOptions | undefined) => Promise<import("@aeriajs/types").SchemaWithId<{
|
|
3035
|
-
readonly $id: "user";
|
|
3036
|
-
readonly required: readonly ["name", "roles", "email"];
|
|
3037
|
-
readonly form: readonly ["name", "active", "roles", "email", "phone_number", "picture_file"];
|
|
3038
|
-
readonly indexes: readonly ["name"];
|
|
3039
|
-
readonly freshItem: {
|
|
3040
|
-
readonly active: true;
|
|
3041
|
-
};
|
|
3042
|
-
readonly properties: {
|
|
3043
|
-
readonly name: {
|
|
3044
|
-
readonly type: "string";
|
|
3045
|
-
};
|
|
3046
|
-
readonly given_name: {
|
|
3047
|
-
readonly getter: (document: any) => string;
|
|
3048
|
-
};
|
|
3049
|
-
readonly family_name: {
|
|
3050
|
-
readonly getter: (document: any) => string;
|
|
3051
|
-
};
|
|
3052
|
-
readonly active: {
|
|
3053
|
-
readonly type: "boolean";
|
|
3054
|
-
};
|
|
3055
|
-
readonly roles: {
|
|
3056
|
-
readonly type: "array";
|
|
3057
|
-
readonly items: {
|
|
3058
|
-
readonly type: "string";
|
|
3059
|
-
};
|
|
3060
|
-
readonly uniqueItems: true;
|
|
3061
|
-
};
|
|
3062
|
-
readonly email: {
|
|
3063
|
-
readonly type: "string";
|
|
3064
|
-
readonly inputType: "email";
|
|
3065
|
-
readonly unique: true;
|
|
3066
|
-
};
|
|
3067
|
-
readonly password: {
|
|
3068
|
-
readonly type: "string";
|
|
3069
|
-
readonly inputType: "password";
|
|
3070
|
-
readonly hidden: true;
|
|
3071
|
-
};
|
|
3072
|
-
readonly phone_number: {
|
|
3073
|
-
readonly type: "string";
|
|
3074
|
-
readonly mask: "(##) #####-####";
|
|
3075
|
-
};
|
|
3076
|
-
readonly picture_file: {
|
|
3077
|
-
readonly $ref: "file";
|
|
3078
|
-
readonly accept: readonly ["image/*"];
|
|
3079
|
-
};
|
|
3080
|
-
readonly picture: {
|
|
3081
|
-
readonly getter: (value: any) => any;
|
|
3082
|
-
};
|
|
3083
|
-
readonly group: {
|
|
3084
|
-
readonly type: "string";
|
|
3085
|
-
};
|
|
3086
|
-
readonly self_registered: {
|
|
3087
|
-
readonly type: "boolean";
|
|
3088
|
-
readonly readOnly: true;
|
|
3089
|
-
};
|
|
3090
|
-
readonly updated_at: {
|
|
3091
|
-
readonly type: "string";
|
|
3092
|
-
readonly format: "date-time";
|
|
3093
|
-
};
|
|
3094
|
-
};
|
|
3095
|
-
readonly presets: readonly ["crud", "view", "duplicate"];
|
|
3096
|
-
readonly layout: {
|
|
3097
|
-
readonly name: "grid";
|
|
3098
|
-
readonly options: {
|
|
3099
|
-
readonly title: "name";
|
|
3100
|
-
readonly badge: "roles";
|
|
3101
|
-
readonly picture: "picture_file";
|
|
3102
|
-
readonly information: "email";
|
|
3103
|
-
readonly active: "active";
|
|
3104
|
-
readonly translateBadge: true;
|
|
3105
|
-
};
|
|
3106
|
-
};
|
|
3107
|
-
readonly individualActions: {
|
|
3108
|
-
readonly 'ui:spawnEdit': {
|
|
3109
|
-
readonly name: "Editar";
|
|
3110
|
-
readonly icon: "pencil";
|
|
3111
|
-
};
|
|
3112
|
-
readonly 'route:/dashboard/user/changepass': {
|
|
3113
|
-
readonly name: "Mudar senha";
|
|
3114
|
-
readonly icon: "key";
|
|
3115
|
-
readonly fetchItem: true;
|
|
3116
|
-
};
|
|
3117
|
-
};
|
|
3118
|
-
readonly icon: "users";
|
|
3119
|
-
readonly filters: readonly ["name", "roles", "email", "phone_number"];
|
|
3120
|
-
readonly table: readonly ["name", "roles", "picture_file", "active", "updated_at"];
|
|
3121
|
-
readonly tableMeta: readonly ["email"];
|
|
3122
|
-
readonly formLayout: {
|
|
3123
|
-
readonly fields: {
|
|
3124
|
-
readonly given_name: {
|
|
3125
|
-
readonly span: 3;
|
|
3126
|
-
};
|
|
3127
|
-
readonly family_name: {
|
|
3128
|
-
readonly span: 3;
|
|
3129
|
-
};
|
|
3130
|
-
};
|
|
3131
|
-
};
|
|
3132
|
-
}>[]>;
|
|
3133
|
-
readonly remove: (payload: import("@aeriajs/types").RemovePayload<import("@aeriajs/types").SchemaWithId<{
|
|
3134
|
-
readonly $id: "user";
|
|
3135
|
-
readonly required: readonly ["name", "roles", "email"];
|
|
3136
|
-
readonly form: readonly ["name", "active", "roles", "email", "phone_number", "picture_file"];
|
|
3137
|
-
readonly indexes: readonly ["name"];
|
|
3138
|
-
readonly freshItem: {
|
|
3139
|
-
readonly active: true;
|
|
3140
|
-
};
|
|
3141
|
-
readonly properties: {
|
|
3142
|
-
readonly name: {
|
|
3143
|
-
readonly type: "string";
|
|
3144
|
-
};
|
|
3145
|
-
readonly given_name: {
|
|
3146
|
-
readonly getter: (document: any) => string;
|
|
3147
|
-
};
|
|
3148
|
-
readonly family_name: {
|
|
3149
|
-
readonly getter: (document: any) => string;
|
|
3150
|
-
};
|
|
3151
|
-
readonly active: {
|
|
3152
|
-
readonly type: "boolean";
|
|
3153
|
-
};
|
|
3154
|
-
readonly roles: {
|
|
3155
|
-
readonly type: "array";
|
|
3156
|
-
readonly items: {
|
|
3157
|
-
readonly type: "string";
|
|
3158
|
-
};
|
|
3159
|
-
readonly uniqueItems: true;
|
|
3160
|
-
};
|
|
3161
|
-
readonly email: {
|
|
3162
|
-
readonly type: "string";
|
|
3163
|
-
readonly inputType: "email";
|
|
3164
|
-
readonly unique: true;
|
|
3165
|
-
};
|
|
3166
|
-
readonly password: {
|
|
3167
|
-
readonly type: "string";
|
|
3168
|
-
readonly inputType: "password";
|
|
3169
|
-
readonly hidden: true;
|
|
3170
|
-
};
|
|
3171
|
-
readonly phone_number: {
|
|
3172
|
-
readonly type: "string";
|
|
3173
|
-
readonly mask: "(##) #####-####";
|
|
3174
|
-
};
|
|
3175
|
-
readonly picture_file: {
|
|
3176
|
-
readonly $ref: "file";
|
|
3177
|
-
readonly accept: readonly ["image/*"];
|
|
3178
|
-
};
|
|
3179
|
-
readonly picture: {
|
|
3180
|
-
readonly getter: (value: any) => any;
|
|
3181
|
-
};
|
|
3182
|
-
readonly group: {
|
|
3183
|
-
readonly type: "string";
|
|
3184
|
-
};
|
|
3185
|
-
readonly self_registered: {
|
|
3186
|
-
readonly type: "boolean";
|
|
3187
|
-
readonly readOnly: true;
|
|
3188
|
-
};
|
|
3189
|
-
readonly updated_at: {
|
|
3190
|
-
readonly type: "string";
|
|
3191
|
-
readonly format: "date-time";
|
|
3192
|
-
};
|
|
3193
|
-
};
|
|
3194
|
-
readonly presets: readonly ["crud", "view", "duplicate"];
|
|
3195
|
-
readonly layout: {
|
|
3196
|
-
readonly name: "grid";
|
|
3197
|
-
readonly options: {
|
|
3198
|
-
readonly title: "name";
|
|
3199
|
-
readonly badge: "roles";
|
|
3200
|
-
readonly picture: "picture_file";
|
|
3201
|
-
readonly information: "email";
|
|
3202
|
-
readonly active: "active";
|
|
3203
|
-
readonly translateBadge: true;
|
|
3204
|
-
};
|
|
3205
|
-
};
|
|
3206
|
-
readonly individualActions: {
|
|
3207
|
-
readonly 'ui:spawnEdit': {
|
|
3208
|
-
readonly name: "Editar";
|
|
3209
|
-
readonly icon: "pencil";
|
|
3210
|
-
};
|
|
3211
|
-
readonly 'route:/dashboard/user/changepass': {
|
|
3212
|
-
readonly name: "Mudar senha";
|
|
3213
|
-
readonly icon: "key";
|
|
3214
|
-
readonly fetchItem: true;
|
|
3215
|
-
};
|
|
3216
|
-
};
|
|
3217
|
-
readonly icon: "users";
|
|
3218
|
-
readonly filters: readonly ["name", "roles", "email", "phone_number"];
|
|
3219
|
-
readonly table: readonly ["name", "roles", "picture_file", "active", "updated_at"];
|
|
3220
|
-
readonly tableMeta: readonly ["email"];
|
|
3221
|
-
readonly formLayout: {
|
|
3222
|
-
readonly fields: {
|
|
3223
|
-
readonly given_name: {
|
|
3224
|
-
readonly span: 3;
|
|
3225
|
-
};
|
|
3226
|
-
readonly family_name: {
|
|
3227
|
-
readonly span: 3;
|
|
3228
|
-
};
|
|
3229
|
-
};
|
|
3230
|
-
};
|
|
3231
|
-
}>>, context: import("@aeriajs/types").Context<{
|
|
3232
|
-
readonly $id: "user";
|
|
3233
|
-
readonly required: readonly ["name", "roles", "email"];
|
|
3234
|
-
readonly form: readonly ["name", "active", "roles", "email", "phone_number", "picture_file"];
|
|
3235
|
-
readonly indexes: readonly ["name"];
|
|
3236
|
-
readonly freshItem: {
|
|
3237
|
-
readonly active: true;
|
|
3238
|
-
};
|
|
3239
|
-
readonly properties: {
|
|
3240
|
-
readonly name: {
|
|
3241
|
-
readonly type: "string";
|
|
3242
|
-
};
|
|
3243
|
-
readonly given_name: {
|
|
3244
|
-
readonly getter: (document: any) => string;
|
|
3245
|
-
};
|
|
3246
|
-
readonly family_name: {
|
|
3247
|
-
readonly getter: (document: any) => string;
|
|
3248
|
-
};
|
|
3249
|
-
readonly active: {
|
|
3250
|
-
readonly type: "boolean";
|
|
3251
|
-
};
|
|
3252
|
-
readonly roles: {
|
|
3253
|
-
readonly type: "array";
|
|
3254
|
-
readonly items: {
|
|
3255
|
-
readonly type: "string";
|
|
3256
|
-
};
|
|
3257
|
-
readonly uniqueItems: true;
|
|
3258
|
-
};
|
|
3259
|
-
readonly email: {
|
|
3260
|
-
readonly type: "string";
|
|
3261
|
-
readonly inputType: "email";
|
|
3262
|
-
readonly unique: true;
|
|
3263
|
-
};
|
|
3264
|
-
readonly password: {
|
|
3265
|
-
readonly type: "string";
|
|
3266
|
-
readonly inputType: "password";
|
|
3267
|
-
readonly hidden: true;
|
|
3268
|
-
};
|
|
3269
|
-
readonly phone_number: {
|
|
3270
|
-
readonly type: "string";
|
|
3271
|
-
readonly mask: "(##) #####-####";
|
|
3272
|
-
};
|
|
3273
|
-
readonly picture_file: {
|
|
3274
|
-
readonly $ref: "file";
|
|
3275
|
-
readonly accept: readonly ["image/*"];
|
|
3276
|
-
};
|
|
3277
|
-
readonly picture: {
|
|
3278
|
-
readonly getter: (value: any) => any;
|
|
3279
|
-
};
|
|
3280
|
-
readonly group: {
|
|
3281
|
-
readonly type: "string";
|
|
3282
|
-
};
|
|
3283
|
-
readonly self_registered: {
|
|
3284
|
-
readonly type: "boolean";
|
|
3285
|
-
readonly readOnly: true;
|
|
3286
|
-
};
|
|
3287
|
-
readonly updated_at: {
|
|
3288
|
-
readonly type: "string";
|
|
3289
|
-
readonly format: "date-time";
|
|
3290
|
-
};
|
|
3291
|
-
};
|
|
3292
|
-
readonly presets: readonly ["crud", "view", "duplicate"];
|
|
3293
|
-
readonly layout: {
|
|
3294
|
-
readonly name: "grid";
|
|
3295
|
-
readonly options: {
|
|
3296
|
-
readonly title: "name";
|
|
3297
|
-
readonly badge: "roles";
|
|
3298
|
-
readonly picture: "picture_file";
|
|
3299
|
-
readonly information: "email";
|
|
3300
|
-
readonly active: "active";
|
|
3301
|
-
readonly translateBadge: true;
|
|
3302
|
-
};
|
|
3303
|
-
};
|
|
3304
|
-
readonly individualActions: {
|
|
3305
|
-
readonly 'ui:spawnEdit': {
|
|
3306
|
-
readonly name: "Editar";
|
|
3307
|
-
readonly icon: "pencil";
|
|
3308
|
-
};
|
|
3309
|
-
readonly 'route:/dashboard/user/changepass': {
|
|
3310
|
-
readonly name: "Mudar senha";
|
|
3311
|
-
readonly icon: "key";
|
|
3312
|
-
readonly fetchItem: true;
|
|
3313
|
-
};
|
|
3314
|
-
};
|
|
3315
|
-
readonly icon: "users";
|
|
3316
|
-
readonly filters: readonly ["name", "roles", "email", "phone_number"];
|
|
3317
|
-
readonly table: readonly ["name", "roles", "picture_file", "active", "updated_at"];
|
|
3318
|
-
readonly tableMeta: readonly ["email"];
|
|
3319
|
-
readonly formLayout: {
|
|
3320
|
-
readonly fields: {
|
|
3321
|
-
readonly given_name: {
|
|
3322
|
-
readonly span: 3;
|
|
3323
|
-
};
|
|
3324
|
-
readonly family_name: {
|
|
3325
|
-
readonly span: 3;
|
|
3326
|
-
};
|
|
3327
|
-
};
|
|
3328
|
-
};
|
|
3329
|
-
}>) => Promise<any>;
|
|
3330
|
-
readonly upload: (_props: unknown, context: import("@aeriajs/types").Context<{
|
|
3331
|
-
readonly $id: "user";
|
|
3332
|
-
readonly required: readonly ["name", "roles", "email"];
|
|
3333
|
-
readonly form: readonly ["name", "active", "roles", "email", "phone_number", "picture_file"];
|
|
3334
|
-
readonly indexes: readonly ["name"];
|
|
3335
|
-
readonly freshItem: {
|
|
3336
|
-
readonly active: true;
|
|
3337
|
-
};
|
|
3338
|
-
readonly properties: {
|
|
3339
|
-
readonly name: {
|
|
3340
|
-
readonly type: "string";
|
|
3341
|
-
};
|
|
3342
|
-
readonly given_name: {
|
|
3343
|
-
readonly getter: (document: any) => string;
|
|
3344
|
-
};
|
|
3345
|
-
readonly family_name: {
|
|
3346
|
-
readonly getter: (document: any) => string;
|
|
3347
|
-
};
|
|
3348
|
-
readonly active: {
|
|
3349
|
-
readonly type: "boolean";
|
|
3350
|
-
};
|
|
3351
|
-
readonly roles: {
|
|
3352
|
-
readonly type: "array";
|
|
3353
|
-
readonly items: {
|
|
3354
|
-
readonly type: "string";
|
|
3355
|
-
};
|
|
3356
|
-
readonly uniqueItems: true;
|
|
3357
|
-
};
|
|
3358
|
-
readonly email: {
|
|
3359
|
-
readonly type: "string";
|
|
3360
|
-
readonly inputType: "email";
|
|
3361
|
-
readonly unique: true;
|
|
3362
|
-
};
|
|
3363
|
-
readonly password: {
|
|
3364
|
-
readonly type: "string";
|
|
3365
|
-
readonly inputType: "password";
|
|
3366
|
-
readonly hidden: true;
|
|
3367
|
-
};
|
|
3368
|
-
readonly phone_number: {
|
|
3369
|
-
readonly type: "string";
|
|
3370
|
-
readonly mask: "(##) #####-####";
|
|
3371
|
-
};
|
|
3372
|
-
readonly picture_file: {
|
|
3373
|
-
readonly $ref: "file";
|
|
3374
|
-
readonly accept: readonly ["image/*"];
|
|
3375
|
-
};
|
|
3376
|
-
readonly picture: {
|
|
3377
|
-
readonly getter: (value: any) => any;
|
|
3378
|
-
};
|
|
3379
|
-
readonly group: {
|
|
3380
|
-
readonly type: "string";
|
|
3381
|
-
};
|
|
3382
|
-
readonly self_registered: {
|
|
3383
|
-
readonly type: "boolean";
|
|
3384
|
-
readonly readOnly: true;
|
|
3385
|
-
};
|
|
3386
|
-
readonly updated_at: {
|
|
3387
|
-
readonly type: "string";
|
|
3388
|
-
readonly format: "date-time";
|
|
3389
|
-
};
|
|
3390
|
-
};
|
|
3391
|
-
readonly presets: readonly ["crud", "view", "duplicate"];
|
|
3392
|
-
readonly layout: {
|
|
3393
|
-
readonly name: "grid";
|
|
3394
|
-
readonly options: {
|
|
3395
|
-
readonly title: "name";
|
|
3396
|
-
readonly badge: "roles";
|
|
3397
|
-
readonly picture: "picture_file";
|
|
3398
|
-
readonly information: "email";
|
|
3399
|
-
readonly active: "active";
|
|
3400
|
-
readonly translateBadge: true;
|
|
3401
|
-
};
|
|
3402
|
-
};
|
|
3403
|
-
readonly individualActions: {
|
|
3404
|
-
readonly 'ui:spawnEdit': {
|
|
3405
|
-
readonly name: "Editar";
|
|
3406
|
-
readonly icon: "pencil";
|
|
3407
|
-
};
|
|
3408
|
-
readonly 'route:/dashboard/user/changepass': {
|
|
3409
|
-
readonly name: "Mudar senha";
|
|
3410
|
-
readonly icon: "key";
|
|
3411
|
-
readonly fetchItem: true;
|
|
3412
|
-
};
|
|
3413
|
-
};
|
|
3414
|
-
readonly icon: "users";
|
|
3415
|
-
readonly filters: readonly ["name", "roles", "email", "phone_number"];
|
|
3416
|
-
readonly table: readonly ["name", "roles", "picture_file", "active", "updated_at"];
|
|
3417
|
-
readonly tableMeta: readonly ["email"];
|
|
3418
|
-
readonly formLayout: {
|
|
3419
|
-
readonly fields: {
|
|
3420
|
-
readonly given_name: {
|
|
3421
|
-
readonly span: 3;
|
|
3422
|
-
};
|
|
3423
|
-
readonly family_name: {
|
|
3424
|
-
readonly span: 3;
|
|
3425
|
-
};
|
|
3426
|
-
};
|
|
3427
|
-
};
|
|
3428
|
-
}>) => Promise<import("@aeriajs/types").Left<import("@aeriajs/types").ValidationError | import("@aeriajs/types").PropertyValidationError> | {
|
|
3429
|
-
tempId: any;
|
|
3430
|
-
}>;
|
|
3431
|
-
readonly removeFile: (payload: import("@aeriajs/types").RemoveFilePayload, context: import("@aeriajs/types").Context<{
|
|
3432
|
-
readonly $id: "user";
|
|
3433
|
-
readonly required: readonly ["name", "roles", "email"];
|
|
3434
|
-
readonly form: readonly ["name", "active", "roles", "email", "phone_number", "picture_file"];
|
|
3435
|
-
readonly indexes: readonly ["name"];
|
|
3436
|
-
readonly freshItem: {
|
|
3437
|
-
readonly active: true;
|
|
3438
|
-
};
|
|
3439
|
-
readonly properties: {
|
|
3440
|
-
readonly name: {
|
|
3441
|
-
readonly type: "string";
|
|
3442
|
-
};
|
|
3443
|
-
readonly given_name: {
|
|
3444
|
-
readonly getter: (document: any) => string;
|
|
3445
|
-
};
|
|
3446
|
-
readonly family_name: {
|
|
3447
|
-
readonly getter: (document: any) => string;
|
|
3448
|
-
};
|
|
3449
|
-
readonly active: {
|
|
3450
|
-
readonly type: "boolean";
|
|
3451
|
-
};
|
|
3452
|
-
readonly roles: {
|
|
3453
|
-
readonly type: "array";
|
|
3454
|
-
readonly items: {
|
|
3455
|
-
readonly type: "string";
|
|
3456
|
-
};
|
|
3457
|
-
readonly uniqueItems: true;
|
|
3458
|
-
};
|
|
3459
|
-
readonly email: {
|
|
3460
|
-
readonly type: "string";
|
|
3461
|
-
readonly inputType: "email";
|
|
3462
|
-
readonly unique: true;
|
|
3463
|
-
};
|
|
3464
|
-
readonly password: {
|
|
3465
|
-
readonly type: "string";
|
|
3466
|
-
readonly inputType: "password";
|
|
3467
|
-
readonly hidden: true;
|
|
3468
|
-
};
|
|
3469
|
-
readonly phone_number: {
|
|
3470
|
-
readonly type: "string";
|
|
3471
|
-
readonly mask: "(##) #####-####";
|
|
3472
|
-
};
|
|
3473
|
-
readonly picture_file: {
|
|
3474
|
-
readonly $ref: "file";
|
|
3475
|
-
readonly accept: readonly ["image/*"];
|
|
3476
|
-
};
|
|
3477
|
-
readonly picture: {
|
|
3478
|
-
readonly getter: (value: any) => any;
|
|
3479
|
-
};
|
|
3480
|
-
readonly group: {
|
|
3481
|
-
readonly type: "string";
|
|
3482
|
-
};
|
|
3483
|
-
readonly self_registered: {
|
|
3484
|
-
readonly type: "boolean";
|
|
3485
|
-
readonly readOnly: true;
|
|
3486
|
-
};
|
|
3487
|
-
readonly updated_at: {
|
|
3488
|
-
readonly type: "string";
|
|
3489
|
-
readonly format: "date-time";
|
|
3490
|
-
};
|
|
3491
|
-
};
|
|
3492
|
-
readonly presets: readonly ["crud", "view", "duplicate"];
|
|
3493
|
-
readonly layout: {
|
|
3494
|
-
readonly name: "grid";
|
|
3495
|
-
readonly options: {
|
|
3496
|
-
readonly title: "name";
|
|
3497
|
-
readonly badge: "roles";
|
|
3498
|
-
readonly picture: "picture_file";
|
|
3499
|
-
readonly information: "email";
|
|
3500
|
-
readonly active: "active";
|
|
3501
|
-
readonly translateBadge: true;
|
|
3502
|
-
};
|
|
3503
|
-
};
|
|
3504
|
-
readonly individualActions: {
|
|
3505
|
-
readonly 'ui:spawnEdit': {
|
|
3506
|
-
readonly name: "Editar";
|
|
3507
|
-
readonly icon: "pencil";
|
|
3508
|
-
};
|
|
3509
|
-
readonly 'route:/dashboard/user/changepass': {
|
|
3510
|
-
readonly name: "Mudar senha";
|
|
3511
|
-
readonly icon: "key";
|
|
3512
|
-
readonly fetchItem: true;
|
|
3513
|
-
};
|
|
3514
|
-
};
|
|
3515
|
-
readonly icon: "users";
|
|
3516
|
-
readonly filters: readonly ["name", "roles", "email", "phone_number"];
|
|
3517
|
-
readonly table: readonly ["name", "roles", "picture_file", "active", "updated_at"];
|
|
3518
|
-
readonly tableMeta: readonly ["email"];
|
|
3519
|
-
readonly formLayout: {
|
|
3520
|
-
readonly fields: {
|
|
3521
|
-
readonly given_name: {
|
|
3522
|
-
readonly span: 3;
|
|
3523
|
-
};
|
|
3524
|
-
readonly family_name: {
|
|
3525
|
-
readonly span: 3;
|
|
3526
|
-
};
|
|
3527
|
-
};
|
|
3528
|
-
};
|
|
3529
|
-
}>) => Promise<any>;
|
|
3530
|
-
readonly insert: (payload: {
|
|
3531
|
-
what: Omit<import("@aeriajs/types").PackReferences<import("@aeriajs/types").SchemaWithId<{
|
|
3532
|
-
readonly $id: "user";
|
|
3533
|
-
readonly required: readonly ["name", "roles", "email"];
|
|
3534
|
-
readonly form: readonly ["name", "active", "roles", "email", "phone_number", "picture_file"];
|
|
3535
|
-
readonly indexes: readonly ["name"];
|
|
3536
|
-
readonly freshItem: {
|
|
3537
|
-
readonly active: true;
|
|
3538
|
-
};
|
|
3539
|
-
readonly properties: {
|
|
3540
|
-
readonly name: {
|
|
3541
|
-
readonly type: "string";
|
|
3542
|
-
};
|
|
3543
|
-
readonly given_name: {
|
|
3544
|
-
readonly getter: (document: any) => string;
|
|
3545
|
-
};
|
|
3546
|
-
readonly family_name: {
|
|
3547
|
-
readonly getter: (document: any) => string;
|
|
3548
|
-
};
|
|
3549
|
-
readonly active: {
|
|
3550
|
-
readonly type: "boolean";
|
|
3551
|
-
};
|
|
3552
|
-
readonly roles: {
|
|
3553
|
-
readonly type: "array";
|
|
3554
|
-
readonly items: {
|
|
3555
|
-
readonly type: "string";
|
|
3556
|
-
};
|
|
3557
|
-
readonly uniqueItems: true;
|
|
3558
|
-
};
|
|
3559
|
-
readonly email: {
|
|
3560
|
-
readonly type: "string";
|
|
3561
|
-
readonly inputType: "email";
|
|
3562
|
-
readonly unique: true;
|
|
3563
|
-
};
|
|
3564
|
-
readonly password: {
|
|
3565
|
-
readonly type: "string";
|
|
3566
|
-
readonly inputType: "password";
|
|
3567
|
-
readonly hidden: true;
|
|
3568
|
-
};
|
|
3569
|
-
readonly phone_number: {
|
|
3570
|
-
readonly type: "string";
|
|
3571
|
-
readonly mask: "(##) #####-####";
|
|
3572
|
-
};
|
|
3573
|
-
readonly picture_file: {
|
|
3574
|
-
readonly $ref: "file";
|
|
3575
|
-
readonly accept: readonly ["image/*"];
|
|
3576
|
-
};
|
|
3577
|
-
readonly picture: {
|
|
3578
|
-
readonly getter: (value: any) => any;
|
|
3579
|
-
};
|
|
3580
|
-
readonly group: {
|
|
3581
|
-
readonly type: "string";
|
|
3582
|
-
};
|
|
3583
|
-
readonly self_registered: {
|
|
3584
|
-
readonly type: "boolean";
|
|
3585
|
-
readonly readOnly: true;
|
|
3586
|
-
};
|
|
3587
|
-
readonly updated_at: {
|
|
3588
|
-
readonly type: "string";
|
|
3589
|
-
readonly format: "date-time";
|
|
3590
|
-
};
|
|
3591
|
-
};
|
|
3592
|
-
readonly presets: readonly ["crud", "view", "duplicate"];
|
|
3593
|
-
readonly layout: {
|
|
3594
|
-
readonly name: "grid";
|
|
3595
|
-
readonly options: {
|
|
3596
|
-
readonly title: "name";
|
|
3597
|
-
readonly badge: "roles";
|
|
3598
|
-
readonly picture: "picture_file";
|
|
3599
|
-
readonly information: "email";
|
|
3600
|
-
readonly active: "active";
|
|
3601
|
-
readonly translateBadge: true;
|
|
3602
|
-
};
|
|
3603
|
-
};
|
|
3604
|
-
readonly individualActions: {
|
|
3605
|
-
readonly 'ui:spawnEdit': {
|
|
3606
|
-
readonly name: "Editar";
|
|
3607
|
-
readonly icon: "pencil";
|
|
3608
|
-
};
|
|
3609
|
-
readonly 'route:/dashboard/user/changepass': {
|
|
3610
|
-
readonly name: "Mudar senha";
|
|
3611
|
-
readonly icon: "key";
|
|
3612
|
-
readonly fetchItem: true;
|
|
3613
|
-
};
|
|
3614
|
-
};
|
|
3615
|
-
readonly icon: "users";
|
|
3616
|
-
readonly filters: readonly ["name", "roles", "email", "phone_number"];
|
|
3617
|
-
readonly table: readonly ["name", "roles", "picture_file", "active", "updated_at"];
|
|
3618
|
-
readonly tableMeta: readonly ["email"];
|
|
3619
|
-
readonly formLayout: {
|
|
3620
|
-
readonly fields: {
|
|
3621
|
-
readonly given_name: {
|
|
3622
|
-
readonly span: 3;
|
|
3623
|
-
};
|
|
3624
|
-
readonly family_name: {
|
|
3625
|
-
readonly span: 3;
|
|
3626
|
-
};
|
|
3627
|
-
};
|
|
3628
|
-
};
|
|
3629
|
-
}>>, "roles">;
|
|
3630
|
-
}, context: import("@aeriajs/types").Context) => Promise<import("@aeriajs/types").Right<any> | import("@aeriajs/types").Left<import("@aeriajs/types").ACErrors | import("@aeriajs/types").ValidationError>>;
|
|
3631
|
-
readonly authenticate: (props: {
|
|
3632
|
-
email: string;
|
|
3633
|
-
password: string;
|
|
3634
|
-
} | {
|
|
3635
|
-
revalidate: true;
|
|
3636
|
-
}, context: import("@aeriajs/types").Context<{
|
|
3637
|
-
readonly $id: "user";
|
|
3638
|
-
readonly required: readonly ["name", "roles", "email"];
|
|
3639
|
-
readonly form: readonly ["name", "active", "roles", "email", "phone_number", "picture_file"];
|
|
3640
|
-
readonly indexes: readonly ["name"];
|
|
3641
|
-
readonly freshItem: {
|
|
3642
|
-
readonly active: true;
|
|
3643
|
-
};
|
|
3644
|
-
readonly properties: {
|
|
3645
|
-
readonly name: {
|
|
3646
|
-
readonly type: "string";
|
|
3647
|
-
};
|
|
3648
|
-
readonly given_name: {
|
|
3649
|
-
readonly getter: (document: any) => string;
|
|
3650
|
-
};
|
|
3651
|
-
readonly family_name: {
|
|
3652
|
-
readonly getter: (document: any) => string;
|
|
3653
|
-
};
|
|
3654
|
-
readonly active: {
|
|
3655
|
-
readonly type: "boolean";
|
|
3656
|
-
};
|
|
3657
|
-
readonly roles: {
|
|
3658
|
-
readonly type: "array";
|
|
3659
|
-
readonly items: {
|
|
3660
|
-
readonly type: "string";
|
|
3661
|
-
};
|
|
3662
|
-
readonly uniqueItems: true;
|
|
3663
|
-
};
|
|
3664
|
-
readonly email: {
|
|
3665
|
-
readonly type: "string";
|
|
3666
|
-
readonly inputType: "email";
|
|
3667
|
-
readonly unique: true;
|
|
3668
|
-
};
|
|
3669
|
-
readonly password: {
|
|
3670
|
-
readonly type: "string";
|
|
3671
|
-
readonly inputType: "password";
|
|
3672
|
-
readonly hidden: true;
|
|
3673
|
-
};
|
|
3674
|
-
readonly phone_number: {
|
|
3675
|
-
readonly type: "string";
|
|
3676
|
-
readonly mask: "(##) #####-####";
|
|
3677
|
-
};
|
|
3678
|
-
readonly picture_file: {
|
|
3679
|
-
readonly $ref: "file";
|
|
3680
|
-
readonly accept: readonly ["image/*"];
|
|
3681
|
-
};
|
|
3682
|
-
readonly picture: {
|
|
3683
|
-
readonly getter: (value: any) => any;
|
|
3684
|
-
};
|
|
3685
|
-
readonly group: {
|
|
3686
|
-
readonly type: "string";
|
|
3687
|
-
};
|
|
3688
|
-
readonly self_registered: {
|
|
3689
|
-
readonly type: "boolean";
|
|
3690
|
-
readonly readOnly: true;
|
|
3691
|
-
};
|
|
3692
|
-
readonly updated_at: {
|
|
3693
|
-
readonly type: "string";
|
|
3694
|
-
readonly format: "date-time";
|
|
3695
|
-
};
|
|
3696
|
-
};
|
|
3697
|
-
readonly presets: readonly ["crud", "view", "duplicate"];
|
|
3698
|
-
readonly layout: {
|
|
3699
|
-
readonly name: "grid";
|
|
3700
|
-
readonly options: {
|
|
3701
|
-
readonly title: "name";
|
|
3702
|
-
readonly badge: "roles";
|
|
3703
|
-
readonly picture: "picture_file";
|
|
3704
|
-
readonly information: "email";
|
|
3705
|
-
readonly active: "active";
|
|
3706
|
-
readonly translateBadge: true;
|
|
3707
|
-
};
|
|
3708
|
-
};
|
|
3709
|
-
readonly individualActions: {
|
|
3710
|
-
readonly 'ui:spawnEdit': {
|
|
3711
|
-
readonly name: "Editar";
|
|
3712
|
-
readonly icon: "pencil";
|
|
3713
|
-
};
|
|
3714
|
-
readonly 'route:/dashboard/user/changepass': {
|
|
3715
|
-
readonly name: "Mudar senha";
|
|
3716
|
-
readonly icon: "key";
|
|
3717
|
-
readonly fetchItem: true;
|
|
3718
|
-
};
|
|
3719
|
-
};
|
|
3720
|
-
readonly icon: "users";
|
|
3721
|
-
readonly filters: readonly ["name", "roles", "email", "phone_number"];
|
|
3722
|
-
readonly table: readonly ["name", "roles", "picture_file", "active", "updated_at"];
|
|
3723
|
-
readonly tableMeta: readonly ["email"];
|
|
3724
|
-
readonly formLayout: {
|
|
3725
|
-
readonly fields: {
|
|
3726
|
-
readonly given_name: {
|
|
3727
|
-
readonly span: 3;
|
|
3728
|
-
};
|
|
3729
|
-
readonly family_name: {
|
|
3730
|
-
readonly span: 3;
|
|
3731
|
-
};
|
|
3732
|
-
};
|
|
3733
|
-
};
|
|
3734
|
-
}>) => Promise<import("@aeriajs/types").Right<{
|
|
3735
|
-
user: Pick<import("@aeriajs/types").SchemaWithId<{
|
|
3736
|
-
readonly $id: "user";
|
|
3737
|
-
readonly required: readonly ["name", "roles", "email"];
|
|
3738
|
-
readonly form: readonly ["name", "active", "roles", "email", "phone_number", "picture_file"];
|
|
3739
|
-
readonly indexes: readonly ["name"];
|
|
3740
|
-
readonly freshItem: {
|
|
3741
|
-
readonly active: true;
|
|
3742
|
-
};
|
|
3743
|
-
readonly properties: {
|
|
3744
|
-
readonly name: {
|
|
3745
|
-
readonly type: "string";
|
|
3746
|
-
};
|
|
3747
|
-
readonly given_name: {
|
|
3748
|
-
readonly getter: (document: any) => string;
|
|
3749
|
-
};
|
|
3750
|
-
readonly family_name: {
|
|
3751
|
-
readonly getter: (document: any) => string;
|
|
3752
|
-
};
|
|
3753
|
-
readonly active: {
|
|
3754
|
-
readonly type: "boolean";
|
|
3755
|
-
};
|
|
3756
|
-
readonly roles: {
|
|
3757
|
-
readonly type: "array";
|
|
3758
|
-
readonly items: {
|
|
3759
|
-
readonly type: "string";
|
|
3760
|
-
};
|
|
3761
|
-
readonly uniqueItems: true;
|
|
3762
|
-
};
|
|
3763
|
-
readonly email: {
|
|
3764
|
-
readonly type: "string";
|
|
3765
|
-
readonly inputType: "email";
|
|
3766
|
-
readonly unique: true;
|
|
3767
|
-
};
|
|
3768
|
-
readonly password: {
|
|
3769
|
-
readonly type: "string";
|
|
3770
|
-
readonly inputType: "password";
|
|
3771
|
-
readonly hidden: true;
|
|
3772
|
-
};
|
|
3773
|
-
readonly phone_number: {
|
|
3774
|
-
readonly type: "string";
|
|
3775
|
-
readonly mask: "(##) #####-####";
|
|
3776
|
-
};
|
|
3777
|
-
readonly picture_file: {
|
|
3778
|
-
readonly $ref: "file";
|
|
3779
|
-
readonly accept: readonly ["image/*"];
|
|
3780
|
-
};
|
|
3781
|
-
readonly picture: {
|
|
3782
|
-
readonly getter: (value: any) => any;
|
|
3783
|
-
};
|
|
3784
|
-
readonly group: {
|
|
3785
|
-
readonly type: "string";
|
|
3786
|
-
};
|
|
3787
|
-
readonly self_registered: {
|
|
3788
|
-
readonly type: "boolean";
|
|
3789
|
-
readonly readOnly: true;
|
|
3790
|
-
};
|
|
3791
|
-
readonly updated_at: {
|
|
3792
|
-
readonly type: "string";
|
|
3793
|
-
readonly format: "date-time";
|
|
3794
|
-
};
|
|
3795
|
-
};
|
|
3796
|
-
readonly presets: readonly ["crud", "view", "duplicate"];
|
|
3797
|
-
readonly layout: {
|
|
3798
|
-
readonly name: "grid";
|
|
3799
|
-
readonly options: {
|
|
3800
|
-
readonly title: "name";
|
|
3801
|
-
readonly badge: "roles";
|
|
3802
|
-
readonly picture: "picture_file";
|
|
3803
|
-
readonly information: "email";
|
|
3804
|
-
readonly active: "active";
|
|
3805
|
-
readonly translateBadge: true;
|
|
3806
|
-
};
|
|
3807
|
-
};
|
|
3808
|
-
readonly individualActions: {
|
|
3809
|
-
readonly 'ui:spawnEdit': {
|
|
3810
|
-
readonly name: "Editar";
|
|
3811
|
-
readonly icon: "pencil";
|
|
3812
|
-
};
|
|
3813
|
-
readonly 'route:/dashboard/user/changepass': {
|
|
3814
|
-
readonly name: "Mudar senha";
|
|
3815
|
-
readonly icon: "key";
|
|
3816
|
-
readonly fetchItem: true;
|
|
3817
|
-
};
|
|
3818
|
-
};
|
|
3819
|
-
readonly icon: "users";
|
|
3820
|
-
readonly filters: readonly ["name", "roles", "email", "phone_number"];
|
|
3821
|
-
readonly table: readonly ["name", "roles", "picture_file", "active", "updated_at"];
|
|
3822
|
-
readonly tableMeta: readonly ["email"];
|
|
3823
|
-
readonly formLayout: {
|
|
3824
|
-
readonly fields: {
|
|
3825
|
-
readonly given_name: {
|
|
3826
|
-
readonly span: 3;
|
|
3827
|
-
};
|
|
3828
|
-
readonly family_name: {
|
|
3829
|
-
readonly span: 3;
|
|
3830
|
-
};
|
|
3831
|
-
};
|
|
3832
|
-
};
|
|
3833
|
-
}>, "name" | "roles" | "email" | "active"> & {
|
|
3834
|
-
_id: import("bson").ObjectId | null;
|
|
3835
|
-
};
|
|
3836
|
-
token: {
|
|
3837
|
-
type: "bearer";
|
|
3838
|
-
content: string;
|
|
3839
|
-
};
|
|
3840
|
-
}> | import("@aeriajs/types").Left<import("./collections/user/authenticate.js").AuthenticationErrors.Unauthenticated> | import("@aeriajs/types").Left<import("./collections/user/authenticate.js").AuthenticationErrors.InvalidCredentials> | import("@aeriajs/types").Left<import("./collections/user/authenticate.js").AuthenticationErrors.InactiveUser>>;
|
|
3841
|
-
readonly activate: (payload: {
|
|
3842
|
-
password: string;
|
|
3843
|
-
}, context: import("@aeriajs/types").Context<{
|
|
3844
|
-
readonly $id: "user";
|
|
3845
|
-
readonly required: readonly ["name", "roles", "email"];
|
|
3846
|
-
readonly form: readonly ["name", "active", "roles", "email", "phone_number", "picture_file"];
|
|
3847
|
-
readonly indexes: readonly ["name"];
|
|
3848
|
-
readonly freshItem: {
|
|
3849
|
-
readonly active: true;
|
|
3850
|
-
};
|
|
3851
|
-
readonly properties: {
|
|
3852
|
-
readonly name: {
|
|
3853
|
-
readonly type: "string";
|
|
3854
|
-
};
|
|
3855
|
-
readonly given_name: {
|
|
3856
|
-
readonly getter: (document: any) => string;
|
|
3857
|
-
};
|
|
3858
|
-
readonly family_name: {
|
|
3859
|
-
readonly getter: (document: any) => string;
|
|
3860
|
-
};
|
|
3861
|
-
readonly active: {
|
|
3862
|
-
readonly type: "boolean";
|
|
3863
|
-
};
|
|
3864
|
-
readonly roles: {
|
|
3865
|
-
readonly type: "array";
|
|
3866
|
-
readonly items: {
|
|
3867
|
-
readonly type: "string";
|
|
3868
|
-
};
|
|
3869
|
-
readonly uniqueItems: true;
|
|
3870
|
-
};
|
|
3871
|
-
readonly email: {
|
|
3872
|
-
readonly type: "string";
|
|
3873
|
-
readonly inputType: "email";
|
|
3874
|
-
readonly unique: true;
|
|
3875
|
-
};
|
|
3876
|
-
readonly password: {
|
|
3877
|
-
readonly type: "string";
|
|
3878
|
-
readonly inputType: "password";
|
|
3879
|
-
readonly hidden: true;
|
|
3880
|
-
};
|
|
3881
|
-
readonly phone_number: {
|
|
3882
|
-
readonly type: "string";
|
|
3883
|
-
readonly mask: "(##) #####-####";
|
|
3884
|
-
};
|
|
3885
|
-
readonly picture_file: {
|
|
3886
|
-
readonly $ref: "file";
|
|
3887
|
-
readonly accept: readonly ["image/*"];
|
|
3888
|
-
};
|
|
3889
|
-
readonly picture: {
|
|
3890
|
-
readonly getter: (value: any) => any;
|
|
3891
|
-
};
|
|
3892
|
-
readonly group: {
|
|
3893
|
-
readonly type: "string";
|
|
3894
|
-
};
|
|
3895
|
-
readonly self_registered: {
|
|
3896
|
-
readonly type: "boolean";
|
|
3897
|
-
readonly readOnly: true;
|
|
3898
|
-
};
|
|
3899
|
-
readonly updated_at: {
|
|
3900
|
-
readonly type: "string";
|
|
3901
|
-
readonly format: "date-time";
|
|
3902
|
-
};
|
|
3903
|
-
};
|
|
3904
|
-
readonly presets: readonly ["crud", "view", "duplicate"];
|
|
3905
|
-
readonly layout: {
|
|
3906
|
-
readonly name: "grid";
|
|
3907
|
-
readonly options: {
|
|
3908
|
-
readonly title: "name";
|
|
3909
|
-
readonly badge: "roles";
|
|
3910
|
-
readonly picture: "picture_file";
|
|
3911
|
-
readonly information: "email";
|
|
3912
|
-
readonly active: "active";
|
|
3913
|
-
readonly translateBadge: true;
|
|
3914
|
-
};
|
|
3915
|
-
};
|
|
3916
|
-
readonly individualActions: {
|
|
3917
|
-
readonly 'ui:spawnEdit': {
|
|
3918
|
-
readonly name: "Editar";
|
|
3919
|
-
readonly icon: "pencil";
|
|
3920
|
-
};
|
|
3921
|
-
readonly 'route:/dashboard/user/changepass': {
|
|
3922
|
-
readonly name: "Mudar senha";
|
|
3923
|
-
readonly icon: "key";
|
|
3924
|
-
readonly fetchItem: true;
|
|
3925
|
-
};
|
|
3926
|
-
};
|
|
3927
|
-
readonly icon: "users";
|
|
3928
|
-
readonly filters: readonly ["name", "roles", "email", "phone_number"];
|
|
3929
|
-
readonly table: readonly ["name", "roles", "picture_file", "active", "updated_at"];
|
|
3930
|
-
readonly tableMeta: readonly ["email"];
|
|
3931
|
-
readonly formLayout: {
|
|
3932
|
-
readonly fields: {
|
|
3933
|
-
readonly given_name: {
|
|
3934
|
-
readonly span: 3;
|
|
3935
|
-
};
|
|
3936
|
-
readonly family_name: {
|
|
3937
|
-
readonly span: 3;
|
|
3938
|
-
};
|
|
3939
|
-
};
|
|
3940
|
-
};
|
|
3941
|
-
}>) => Promise<import("@aeriajs/types").GenericResponse | import("@aeriajs/types").Left<import("./collections/user/activate.js").ActivationErrors.InvalidLink> | import("@aeriajs/types").Left<import("./collections/user/activate.js").ActivationErrors.UserNotFound> | import("@aeriajs/types").Left<import("./collections/user/activate.js").ActivationErrors.AlreadyActiveUser> | import("@aeriajs/types").Right<true>>;
|
|
3942
|
-
readonly createAccount: (payload: Omit<Pick<{
|
|
3943
|
-
picture_file: import("@aeriajs/types").SchemaWithId<{
|
|
3944
|
-
readonly $id: "file";
|
|
3945
|
-
readonly owned: "always";
|
|
3946
|
-
readonly presets: readonly ["owned"];
|
|
3947
|
-
readonly indexes: readonly ["filename", "link", "mime"];
|
|
3948
|
-
readonly properties: {
|
|
3949
|
-
readonly mime: {
|
|
3950
|
-
readonly type: "string";
|
|
3951
|
-
};
|
|
3952
|
-
readonly size: {
|
|
3953
|
-
readonly type: "number";
|
|
3954
|
-
};
|
|
3955
|
-
readonly last_modified: {
|
|
3956
|
-
readonly type: "string";
|
|
3957
|
-
readonly format: "date-time";
|
|
3958
|
-
};
|
|
3959
|
-
readonly filename: {
|
|
3960
|
-
readonly type: "string";
|
|
3961
|
-
};
|
|
3962
|
-
readonly absolute_path: {
|
|
3963
|
-
readonly type: "string";
|
|
3964
|
-
};
|
|
3965
|
-
readonly relative_path: {
|
|
3966
|
-
readonly type: "string";
|
|
3967
|
-
};
|
|
3968
|
-
readonly immutable: {
|
|
3969
|
-
readonly type: "boolean";
|
|
3970
|
-
};
|
|
3971
|
-
readonly link: {
|
|
3972
|
-
readonly getter: (value: any) => Promise<string>;
|
|
3973
|
-
};
|
|
3974
|
-
readonly download_link: {
|
|
3975
|
-
readonly getter: (value: any) => Promise<string>;
|
|
3976
|
-
};
|
|
3977
|
-
};
|
|
3978
|
-
readonly actions: {
|
|
3979
|
-
readonly deleteAll: {
|
|
3980
|
-
readonly name: "Remover";
|
|
3981
|
-
readonly ask: true;
|
|
3982
|
-
readonly selection: true;
|
|
3983
|
-
};
|
|
3984
|
-
};
|
|
3985
|
-
readonly individualActions: {
|
|
3986
|
-
readonly remove: {
|
|
3987
|
-
readonly name: "Remover";
|
|
3988
|
-
readonly icon: "trash";
|
|
3989
|
-
readonly ask: true;
|
|
3990
|
-
};
|
|
3991
|
-
};
|
|
3992
|
-
}>;
|
|
3993
|
-
} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
3994
|
-
readonly name: {
|
|
3995
|
-
readonly type: "string";
|
|
3996
|
-
};
|
|
3997
|
-
readonly given_name: {
|
|
3998
|
-
readonly getter: (document: any) => string;
|
|
3999
|
-
};
|
|
4000
|
-
readonly family_name: {
|
|
4001
|
-
readonly getter: (document: any) => string;
|
|
4002
|
-
};
|
|
4003
|
-
readonly active: {
|
|
4004
|
-
readonly type: "boolean";
|
|
4005
|
-
};
|
|
4006
|
-
readonly roles: {
|
|
4007
|
-
readonly type: "array";
|
|
4008
|
-
readonly items: {
|
|
4009
|
-
readonly type: "string";
|
|
4010
|
-
};
|
|
4011
|
-
readonly uniqueItems: true;
|
|
4012
|
-
};
|
|
4013
|
-
readonly email: {
|
|
4014
|
-
readonly type: "string";
|
|
4015
|
-
readonly inputType: "email";
|
|
4016
|
-
readonly unique: true;
|
|
4017
|
-
};
|
|
4018
|
-
readonly password: {
|
|
4019
|
-
readonly type: "string";
|
|
4020
|
-
readonly inputType: "password";
|
|
4021
|
-
readonly hidden: true;
|
|
4022
|
-
};
|
|
4023
|
-
readonly phone_number: {
|
|
4024
|
-
readonly type: "string";
|
|
4025
|
-
readonly mask: "(##) #####-####";
|
|
4026
|
-
};
|
|
4027
|
-
readonly picture_file: {
|
|
4028
|
-
readonly $ref: "file";
|
|
4029
|
-
readonly accept: readonly ["image/*"];
|
|
4030
|
-
};
|
|
4031
|
-
readonly picture: {
|
|
4032
|
-
readonly getter: (value: any) => any;
|
|
4033
|
-
};
|
|
4034
|
-
readonly group: {
|
|
4035
|
-
readonly type: "string";
|
|
4036
|
-
};
|
|
4037
|
-
readonly self_registered: {
|
|
4038
|
-
readonly type: "boolean";
|
|
4039
|
-
readonly readOnly: true;
|
|
4040
|
-
};
|
|
4041
|
-
readonly updated_at: {
|
|
4042
|
-
readonly type: "string";
|
|
4043
|
-
readonly format: "date-time";
|
|
4044
|
-
};
|
|
4045
|
-
}>> & {
|
|
4046
|
-
name: string;
|
|
4047
|
-
password: string;
|
|
4048
|
-
updated_at: Date;
|
|
4049
|
-
roles: string[];
|
|
4050
|
-
email: string;
|
|
4051
|
-
active: boolean;
|
|
4052
|
-
phone_number: string;
|
|
4053
|
-
picture_file: never;
|
|
4054
|
-
given_name: string;
|
|
4055
|
-
family_name: string;
|
|
4056
|
-
picture: any;
|
|
4057
|
-
group: string;
|
|
4058
|
-
}, "picture_file">, "name" | "roles" | "email"> & Partial<{
|
|
4059
|
-
picture_file: import("@aeriajs/types").SchemaWithId<{
|
|
4060
|
-
readonly $id: "file";
|
|
4061
|
-
readonly owned: "always";
|
|
4062
|
-
readonly presets: readonly ["owned"];
|
|
4063
|
-
readonly indexes: readonly ["filename", "link", "mime"];
|
|
4064
|
-
readonly properties: {
|
|
4065
|
-
readonly mime: {
|
|
4066
|
-
readonly type: "string";
|
|
4067
|
-
};
|
|
4068
|
-
readonly size: {
|
|
4069
|
-
readonly type: "number";
|
|
4070
|
-
};
|
|
4071
|
-
readonly last_modified: {
|
|
4072
|
-
readonly type: "string";
|
|
4073
|
-
readonly format: "date-time";
|
|
4074
|
-
};
|
|
4075
|
-
readonly filename: {
|
|
4076
|
-
readonly type: "string";
|
|
4077
|
-
};
|
|
4078
|
-
readonly absolute_path: {
|
|
4079
|
-
readonly type: "string";
|
|
4080
|
-
};
|
|
4081
|
-
readonly relative_path: {
|
|
4082
|
-
readonly type: "string";
|
|
4083
|
-
};
|
|
4084
|
-
readonly immutable: {
|
|
4085
|
-
readonly type: "boolean";
|
|
4086
|
-
};
|
|
4087
|
-
readonly link: {
|
|
4088
|
-
readonly getter: (value: any) => Promise<string>;
|
|
4089
|
-
};
|
|
4090
|
-
readonly download_link: {
|
|
4091
|
-
readonly getter: (value: any) => Promise<string>;
|
|
4092
|
-
};
|
|
4093
|
-
};
|
|
4094
|
-
readonly actions: {
|
|
4095
|
-
readonly deleteAll: {
|
|
4096
|
-
readonly name: "Remover";
|
|
4097
|
-
readonly ask: true;
|
|
4098
|
-
readonly selection: true;
|
|
4099
|
-
};
|
|
4100
|
-
};
|
|
4101
|
-
readonly individualActions: {
|
|
4102
|
-
readonly remove: {
|
|
4103
|
-
readonly name: "Remover";
|
|
4104
|
-
readonly icon: "trash";
|
|
4105
|
-
readonly ask: true;
|
|
4106
|
-
};
|
|
4107
|
-
};
|
|
4108
|
-
}>;
|
|
4109
|
-
} & Omit<Readonly<import("@aeriajs/types").FilterReadonlyProperties<{
|
|
4110
|
-
readonly name: {
|
|
619
|
+
functions: any;
|
|
620
|
+
functionContracts: {
|
|
621
|
+
[x: string]: import("@aeriajs/types").Contract;
|
|
622
|
+
};
|
|
623
|
+
};
|
|
624
|
+
tempFile: Omit<import("@aeriajs/types").Collection<{
|
|
625
|
+
description: {
|
|
626
|
+
readonly $id: "tempFile";
|
|
627
|
+
readonly temporary: {
|
|
628
|
+
readonly index: "created_at";
|
|
629
|
+
readonly expireAfterSeconds: 3600;
|
|
630
|
+
};
|
|
631
|
+
readonly properties: {
|
|
632
|
+
readonly created_at: {
|
|
4111
633
|
readonly type: "string";
|
|
634
|
+
readonly format: "date-time";
|
|
4112
635
|
};
|
|
4113
|
-
readonly
|
|
4114
|
-
readonly
|
|
636
|
+
readonly absolute_path: {
|
|
637
|
+
readonly type: "string";
|
|
4115
638
|
};
|
|
4116
|
-
readonly
|
|
4117
|
-
readonly
|
|
639
|
+
readonly size: {
|
|
640
|
+
readonly type: "number";
|
|
4118
641
|
};
|
|
4119
|
-
readonly
|
|
4120
|
-
readonly type: "
|
|
642
|
+
readonly mime: {
|
|
643
|
+
readonly type: "number";
|
|
4121
644
|
};
|
|
4122
|
-
readonly
|
|
4123
|
-
readonly type: "
|
|
4124
|
-
readonly items: {
|
|
4125
|
-
readonly type: "string";
|
|
4126
|
-
};
|
|
4127
|
-
readonly uniqueItems: true;
|
|
645
|
+
readonly collection: {
|
|
646
|
+
readonly type: "string";
|
|
4128
647
|
};
|
|
4129
|
-
readonly
|
|
648
|
+
readonly filename: {
|
|
4130
649
|
readonly type: "string";
|
|
4131
|
-
readonly inputType: "email";
|
|
4132
|
-
readonly unique: true;
|
|
4133
650
|
};
|
|
4134
|
-
|
|
651
|
+
};
|
|
652
|
+
};
|
|
653
|
+
}>, "description" | "functions" | "item"> & {
|
|
654
|
+
item: import("@aeriajs/types").SchemaWithId<{
|
|
655
|
+
readonly $id: "tempFile";
|
|
656
|
+
readonly temporary: {
|
|
657
|
+
readonly index: "created_at";
|
|
658
|
+
readonly expireAfterSeconds: 3600;
|
|
659
|
+
};
|
|
660
|
+
readonly properties: {
|
|
661
|
+
readonly created_at: {
|
|
4135
662
|
readonly type: "string";
|
|
4136
|
-
readonly
|
|
4137
|
-
readonly hidden: true;
|
|
663
|
+
readonly format: "date-time";
|
|
4138
664
|
};
|
|
4139
|
-
readonly
|
|
665
|
+
readonly absolute_path: {
|
|
4140
666
|
readonly type: "string";
|
|
4141
|
-
readonly mask: "(##) #####-####";
|
|
4142
667
|
};
|
|
4143
|
-
readonly
|
|
4144
|
-
readonly
|
|
4145
|
-
readonly accept: readonly ["image/*"];
|
|
668
|
+
readonly size: {
|
|
669
|
+
readonly type: "number";
|
|
4146
670
|
};
|
|
4147
|
-
readonly
|
|
4148
|
-
readonly
|
|
671
|
+
readonly mime: {
|
|
672
|
+
readonly type: "number";
|
|
4149
673
|
};
|
|
4150
|
-
readonly
|
|
674
|
+
readonly collection: {
|
|
4151
675
|
readonly type: "string";
|
|
4152
676
|
};
|
|
4153
|
-
readonly
|
|
4154
|
-
readonly type: "
|
|
4155
|
-
readonly readOnly: true;
|
|
677
|
+
readonly filename: {
|
|
678
|
+
readonly type: "string";
|
|
4156
679
|
};
|
|
4157
|
-
|
|
680
|
+
};
|
|
681
|
+
}>;
|
|
682
|
+
description: {
|
|
683
|
+
readonly $id: "tempFile";
|
|
684
|
+
readonly temporary: {
|
|
685
|
+
readonly index: "created_at";
|
|
686
|
+
readonly expireAfterSeconds: 3600;
|
|
687
|
+
};
|
|
688
|
+
readonly properties: {
|
|
689
|
+
readonly created_at: {
|
|
4158
690
|
readonly type: "string";
|
|
4159
691
|
readonly format: "date-time";
|
|
4160
692
|
};
|
|
4161
|
-
|
|
4162
|
-
|
|
4163
|
-
password: string;
|
|
4164
|
-
updated_at: Date;
|
|
4165
|
-
roles: string[];
|
|
4166
|
-
email: string;
|
|
4167
|
-
active: boolean;
|
|
4168
|
-
phone_number: string;
|
|
4169
|
-
picture_file: never;
|
|
4170
|
-
given_name: string;
|
|
4171
|
-
family_name: string;
|
|
4172
|
-
picture: any;
|
|
4173
|
-
group: string;
|
|
4174
|
-
}, "picture_file">> & {
|
|
4175
|
-
updated_at?: Date | undefined;
|
|
4176
|
-
created_at?: Date | undefined;
|
|
4177
|
-
}, "roles">, context: import("@aeriajs/types").Context<{
|
|
4178
|
-
readonly $id: "user";
|
|
4179
|
-
readonly required: readonly ["name", "roles", "email"];
|
|
4180
|
-
readonly form: readonly ["name", "active", "roles", "email", "phone_number", "picture_file"];
|
|
4181
|
-
readonly indexes: readonly ["name"];
|
|
4182
|
-
readonly freshItem: {
|
|
4183
|
-
readonly active: true;
|
|
693
|
+
readonly absolute_path: {
|
|
694
|
+
readonly type: "string";
|
|
4184
695
|
};
|
|
4185
|
-
readonly
|
|
4186
|
-
readonly
|
|
4187
|
-
readonly type: "string";
|
|
4188
|
-
};
|
|
4189
|
-
readonly given_name: {
|
|
4190
|
-
readonly getter: (document: any) => string;
|
|
4191
|
-
};
|
|
4192
|
-
readonly family_name: {
|
|
4193
|
-
readonly getter: (document: any) => string;
|
|
4194
|
-
};
|
|
4195
|
-
readonly active: {
|
|
4196
|
-
readonly type: "boolean";
|
|
4197
|
-
};
|
|
4198
|
-
readonly roles: {
|
|
4199
|
-
readonly type: "array";
|
|
4200
|
-
readonly items: {
|
|
4201
|
-
readonly type: "string";
|
|
4202
|
-
};
|
|
4203
|
-
readonly uniqueItems: true;
|
|
4204
|
-
};
|
|
4205
|
-
readonly email: {
|
|
4206
|
-
readonly type: "string";
|
|
4207
|
-
readonly inputType: "email";
|
|
4208
|
-
readonly unique: true;
|
|
4209
|
-
};
|
|
4210
|
-
readonly password: {
|
|
4211
|
-
readonly type: "string";
|
|
4212
|
-
readonly inputType: "password";
|
|
4213
|
-
readonly hidden: true;
|
|
4214
|
-
};
|
|
4215
|
-
readonly phone_number: {
|
|
4216
|
-
readonly type: "string";
|
|
4217
|
-
readonly mask: "(##) #####-####";
|
|
4218
|
-
};
|
|
4219
|
-
readonly picture_file: {
|
|
4220
|
-
readonly $ref: "file";
|
|
4221
|
-
readonly accept: readonly ["image/*"];
|
|
4222
|
-
};
|
|
4223
|
-
readonly picture: {
|
|
4224
|
-
readonly getter: (value: any) => any;
|
|
4225
|
-
};
|
|
4226
|
-
readonly group: {
|
|
4227
|
-
readonly type: "string";
|
|
4228
|
-
};
|
|
4229
|
-
readonly self_registered: {
|
|
4230
|
-
readonly type: "boolean";
|
|
4231
|
-
readonly readOnly: true;
|
|
4232
|
-
};
|
|
4233
|
-
readonly updated_at: {
|
|
4234
|
-
readonly type: "string";
|
|
4235
|
-
readonly format: "date-time";
|
|
4236
|
-
};
|
|
696
|
+
readonly size: {
|
|
697
|
+
readonly type: "number";
|
|
4237
698
|
};
|
|
4238
|
-
readonly
|
|
4239
|
-
|
|
4240
|
-
readonly name: "grid";
|
|
4241
|
-
readonly options: {
|
|
4242
|
-
readonly title: "name";
|
|
4243
|
-
readonly badge: "roles";
|
|
4244
|
-
readonly picture: "picture_file";
|
|
4245
|
-
readonly information: "email";
|
|
4246
|
-
readonly active: "active";
|
|
4247
|
-
readonly translateBadge: true;
|
|
4248
|
-
};
|
|
699
|
+
readonly mime: {
|
|
700
|
+
readonly type: "number";
|
|
4249
701
|
};
|
|
4250
|
-
readonly
|
|
4251
|
-
readonly
|
|
4252
|
-
readonly name: "Editar";
|
|
4253
|
-
readonly icon: "pencil";
|
|
4254
|
-
};
|
|
4255
|
-
readonly 'route:/dashboard/user/changepass': {
|
|
4256
|
-
readonly name: "Mudar senha";
|
|
4257
|
-
readonly icon: "key";
|
|
4258
|
-
readonly fetchItem: true;
|
|
4259
|
-
};
|
|
702
|
+
readonly collection: {
|
|
703
|
+
readonly type: "string";
|
|
4260
704
|
};
|
|
4261
|
-
readonly
|
|
4262
|
-
|
|
4263
|
-
readonly table: readonly ["name", "roles", "picture_file", "active", "updated_at"];
|
|
4264
|
-
readonly tableMeta: readonly ["email"];
|
|
4265
|
-
readonly formLayout: {
|
|
4266
|
-
readonly fields: {
|
|
4267
|
-
readonly given_name: {
|
|
4268
|
-
readonly span: 3;
|
|
4269
|
-
};
|
|
4270
|
-
readonly family_name: {
|
|
4271
|
-
readonly span: 3;
|
|
4272
|
-
};
|
|
4273
|
-
};
|
|
705
|
+
readonly filename: {
|
|
706
|
+
readonly type: "string";
|
|
4274
707
|
};
|
|
4275
|
-
}
|
|
4276
|
-
|
|
4277
|
-
|
|
4278
|
-
|
|
4279
|
-
|
|
4280
|
-
|
|
4281
|
-
|
|
708
|
+
};
|
|
709
|
+
};
|
|
710
|
+
functions: {};
|
|
711
|
+
functionContracts: {};
|
|
712
|
+
};
|
|
713
|
+
log: Omit<import("@aeriajs/types").Collection<{
|
|
714
|
+
description: {
|
|
715
|
+
readonly $id: "log";
|
|
716
|
+
readonly required: readonly ["context", "message"];
|
|
717
|
+
readonly properties: {
|
|
718
|
+
readonly owner: {
|
|
719
|
+
readonly $ref: "user";
|
|
720
|
+
readonly noForm: true;
|
|
4282
721
|
};
|
|
4283
|
-
readonly
|
|
4284
|
-
readonly
|
|
4285
|
-
|
|
4286
|
-
|
|
4287
|
-
readonly
|
|
4288
|
-
|
|
4289
|
-
|
|
4290
|
-
readonly
|
|
4291
|
-
|
|
4292
|
-
|
|
4293
|
-
|
|
4294
|
-
|
|
4295
|
-
|
|
4296
|
-
|
|
4297
|
-
|
|
4298
|
-
|
|
4299
|
-
|
|
4300
|
-
|
|
4301
|
-
|
|
722
|
+
readonly context: {
|
|
723
|
+
readonly type: "string";
|
|
724
|
+
};
|
|
725
|
+
readonly message: {
|
|
726
|
+
readonly type: "string";
|
|
727
|
+
};
|
|
728
|
+
readonly details: {
|
|
729
|
+
readonly type: "object";
|
|
730
|
+
readonly variable: true;
|
|
731
|
+
};
|
|
732
|
+
readonly created_at: {
|
|
733
|
+
readonly type: "string";
|
|
734
|
+
readonly format: "date-time";
|
|
735
|
+
};
|
|
736
|
+
};
|
|
737
|
+
readonly icon: "magnifying-glass";
|
|
738
|
+
readonly presets: readonly ["view"];
|
|
739
|
+
readonly filters: readonly ["context", "message", "owner"];
|
|
740
|
+
};
|
|
741
|
+
functions: {
|
|
742
|
+
readonly get: (payload: import("@aeriajs/types").GetPayload<import("@aeriajs/types").SchemaWithId<{
|
|
743
|
+
readonly $id: "log";
|
|
744
|
+
readonly required: readonly ["context", "message"];
|
|
745
|
+
readonly properties: {
|
|
746
|
+
readonly owner: {
|
|
747
|
+
readonly $ref: "user";
|
|
748
|
+
readonly noForm: true;
|
|
4302
749
|
};
|
|
4303
|
-
readonly
|
|
750
|
+
readonly context: {
|
|
4304
751
|
readonly type: "string";
|
|
4305
|
-
readonly inputType: "email";
|
|
4306
|
-
readonly unique: true;
|
|
4307
752
|
};
|
|
4308
|
-
readonly
|
|
753
|
+
readonly message: {
|
|
4309
754
|
readonly type: "string";
|
|
4310
|
-
readonly inputType: "password";
|
|
4311
|
-
readonly hidden: true;
|
|
4312
755
|
};
|
|
4313
|
-
readonly
|
|
756
|
+
readonly details: {
|
|
757
|
+
readonly type: "object";
|
|
758
|
+
readonly variable: true;
|
|
759
|
+
};
|
|
760
|
+
readonly created_at: {
|
|
4314
761
|
readonly type: "string";
|
|
4315
|
-
readonly
|
|
762
|
+
readonly format: "date-time";
|
|
4316
763
|
};
|
|
4317
|
-
|
|
4318
|
-
|
|
4319
|
-
|
|
764
|
+
};
|
|
765
|
+
readonly icon: "magnifying-glass";
|
|
766
|
+
readonly presets: readonly ["view"];
|
|
767
|
+
readonly filters: readonly ["context", "message", "owner"];
|
|
768
|
+
}>>, context: import("@aeriajs/types").Context<{
|
|
769
|
+
readonly $id: "log";
|
|
770
|
+
readonly required: readonly ["context", "message"];
|
|
771
|
+
readonly properties: {
|
|
772
|
+
readonly owner: {
|
|
773
|
+
readonly $ref: "user";
|
|
774
|
+
readonly noForm: true;
|
|
4320
775
|
};
|
|
4321
|
-
readonly
|
|
4322
|
-
readonly
|
|
776
|
+
readonly context: {
|
|
777
|
+
readonly type: "string";
|
|
4323
778
|
};
|
|
4324
|
-
readonly
|
|
779
|
+
readonly message: {
|
|
4325
780
|
readonly type: "string";
|
|
4326
781
|
};
|
|
4327
|
-
readonly
|
|
4328
|
-
readonly type: "
|
|
4329
|
-
readonly
|
|
782
|
+
readonly details: {
|
|
783
|
+
readonly type: "object";
|
|
784
|
+
readonly variable: true;
|
|
4330
785
|
};
|
|
4331
|
-
readonly
|
|
786
|
+
readonly created_at: {
|
|
4332
787
|
readonly type: "string";
|
|
4333
788
|
readonly format: "date-time";
|
|
4334
789
|
};
|
|
4335
790
|
};
|
|
4336
|
-
readonly
|
|
4337
|
-
readonly
|
|
4338
|
-
|
|
4339
|
-
|
|
4340
|
-
|
|
4341
|
-
|
|
4342
|
-
|
|
4343
|
-
|
|
4344
|
-
readonly
|
|
4345
|
-
readonly
|
|
791
|
+
readonly icon: "magnifying-glass";
|
|
792
|
+
readonly presets: readonly ["view"];
|
|
793
|
+
readonly filters: readonly ["context", "message", "owner"];
|
|
794
|
+
}, {}>, options?: import("@aeriajs/api").GetOptions | undefined) => Promise<import("@aeriajs/types").SchemaWithId<{
|
|
795
|
+
readonly $id: "log";
|
|
796
|
+
readonly required: readonly ["context", "message"];
|
|
797
|
+
readonly properties: {
|
|
798
|
+
readonly owner: {
|
|
799
|
+
readonly $ref: "user";
|
|
800
|
+
readonly noForm: true;
|
|
4346
801
|
};
|
|
4347
|
-
|
|
4348
|
-
|
|
4349
|
-
readonly 'ui:spawnEdit': {
|
|
4350
|
-
readonly name: "Editar";
|
|
4351
|
-
readonly icon: "pencil";
|
|
802
|
+
readonly context: {
|
|
803
|
+
readonly type: "string";
|
|
4352
804
|
};
|
|
4353
|
-
readonly
|
|
4354
|
-
readonly
|
|
4355
|
-
readonly icon: "key";
|
|
4356
|
-
readonly fetchItem: true;
|
|
805
|
+
readonly message: {
|
|
806
|
+
readonly type: "string";
|
|
4357
807
|
};
|
|
4358
|
-
|
|
4359
|
-
|
|
4360
|
-
|
|
4361
|
-
|
|
4362
|
-
|
|
4363
|
-
|
|
4364
|
-
|
|
4365
|
-
readonly given_name: {
|
|
4366
|
-
readonly span: 3;
|
|
4367
|
-
};
|
|
4368
|
-
readonly family_name: {
|
|
4369
|
-
readonly span: 3;
|
|
4370
|
-
};
|
|
808
|
+
readonly details: {
|
|
809
|
+
readonly type: "object";
|
|
810
|
+
readonly variable: true;
|
|
811
|
+
};
|
|
812
|
+
readonly created_at: {
|
|
813
|
+
readonly type: "string";
|
|
814
|
+
readonly format: "date-time";
|
|
4371
815
|
};
|
|
4372
816
|
};
|
|
4373
|
-
|
|
4374
|
-
|
|
4375
|
-
|
|
4376
|
-
|
|
4377
|
-
|
|
4378
|
-
readonly $id: "
|
|
4379
|
-
readonly required: readonly ["
|
|
4380
|
-
readonly form: readonly ["name", "active", "roles", "email", "phone_number", "picture_file"];
|
|
4381
|
-
readonly indexes: readonly ["name"];
|
|
4382
|
-
readonly freshItem: {
|
|
4383
|
-
readonly active: true;
|
|
4384
|
-
};
|
|
817
|
+
readonly icon: "magnifying-glass";
|
|
818
|
+
readonly presets: readonly ["view"];
|
|
819
|
+
readonly filters: readonly ["context", "message", "owner"];
|
|
820
|
+
}> | null>;
|
|
821
|
+
readonly getAll: (_payload: import("@aeriajs/types").GetAllPayload<import("@aeriajs/types").SchemaWithId<any>> | undefined, context: import("@aeriajs/types").Context<{
|
|
822
|
+
readonly $id: "log";
|
|
823
|
+
readonly required: readonly ["context", "message"];
|
|
4385
824
|
readonly properties: {
|
|
4386
|
-
readonly
|
|
825
|
+
readonly owner: {
|
|
826
|
+
readonly $ref: "user";
|
|
827
|
+
readonly noForm: true;
|
|
828
|
+
};
|
|
829
|
+
readonly context: {
|
|
4387
830
|
readonly type: "string";
|
|
4388
831
|
};
|
|
4389
|
-
readonly
|
|
4390
|
-
readonly
|
|
832
|
+
readonly message: {
|
|
833
|
+
readonly type: "string";
|
|
4391
834
|
};
|
|
4392
|
-
readonly
|
|
4393
|
-
readonly
|
|
835
|
+
readonly details: {
|
|
836
|
+
readonly type: "object";
|
|
837
|
+
readonly variable: true;
|
|
4394
838
|
};
|
|
4395
|
-
readonly
|
|
4396
|
-
readonly type: "
|
|
839
|
+
readonly created_at: {
|
|
840
|
+
readonly type: "string";
|
|
841
|
+
readonly format: "date-time";
|
|
4397
842
|
};
|
|
4398
|
-
|
|
4399
|
-
|
|
4400
|
-
|
|
4401
|
-
|
|
4402
|
-
|
|
4403
|
-
|
|
843
|
+
};
|
|
844
|
+
readonly icon: "magnifying-glass";
|
|
845
|
+
readonly presets: readonly ["view"];
|
|
846
|
+
readonly filters: readonly ["context", "message", "owner"];
|
|
847
|
+
}, {}>, options?: import("@aeriajs/api").GetAllOptions | undefined) => Promise<import("@aeriajs/types").SchemaWithId<{
|
|
848
|
+
readonly $id: "log";
|
|
849
|
+
readonly required: readonly ["context", "message"];
|
|
850
|
+
readonly properties: {
|
|
851
|
+
readonly owner: {
|
|
852
|
+
readonly $ref: "user";
|
|
853
|
+
readonly noForm: true;
|
|
4404
854
|
};
|
|
4405
|
-
readonly
|
|
855
|
+
readonly context: {
|
|
4406
856
|
readonly type: "string";
|
|
4407
|
-
readonly inputType: "email";
|
|
4408
|
-
readonly unique: true;
|
|
4409
857
|
};
|
|
4410
|
-
readonly
|
|
858
|
+
readonly message: {
|
|
4411
859
|
readonly type: "string";
|
|
4412
|
-
readonly inputType: "password";
|
|
4413
|
-
readonly hidden: true;
|
|
4414
860
|
};
|
|
4415
|
-
readonly
|
|
861
|
+
readonly details: {
|
|
862
|
+
readonly type: "object";
|
|
863
|
+
readonly variable: true;
|
|
864
|
+
};
|
|
865
|
+
readonly created_at: {
|
|
4416
866
|
readonly type: "string";
|
|
4417
|
-
readonly
|
|
867
|
+
readonly format: "date-time";
|
|
4418
868
|
};
|
|
4419
|
-
|
|
4420
|
-
|
|
4421
|
-
|
|
869
|
+
};
|
|
870
|
+
readonly icon: "magnifying-glass";
|
|
871
|
+
readonly presets: readonly ["view"];
|
|
872
|
+
readonly filters: readonly ["context", "message", "owner"];
|
|
873
|
+
}>[]>;
|
|
874
|
+
readonly insert: (payload: import("@aeriajs/types").InsertPayload<import("@aeriajs/types").SchemaWithId<{
|
|
875
|
+
readonly $id: "log";
|
|
876
|
+
readonly required: readonly ["context", "message"];
|
|
877
|
+
readonly properties: {
|
|
878
|
+
readonly owner: {
|
|
879
|
+
readonly $ref: "user";
|
|
880
|
+
readonly noForm: true;
|
|
4422
881
|
};
|
|
4423
|
-
readonly
|
|
4424
|
-
readonly
|
|
882
|
+
readonly context: {
|
|
883
|
+
readonly type: "string";
|
|
4425
884
|
};
|
|
4426
|
-
readonly
|
|
885
|
+
readonly message: {
|
|
4427
886
|
readonly type: "string";
|
|
4428
887
|
};
|
|
4429
|
-
readonly
|
|
4430
|
-
readonly type: "
|
|
4431
|
-
readonly
|
|
888
|
+
readonly details: {
|
|
889
|
+
readonly type: "object";
|
|
890
|
+
readonly variable: true;
|
|
4432
891
|
};
|
|
4433
|
-
readonly
|
|
892
|
+
readonly created_at: {
|
|
4434
893
|
readonly type: "string";
|
|
4435
894
|
readonly format: "date-time";
|
|
4436
895
|
};
|
|
4437
896
|
};
|
|
4438
|
-
readonly
|
|
4439
|
-
readonly
|
|
4440
|
-
|
|
4441
|
-
|
|
4442
|
-
|
|
4443
|
-
|
|
4444
|
-
|
|
4445
|
-
|
|
4446
|
-
readonly
|
|
4447
|
-
readonly
|
|
897
|
+
readonly icon: "magnifying-glass";
|
|
898
|
+
readonly presets: readonly ["view"];
|
|
899
|
+
readonly filters: readonly ["context", "message", "owner"];
|
|
900
|
+
}>>, context: import("@aeriajs/types").Context<{
|
|
901
|
+
readonly $id: "log";
|
|
902
|
+
readonly required: readonly ["context", "message"];
|
|
903
|
+
readonly properties: {
|
|
904
|
+
readonly owner: {
|
|
905
|
+
readonly $ref: "user";
|
|
906
|
+
readonly noForm: true;
|
|
4448
907
|
};
|
|
4449
|
-
|
|
4450
|
-
|
|
4451
|
-
readonly 'ui:spawnEdit': {
|
|
4452
|
-
readonly name: "Editar";
|
|
4453
|
-
readonly icon: "pencil";
|
|
908
|
+
readonly context: {
|
|
909
|
+
readonly type: "string";
|
|
4454
910
|
};
|
|
4455
|
-
readonly
|
|
4456
|
-
readonly
|
|
4457
|
-
readonly icon: "key";
|
|
4458
|
-
readonly fetchItem: true;
|
|
911
|
+
readonly message: {
|
|
912
|
+
readonly type: "string";
|
|
4459
913
|
};
|
|
4460
|
-
|
|
4461
|
-
|
|
4462
|
-
|
|
4463
|
-
|
|
4464
|
-
|
|
4465
|
-
|
|
4466
|
-
|
|
4467
|
-
readonly given_name: {
|
|
4468
|
-
readonly span: 3;
|
|
4469
|
-
};
|
|
4470
|
-
readonly family_name: {
|
|
4471
|
-
readonly span: 3;
|
|
4472
|
-
};
|
|
914
|
+
readonly details: {
|
|
915
|
+
readonly type: "object";
|
|
916
|
+
readonly variable: true;
|
|
917
|
+
};
|
|
918
|
+
readonly created_at: {
|
|
919
|
+
readonly type: "string";
|
|
920
|
+
readonly format: "date-time";
|
|
4473
921
|
};
|
|
4474
922
|
};
|
|
4475
|
-
|
|
4476
|
-
readonly
|
|
4477
|
-
readonly
|
|
4478
|
-
}>>;
|
|
4479
|
-
readonly getActivationLink: (userId: import("bson").ObjectId) => Promise<string>;
|
|
4480
|
-
};
|
|
4481
|
-
accessControl: {
|
|
4482
|
-
readonly roles: {
|
|
4483
|
-
readonly root: {
|
|
4484
|
-
readonly grantEverything: true;
|
|
4485
|
-
};
|
|
4486
|
-
readonly guest: {
|
|
4487
|
-
readonly grant: readonly ["authenticate"];
|
|
4488
|
-
};
|
|
4489
|
-
};
|
|
923
|
+
readonly icon: "magnifying-glass";
|
|
924
|
+
readonly presets: readonly ["view"];
|
|
925
|
+
readonly filters: readonly ["context", "message", "owner"];
|
|
926
|
+
}, {}>, options?: import("@aeriajs/api").InsertOptions | undefined) => Promise<import("@aeriajs/types").Right<any> | import("@aeriajs/types").Left<import("@aeriajs/types").ACErrors | import("@aeriajs/types").ValidationError>>;
|
|
4490
927
|
};
|
|
4491
|
-
} & {
|
|
928
|
+
}>, "description" | "functions" | "item"> & {
|
|
4492
929
|
item: import("@aeriajs/types").SchemaWithId<{
|
|
4493
|
-
readonly $id: "
|
|
4494
|
-
readonly required: readonly ["
|
|
4495
|
-
readonly form: readonly ["name", "active", "roles", "email", "phone_number", "picture_file"];
|
|
4496
|
-
readonly indexes: readonly ["name"];
|
|
4497
|
-
readonly freshItem: {
|
|
4498
|
-
readonly active: true;
|
|
4499
|
-
};
|
|
930
|
+
readonly $id: "log";
|
|
931
|
+
readonly required: readonly ["context", "message"];
|
|
4500
932
|
readonly properties: {
|
|
4501
|
-
readonly
|
|
4502
|
-
readonly
|
|
4503
|
-
|
|
4504
|
-
readonly given_name: {
|
|
4505
|
-
readonly getter: (document: any) => string;
|
|
4506
|
-
};
|
|
4507
|
-
readonly family_name: {
|
|
4508
|
-
readonly getter: (document: any) => string;
|
|
4509
|
-
};
|
|
4510
|
-
readonly active: {
|
|
4511
|
-
readonly type: "boolean";
|
|
4512
|
-
};
|
|
4513
|
-
readonly roles: {
|
|
4514
|
-
readonly type: "array";
|
|
4515
|
-
readonly items: {
|
|
4516
|
-
readonly type: "string";
|
|
4517
|
-
};
|
|
4518
|
-
readonly uniqueItems: true;
|
|
933
|
+
readonly owner: {
|
|
934
|
+
readonly $ref: "user";
|
|
935
|
+
readonly noForm: true;
|
|
4519
936
|
};
|
|
4520
|
-
readonly
|
|
937
|
+
readonly context: {
|
|
4521
938
|
readonly type: "string";
|
|
4522
|
-
readonly inputType: "email";
|
|
4523
|
-
readonly unique: true;
|
|
4524
939
|
};
|
|
4525
|
-
readonly
|
|
940
|
+
readonly message: {
|
|
4526
941
|
readonly type: "string";
|
|
4527
|
-
readonly inputType: "password";
|
|
4528
|
-
readonly hidden: true;
|
|
4529
942
|
};
|
|
4530
|
-
readonly
|
|
943
|
+
readonly details: {
|
|
944
|
+
readonly type: "object";
|
|
945
|
+
readonly variable: true;
|
|
946
|
+
};
|
|
947
|
+
readonly created_at: {
|
|
4531
948
|
readonly type: "string";
|
|
4532
|
-
readonly
|
|
949
|
+
readonly format: "date-time";
|
|
4533
950
|
};
|
|
4534
|
-
|
|
4535
|
-
|
|
4536
|
-
|
|
951
|
+
};
|
|
952
|
+
readonly icon: "magnifying-glass";
|
|
953
|
+
readonly presets: readonly ["view"];
|
|
954
|
+
readonly filters: readonly ["context", "message", "owner"];
|
|
955
|
+
}>;
|
|
956
|
+
description: {
|
|
957
|
+
readonly $id: "log";
|
|
958
|
+
readonly required: readonly ["context", "message"];
|
|
959
|
+
readonly properties: {
|
|
960
|
+
readonly owner: {
|
|
961
|
+
readonly $ref: "user";
|
|
962
|
+
readonly noForm: true;
|
|
4537
963
|
};
|
|
4538
|
-
readonly
|
|
4539
|
-
readonly
|
|
964
|
+
readonly context: {
|
|
965
|
+
readonly type: "string";
|
|
4540
966
|
};
|
|
4541
|
-
readonly
|
|
967
|
+
readonly message: {
|
|
4542
968
|
readonly type: "string";
|
|
4543
969
|
};
|
|
4544
|
-
readonly
|
|
4545
|
-
readonly type: "
|
|
4546
|
-
readonly
|
|
970
|
+
readonly details: {
|
|
971
|
+
readonly type: "object";
|
|
972
|
+
readonly variable: true;
|
|
4547
973
|
};
|
|
4548
|
-
readonly
|
|
974
|
+
readonly created_at: {
|
|
4549
975
|
readonly type: "string";
|
|
4550
976
|
readonly format: "date-time";
|
|
4551
977
|
};
|
|
4552
978
|
};
|
|
4553
|
-
readonly
|
|
4554
|
-
readonly
|
|
4555
|
-
|
|
4556
|
-
|
|
4557
|
-
|
|
4558
|
-
|
|
4559
|
-
|
|
4560
|
-
|
|
4561
|
-
|
|
4562
|
-
|
|
979
|
+
readonly icon: "magnifying-glass";
|
|
980
|
+
readonly presets: readonly ["view"];
|
|
981
|
+
readonly filters: readonly ["context", "message", "owner"];
|
|
982
|
+
};
|
|
983
|
+
functions: {};
|
|
984
|
+
functionContracts: {};
|
|
985
|
+
};
|
|
986
|
+
resourceUsage: Omit<import("@aeriajs/types").Collection<{
|
|
987
|
+
description: {
|
|
988
|
+
readonly $id: "resourceUsage";
|
|
989
|
+
readonly required: readonly [];
|
|
990
|
+
readonly properties: {
|
|
991
|
+
readonly hits: {
|
|
992
|
+
readonly type: "integer";
|
|
993
|
+
};
|
|
994
|
+
readonly last_maximum_reach: {
|
|
995
|
+
readonly type: "string";
|
|
996
|
+
readonly format: "date-time";
|
|
4563
997
|
};
|
|
4564
998
|
};
|
|
4565
|
-
|
|
4566
|
-
|
|
4567
|
-
|
|
4568
|
-
|
|
999
|
+
};
|
|
1000
|
+
}>, "description" | "functions" | "item"> & {
|
|
1001
|
+
item: import("@aeriajs/types").SchemaWithId<{
|
|
1002
|
+
readonly $id: "resourceUsage";
|
|
1003
|
+
readonly required: readonly [];
|
|
1004
|
+
readonly properties: {
|
|
1005
|
+
readonly hits: {
|
|
1006
|
+
readonly type: "integer";
|
|
4569
1007
|
};
|
|
4570
|
-
readonly
|
|
4571
|
-
readonly
|
|
4572
|
-
readonly
|
|
4573
|
-
readonly fetchItem: true;
|
|
1008
|
+
readonly last_maximum_reach: {
|
|
1009
|
+
readonly type: "string";
|
|
1010
|
+
readonly format: "date-time";
|
|
4574
1011
|
};
|
|
4575
1012
|
};
|
|
4576
|
-
|
|
4577
|
-
|
|
4578
|
-
readonly
|
|
4579
|
-
readonly
|
|
4580
|
-
readonly
|
|
4581
|
-
readonly
|
|
4582
|
-
readonly
|
|
4583
|
-
|
|
4584
|
-
|
|
4585
|
-
readonly
|
|
4586
|
-
|
|
4587
|
-
};
|
|
1013
|
+
}>;
|
|
1014
|
+
description: {
|
|
1015
|
+
readonly $id: "resourceUsage";
|
|
1016
|
+
readonly required: readonly [];
|
|
1017
|
+
readonly properties: {
|
|
1018
|
+
readonly hits: {
|
|
1019
|
+
readonly type: "integer";
|
|
1020
|
+
};
|
|
1021
|
+
readonly last_maximum_reach: {
|
|
1022
|
+
readonly type: "string";
|
|
1023
|
+
readonly format: "date-time";
|
|
4588
1024
|
};
|
|
4589
1025
|
};
|
|
4590
|
-
}
|
|
1026
|
+
};
|
|
1027
|
+
functions: {};
|
|
1028
|
+
functionContracts: {};
|
|
1029
|
+
};
|
|
1030
|
+
user: {
|
|
4591
1031
|
description: {
|
|
4592
1032
|
readonly $id: "user";
|
|
4593
1033
|
readonly required: readonly ["name", "roles", "email"];
|
|
@@ -4667,126 +1107,28 @@ export declare const collections: {
|
|
|
4667
1107
|
readonly icon: "pencil";
|
|
4668
1108
|
};
|
|
4669
1109
|
readonly 'route:/dashboard/user/changepass': {
|
|
4670
|
-
readonly name: "Mudar senha";
|
|
4671
|
-
readonly icon: "key";
|
|
4672
|
-
readonly fetchItem: true;
|
|
4673
|
-
};
|
|
4674
|
-
};
|
|
4675
|
-
readonly icon: "users";
|
|
4676
|
-
readonly filters: readonly ["name", "roles", "email", "phone_number"];
|
|
4677
|
-
readonly table: readonly ["name", "roles", "picture_file", "active", "updated_at"];
|
|
4678
|
-
readonly tableMeta: readonly ["email"];
|
|
4679
|
-
readonly formLayout: {
|
|
4680
|
-
readonly fields: {
|
|
4681
|
-
readonly given_name: {
|
|
4682
|
-
readonly span: 3;
|
|
4683
|
-
};
|
|
4684
|
-
readonly family_name: {
|
|
4685
|
-
readonly span: 3;
|
|
4686
|
-
};
|
|
4687
|
-
};
|
|
4688
|
-
};
|
|
4689
|
-
};
|
|
4690
|
-
functions: {
|
|
4691
|
-
readonly get: (payload: import("@aeriajs/types").GetPayload<import("@aeriajs/types").SchemaWithId<{
|
|
4692
|
-
readonly $id: "user";
|
|
4693
|
-
readonly required: readonly ["name", "roles", "email"];
|
|
4694
|
-
readonly form: readonly ["name", "active", "roles", "email", "phone_number", "picture_file"];
|
|
4695
|
-
readonly indexes: readonly ["name"];
|
|
4696
|
-
readonly freshItem: {
|
|
4697
|
-
readonly active: true;
|
|
4698
|
-
};
|
|
4699
|
-
readonly properties: {
|
|
4700
|
-
readonly name: {
|
|
4701
|
-
readonly type: "string";
|
|
4702
|
-
};
|
|
4703
|
-
readonly given_name: {
|
|
4704
|
-
readonly getter: (document: any) => string;
|
|
4705
|
-
};
|
|
4706
|
-
readonly family_name: {
|
|
4707
|
-
readonly getter: (document: any) => string;
|
|
4708
|
-
};
|
|
4709
|
-
readonly active: {
|
|
4710
|
-
readonly type: "boolean";
|
|
4711
|
-
};
|
|
4712
|
-
readonly roles: {
|
|
4713
|
-
readonly type: "array";
|
|
4714
|
-
readonly items: {
|
|
4715
|
-
readonly type: "string";
|
|
4716
|
-
};
|
|
4717
|
-
readonly uniqueItems: true;
|
|
4718
|
-
};
|
|
4719
|
-
readonly email: {
|
|
4720
|
-
readonly type: "string";
|
|
4721
|
-
readonly inputType: "email";
|
|
4722
|
-
readonly unique: true;
|
|
4723
|
-
};
|
|
4724
|
-
readonly password: {
|
|
4725
|
-
readonly type: "string";
|
|
4726
|
-
readonly inputType: "password";
|
|
4727
|
-
readonly hidden: true;
|
|
4728
|
-
};
|
|
4729
|
-
readonly phone_number: {
|
|
4730
|
-
readonly type: "string";
|
|
4731
|
-
readonly mask: "(##) #####-####";
|
|
4732
|
-
};
|
|
4733
|
-
readonly picture_file: {
|
|
4734
|
-
readonly $ref: "file";
|
|
4735
|
-
readonly accept: readonly ["image/*"];
|
|
4736
|
-
};
|
|
4737
|
-
readonly picture: {
|
|
4738
|
-
readonly getter: (value: any) => any;
|
|
4739
|
-
};
|
|
4740
|
-
readonly group: {
|
|
4741
|
-
readonly type: "string";
|
|
4742
|
-
};
|
|
4743
|
-
readonly self_registered: {
|
|
4744
|
-
readonly type: "boolean";
|
|
4745
|
-
readonly readOnly: true;
|
|
4746
|
-
};
|
|
4747
|
-
readonly updated_at: {
|
|
4748
|
-
readonly type: "string";
|
|
4749
|
-
readonly format: "date-time";
|
|
4750
|
-
};
|
|
4751
|
-
};
|
|
4752
|
-
readonly presets: readonly ["crud", "view", "duplicate"];
|
|
4753
|
-
readonly layout: {
|
|
4754
|
-
readonly name: "grid";
|
|
4755
|
-
readonly options: {
|
|
4756
|
-
readonly title: "name";
|
|
4757
|
-
readonly badge: "roles";
|
|
4758
|
-
readonly picture: "picture_file";
|
|
4759
|
-
readonly information: "email";
|
|
4760
|
-
readonly active: "active";
|
|
4761
|
-
readonly translateBadge: true;
|
|
4762
|
-
};
|
|
1110
|
+
readonly name: "Mudar senha";
|
|
1111
|
+
readonly icon: "key";
|
|
1112
|
+
readonly fetchItem: true;
|
|
4763
1113
|
};
|
|
4764
|
-
|
|
4765
|
-
|
|
4766
|
-
|
|
4767
|
-
|
|
4768
|
-
|
|
4769
|
-
|
|
4770
|
-
|
|
4771
|
-
|
|
4772
|
-
readonly
|
|
1114
|
+
};
|
|
1115
|
+
readonly icon: "users";
|
|
1116
|
+
readonly filters: readonly ["name", "roles", "email", "phone_number"];
|
|
1117
|
+
readonly table: readonly ["name", "roles", "picture_file", "active", "updated_at"];
|
|
1118
|
+
readonly tableMeta: readonly ["email"];
|
|
1119
|
+
readonly formLayout: {
|
|
1120
|
+
readonly fields: {
|
|
1121
|
+
readonly given_name: {
|
|
1122
|
+
readonly span: 3;
|
|
4773
1123
|
};
|
|
4774
|
-
|
|
4775
|
-
|
|
4776
|
-
readonly filters: readonly ["name", "roles", "email", "phone_number"];
|
|
4777
|
-
readonly table: readonly ["name", "roles", "picture_file", "active", "updated_at"];
|
|
4778
|
-
readonly tableMeta: readonly ["email"];
|
|
4779
|
-
readonly formLayout: {
|
|
4780
|
-
readonly fields: {
|
|
4781
|
-
readonly given_name: {
|
|
4782
|
-
readonly span: 3;
|
|
4783
|
-
};
|
|
4784
|
-
readonly family_name: {
|
|
4785
|
-
readonly span: 3;
|
|
4786
|
-
};
|
|
1124
|
+
readonly family_name: {
|
|
1125
|
+
readonly span: 3;
|
|
4787
1126
|
};
|
|
4788
1127
|
};
|
|
4789
|
-
}
|
|
1128
|
+
};
|
|
1129
|
+
};
|
|
1130
|
+
functions: {
|
|
1131
|
+
readonly get: (payload: import("@aeriajs/types").GetPayload<import("@aeriajs/types").SchemaWithId<{
|
|
4790
1132
|
readonly $id: "user";
|
|
4791
1133
|
readonly required: readonly ["name", "roles", "email"];
|
|
4792
1134
|
readonly form: readonly ["name", "active", "roles", "email", "phone_number", "picture_file"];
|
|
@@ -4884,7 +1226,7 @@ export declare const collections: {
|
|
|
4884
1226
|
};
|
|
4885
1227
|
};
|
|
4886
1228
|
};
|
|
4887
|
-
}
|
|
1229
|
+
}>>, context: import("@aeriajs/types").Context<{
|
|
4888
1230
|
readonly $id: "user";
|
|
4889
1231
|
readonly required: readonly ["name", "roles", "email"];
|
|
4890
1232
|
readonly form: readonly ["name", "active", "roles", "email", "phone_number", "picture_file"];
|
|
@@ -4982,8 +1324,7 @@ export declare const collections: {
|
|
|
4982
1324
|
};
|
|
4983
1325
|
};
|
|
4984
1326
|
};
|
|
4985
|
-
}
|
|
4986
|
-
readonly getAll: (_payload: import("@aeriajs/types").GetAllPayload<import("@aeriajs/types").SchemaWithId<any>> | undefined, context: import("@aeriajs/types").Context<{
|
|
1327
|
+
}, any>, options?: import("@aeriajs/api").GetOptions | undefined) => Promise<import("@aeriajs/types").SchemaWithId<{
|
|
4987
1328
|
readonly $id: "user";
|
|
4988
1329
|
readonly required: readonly ["name", "roles", "email"];
|
|
4989
1330
|
readonly form: readonly ["name", "active", "roles", "email", "phone_number", "picture_file"];
|
|
@@ -5081,7 +1422,8 @@ export declare const collections: {
|
|
|
5081
1422
|
};
|
|
5082
1423
|
};
|
|
5083
1424
|
};
|
|
5084
|
-
}
|
|
1425
|
+
}> | null>;
|
|
1426
|
+
readonly getAll: (_payload: import("@aeriajs/types").GetAllPayload<import("@aeriajs/types").SchemaWithId<any>> | undefined, context: import("@aeriajs/types").Context<{
|
|
5085
1427
|
readonly $id: "user";
|
|
5086
1428
|
readonly required: readonly ["name", "roles", "email"];
|
|
5087
1429
|
readonly form: readonly ["name", "active", "roles", "email", "phone_number", "picture_file"];
|
|
@@ -5179,8 +1521,7 @@ export declare const collections: {
|
|
|
5179
1521
|
};
|
|
5180
1522
|
};
|
|
5181
1523
|
};
|
|
5182
|
-
}
|
|
5183
|
-
readonly remove: (payload: import("@aeriajs/types").RemovePayload<import("@aeriajs/types").SchemaWithId<{
|
|
1524
|
+
}, any>, options?: import("@aeriajs/api").GetAllOptions | undefined) => Promise<import("@aeriajs/types").SchemaWithId<{
|
|
5184
1525
|
readonly $id: "user";
|
|
5185
1526
|
readonly required: readonly ["name", "roles", "email"];
|
|
5186
1527
|
readonly form: readonly ["name", "active", "roles", "email", "phone_number", "picture_file"];
|
|
@@ -5278,7 +1619,8 @@ export declare const collections: {
|
|
|
5278
1619
|
};
|
|
5279
1620
|
};
|
|
5280
1621
|
};
|
|
5281
|
-
}
|
|
1622
|
+
}>[]>;
|
|
1623
|
+
readonly remove: (payload: import("@aeriajs/types").RemovePayload<import("@aeriajs/types").SchemaWithId<{
|
|
5282
1624
|
readonly $id: "user";
|
|
5283
1625
|
readonly required: readonly ["name", "roles", "email"];
|
|
5284
1626
|
readonly form: readonly ["name", "active", "roles", "email", "phone_number", "picture_file"];
|
|
@@ -5376,8 +1718,7 @@ export declare const collections: {
|
|
|
5376
1718
|
};
|
|
5377
1719
|
};
|
|
5378
1720
|
};
|
|
5379
|
-
}
|
|
5380
|
-
readonly upload: (_props: unknown, context: import("@aeriajs/types").Context<{
|
|
1721
|
+
}>>, context: import("@aeriajs/types").Context<{
|
|
5381
1722
|
readonly $id: "user";
|
|
5382
1723
|
readonly required: readonly ["name", "roles", "email"];
|
|
5383
1724
|
readonly form: readonly ["name", "active", "roles", "email", "phone_number", "picture_file"];
|
|
@@ -5475,7 +1816,8 @@ export declare const collections: {
|
|
|
5475
1816
|
};
|
|
5476
1817
|
};
|
|
5477
1818
|
};
|
|
5478
|
-
}>) => Promise<
|
|
1819
|
+
}, any>) => Promise<any>;
|
|
1820
|
+
readonly upload: <TContext extends import("@aeriajs/types").Context>(_props: unknown, context: TContext) => Promise<import("@aeriajs/types").Left<import("@aeriajs/types").ValidationError | import("@aeriajs/types").PropertyValidationError> | {
|
|
5479
1821
|
tempId: any;
|
|
5480
1822
|
}>;
|
|
5481
1823
|
readonly removeFile: (payload: import("@aeriajs/types").RemoveFilePayload, context: import("@aeriajs/types").Context<{
|
|
@@ -5576,7 +1918,7 @@ export declare const collections: {
|
|
|
5576
1918
|
};
|
|
5577
1919
|
};
|
|
5578
1920
|
};
|
|
5579
|
-
}>) => Promise<any>;
|
|
1921
|
+
}, any>) => Promise<any>;
|
|
5580
1922
|
readonly insert: (payload: {
|
|
5581
1923
|
what: Omit<import("@aeriajs/types").PackReferences<import("@aeriajs/types").SchemaWithId<{
|
|
5582
1924
|
readonly $id: "user";
|
|
@@ -6528,29 +2870,219 @@ export declare const collections: {
|
|
|
6528
2870
|
}>>;
|
|
6529
2871
|
readonly getActivationLink: (userId: import("bson").ObjectId) => Promise<string>;
|
|
6530
2872
|
};
|
|
6531
|
-
functionContracts: Partial<{
|
|
6532
|
-
readonly get: import("@aeriajs/types").Contract;
|
|
6533
|
-
readonly getAll: import("@aeriajs/types").Contract;
|
|
6534
|
-
readonly remove: import("@aeriajs/types").Contract;
|
|
6535
|
-
readonly upload: import("@aeriajs/types").Contract;
|
|
6536
|
-
readonly removeFile: import("@aeriajs/types").Contract;
|
|
6537
|
-
readonly insert: import("@aeriajs/types").Contract;
|
|
6538
|
-
readonly authenticate: import("@aeriajs/types").Contract;
|
|
6539
|
-
readonly activate: import("@aeriajs/types").Contract;
|
|
6540
|
-
readonly createAccount: import("@aeriajs/types").Contract;
|
|
6541
|
-
readonly getInfo: import("@aeriajs/types").Contract;
|
|
6542
|
-
readonly getActivationLink: import("@aeriajs/types").Contract;
|
|
6543
|
-
}>;
|
|
6544
2873
|
accessControl: {
|
|
6545
|
-
|
|
6546
|
-
|
|
6547
|
-
|
|
2874
|
+
roles: {
|
|
2875
|
+
root: {
|
|
2876
|
+
grantEverything: true;
|
|
2877
|
+
};
|
|
2878
|
+
guest: {
|
|
2879
|
+
grant: "authenticate"[];
|
|
2880
|
+
};
|
|
2881
|
+
};
|
|
2882
|
+
};
|
|
2883
|
+
} & {
|
|
2884
|
+
item: import("@aeriajs/types").SchemaWithId<{
|
|
2885
|
+
readonly $id: "user";
|
|
2886
|
+
readonly required: readonly ["name", "roles", "email"];
|
|
2887
|
+
readonly form: readonly ["name", "active", "roles", "email", "phone_number", "picture_file"];
|
|
2888
|
+
readonly indexes: readonly ["name"];
|
|
2889
|
+
readonly freshItem: {
|
|
2890
|
+
readonly active: true;
|
|
2891
|
+
};
|
|
2892
|
+
readonly properties: {
|
|
2893
|
+
readonly name: {
|
|
2894
|
+
readonly type: "string";
|
|
2895
|
+
};
|
|
2896
|
+
readonly given_name: {
|
|
2897
|
+
readonly getter: (document: any) => string;
|
|
2898
|
+
};
|
|
2899
|
+
readonly family_name: {
|
|
2900
|
+
readonly getter: (document: any) => string;
|
|
2901
|
+
};
|
|
2902
|
+
readonly active: {
|
|
2903
|
+
readonly type: "boolean";
|
|
2904
|
+
};
|
|
2905
|
+
readonly roles: {
|
|
2906
|
+
readonly type: "array";
|
|
2907
|
+
readonly items: {
|
|
2908
|
+
readonly type: "string";
|
|
2909
|
+
};
|
|
2910
|
+
readonly uniqueItems: true;
|
|
2911
|
+
};
|
|
2912
|
+
readonly email: {
|
|
2913
|
+
readonly type: "string";
|
|
2914
|
+
readonly inputType: "email";
|
|
2915
|
+
readonly unique: true;
|
|
2916
|
+
};
|
|
2917
|
+
readonly password: {
|
|
2918
|
+
readonly type: "string";
|
|
2919
|
+
readonly inputType: "password";
|
|
2920
|
+
readonly hidden: true;
|
|
2921
|
+
};
|
|
2922
|
+
readonly phone_number: {
|
|
2923
|
+
readonly type: "string";
|
|
2924
|
+
readonly mask: "(##) #####-####";
|
|
2925
|
+
};
|
|
2926
|
+
readonly picture_file: {
|
|
2927
|
+
readonly $ref: "file";
|
|
2928
|
+
readonly accept: readonly ["image/*"];
|
|
2929
|
+
};
|
|
2930
|
+
readonly picture: {
|
|
2931
|
+
readonly getter: (value: any) => any;
|
|
2932
|
+
};
|
|
2933
|
+
readonly group: {
|
|
2934
|
+
readonly type: "string";
|
|
2935
|
+
};
|
|
2936
|
+
readonly self_registered: {
|
|
2937
|
+
readonly type: "boolean";
|
|
2938
|
+
readonly readOnly: true;
|
|
2939
|
+
};
|
|
2940
|
+
readonly updated_at: {
|
|
2941
|
+
readonly type: "string";
|
|
2942
|
+
readonly format: "date-time";
|
|
2943
|
+
};
|
|
2944
|
+
};
|
|
2945
|
+
readonly presets: readonly ["crud", "view", "duplicate"];
|
|
2946
|
+
readonly layout: {
|
|
2947
|
+
readonly name: "grid";
|
|
2948
|
+
readonly options: {
|
|
2949
|
+
readonly title: "name";
|
|
2950
|
+
readonly badge: "roles";
|
|
2951
|
+
readonly picture: "picture_file";
|
|
2952
|
+
readonly information: "email";
|
|
2953
|
+
readonly active: "active";
|
|
2954
|
+
readonly translateBadge: true;
|
|
2955
|
+
};
|
|
2956
|
+
};
|
|
2957
|
+
readonly individualActions: {
|
|
2958
|
+
readonly 'ui:spawnEdit': {
|
|
2959
|
+
readonly name: "Editar";
|
|
2960
|
+
readonly icon: "pencil";
|
|
2961
|
+
};
|
|
2962
|
+
readonly 'route:/dashboard/user/changepass': {
|
|
2963
|
+
readonly name: "Mudar senha";
|
|
2964
|
+
readonly icon: "key";
|
|
2965
|
+
readonly fetchItem: true;
|
|
2966
|
+
};
|
|
2967
|
+
};
|
|
2968
|
+
readonly icon: "users";
|
|
2969
|
+
readonly filters: readonly ["name", "roles", "email", "phone_number"];
|
|
2970
|
+
readonly table: readonly ["name", "roles", "picture_file", "active", "updated_at"];
|
|
2971
|
+
readonly tableMeta: readonly ["email"];
|
|
2972
|
+
readonly formLayout: {
|
|
2973
|
+
readonly fields: {
|
|
2974
|
+
readonly given_name: {
|
|
2975
|
+
readonly span: 3;
|
|
2976
|
+
};
|
|
2977
|
+
readonly family_name: {
|
|
2978
|
+
readonly span: 3;
|
|
2979
|
+
};
|
|
2980
|
+
};
|
|
2981
|
+
};
|
|
2982
|
+
}>;
|
|
2983
|
+
description: {
|
|
2984
|
+
readonly $id: "user";
|
|
2985
|
+
readonly required: readonly ["name", "roles", "email"];
|
|
2986
|
+
readonly form: readonly ["name", "active", "roles", "email", "phone_number", "picture_file"];
|
|
2987
|
+
readonly indexes: readonly ["name"];
|
|
2988
|
+
readonly freshItem: {
|
|
2989
|
+
readonly active: true;
|
|
2990
|
+
};
|
|
2991
|
+
readonly properties: {
|
|
2992
|
+
readonly name: {
|
|
2993
|
+
readonly type: "string";
|
|
2994
|
+
};
|
|
2995
|
+
readonly given_name: {
|
|
2996
|
+
readonly getter: (document: any) => string;
|
|
2997
|
+
};
|
|
2998
|
+
readonly family_name: {
|
|
2999
|
+
readonly getter: (document: any) => string;
|
|
3000
|
+
};
|
|
3001
|
+
readonly active: {
|
|
3002
|
+
readonly type: "boolean";
|
|
3003
|
+
};
|
|
3004
|
+
readonly roles: {
|
|
3005
|
+
readonly type: "array";
|
|
3006
|
+
readonly items: {
|
|
3007
|
+
readonly type: "string";
|
|
3008
|
+
};
|
|
3009
|
+
readonly uniqueItems: true;
|
|
3010
|
+
};
|
|
3011
|
+
readonly email: {
|
|
3012
|
+
readonly type: "string";
|
|
3013
|
+
readonly inputType: "email";
|
|
3014
|
+
readonly unique: true;
|
|
3015
|
+
};
|
|
3016
|
+
readonly password: {
|
|
3017
|
+
readonly type: "string";
|
|
3018
|
+
readonly inputType: "password";
|
|
3019
|
+
readonly hidden: true;
|
|
3020
|
+
};
|
|
3021
|
+
readonly phone_number: {
|
|
3022
|
+
readonly type: "string";
|
|
3023
|
+
readonly mask: "(##) #####-####";
|
|
3024
|
+
};
|
|
3025
|
+
readonly picture_file: {
|
|
3026
|
+
readonly $ref: "file";
|
|
3027
|
+
readonly accept: readonly ["image/*"];
|
|
3028
|
+
};
|
|
3029
|
+
readonly picture: {
|
|
3030
|
+
readonly getter: (value: any) => any;
|
|
3031
|
+
};
|
|
3032
|
+
readonly group: {
|
|
3033
|
+
readonly type: "string";
|
|
3034
|
+
};
|
|
3035
|
+
readonly self_registered: {
|
|
3036
|
+
readonly type: "boolean";
|
|
3037
|
+
readonly readOnly: true;
|
|
3038
|
+
};
|
|
3039
|
+
readonly updated_at: {
|
|
3040
|
+
readonly type: "string";
|
|
3041
|
+
readonly format: "date-time";
|
|
3042
|
+
};
|
|
3043
|
+
};
|
|
3044
|
+
readonly presets: readonly ["crud", "view", "duplicate"];
|
|
3045
|
+
readonly layout: {
|
|
3046
|
+
readonly name: "grid";
|
|
3047
|
+
readonly options: {
|
|
3048
|
+
readonly title: "name";
|
|
3049
|
+
readonly badge: "roles";
|
|
3050
|
+
readonly picture: "picture_file";
|
|
3051
|
+
readonly information: "email";
|
|
3052
|
+
readonly active: "active";
|
|
3053
|
+
readonly translateBadge: true;
|
|
3054
|
+
};
|
|
3055
|
+
};
|
|
3056
|
+
readonly individualActions: {
|
|
3057
|
+
readonly 'ui:spawnEdit': {
|
|
3058
|
+
readonly name: "Editar";
|
|
3059
|
+
readonly icon: "pencil";
|
|
3060
|
+
};
|
|
3061
|
+
readonly 'route:/dashboard/user/changepass': {
|
|
3062
|
+
readonly name: "Mudar senha";
|
|
3063
|
+
readonly icon: "key";
|
|
3064
|
+
readonly fetchItem: true;
|
|
6548
3065
|
};
|
|
6549
|
-
|
|
6550
|
-
|
|
3066
|
+
};
|
|
3067
|
+
readonly icon: "users";
|
|
3068
|
+
readonly filters: readonly ["name", "roles", "email", "phone_number"];
|
|
3069
|
+
readonly table: readonly ["name", "roles", "picture_file", "active", "updated_at"];
|
|
3070
|
+
readonly tableMeta: readonly ["email"];
|
|
3071
|
+
readonly formLayout: {
|
|
3072
|
+
readonly fields: {
|
|
3073
|
+
readonly given_name: {
|
|
3074
|
+
readonly span: 3;
|
|
3075
|
+
};
|
|
3076
|
+
readonly family_name: {
|
|
3077
|
+
readonly span: 3;
|
|
3078
|
+
};
|
|
6551
3079
|
};
|
|
6552
3080
|
};
|
|
6553
3081
|
};
|
|
3082
|
+
functions: any;
|
|
3083
|
+
functionContracts: {
|
|
3084
|
+
[x: string]: import("@aeriajs/types").Contract;
|
|
3085
|
+
};
|
|
6554
3086
|
};
|
|
6555
3087
|
};
|
|
6556
3088
|
export type { File, TempFile, Log, ResourceUsage, User, };
|