appwrite-utils
Advanced tools
Comparing version 0.9.85 to 0.9.86
@@ -284,3 +284,2 @@ import { z } from "zod"; | ||
filePath: string; | ||
basePath: string; | ||
attributeMappings: { | ||
@@ -305,2 +304,3 @@ targetKey: string; | ||
type?: "create" | "update" | undefined; | ||
basePath?: string | undefined; | ||
updateMapping?: { | ||
@@ -508,3 +508,2 @@ originalIdField: string; | ||
filePath: string; | ||
basePath: string; | ||
attributeMappings: { | ||
@@ -529,2 +528,3 @@ targetKey: string; | ||
type?: "create" | "update" | undefined; | ||
basePath?: string | undefined; | ||
updateMapping?: { | ||
@@ -531,0 +531,0 @@ originalIdField: string; |
@@ -373,3 +373,4 @@ import { ID, IndexType } from "node-appwrite"; | ||
.string() | ||
.describe("The base path of the import e.g. if you have JSON, and the array is in the RECORDS object, then this would be RECORDS"), | ||
.optional() | ||
.describe("The base path of the import e.g. if you have JSON, and the array is in the RECORDS object, then this would be RECORDS, if nothing then leave it gone"), | ||
updateMapping: z | ||
@@ -376,0 +377,0 @@ .object({ |
{ | ||
"name": "appwrite-utils", | ||
"version": "0.9.85", | ||
"version": "0.9.86", | ||
"description": "Appwrite Utility Functions to help with database management, data conversion, data import, migrations, and much more.", | ||
@@ -31,2 +31,6 @@ "bin": { | ||
}, | ||
"files": [ | ||
"README.md", | ||
"dist/**/*" | ||
], | ||
"type": "module", | ||
@@ -36,3 +40,4 @@ "scripts": { | ||
"migrate": "tsx --no-cache ./src/main.ts", | ||
"build": "tsc" | ||
"build": "tsc", | ||
"deploy": "npm run build && npm publish --access public" | ||
}, | ||
@@ -39,0 +44,0 @@ "devDependencies": { |
@@ -189,2 +189,3 @@ # AppwriteUtils Package | ||
- 0.9.86: I was accidentally including all the code in the NPM package, package size reduced to ! | ||
- 0.9.85: Forgot to make `basePath` optional in `importDefs`, if it's just an array of objects or somethin you don't need it! | ||
@@ -191,0 +192,0 @@ - 0.9.84: jk I use `targetKey` a lot, so set it you lazy nerds! (myself included) |
Sorry, the diff of this file is too big to display
226
640316
92
15914