@mxpicture/gcp-functions-common 0.2.29 → 0.2.30

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.
@@ -0,0 +1,3 @@
1
+ import { AnnotationsHeader, AnnotationsProperty } from "../types/types.annotation.js";
2
+ export declare const annoPropertyTitle: (propertyKey: string, headerOrProps: AnnotationsHeader | AnnotationsProperty[]) => string;
3
+ //# sourceMappingURL=helper.annotation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"helper.annotation.d.ts","sourceRoot":"","sources":["../../src/helper/helper.annotation.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iBAAiB,EACjB,mBAAmB,EACpB,MAAM,8BAA8B,CAAC;AAEtC,eAAO,MAAM,iBAAiB,GAC5B,aAAa,MAAM,EACnB,eAAe,iBAAiB,GAAG,mBAAmB,EAAE,KACvD,MASF,CAAC"}
@@ -0,0 +1,8 @@
1
+ export const annoPropertyTitle = (propertyKey, headerOrProps) => {
2
+ const properties = Array.isArray(headerOrProps)
3
+ ? headerOrProps
4
+ : headerOrProps.properties;
5
+ return (properties.find((prop) => prop.propertyKey == propertyKey)?.title ??
6
+ propertyKey);
7
+ };
8
+ //# sourceMappingURL=helper.annotation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"helper.annotation.js","sourceRoot":"","sources":["../../src/helper/helper.annotation.ts"],"names":[],"mappings":"AAKA,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAC/B,WAAmB,EACnB,aAAwD,EAChD,EAAE;IACV,MAAM,UAAU,GAA0B,KAAK,CAAC,OAAO,CAAC,aAAa,CAAC;QACpE,CAAC,CAAC,aAAa;QACf,CAAC,CAAC,aAAa,CAAC,UAAU,CAAC;IAE7B,OAAO,CACL,UAAU,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,WAAW,IAAI,WAAW,CAAC,EAAE,KAAK;QACjE,WAAW,CACZ,CAAC;AACJ,CAAC,CAAC"}
@@ -1,3 +1,4 @@
1
+ export * from "./helper.annotation.js";
1
2
  export * from "./helper.document.js";
2
3
  export * from "./helper.object.js";
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/helper/index.ts"],"names":[],"mappings":"AACA,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/helper/index.ts"],"names":[],"mappings":"AACA,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC"}
@@ -1,4 +1,5 @@
1
1
  // This file is auto-generated by build-cli. Do not edit manually.
2
+ export * from "./helper.annotation.js";
2
3
  export * from "./helper.document.js";
3
4
  export * from "./helper.object.js";
4
5
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/helper/index.ts"],"names":[],"mappings":"AAAA,kEAAkE;AAClE,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/helper/index.ts"],"names":[],"mappings":"AAAA,kEAAkE;AAClE,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mxpicture/gcp-functions-common",
3
- "version": "0.2.29",
3
+ "version": "0.2.30",
4
4
  "description": "Utils for google cloud functions, publishing both CommonJS and ESM builds",
5
5
  "type": "module",
6
6
  "author": "MXPicture",