@stoker-platform/types 0.2.5 → 0.3.0
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/package.json +2 -2
- package/src/types/app.ts +2 -0
- package/src/types/schema.ts +1 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@stoker-platform/types",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.md",
|
|
6
6
|
"main": "src/main.ts",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"tsconfig": "*"
|
|
19
19
|
},
|
|
20
20
|
"engines": {
|
|
21
|
-
"node": "22",
|
|
21
|
+
"node": ">=22",
|
|
22
22
|
"npm": "11"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
package/src/types/app.ts
CHANGED
|
@@ -319,6 +319,7 @@ export interface VersionInfo {
|
|
|
319
319
|
}
|
|
320
320
|
|
|
321
321
|
export interface WebUtilities {
|
|
322
|
+
getTenant: () => string
|
|
322
323
|
getEnv: () => Record<string, string>
|
|
323
324
|
getTimezone: () => string
|
|
324
325
|
getConnectionStatus: () => "Online" | "Offline"
|
|
@@ -343,6 +344,7 @@ export interface WebUtilities {
|
|
|
343
344
|
|
|
344
345
|
export interface NodeUtilities {
|
|
345
346
|
getMode: () => "development" | "production"
|
|
347
|
+
getTenant: () => string
|
|
346
348
|
getTimezone: () => string
|
|
347
349
|
getGlobalConfigModule: () => GlobalConfig
|
|
348
350
|
getCustomizationFile: (collection: string, schema: CollectionsSchema) => CollectionCustomization
|