appwrite-utils-cli 0.0.51 → 0.0.52
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -192,7 +192,14 @@ export declare const CollectionImportDataSchema: z.ZodObject<{
|
|
|
192
192
|
type: z.ZodLiteral<"ip">;
|
|
193
193
|
error: z.ZodOptional<z.ZodDefault<z.ZodString>>;
|
|
194
194
|
required: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
195
|
-
array: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>;
|
|
195
|
+
array: z.ZodOptional<z.ZodDefault<z.ZodBoolean>>; /**
|
|
196
|
+
* Prepares the data for creating documents in a collection.
|
|
197
|
+
* This involves loading the data, transforming it, and handling ID mappings.
|
|
198
|
+
*
|
|
199
|
+
* @param db - The database configuration.
|
|
200
|
+
* @param collection - The collection configuration.
|
|
201
|
+
* @param importDef - The import definition containing the attribute mappings and other relevant info.
|
|
202
|
+
*/
|
|
196
203
|
xdefault: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
197
204
|
description: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>>>;
|
|
198
205
|
}, "strip", z.ZodTypeAny, {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "appwrite-utils-cli",
|
|
3
3
|
"description": "Appwrite Utility Functions to help with database management, data conversion, data import, migrations, and much more. Meant to be used as a CLI tool, I do not recommend installing this in frontend environments.",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.52",
|
|
5
5
|
"main": "src/main.ts",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"repository": {
|