References
SuperTokens Node Types
Interfaces
HttpRequest
Defined in: types.ts:197
Properties
JSONObject
Defined in: types.ts:223
Indexable
[ind: string]: JSONValue
Type Aliases
AllRecipeConfigs
type AllRecipeConfigs = object;
Defined in: types.ts:90
Properties
APIHandled
type APIHandled = object;
Defined in: types.ts:211
Properties
AppInfo
type AppInfo = object;
Defined in: types.ts:62
Properties
Entries<T>
type Entries<T> = { [K in keyof T]-?: [K, T[K]] }[keyof T][];
Defined in: types.ts:53
Type Parameters
GeneralErrorResponse
type GeneralErrorResponse = object;
Defined in: types.ts:226
Properties
HTTPMethod
type HTTPMethod = "post" | "get" | "delete" | "put" | "patch" | "options" | "trace";
Defined in: types.ts:218
JSONArray
type JSONArray = JSONValue[];
Defined in: types.ts:221
JSONPrimitive
type JSONPrimitive = string | number | boolean | null;
Defined in: types.ts:220
JSONValue
type JSONValue =
| JSONPrimitive
| JSONObject
| JSONArray
| undefined;
Defined in: types.ts:222
NetworkInterceptor()
type NetworkInterceptor = (request, userContext) => HttpRequest;
Defined in: types.ts:195
Parameters
Returns
NonNullableProperties<T>
type NonNullableProperties<T> = { [P in keyof T]: NonNullable<T[P]> };
Defined in: types.ts:49
Type Parameters
NonPublicConfigPropertiesType
type NonPublicConfigPropertiesType = typeof nonPublicConfigProperties[number];
Defined in: types.ts:163
NormalisedAppinfo
type NormalisedAppinfo = object;
Defined in: types.ts:72
Properties
PluginRouteHandler
type PluginRouteHandler = object;
Defined in: types.ts:115
Properties
RecipeListFunction()
type RecipeListFunction = (appInfo, isInServerlessEnv, overrideMaps) => RecipeModule;
Defined in: types.ts:205
Parameters
Returns
RecipeModule
RecipePluginOverride<T>
type RecipePluginOverride<T> = object;
Defined in: types.ts:109
Type Parameters
Properties
SuperTokensConfigWithNormalisedAppInfo
type SuperTokensConfigWithNormalisedAppInfo = Omit<TypeInput, "appInfo"> & object;
Defined in: types.ts:165
Type Declaration
SuperTokensInfo
type SuperTokensInfo = object;
Defined in: types.ts:83
Properties
SuperTokensPlugin
type SuperTokensPlugin = object;
Defined in: types.ts:130
Properties
SuperTokensPublicConfig
type SuperTokensPublicConfig = Omit<Omit<TypeInput, NonPublicConfigPropertiesType>, "appInfo"> & object;
Defined in: types.ts:169
Type Declaration
SuperTokensPublicPlugin
type SuperTokensPublicPlugin = Pick<SuperTokensPlugin, "id" | "version" | "compatibleSDKVersions" | "exports"> & object;
Defined in: types.ts:156
Type Declaration
TypeInput
type TypeInput = object;
Defined in: types.ts:173
Properties
User
type User = object;
Defined in: types.ts:231
Properties
UserContext
type UserContext = Branded<Record<string, any>, "UserContext">;
Defined in: types.ts:60
Variables
nonPublicConfigProperties
const nonPublicConfigProperties: readonly ["recipeList", "experimental"];
Defined in: types.ts:161