From afa87af01c79a9baa539f2992d32154d2a4739bd Mon Sep 17 00:00:00 2001 From: Adam Mathes Date: Sat, 14 Feb 2026 14:46:37 -0800 Subject: task: delete vanilla js prototype\n\n- Removed vanilla/ directory and web/dist/vanilla directory\n- Updated Makefile, Dockerfile, and CI workflow to remove vanilla references\n- Cleaned up web/web.go to remove vanilla embed and routes\n- Verified build and tests pass\n\nCloses NK-2tcnmq --- vanilla/node_modules/@standard-schema/spec/LICENSE | 21 --- .../node_modules/@standard-schema/spec/README.md | 198 --------------------- .../@standard-schema/spec/dist/index.cjs | 18 -- .../@standard-schema/spec/dist/index.d.cts | 119 ------------- .../@standard-schema/spec/dist/index.d.ts | 119 ------------- .../@standard-schema/spec/dist/index.js | 0 .../@standard-schema/spec/package.json | 52 ------ 7 files changed, 527 deletions(-) delete mode 100644 vanilla/node_modules/@standard-schema/spec/LICENSE delete mode 100644 vanilla/node_modules/@standard-schema/spec/README.md delete mode 100644 vanilla/node_modules/@standard-schema/spec/dist/index.cjs delete mode 100644 vanilla/node_modules/@standard-schema/spec/dist/index.d.cts delete mode 100644 vanilla/node_modules/@standard-schema/spec/dist/index.d.ts delete mode 100644 vanilla/node_modules/@standard-schema/spec/dist/index.js delete mode 100644 vanilla/node_modules/@standard-schema/spec/package.json (limited to 'vanilla/node_modules/@standard-schema') diff --git a/vanilla/node_modules/@standard-schema/spec/LICENSE b/vanilla/node_modules/@standard-schema/spec/LICENSE deleted file mode 100644 index ea54e0d..0000000 --- a/vanilla/node_modules/@standard-schema/spec/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2024 Colin McDonnell - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. \ No newline at end of file diff --git a/vanilla/node_modules/@standard-schema/spec/README.md b/vanilla/node_modules/@standard-schema/spec/README.md deleted file mode 100644 index f9813ff..0000000 --- a/vanilla/node_modules/@standard-schema/spec/README.md +++ /dev/null @@ -1,198 +0,0 @@ -

- Standard Schema fire logo -
- Standard Schema

-

- A family of specs for interoperable TypeScript -
- standardschema.dev -

