@saasmakers/shared 0.1.3 → 0.1.7

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.d.cts CHANGED
@@ -7,6 +7,12 @@ interface Emoji {
7
7
  keywords: Record<Locale, [string, ...string[]]>
8
8
  }
9
9
 
10
+ interface LocaleTestToRemove {
11
+ en: string
12
+ fr: string
13
+ ja: string
14
+ }
15
+
10
16
  declare const emojis: {
11
17
  category: string;
12
18
  emojis: Emoji[];
@@ -15,5 +21,13 @@ declare const emojis: {
15
21
  declare const environments: Environment[];
16
22
  declare const logLevels: LogLevel[];
17
23
 
24
+ type Assert<T extends true> = T
25
+
26
+ type IsEqual<A, B>
27
+ = (<T>() => T extends A ? 1 : 2) extends
28
+ (<T>() => T extends B ? 1 : 2)
29
+ ? true
30
+ : false
31
+
18
32
  export { emojis, environments, logLevels };
19
- export type { Emoji, Environment, LogLevel };
33
+ export type { Assert, Emoji, Environment, IsEqual, LocaleTestToRemove, LogLevel };
package/dist/index.d.mts CHANGED
@@ -7,6 +7,12 @@ interface Emoji {
7
7
  keywords: Record<Locale, [string, ...string[]]>
8
8
  }
9
9
 
10
+ interface LocaleTestToRemove {
11
+ en: string
12
+ fr: string
13
+ ja: string
14
+ }
15
+
10
16
  declare const emojis: {
11
17
  category: string;
12
18
  emojis: Emoji[];
@@ -15,5 +21,13 @@ declare const emojis: {
15
21
  declare const environments: Environment[];
16
22
  declare const logLevels: LogLevel[];
17
23
 
24
+ type Assert<T extends true> = T
25
+
26
+ type IsEqual<A, B>
27
+ = (<T>() => T extends A ? 1 : 2) extends
28
+ (<T>() => T extends B ? 1 : 2)
29
+ ? true
30
+ : false
31
+
18
32
  export { emojis, environments, logLevels };
19
- export type { Emoji, Environment, LogLevel };
33
+ export type { Assert, Emoji, Environment, IsEqual, LocaleTestToRemove, LogLevel };
package/dist/index.d.ts CHANGED
@@ -7,6 +7,12 @@ interface Emoji {
7
7
  keywords: Record<Locale, [string, ...string[]]>
8
8
  }
9
9
 
10
+ interface LocaleTestToRemove {
11
+ en: string
12
+ fr: string
13
+ ja: string
14
+ }
15
+
10
16
  declare const emojis: {
11
17
  category: string;
12
18
  emojis: Emoji[];
@@ -15,5 +21,13 @@ declare const emojis: {
15
21
  declare const environments: Environment[];
16
22
  declare const logLevels: LogLevel[];
17
23
 
24
+ type Assert<T extends true> = T
25
+
26
+ type IsEqual<A, B>
27
+ = (<T>() => T extends A ? 1 : 2) extends
28
+ (<T>() => T extends B ? 1 : 2)
29
+ ? true
30
+ : false
31
+
18
32
  export { emojis, environments, logLevels };
19
- export type { Emoji, Environment, LogLevel };
33
+ export type { Assert, Emoji, Environment, IsEqual, LocaleTestToRemove, LogLevel };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@saasmakers/shared",
3
3
  "type": "module",
4
- "version": "0.1.3",
4
+ "version": "0.1.7",
5
5
  "private": false,
6
6
  "description": "Shared data and types for SaaS Makers projects",
7
7
  "license": "MIT",
@@ -25,13 +25,13 @@
25
25
  "files": [
26
26
  "dist/*"
27
27
  ],
28
+ "devDependencies": {
29
+ "typescript": "5.9.3",
30
+ "@saasmakers/config": "0.1.9"
31
+ },
28
32
  "scripts": {
29
33
  "build": "unbuild",
30
34
  "lint": "eslint . --max-warnings=0",
31
35
  "typecheck": "tsc --noEmit --skipLibCheck"
32
- },
33
- "devDependencies": {
34
- "@saasmakers/config": "workspace:*",
35
- "typescript": "5.9.3"
36
36
  }
37
- }
37
+ }