Comparing version 0.0.5 to 0.0.6
import { z } from 'zod'; | ||
/** @see {@link https://docs.pleroma.social/backend/development/API/pleroma_api/#get-apioauth_tokens} */ | ||
declare const oauthTokenSchema: z.ZodObject<{ | ||
declare const oauthTokenSchema: z.ZodEffects<z.ZodObject<{ | ||
app_name: z.ZodString; | ||
@@ -15,4 +15,8 @@ id: z.ZodNumber; | ||
valid_until: string; | ||
}>; | ||
}>, { | ||
id: number; | ||
app_name: string; | ||
valid_until: string; | ||
}, unknown>; | ||
type OauthToken = z.infer<typeof oauthTokenSchema>; | ||
export { oauthTokenSchema, type OauthToken }; |
{ | ||
"name": "pl-api", | ||
"version": "0.0.5", | ||
"version": "0.0.6", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/mkljczk/pl-api", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
16755496
243184