-
- - - -The Standard Schema project is a set of interfaces that standardize the provision and consumption of shared functionality in the TypeScript ecosystem. - -Its goal is to allow tools to accept a single input that includes all the types and capabilities they need— no library-specific adapters, no extra dependencies. The result is an ecosystem that's fair for implementers, friendly for consumers, and open for end users. - -## The specifications - -The specifications can be found below in their entirety. Libraries wishing to implement a spec can copy/paste the code block below into their codebase. They're also available at `@standard-schema/spec` on [npm](https://www.npmjs.com/package/@standard-schema/spec) and [JSR](https://jsr.io/@standard-schema/spec). - -```ts -// ######################### -// ### Standard Typed ### -// ######################### - -/** The Standard Typed interface. This is a base type extended by other specs. */ -export interface StandardTypedV1 { - /** The Standard properties. */ - readonly "~standard": StandardTypedV1.Props; -} - -export declare namespace StandardTypedV1 { - /** The Standard Typed properties interface. */ - export interface Props { - /** The version number of the standard. */ - readonly version: 1; - /** The vendor name of the schema library. */ - readonly vendor: string; - /** Inferred types associated with the schema. */ - readonly types?: Types | undefined; - } - - /** The Standard Typed types interface. */ - export interface Types { - /** The input type of the schema. */ - readonly input: Input; - /** The output type of the schema. */ - readonly output: Output; - } - - /** Infers the input type of a Standard Typed. */ - export type InferInput = NonNullable< - Schema["~standard"]["types"] - >["input"]; - - /** Infers the output type of a Standard Typed. */ - export type InferOutput = NonNullable< - Schema["~standard"]["types"] - >["output"]; -} - -// ########################## -// ### Standard Schema ### -// ########################## - -/** The Standard Schema interface. */ -export interface StandardSchemaV1 { - /** The Standard Schema properties. */ - readonly "~standard": StandardSchemaV1.Props; -} - -export declare namespace StandardSchemaV1 { - /** The Standard Schema properties interface. */ - export interface Props - extends StandardTypedV1.Props { - /** Validates unknown input values. */ - readonly validate: ( - value: unknown, - options?: StandardSchemaV1.Options | undefined - ) => Result | Promise>; - } - - /** The result interface of the validate function. */ - export type Result = SuccessResult | FailureResult; - - /** The result interface if validation succeeds. */ - export interface SuccessResult { - /** The typed output value. */ - readonly value: Output; - /** A falsy value for `issues` indicates success. */ - readonly issues?: undefined; - } - - export interface Options { - /** Explicit support for additional vendor-specific parameters, if needed. */ - readonly libraryOptions?: Record | undefined; - } - - /** The result interface if validation fails. */ - export interface FailureResult { - /** The issues of failed validation. */ - readonly issues: ReadonlyArray; - } - - /** The issue interface of the failure output. */ - export interface Issue { - /** The error message of the issue. */ - readonly message: string; - /** The path of the issue, if any. */ - readonly path?: ReadonlyArray | undefined; - } - - /** The path segment interface of the issue. */ - export interface PathSegment { - /** The key representing a path segment. */ - readonly key: PropertyKey; - } - - /** The Standard types interface. */ - export interface Types - extends StandardTypedV1.Types {} - - /** Infers the input type of a Standard. */ - export type InferInput = - StandardTypedV1.InferInput; - - /** Infers the output type of a Standard. */ - export type InferOutput = - StandardTypedV1.InferOutput; -} - -// ############################### -// ### Standard JSON Schema ### -// ############################### - -/** The Standard JSON Schema interface. */ -export interface StandardJSONSchemaV1 { - /** The Standard JSON Schema properties. */ - readonly "~standard": StandardJSONSchemaV1.Props; -} - -export declare namespace StandardJSONSchemaV1 { - /** The Standard JSON Schema properties interface. */ - export interface Props - extends StandardTypedV1.Props { - /** Methods for generating the input/output JSON Schema. */ - readonly jsonSchema: StandardJSONSchemaV1.Converter; - } - - /** The Standard JSON Schema converter interface. */ - export interface Converter { - /** Converts the input type to JSON Schema. May throw if conversion is not supported. */ - readonly input: ( - options: StandardJSONSchemaV1.Options - ) => Record; - /** Converts the output type to JSON Schema. May throw if conversion is not supported. */ - readonly output: ( - options: StandardJSONSchemaV1.Options - ) => Record; - } - - /** - * The target version of the generated JSON Schema. - * - * It is *strongly recommended* that implementers support `"draft-2020-12"` and `"draft-07"`, as they are both in wide use. All other targets can be implemented on a best-effort basis. Libraries should throw if they don't support a specified target. - * - * The `"openapi-3.0"` target is intended as a standardized specifier for OpenAPI 3.0 which is a superset of JSON Schema `"draft-04"`. - */ - export type Target = - | "draft-2020-12" - | "draft-07" - | "openapi-3.0" - // Accepts any string for future targets while preserving autocomplete - | ({} & string); - - /** The options for the input/output methods. */ - export interface Options { - /** Specifies the target version of the generated JSON Schema. Support for all versions is on a best-effort basis. If a given version is not supported, the library should throw. */ - readonly target: Target; - - /** Explicit support for additional vendor-specific parameters, if needed. */ - readonly libraryOptions?: Record | undefined; - } - - /** The Standard types interface. */ - export interface Types - extends StandardTypedV1.Types {} - - /** Infers the input type of a Standard. */ - export type InferInput = - StandardTypedV1.InferInput; - - /** Infers the output type of a Standard. */ - export type InferOutput = - StandardTypedV1.InferOutput; -} -``` diff --git a/vanilla/node_modules/@standard-schema/spec/dist/index.cjs b/vanilla/node_modules/@standard-schema/spec/dist/index.cjs deleted file mode 100644 index 321666e..0000000 --- a/vanilla/node_modules/@standard-schema/spec/dist/index.cjs +++ /dev/null @@ -1,18 +0,0 @@ -"use strict"; -var __defProp = Object.defineProperty; -var __getOwnPropDesc = Object.getOwnPropertyDescriptor; -var __getOwnPropNames = Object.getOwnPropertyNames; -var __hasOwnProp = Object.prototype.hasOwnProperty; -var __copyProps = (to, from, except, desc) => { - if (from && typeof from === "object" || typeof from === "function") { - for (let key of __getOwnPropNames(from)) - if (!__hasOwnProp.call(to, key) && key !== except) - __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); - } - return to; -}; -var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); - -// src/index.ts -var src_exports = {}; -module.exports = __toCommonJS(src_exports); diff --git a/vanilla/node_modules/@standard-schema/spec/dist/index.d.cts b/vanilla/node_modules/@standard-schema/spec/dist/index.d.cts deleted file mode 100644 index 5e4acaa..0000000 --- a/vanilla/node_modules/@standard-schema/spec/dist/index.d.cts +++ /dev/null @@ -1,119 +0,0 @@ -/** The Standard Typed interface. This is a base type extended by other specs. */ -interface StandardTypedV1 { - /** The Standard properties. */ - readonly "~standard": StandardTypedV1.Props; -} -declare namespace StandardTypedV1 { - /** The Standard Typed properties interface. */ - interface Props { - /** The version number of the standard. */ - readonly version: 1; - /** The vendor name of the schema library. */ - readonly vendor: string; - /** Inferred types associated with the schema. */ - readonly types?: Types | undefined; - } - /** The Standard Typed types interface. */ - interface Types { - /** The input type of the schema. */ - readonly input: Input; - /** The output type of the schema. */ - readonly output: Output; - } - /** Infers the input type of a Standard Typed. */ - type InferInput = NonNullable["input"]; - /** Infers the output type of a Standard Typed. */ - type InferOutput = NonNullable["output"]; -} -/** The Standard Schema interface. */ -interface StandardSchemaV1 { - /** The Standard Schema properties. */ - readonly "~standard": StandardSchemaV1.Props; -} -declare namespace StandardSchemaV1 { - /** The Standard Schema properties interface. */ - interface Props extends StandardTypedV1.Props { - /** Validates unknown input values. */ - readonly validate: (value: unknown, options?: StandardSchemaV1.Options | undefined) => Result | Promise>; - } - /** The result interface of the validate function. */ - type Result = SuccessResult | FailureResult; - /** The result interface if validation succeeds. */ - interface SuccessResult { - /** The typed output value. */ - readonly value: Output; - /** A falsy value for `issues` indicates success. */ - readonly issues?: undefined; - } - interface Options { - /** Explicit support for additional vendor-specific parameters, if needed. */ - readonly libraryOptions?: Record | undefined; - } - /** The result interface if validation fails. */ - interface FailureResult { - /** The issues of failed validation. */ - readonly issues: ReadonlyArray; - } - /** The issue interface of the failure output. */ - interface Issue { - /** The error message of the issue. */ - readonly message: string; - /** The path of the issue, if any. */ - readonly path?: ReadonlyArray | undefined; - } - /** The path segment interface of the issue. */ - interface PathSegment { - /** The key representing a path segment. */ - readonly key: PropertyKey; - } - /** The Standard types interface. */ - interface Types extends StandardTypedV1.Types { - } - /** Infers the input type of a Standard. */ - type InferInput = StandardTypedV1.InferInput; - /** Infers the output type of a Standard. */ - type InferOutput = StandardTypedV1.InferOutput; -} -/** The Standard JSON Schema interface. */ -interface StandardJSONSchemaV1 { - /** The Standard JSON Schema properties. */ - readonly "~standard": StandardJSONSchemaV1.Props; -} -declare namespace StandardJSONSchemaV1 { - /** The Standard JSON Schema properties interface. */ - interface Props extends StandardTypedV1.Props { - /** Methods for generating the input/output JSON Schema. */ - readonly jsonSchema: StandardJSONSchemaV1.Converter; - } - /** The Standard JSON Schema converter interface. */ - interface Converter { - /** Converts the input type to JSON Schema. May throw if conversion is not supported. */ - readonly input: (options: StandardJSONSchemaV1.Options) => Record; - /** Converts the output type to JSON Schema. May throw if conversion is not supported. */ - readonly output: (options: StandardJSONSchemaV1.Options) => Record; - } - /** - * The target version of the generated JSON Schema. - * - * It is *strongly recommended* that implementers support `"draft-2020-12"` and `"draft-07"`, as they are both in wide use. All other targets can be implemented on a best-effort basis. Libraries should throw if they don't support a specified target. - * - * The `"openapi-3.0"` target is intended as a standardized specifier for OpenAPI 3.0 which is a superset of JSON Schema `"draft-04"`. - */ - type Target = "draft-2020-12" | "draft-07" | "openapi-3.0" | ({} & string); - /** The options for the input/output methods. */ - interface Options { - /** Specifies the target version of the generated JSON Schema. Support for all versions is on a best-effort basis. If a given version is not supported, the library should throw. */ - readonly target: Target; - /** Explicit support for additional vendor-specific parameters, if needed. */ - readonly libraryOptions?: Record | undefined; - } - /** The Standard types interface. */ - interface Types extends StandardTypedV1.Types { - } - /** Infers the input type of a Standard. */ - type InferInput = StandardTypedV1.InferInput; - /** Infers the output type of a Standard. */ - type InferOutput = StandardTypedV1.InferOutput; -} - -export { StandardJSONSchemaV1, StandardSchemaV1, StandardTypedV1 }; diff --git a/vanilla/node_modules/@standard-schema/spec/dist/index.d.ts b/vanilla/node_modules/@standard-schema/spec/dist/index.d.ts deleted file mode 100644 index 5e4acaa..0000000 --- a/vanilla/node_modules/@standard-schema/spec/dist/index.d.ts +++ /dev/null @@ -1,119 +0,0 @@ -/** The Standard Typed interface. This is a base type extended by other specs. */ -interface StandardTypedV1 { - /** The Standard properties. */ - readonly "~standard": StandardTypedV1.Props; -} -declare namespace StandardTypedV1 { - /** The Standard Typed properties interface. */ - interface Props { - /** The version number of the standard. */ - readonly version: 1; - /** The vendor name of the schema library. */ - readonly vendor: string; - /** Inferred types associated with the schema. */ - readonly types?: Types | undefined; - } - /** The Standard Typed types interface. */ - interface Types { - /** The input type of the schema. */ - readonly input: Input; - /** The output type of the schema. */ - readonly output: Output; - } - /** Infers the input type of a Standard Typed. */ - type InferInput = NonNullable["input"]; - /** Infers the output type of a Standard Typed. */ - type InferOutput = NonNullable["output"]; -} -/** The Standard Schema interface. */ -interface StandardSchemaV1 { - /** The Standard Schema properties. */ - readonly "~standard": StandardSchemaV1.Props; -} -declare namespace StandardSchemaV1 { - /** The Standard Schema properties interface. */ - interface Props extends StandardTypedV1.Props { - /** Validates unknown input values. */ - readonly validate: (value: unknown, options?: StandardSchemaV1.Options | undefined) => Result | Promise>; - } - /** The result interface of the validate function. */ - type Result = SuccessResult | FailureResult; - /** The result interface if validation succeeds. */ - interface SuccessResult { - /** The typed output value. */ - readonly value: Output; - /** A falsy value for `issues` indicates success. */ - readonly issues?: undefined; - } - interface Options { - /** Explicit support for additional vendor-specific parameters, if needed. */ - readonly libraryOptions?: Record | undefined; - } - /** The result interface if validation fails. */ - interface FailureResult { - /** The issues of failed validation. */ - readonly issues: ReadonlyArray; - } - /** The issue interface of the failure output. */ - interface Issue { - /** The error message of the issue. */ - readonly message: string; - /** The path of the issue, if any. */ - readonly path?: ReadonlyArray | undefined; - } - /** The path segment interface of the issue. */ - interface PathSegment { - /** The key representing a path segment. */ - readonly key: PropertyKey; - } - /** The Standard types interface. */ - interface Types extends StandardTypedV1.Types { - } - /** Infers the input type of a Standard. */ - type InferInput = StandardTypedV1.InferInput; - /** Infers the output type of a Standard. */ - type InferOutput = StandardTypedV1.InferOutput; -} -/** The Standard JSON Schema interface. */ -interface StandardJSONSchemaV1 { - /** The Standard JSON Schema properties. */ - readonly "~standard": StandardJSONSchemaV1.Props; -} -declare namespace StandardJSONSchemaV1 { - /** The Standard JSON Schema properties interface. */ - interface Props extends StandardTypedV1.Props { - /** Methods for generating the input/output JSON Schema. */ - readonly jsonSchema: StandardJSONSchemaV1.Converter; - } - /** The Standard JSON Schema converter interface. */ - interface Converter { - /** Converts the input type to JSON Schema. May throw if conversion is not supported. */ - readonly input: (options: StandardJSONSchemaV1.Options) => Record; - /** Converts the output type to JSON Schema. May throw if conversion is not supported. */ - readonly output: (options: StandardJSONSchemaV1.Options) => Record; - } - /** - * The target version of the generated JSON Schema. - * - * It is *strongly recommended* that implementers support `"draft-2020-12"` and `"draft-07"`, as they are both in wide use. All other targets can be implemented on a best-effort basis. Libraries should throw if they don't support a specified target. - * - * The `"openapi-3.0"` target is intended as a standardized specifier for OpenAPI 3.0 which is a superset of JSON Schema `"draft-04"`. - */ - type Target = "draft-2020-12" | "draft-07" | "openapi-3.0" | ({} & string); - /** The options for the input/output methods. */ - interface Options { - /** Specifies the target version of the generated JSON Schema. Support for all versions is on a best-effort basis. If a given version is not supported, the library should throw. */ - readonly target: Target; - /** Explicit support for additional vendor-specific parameters, if needed. */ - readonly libraryOptions?: Record | undefined; - } - /** The Standard types interface. */ - interface Types extends StandardTypedV1.Types { - } - /** Infers the input type of a Standard. */ - type InferInput = StandardTypedV1.InferInput; - /** Infers the output type of a Standard. */ - type InferOutput = StandardTypedV1.InferOutput; -} - -export { StandardJSONSchemaV1, StandardSchemaV1, StandardTypedV1 }; diff --git a/vanilla/node_modules/@standard-schema/spec/dist/index.js b/vanilla/node_modules/@standard-schema/spec/dist/index.js deleted file mode 100644 index e69de29..0000000 diff --git a/vanilla/node_modules/@standard-schema/spec/package.json b/vanilla/node_modules/@standard-schema/spec/package.json deleted file mode 100644 index 62bb551..0000000 --- a/vanilla/node_modules/@standard-schema/spec/package.json +++ /dev/null @@ -1,52 +0,0 @@ -{ - "name": "@standard-schema/spec", - "description": "A family of specs for interoperable TypeScript", - "version": "1.1.0", - "license": "MIT", - "author": "Colin McDonnell", - "homepage": "https://standardschema.dev", - "repository": { - "type": "git", - "url": "https://github.com/standard-schema/standard-schema" - }, - "keywords": [ - "typescript", - "schema", - "validation", - "standard", - "interface" - ], - "type": "module", - "main": "./dist/index.js", - "types": "./dist/index.d.ts", - "exports": { - ".": { - "standard-schema-spec": "./src/index.ts", - "import": { - "types": "./dist/index.d.ts", - "default": "./dist/index.js" - }, - "require": { - "types": "./dist/index.d.cts", - "default": "./dist/index.cjs" - } - } - }, - "sideEffects": false, - "files": [ - "dist" - ], - "publishConfig": { - "access": "public" - }, - "devDependencies": { - "tsup": "^8.3.0", - "typescript": "^5.6.2" - }, - "scripts": { - "lint": "pnpm biome lint ./src", - "format": "pnpm biome format --write ./src", - "check": "pnpm biome check ./src", - "build": "tsup" - } -} \ No newline at end of file -- cgit v1.2.3