New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

lz-schema

Package Overview
Dependencies
Maintainers
0
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

lz-schema - npm Package Compare versions

Comparing version 0.13.3 to 0.13.4

4

dist/Journey.js

@@ -28,3 +28,5 @@ "use strict";

});
exports.updateJourneySchema = exports.createJourneySchema.omit({ workspaceId: true }).partial();
exports.updateJourneySchema = exports.createJourneySchema
.omit({ workspaceId: true })
.partial();
exports.getJourneySchema = zod_1.z.object({

@@ -31,0 +33,0 @@ journeyId: Id_1.idSchema,

@@ -62,2 +62,4 @@ "use strict";

exports.searchLayersParamsSchema = zod_1.z.object({ workspaceId: Id_1.idSchema });
exports.updateLayerSchema = exports.createLayerSchema.omit({ workspaceId: true }).partial();
exports.updateLayerSchema = exports.createLayerSchema
.omit({ workspaceId: true })
.partial();

@@ -6,3 +6,2 @@ "use strict";

const Id_1 = require("./Id");
;
exports.organizationIdSchema = zod_1.z.object({

@@ -9,0 +8,0 @@ organizationId: Id_1.idSchema,

import { z } from 'zod';
export type Render = z.infer<typeof renderSchema>;
export type GetRenderArgs = z.infer<typeof getRenderSchema>;
export declare const getRenderSchema: z.ZodObject<{
export type GetRenderArgs = z.infer<typeof getRenderParamsSchema>;
export type CreateRenderBody = z.input<typeof createRenderSchema>;
export type CreateRenderArgs = z.output<typeof createRenderSchema>;
export type UpdateRenderBody = z.input<typeof updateRenderSchema>;
export type UpdateRenderArgs = z.output<typeof updateRenderSchema>;
export declare const getRenderParamsSchema: z.ZodObject<{
renderId: z.ZodEffects<z.ZodString, string, string>;

@@ -30,1 +34,24 @@ }, "strip", z.ZodTypeAny, {

}>;
export declare const createRenderSchema: z.ZodObject<{
code: z.ZodString;
name: z.ZodString;
layerId: z.ZodEffects<z.ZodString, string, string>;
}, "strip", z.ZodTypeAny, {
name: string;
code: string;
layerId: string;
}, {
name: string;
code: string;
layerId: string;
}>;
export declare const updateRenderSchema: z.ZodObject<{
name: z.ZodOptional<z.ZodString>;
code: z.ZodOptional<z.ZodString>;
}, "strip", z.ZodTypeAny, {
name?: string | undefined;
code?: string | undefined;
}, {
name?: string | undefined;
code?: string | undefined;
}>;
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.renderSchema = exports.getRenderSchema = void 0;
exports.updateRenderSchema = exports.createRenderSchema = exports.renderSchema = exports.getRenderParamsSchema = void 0;
const zod_1 = require("zod");
const Id_1 = require("./Id");
exports.getRenderSchema = zod_1.z.object({
exports.getRenderParamsSchema = zod_1.z.object({
renderId: Id_1.idSchema,

@@ -16,1 +16,7 @@ });

});
exports.createRenderSchema = zod_1.z.object({
code: zod_1.z.string(),
name: zod_1.z.string(),
layerId: Id_1.idSchema,
});
exports.updateRenderSchema = exports.createRenderSchema.omit({ layerId: true }).partial();

@@ -1,2 +0,2 @@

import { type ZodType, type ZodTypeDef } from 'zod';
import { z } from "zod";
export declare enum UserEventType {

@@ -19,4 +19,4 @@ Click = "click",

};
export type CreateUserEventArgs = Omit<UserEvent, 'createdAt' | 'workspaceId' | 'userId'>;
export type CreateUserEventBody = CreateUserEventArgs;
export type CreateUserEventArg = z.output<typeof createUserEventSchema>;
export type CreateUserEventBody = z.input<typeof createUserEventSchema>;
export type ProtoUserEvent = {

@@ -28,7 +28,25 @@ type: UserEventType;

};
export type UserEventsCountQuery = {
export type UserEventsCountQuery = z.infer<typeof getUserEventsCountQuerySchema>;
export declare const getUserEventsCountQuerySchema: z.ZodObject<{
key: z.ZodString;
from: z.ZodNumber;
}, "strip", z.ZodTypeAny, {
key: string;
from: number;
};
export declare const getUserEventsCountQuerySchema: ZodType<UserEventsCountQuery>;
export declare const createUserEventSchema: ZodType<CreateUserEventArgs, ZodTypeDef, CreateUserEventBody>;
}, {
key: string;
from: number;
}>;
export declare const createUserEventSchema: z.ZodObject<{
key: z.ZodOptional<z.ZodString>;
type: z.ZodNativeEnum<typeof UserEventType>;
url: z.ZodString;
}, "strip", z.ZodTypeAny, {
type: UserEventType;
url: string;
key?: string | undefined;
}, {
type: UserEventType;
url: string;
key?: string | undefined;
}>;

@@ -5,3 +5,2 @@ "use strict";

const zod_1 = require("zod");
;
exports.workspaceIdSchema = zod_1.z.object({ workspaceId: zod_1.z.string() });

@@ -8,0 +7,0 @@ exports.workspaceSchema = zod_1.z.object({

{
"name": "lz-schema",
"version": "0.13.3",
"version": "0.13.4",
"main": "dist/index.js",

@@ -5,0 +5,0 @@ "types": "dist/index.d.ts",

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