@stoker-platform/types 0.2.6 → 0.3.1

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stoker-platform/types",
3
- "version": "0.2.6",
3
+ "version": "0.3.1",
4
4
  "type": "module",
5
5
  "license": "SEE LICENSE IN LICENSE.md",
6
6
  "main": "src/main.ts",
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
@@ -55,6 +55,7 @@ export interface CollectionPermissions {
55
55
  }
56
56
 
57
57
  export interface StokerPermissions {
58
+ Tenant_ID?: string
58
59
  User_ID?: string
59
60
  Doc_ID?: string
60
61
  Collection?: StokerCollection