Variable oauthTokenSchemaConst
oauthTokenSchema: SchemaWithPipe<
readonly [
AnySchema,
TransformAction<any, any>,
ObjectSchema<
{
app_name: StringSchema<undefined>;
app_website: SchemaWithFallback<StringSchema<undefined>, "">;
created_at: SchemaWithFallback<
NullableSchema<
SchemaWithPipe<
readonly [StringSchema<undefined>, RegexAction<string, undefined>],
>,
undefined,
>,
null,
>;
id: SchemaWithPipe<
readonly [UnknownSchema, TransformAction<any, string>],
>;
last_used: SchemaWithFallback<
NullableSchema<
SchemaWithPipe<
readonly [StringSchema<undefined>, RegexAction<string, undefined>],
>,
undefined,
>,
null,
>;
scopes: SchemaWithFallback<
ArraySchema<StringSchema<undefined>, undefined>,
readonly [],
>;
valid_until: SchemaWithFallback<
NullableSchema<
SchemaWithPipe<
readonly [StringSchema<undefined>, RegexAction<string, undefined>],
>,
undefined,
>,
null,
>;
},
undefined,
>,
],
> = ...
See
https://docs.pleroma.social/backend/development/API/pleroma_api/#get-apioauth_tokens