From 70242eadf24fa34a7e7bed74c9b50f6f0d93f63a Mon Sep 17 00:00:00 2001 From: Edoardo Ranghieri Date: Sun, 11 Aug 2024 13:23:44 +0200 Subject: [PATCH] docs: update adapters comments --- packages/next-safe-action/src/adapters/typebox.ts | 2 +- packages/next-safe-action/src/adapters/types.ts | 2 +- packages/next-safe-action/src/adapters/valibot.ts | 2 +- packages/next-safe-action/src/adapters/yup.ts | 2 +- packages/next-safe-action/src/adapters/zod.ts | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/next-safe-action/src/adapters/typebox.ts b/packages/next-safe-action/src/adapters/typebox.ts index 967b888e..dc4a2f11 100644 --- a/packages/next-safe-action/src/adapters/typebox.ts +++ b/packages/next-safe-action/src/adapters/typebox.ts @@ -1,4 +1,4 @@ -// Code courtesy of https://github.com/decs/typeschema/blob/main/packages/typebox/src/validation.ts +// Code based on https://github.com/decs/typeschema/blob/main/packages/typebox/src/validation.ts // MIT License diff --git a/packages/next-safe-action/src/adapters/types.ts b/packages/next-safe-action/src/adapters/types.ts index cfe857d4..d706bdf3 100644 --- a/packages/next-safe-action/src/adapters/types.ts +++ b/packages/next-safe-action/src/adapters/types.ts @@ -1,4 +1,4 @@ -// Code courtesy of/highly inspired by https://github.com/decs/typeschema +// Code inspired by https://github.com/decs/typeschema import type { Static, TSchema } from "@sinclair/typebox"; import type { GenericSchema, GenericSchemaAsync, InferInput, InferOutput } from "valibot"; diff --git a/packages/next-safe-action/src/adapters/valibot.ts b/packages/next-safe-action/src/adapters/valibot.ts index 87164791..420296d1 100644 --- a/packages/next-safe-action/src/adapters/valibot.ts +++ b/packages/next-safe-action/src/adapters/valibot.ts @@ -1,4 +1,4 @@ -// Code courtesy of https://github.com/decs/typeschema/blob/main/packages/valibot/src/validation.ts +// Code based on https://github.com/decs/typeschema/blob/main/packages/valibot/src/validation.ts // MIT License diff --git a/packages/next-safe-action/src/adapters/yup.ts b/packages/next-safe-action/src/adapters/yup.ts index c771dcbc..725b864d 100644 --- a/packages/next-safe-action/src/adapters/yup.ts +++ b/packages/next-safe-action/src/adapters/yup.ts @@ -1,4 +1,4 @@ -// Code courtesy of https://github.com/decs/typeschema/blob/main/packages/yup/src/validation.ts +// Code based on https://github.com/decs/typeschema/blob/main/packages/yup/src/validation.ts // MIT License diff --git a/packages/next-safe-action/src/adapters/zod.ts b/packages/next-safe-action/src/adapters/zod.ts index dc796b46..931daa26 100644 --- a/packages/next-safe-action/src/adapters/zod.ts +++ b/packages/next-safe-action/src/adapters/zod.ts @@ -1,4 +1,4 @@ -// Code courtesy of https://github.com/decs/typeschema/blob/main/packages/zod/src/validation.ts +// Code based on https://github.com/decs/typeschema/blob/main/packages/zod/src/validation.ts // MIT License