Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

trpc-playground

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

trpc-playground - npm Package Compare versions

Comparing version 0.4.3 to 1.0.0-next.0

dist/chunk-2TIFXYAJ.cjs

4

dist/config.d.ts

@@ -7,3 +7,3 @@ import { TrpcPlaygroundConfig } from '@trpc-playground/types';

};
resolveTypes: ((router: import("@trpc/server").AnyRouter<any>) => Promise<import("@trpc-playground/types").ResolvedRouterSchema>) & ((router: import("@trpc/server").AnyRouter<any>) => import("@trpc-playground/types").ResolvedRouterSchema | Promise<import("@trpc-playground/types").ResolvedRouterSchema>);
resolveTypes: ((router: import("@trpc/server").AnyRouter) => Promise<import("@trpc-playground/types").ResolvedRouterSchema>) & ((router: import("@trpc/server").AnyRouter) => import("@trpc-playground/types").ResolvedRouterSchema | Promise<import("@trpc-playground/types").ResolvedRouterSchema>);
polling: {

@@ -33,3 +33,3 @@ enable: true;

playgroundEndpoint: string;
router: import("@trpc/server").AnyRouter<any>;
router: import("@trpc/server").AnyRouter;
};

@@ -1,13 +0,3 @@

import { ZodAny } from 'zod';
declare type GenerateInput = {
operationType: string;
operationName: string;
};
export declare const generateSnippet: (inputParser: ZodAny, { operationType, operationName }: GenerateInput) => {
type: string;
default: {
value: string;
inputLength: number;
};
};
export {};
import { ResolvedRouterSchema } from '@trpc-playground/types';
import { Procedures } from './zod-resolve-types';
export declare const getDefaultForProcedures: (procedures: Procedures) => Pick<ResolvedRouterSchema, "queries" | "mutations">;
import {
handler
} from "../chunk-6IDLJC7Q.js";
import "../chunk-KY3DDO4U.js";
} from "../chunk-AQAASP2I.js";
import "../chunk-RA746A64.js";

@@ -6,0 +6,0 @@ // src/handlers/aws-lambda.ts

import {
handler
} from "../chunk-6IDLJC7Q.js";
import "../chunk-KY3DDO4U.js";
} from "../chunk-AQAASP2I.js";
import "../chunk-RA746A64.js";

@@ -6,0 +6,0 @@ // src/handlers/express.ts

import {
handler
} from "../chunk-6IDLJC7Q.js";
import "../chunk-KY3DDO4U.js";
} from "../chunk-AQAASP2I.js";
import "../chunk-RA746A64.js";

@@ -6,0 +6,0 @@ // src/handlers/fastify.ts

import {
handler
} from "../chunk-6IDLJC7Q.js";
import "../chunk-KY3DDO4U.js";
} from "../chunk-AQAASP2I.js";
import "../chunk-RA746A64.js";

@@ -6,0 +6,0 @@ // src/handlers/fetch.ts

import {
handler
} from "../chunk-6IDLJC7Q.js";
import "../chunk-KY3DDO4U.js";
} from "../chunk-AQAASP2I.js";
import "../chunk-RA746A64.js";

@@ -6,0 +6,0 @@ // src/handlers/h3.ts

import {
handler
} from "../chunk-6IDLJC7Q.js";
import "../chunk-KY3DDO4U.js";
} from "../chunk-AQAASP2I.js";
import "../chunk-RA746A64.js";

@@ -6,0 +6,0 @@ // src/handlers/koa.ts

import {
nodeHandler
} from "../chunk-T4Q2XXUV.js";
import "../chunk-6IDLJC7Q.js";
import "../chunk-KY3DDO4U.js";
} from "../chunk-HXK7DD2U.js";
import "../chunk-AQAASP2I.js";
import "../chunk-RA746A64.js";

@@ -7,0 +7,0 @@ // src/handlers/next.ts

import {
nodeHandler
} from "../chunk-T4Q2XXUV.js";
import "../chunk-6IDLJC7Q.js";
import "../chunk-KY3DDO4U.js";
} from "../chunk-HXK7DD2U.js";
import "../chunk-AQAASP2I.js";
import "../chunk-RA746A64.js";
export {
nodeHandler
};
import {
getInputFromInputParsers,
printTypeFromInputParser,
resolveConfig,
zodResolveTypes
} from "./chunk-KY3DDO4U.js";
} from "./chunk-RA746A64.js";
export {
getInputFromInputParsers,
printTypeFromInputParser,
resolveConfig,
zodResolveTypes
};
import { ResolvedRouterSchema } from '@trpc-playground/types';
import { AnyRouter } from '@trpc/server';
export declare const zodResolveTypes: (router: AnyRouter<any>) => Promise<ResolvedRouterSchema>;
import { AnyRouter, Procedure } from '@trpc/server';
import { z, ZodAny, ZodTypeAny } from 'zod';
export declare type Procedures = Record<string, Procedure<any>>;
export declare const zodResolveTypes: (router: AnyRouter) => Promise<ResolvedRouterSchema>;
export declare const getInputFromInputParsers: (inputs: ZodAny[]) => z.ZodAny | z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}> | null;
export declare const printTypeFromInputParser: (inputParser: ZodTypeAny) => string;
{
"name": "trpc-playground",
"type": "module",
"version": "0.4.3",
"version": "1.0.0-next.0",
"publishConfig": {

@@ -44,8 +44,8 @@ "access": "public"

"peerDependencies": {
"@trpc/server": "^9",
"@trpc/server": "^10",
"zod": "^3"
},
"dependencies": {
"@trpc-playground/html": "0.3.3",
"@trpc-playground/types": "0.2.0",
"@trpc-playground/html": "1.0.0-next.0",
"@trpc-playground/types": "1.0.0-next.0",
"lodash": "^4.17.21",

@@ -56,3 +56,3 @@ "uttp": "^0.1.3",

"devDependencies": {
"@trpc/server": "9.22.0",
"@trpc/server": "10.0.0-proxy-alpha.76",
"@types/aws-lambda": "8.10.103",

@@ -59,0 +59,0 @@ "@types/express": "4.17.13",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc