appwrite-utils
Advanced tools
Comparing version 0.1.222 to 0.1.223
import { z } from "zod"; | ||
import { Collections } from "./collection.js"; | ||
import { type Collections, type Collection } from "./collection.js"; | ||
export declare const AppwriteConfigSchema: z.ZodObject<{ | ||
@@ -1179,5 +1179,5 @@ appwriteEndpoint: z.ZodDefault<z.ZodString>; | ||
export type AppwriteConfig = z.infer<typeof AppwriteConfigSchema>; | ||
export type ConfigCollections = AppwriteConfig["collections"]; | ||
export type ConfigCollection = Collections; | ||
export type ConfigCollections = Collections; | ||
export type ConfigCollection = Collection; | ||
export type ConfigDatabases = AppwriteConfig["databases"]; | ||
export type ConfigDatabase = ConfigDatabases[number]; |
import { z } from "zod"; | ||
import { CollectionCreateSchema } from "./collection.js"; | ||
import { CollectionCreateSchema, } from "./collection.js"; | ||
export const AppwriteConfigSchema = z.object({ | ||
@@ -4,0 +4,0 @@ appwriteEndpoint: z.string().default("https://cloud.appwrite.io/v1"), |
{ | ||
"name": "appwrite-utils", | ||
"module": "src/index.ts", | ||
"version": "0.1.222", | ||
"version": "0.1.223", | ||
"main": "dist/index.js", | ||
@@ -6,0 +6,0 @@ "types": "dist/index.d.ts", |
import { z } from "zod"; | ||
import { CollectionCreateSchema, Collections } from "./collection.js"; | ||
import { | ||
CollectionCreateSchema, | ||
type Collections, | ||
type Collection, | ||
} from "./collection.js"; | ||
@@ -69,5 +73,5 @@ export const AppwriteConfigSchema = z.object({ | ||
export type AppwriteConfig = z.infer<typeof AppwriteConfigSchema>; | ||
export type ConfigCollections = AppwriteConfig["collections"]; | ||
export type ConfigCollection = Collections; | ||
export type ConfigCollections = Collections; | ||
export type ConfigCollection = Collection; | ||
export type ConfigDatabases = AppwriteConfig["databases"]; | ||
export type ConfigDatabase = ConfigDatabases[number]; |
@@ -20,3 +20,5 @@ { | ||
"rootDir": "src" | ||
} | ||
}, | ||
"include": ["src/**/*"], | ||
"exclude": ["node_modules", "dist"] | ||
} |
322292
8477