@mxpicture/gcp-functions-common 1.3.49 → 1.3.51
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.
|
@@ -36,7 +36,7 @@ export type DocumentKeyAdmin = DocumentKey & DocumentAdmin;
|
|
|
36
36
|
*
|
|
37
37
|
* @typeParam DTO - The base document data type.
|
|
38
38
|
*/
|
|
39
|
-
export type CreateInput<DTO extends
|
|
39
|
+
export type CreateInput<DTO extends DocumentData> = Omit<DTO, keyof DocumentKeyAdmin>;
|
|
40
40
|
/**
|
|
41
41
|
* Input payload for update operations.
|
|
42
42
|
*
|
|
@@ -45,5 +45,5 @@ export type CreateInput<DTO extends DocumentKeyAdmin> = Omit<DTO, keyof Document
|
|
|
45
45
|
*
|
|
46
46
|
* @typeParam DTO - The base document data type.
|
|
47
47
|
*/
|
|
48
|
-
export type UpdateInput<DTO extends
|
|
48
|
+
export type UpdateInput<DTO extends DocumentData> = DocumentKey & Partial<CreateInput<DTO>>;
|
|
49
49
|
//# sourceMappingURL=types.document.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.document.d.ts","sourceRoot":"","sources":["../../src/types/types.document.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,MAAM,kBAAkB,GAAG,GAAG,CAAC;AAErC;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG;IAAE,CAAC,KAAK,EAAE,MAAM,GAAG,kBAAkB,CAAA;CAAE,CAAC;AAEnE;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B,kCAAkC;IAClC,EAAE,EAAE,MAAM,CAAC;CACZ;AAED;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,+CAA+C;IAC/C,UAAU,CAAC,EAAE,IAAI,CAAC;IAClB,2CAA2C;IAC3C,UAAU,CAAC,EAAE,IAAI,CAAC;CACnB;AAED;;;GAGG;AACH,MAAM,MAAM,gBAAgB,GAAG,WAAW,GAAG,aAAa,CAAC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