@mxpicture/gcp-functions-common 0.1.99 → 0.1.100

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.
@@ -23,6 +23,7 @@ export type MetaHeadOptions = Partial<WithMainDecoratorMap<WithoutBase<MetaHeadB
23
23
  export type MetaRoutes = Record<string, MetaRouteParams>;
24
24
  export interface MetaHeadData {
25
25
  templateName: string;
26
+ prefix?: string;
26
27
  title: string;
27
28
  inputFilePath: string;
28
29
  repoInputFilePath: string;
@@ -32,6 +32,7 @@ export interface MetaImport {
32
32
  }
33
33
  export interface MetaHeadInterfaceOptions extends MetaHeadBaseOptions {
34
34
  type: MetaHeadType.mainInterface;
35
+ prefix?: string;
35
36
  routes: Record<string, MetaRouteParams> | {
36
37
  crud?: boolean;
37
38
  };
@@ -110,6 +111,7 @@ export type MetaNamesNoTarget = WithMap<{
110
111
  shape: string;
111
112
  schema: string;
112
113
  annotations: string;
114
+ functionName: string;
113
115
  }>;
114
116
  export interface MetaNames extends MetaNamesNoTarget {
115
117
  targetType: MetaTargetType;
@@ -29,5 +29,6 @@ const metaNameDummy = {
29
29
  shape: "",
30
30
  schema: "",
31
31
  annotations: "",
32
+ functionName: "",
32
33
  };
33
34
  export const metaNameProperties = Object.keys(metaNameDummy);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mxpicture/gcp-functions-common",
3
- "version": "0.1.99",
3
+ "version": "0.1.100",
4
4
  "description": "Utils for google cloud functions, publishing both CommonJS and ESM builds",
5
5
  "type": "module",
6
6
  "author": "MXPicture",