@mxpicture/gcp-functions-common 0.1.102 → 0.2.0

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.
@@ -1,4 +1,4 @@
1
- import { RoutesMap } from "@mxpicture/gcp-functions-common/types";
1
+ import { RoutesMap } from "./types.routes.js";
2
2
  export interface FunctionRequest<DOC> {
3
3
  route: string;
4
4
  data: DOC;
@@ -102,6 +102,8 @@ export type MetaNamesMap = Record<string, string>;
102
102
  export type WithMap<R extends MetaNamesMap> = R;
103
103
  export type MetaNamesNoTarget = WithMap<{
104
104
  basename: string;
105
+ basenameLower: string;
106
+ basenameUpper: string;
105
107
  template: string;
106
108
  doc: string;
107
109
  routes: string;
@@ -20,6 +20,8 @@ export const withoutBaseIgnoreValues = [
20
20
  export const withoutTypeIgnoreValues = ["type"];
21
21
  const metaNameDummy = {
22
22
  basename: "",
23
+ basenameLower: "",
24
+ basenameUpper: "",
23
25
  template: "",
24
26
  doc: "",
25
27
  routes: "",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mxpicture/gcp-functions-common",
3
- "version": "0.1.102",
3
+ "version": "0.2.0",
4
4
  "description": "Utils for google cloud functions, publishing both CommonJS and ESM builds",
5
5
  "type": "module",
6
6
  "author": "MXPicture",