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

appwrite-utils

Package Overview
Dependencies
Maintainers
1
Versions
139
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

appwrite-utils - npm Package Compare versions

Comparing version 0.1.221 to 0.1.222

2

dist/index.d.ts

@@ -17,3 +17,3 @@ export { areCollectionNamesSame } from "./functions/collections.js";

export { type AppwriteConfig, AppwriteConfigSchema, type ConfigCollection, type ConfigCollections, type ConfigDatabase, type ConfigDatabases, } from "./schemas/appwriteConfig.js";
export { type CollectionCreate, CollectionCreateSchema, collectionSchema, type Collection, type Collections, } from "./schemas/collection.js";
export { type CollectionCreate, CollectionCreateSchema, CollectionSchema, type Collection, type Collections, } from "./schemas/collection.js";
export { type Attribute, attributeSchema, type Attributes, attributesSchema, } from "./schemas/attribute.js";

@@ -20,0 +20,0 @@ export { indexSchema, type Index, indexesSchema, type Indexes, } from "./schemas/index.js";

@@ -16,3 +16,3 @@ export { areCollectionNamesSame } from "./functions/collections.js";

export { AppwriteConfigSchema, } from "./schemas/appwriteConfig.js";
export { CollectionCreateSchema, collectionSchema, } from "./schemas/collection.js";
export { CollectionCreateSchema, CollectionSchema, } from "./schemas/collection.js";
export { attributeSchema, attributesSchema, } from "./schemas/attribute.js";

@@ -19,0 +19,0 @@ export { indexSchema, indexesSchema, } from "./schemas/index.js";

@@ -6,3 +6,3 @@ import { z } from "zod";

import { indexSchema } from "./index.js";
export const collectionSchema = z.object({
export const CollectionSchema = z.object({
name: z.string().describe("The name of the collection"),

@@ -53,3 +53,3 @@ $id: z

});
export const CollectionCreateSchema = collectionSchema.omit({
export const CollectionCreateSchema = CollectionSchema.omit({
$createdAt: true,

@@ -59,3 +59,3 @@ $updatedAt: true,

export const CollectionsSchema = z
.array(collectionSchema)
.array(CollectionSchema)
.describe("An array of collections to create");
{
"name": "appwrite-utils",
"module": "src/index.ts",
"version": "0.1.221",
"version": "0.1.222",
"main": "dist/index.js",

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

@@ -60,3 +60,3 @@ export { areCollectionNamesSame } from "./functions/collections.js";

CollectionCreateSchema,
collectionSchema,
CollectionSchema,
type Collection,

@@ -63,0 +63,0 @@ type Collections,

@@ -7,3 +7,3 @@ import { z } from "zod";

export const collectionSchema = z.object({
export const CollectionSchema = z.object({
name: z.string().describe("The name of the collection"),

@@ -59,3 +59,3 @@ $id: z

export const CollectionCreateSchema = collectionSchema.omit({
export const CollectionCreateSchema = CollectionSchema.omit({
$createdAt: true,

@@ -66,7 +66,7 @@ $updatedAt: true,

export const CollectionsSchema = z
.array(collectionSchema)
.array(CollectionSchema)
.describe("An array of collections to create");
export type Collection = z.infer<typeof collectionSchema>;
export type Collection = z.infer<typeof CollectionSchema>;
export type Collections = z.infer<typeof CollectionsSchema>;
export type CollectionCreate = z.infer<typeof CollectionCreateSchema>;

@@ -18,3 +18,2 @@ {

"allowSyntheticDefaultImports": true,
"checkJs": true,
"outDir": "dist",

@@ -21,0 +20,0 @@ "rootDir": "src"

Sorry, the diff of this file is too big to display

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