@budibase/types 3.2.38 → 3.2.39

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.
@@ -14,5 +14,5 @@ export interface GetGlobalSelfResponse extends User {
14
14
  license: License;
15
15
  budibaseAccess: boolean;
16
16
  accountPortalAccess: boolean;
17
- csrfToken: boolean;
17
+ csrfToken: string;
18
18
  }
@@ -26,7 +26,5 @@ export interface ScreenRoutesViewOutput extends Document {
26
26
  routing: ScreenRouting;
27
27
  }
28
28
  export type ScreenRoutingJson = Record<string, {
29
- subpaths: Record<string, {
30
- screens: Record<string, string>;
31
- }>;
29
+ subpaths: Record<string, any>;
32
30
  }>;
package/dist/index.js CHANGED
@@ -848,10 +848,13 @@ var TenantResolutionStrategy = /* @__PURE__ */ ((TenantResolutionStrategy2) => {
848
848
  // src/sdk/featureFlag.ts
849
849
  var FeatureFlag = /* @__PURE__ */ ((FeatureFlag2) => {
850
850
  FeatureFlag2["USE_ZOD_VALIDATOR"] = "USE_ZOD_VALIDATOR";
851
+ FeatureFlag2["DIRECT_LOGIN_TO_ACCOUNT_PORTAL"] = "DIRECT_LOGIN_TO_ACCOUNT_PORTAL";
851
852
  return FeatureFlag2;
852
853
  })(FeatureFlag || {});
853
854
  var FeatureFlagDefaults = {
854
- ["USE_ZOD_VALIDATOR" /* USE_ZOD_VALIDATOR */]: false
855
+ ["USE_ZOD_VALIDATOR" /* USE_ZOD_VALIDATOR */]: false,
856
+ // Account-portal
857
+ ["DIRECT_LOGIN_TO_ACCOUNT_PORTAL" /* DIRECT_LOGIN_TO_ACCOUNT_PORTAL */]: false
855
858
  };
856
859
 
857
860
  // src/sdk/environmentVariables.ts