my-q-format-response-aws-lambda 1.0.58 → 1.0.59
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/index.ts +15 -27
- package/package.json +1 -1
package/index.ts
CHANGED
|
@@ -735,7 +735,7 @@ export const parseMessageResponse = (message: string, separator: string = '__'):
|
|
|
735
735
|
|
|
736
736
|
// CREATE
|
|
737
737
|
export interface TEntityInputCreate<M> {
|
|
738
|
-
|
|
738
|
+
values: M
|
|
739
739
|
}
|
|
740
740
|
|
|
741
741
|
// GET LIST
|
|
@@ -746,44 +746,32 @@ export interface TEntityInputGetList<F, S> {
|
|
|
746
746
|
paging: TMongoPaginate
|
|
747
747
|
}
|
|
748
748
|
|
|
749
|
-
//
|
|
750
|
-
export interface
|
|
749
|
+
// ONE BY ID
|
|
750
|
+
export interface TEntityInputOneByID {
|
|
751
751
|
id: string
|
|
752
752
|
}
|
|
753
753
|
|
|
754
|
-
//
|
|
755
|
-
export interface
|
|
754
|
+
// MANY BY IDs
|
|
755
|
+
export interface TEntityInputManyByIDs {
|
|
756
756
|
ids: string[]
|
|
757
757
|
}
|
|
758
758
|
|
|
759
|
-
//
|
|
760
|
-
export interface
|
|
759
|
+
// VALUES ONE BY ID
|
|
760
|
+
export interface TEntityInputValuesOneByID<M> {
|
|
761
761
|
id: string
|
|
762
|
-
|
|
762
|
+
values: M
|
|
763
763
|
}
|
|
764
764
|
|
|
765
|
-
//
|
|
766
|
-
export interface
|
|
767
|
-
ids: string[]
|
|
768
|
-
data: M
|
|
769
|
-
}
|
|
770
|
-
|
|
771
|
-
// DELETE ONE BY ID
|
|
772
|
-
export interface TEntityInputDeleteOneByID {
|
|
773
|
-
id: string
|
|
774
|
-
}
|
|
775
|
-
|
|
776
|
-
// DELETE MANY BY IDs
|
|
777
|
-
export interface TEntityInputDeleteManyByIDs {
|
|
765
|
+
// VALUES MANY BY IDs
|
|
766
|
+
export interface TEntityInputValuesManyByIDs<M> {
|
|
778
767
|
ids: string[]
|
|
768
|
+
values: M
|
|
779
769
|
}
|
|
780
770
|
|
|
781
771
|
export type TEntityInput =
|
|
782
772
|
| TEntityInputCreate<any>
|
|
783
773
|
| TEntityInputGetList<any, any>
|
|
784
|
-
|
|
|
785
|
-
|
|
|
786
|
-
|
|
|
787
|
-
|
|
|
788
|
-
| TEntityInputDeleteOneByID
|
|
789
|
-
| TEntityInputDeleteManyByIDs
|
|
774
|
+
| TEntityInputOneByID
|
|
775
|
+
| TEntityInputValuesOneByID<any>
|
|
776
|
+
| TEntityInputManyByIDs
|
|
777
|
+
| TEntityInputValuesManyByIDs<any>
|
package/package.json
CHANGED