@beautinique/backend-types 1.0.3 → 1.0.4

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.
package/dist/index.cjs CHANGED
@@ -1,4 +1,14 @@
1
1
  'use strict';
2
2
 
3
+ var sharedTypes = require('@beautinique/shared-types');
4
+
5
+
6
+
7
+ Object.keys(sharedTypes).forEach(function (k) {
8
+ if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
9
+ enumerable: true,
10
+ get: function () { return sharedTypes[k]; }
11
+ });
12
+ });
3
13
  //# sourceMappingURL=index.cjs.map
4
14
  //# sourceMappingURL=index.cjs.map
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"index.cjs"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.cjs","sourcesContent":[]}
package/dist/index.d.cts CHANGED
@@ -1,5 +1,3 @@
1
- import { TZodInfer, folderZodSchema } from '@beautinique/backend-zod';
2
-
3
- type TFolderZodSchema = TZodInfer<typeof folderZodSchema>;
4
-
5
- export type { TFolderZodSchema };
1
+ export * from '@beautinique/shared-types';
2
+ export * from './media-service/index.js';
3
+ //# sourceMappingURL=index.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.cts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC"}
package/dist/index.d.ts CHANGED
@@ -1,5 +1,3 @@
1
- import { TZodInfer, folderZodSchema } from '@beautinique/backend-zod';
2
-
3
- type TFolderZodSchema = TZodInfer<typeof folderZodSchema>;
4
-
5
- export type { TFolderZodSchema };
1
+ export * from '@beautinique/shared-types';
2
+ export * from './media-service/index.js';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC"}
package/dist/index.js CHANGED
@@ -1,3 +1,3 @@
1
-
1
+ export * from '@beautinique/shared-types';
2
2
  //# sourceMappingURL=index.js.map
3
3
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
1
+ {"version":3,"sources":[],"names":[],"mappings":"","file":"index.js","sourcesContent":[]}
@@ -0,0 +1,3 @@
1
+ import type { folderZodSchema, TZodInfer } from '@beautinique/backend-zod';
2
+ export type TFolderZodSchema = TZodInfer<typeof folderZodSchema>;
3
+ //# sourceMappingURL=index.d.cts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.cts","sourceRoot":"","sources":["../../src/media-service/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAE3E,MAAM,MAAM,gBAAgB,GAAG,SAAS,CAAC,OAAO,eAAe,CAAC,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { folderZodSchema, TZodInfer } from '@beautinique/backend-zod';
2
+ export type TFolderZodSchema = TZodInfer<typeof folderZodSchema>;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/media-service/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,0BAA0B,CAAC;AAE3E,MAAM,MAAM,gBAAgB,GAAG,SAAS,CAAC,OAAO,eAAe,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@beautinique/backend-types",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "Backend types for Beautinique project.",
5
5
  "keywords": [
6
6
  "backend",
@@ -38,6 +38,7 @@
38
38
  },
39
39
  "scripts": {
40
40
  "build": "tsup",
41
+ "postbuild": "node ../../../scripts/build-types/index.mjs",
41
42
  "dev": "tsup --watch",
42
43
  "lint": "eslint .",
43
44
  "typecheck": "tsc --noEmit"
@@ -49,10 +50,11 @@
49
50
  "node": ">=24"
50
51
  },
51
52
  "devDependencies": {
52
- "@beautinique/backend-zod": "^1.0.2",
53
+ "@beautinique/backend-zod": "^1.0.9",
53
54
  "typescript": "^6.0.3"
54
55
  },
55
56
  "peerDependencies": {
56
- "@beautinique/backend-zod": "^1.0.2"
57
+ "@beautinique/backend-zod": "^1.0.9",
58
+ "@beautinique/shared-types": "^1.0.6"
57
59
  }
58
60
  }