@ienlab/cloud-functions-library 1.0.0-dev.17 → 1.0.0-dev.18

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.
@@ -8,7 +8,7 @@ export type PrimitiveMap = {
8
8
  /**
9
9
  * "string" | "number | null" 같은 문자열을 실제 타입으로 변환
10
10
  */
11
- export type ParseType<T extends string> = T extends keyof PrimitiveMap ? PrimitiveMap[T] : T extends `${infer A} | ${infer B}` ? ParseType<A> | ParseType<B> : never;
11
+ export type ParseType<T extends string> = T extends keyof PrimitiveMap ? PrimitiveMap[T] : T extends `${infer A}[]` ? ParseType<A>[] : T extends `${infer A} | ${infer B}` ? ParseType<A> | ParseType<B> : never;
12
12
  export type SchemaRecord = {
13
13
  /** 실제 Cloud Function 이름 (배포되는 이름) */
14
14
  name: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ienlab/cloud-functions-library",
3
- "version": "1.0.0-dev.17",
3
+ "version": "1.0.0-dev.18",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",