diff --git a/.yarn/versions/0c101d43.yml b/.yarn/versions/0c101d43.yml new file mode 100644 index 0000000..85ee0e5 --- /dev/null +++ b/.yarn/versions/0c101d43.yml @@ -0,0 +1,3 @@ +releases: + "@aoi-js/frontend": patch + "@aoi-js/server": patch diff --git a/apps/frontend/src/utils/vaptcha.ts b/apps/frontend/src/utils/vaptcha.ts index 4b3c67c..aba98c2 100644 --- a/apps/frontend/src/utils/vaptcha.ts +++ b/apps/frontend/src/utils/vaptcha.ts @@ -27,7 +27,7 @@ export const useVaptcha = ({ onPass }: { onPass?: (token: string) => void } = {} onMounted(() => { const config = { - vid: import.meta.env.VAPTCHA_VID, + vid: import.meta.env.VITE_VAPTCHA_VID, mode: 'click', scene: 0, container: document.getElementById('vaptcha'), diff --git a/apps/server/src/schemas/common.ts b/apps/server/src/schemas/common.ts index 18444a9..23111fb 100644 --- a/apps/server/src/schemas/common.ts +++ b/apps/server/src/schemas/common.ts @@ -69,7 +69,15 @@ export class ServerTypeBuilder extends JavaScriptTypeBuilder { $in: this.Optional(this.Array(this.Any())), $nin: this.Optional(this.Array(this.Any())), $startsWith: this.Optional(this.String()), - $endsWith: this.Optional(this.String()) + $notStartsWith: this.Optional(this.String()), + $endsWith: this.Optional(this.String()), + $notEndsWith: this.Optional(this.String()), + $includes: this.Optional(this.Any()), + $notIncludes: this.Optional(this.Any()), + $includesEach: this.Optional(this.Array(this.Any())), + $notIncludesEach: this.Optional(this.Array(this.Any())), + $includesSome: this.Optional(this.Array(this.Any())), + $notIncludesSome: this.Optional(this.Array(this.Any())) }) }