mirror of
https://github.com/versia-pub/api.git
synced 2026-03-13 04:09:15 +01:00
chore: ⬆️ Upgrade dependencies, fix new linter issues
This commit is contained in:
parent
6c15ceb1e9
commit
23936d549f
40 changed files with 154 additions and 154 deletions
|
|
@ -3,10 +3,10 @@ import {
|
|||
ContentFormatSchema,
|
||||
ImageOnlyContentFormatSchema,
|
||||
TextOnlyContentFormatSchema,
|
||||
} from "./content_format";
|
||||
import { ExtensionPropertySchema } from "./extensions";
|
||||
import { VanityExtensionSchema } from "./extensions/vanity";
|
||||
import { extensionRegex, isISOString, semverRegex } from "./regex";
|
||||
} from "./content_format.ts";
|
||||
import { ExtensionPropertySchema } from "./extensions.ts";
|
||||
import { VanityExtensionSchema } from "./extensions/vanity.ts";
|
||||
import { extensionRegex, isISOString, semverRegex } from "./regex.ts";
|
||||
|
||||
export const EntitySchema = z
|
||||
.object({
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import { z } from "zod";
|
||||
import { CustomEmojiExtensionSchema } from "./extensions/custom_emojis";
|
||||
import { CustomEmojiExtensionSchema } from "./extensions/custom_emojis.ts";
|
||||
|
||||
export const ExtensionPropertySchema = z
|
||||
.object({
|
||||
|
|
|
|||
|
|
@ -5,8 +5,8 @@
|
|||
* @see https://versia.pub/extensions/custom-emojis
|
||||
*/
|
||||
import { z } from "zod";
|
||||
import { ImageOnlyContentFormatSchema } from "../content_format";
|
||||
import { emojiRegex } from "../regex";
|
||||
import { ImageOnlyContentFormatSchema } from "../content_format.ts";
|
||||
import { emojiRegex } from "../regex.ts";
|
||||
|
||||
/**
|
||||
* @description Used to validate the properties the extension's custom field
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import { z } from "zod";
|
||||
import { EntitySchema } from "../base";
|
||||
import { EntitySchema } from "../base.ts";
|
||||
|
||||
/**
|
||||
* @description Like entity
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
* @see https://versia.pub/extensions/polls
|
||||
*/
|
||||
import { z } from "zod";
|
||||
import { EntitySchema } from "../base";
|
||||
import { EntitySchema } from "../base.ts";
|
||||
|
||||
/**
|
||||
* @description Vote extension entity
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@
|
|||
* @see https://versia.pub/extensions/reactions
|
||||
*/
|
||||
import { z } from "zod";
|
||||
import { EntitySchema } from "../base";
|
||||
import { EntitySchema } from "../base.ts";
|
||||
|
||||
/**
|
||||
* @description Reaction extension entity
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
import { z } from "zod";
|
||||
import { EntitySchema } from "../base";
|
||||
import { EntitySchema } from "../base.ts";
|
||||
|
||||
/**
|
||||
* @description Share entity
|
||||
|
|
|
|||
|
|
@ -9,8 +9,8 @@ import { z } from "zod";
|
|||
import {
|
||||
AudioOnlyContentFormatSchema,
|
||||
ImageOnlyContentFormatSchema,
|
||||
} from "../content_format";
|
||||
import { isISOString } from "../regex";
|
||||
} from "../content_format.ts";
|
||||
import { isISOString } from "../regex.ts";
|
||||
|
||||
/**
|
||||
* @description Vanity extension entity
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue