mirror of
https://github.com/versia-pub/server.git
synced 2026-04-28 05:09:16 +02:00
refactor(api): ♻️ Move all client schema code to new package
This commit is contained in:
parent
52602c3da7
commit
3fe07a79b8
128 changed files with 3904 additions and 169 deletions
5
packages/client/versia/constants.ts
Normal file
5
packages/client/versia/constants.ts
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
import pkg from "../package.json" with { type: "json" };
|
||||
|
||||
export const NO_REDIRECT = "urn:ietf:wg:oauth:2.0:oob";
|
||||
export const DEFAULT_SCOPE = ["read", "write", "follow"];
|
||||
export const DEFAULT_UA = `VersiaClient/${pkg.version} (+${pkg.homepage})`;
|
||||
Loading…
Add table
Add a link
Reference in a new issue