@isaacthoman/pulpo 0.160.2 → 0.161.0

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.
Files changed (2) hide show
  1. package/dist/index.js +18 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -20090,6 +20090,8 @@ var fileNodeSchema = external_exports.object({
20090
20090
  status: fileNodeStatusSchema,
20091
20091
  mimeType: external_exports.string().nullable(),
20092
20092
  sizeBytes: external_exports.number().int().nonnegative(),
20093
+ /** Uploaded bytes' checksum; unchanged by renames or moves. Older servers may omit it. */
20094
+ contentChecksum: external_exports.string().nullable().optional(),
20093
20095
  revision: external_exports.number().int().nonnegative(),
20094
20096
  trashedAt: external_exports.string().nullable(),
20095
20097
  createdAt: external_exports.string(),
@@ -20132,6 +20134,11 @@ var createFileDocSchema = external_exports.object({
20132
20134
  /** Initial content, e.g. when importing an uploaded .md file. */
20133
20135
  markdown: external_exports.string().max(FILE_DOC_MAX_MARKDOWN_LENGTH).optional()
20134
20136
  });
20137
+ var FILE_IMPORT_URL_MAX_LENGTH = 2048;
20138
+ var importFileUrlSchema = external_exports.object({
20139
+ parentId: external_exports.uuid().nullable().default(null),
20140
+ url: external_exports.string().trim().min(1).max(FILE_IMPORT_URL_MAX_LENGTH)
20141
+ });
20135
20142
  var fileAppearanceFields = {
20136
20143
  color: fileColorSchema.nullable().optional(),
20137
20144
  icon: fileIconSchema.nullable().optional()
@@ -22181,7 +22188,16 @@ var mobileConfigSchema = external_exports.object({
22181
22188
  folders: external_exports.literal(true),
22182
22189
  dictation: external_exports.boolean().optional().default(false),
22183
22190
  twoFactorAuth: external_exports.boolean().optional().default(false),
22184
- passkeys: external_exports.boolean().optional().default(false)
22191
+ passkeys: external_exports.boolean().optional().default(false),
22192
+ /**
22193
+ * Files and its collaborative documents. Older servers omit it; clients then hide Files.
22194
+ * `docSchemaVersion` is the document schema the server accepts edits in, so a client whose
22195
+ * bundled editor speaks another version can open documents read only instead of failing to join.
22196
+ */
22197
+ files: external_exports.object({
22198
+ enabled: external_exports.boolean(),
22199
+ docSchemaVersion: external_exports.number().int().positive()
22200
+ }).optional()
22185
22201
  })
22186
22202
  });
22187
22203
  var twoFactorStatusSchema = external_exports.object({
@@ -26422,7 +26438,7 @@ async function runModelTest(input2) {
26422
26438
  }
26423
26439
 
26424
26440
  // src/index.ts
26425
- var CLI_VERSION = true ? "0.160.2" : "0.1.0";
26441
+ var CLI_VERSION = true ? "0.161.0" : "0.1.0";
26426
26442
  var CLI_BUNDLED = true;
26427
26443
  var commandIo = /* @__PURE__ */ new WeakMap();
26428
26444
  var commandClientFactory = /* @__PURE__ */ new WeakMap();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@isaacthoman/pulpo",
3
- "version": "0.160.2",
3
+ "version": "0.161.0",
4
4
  "description": "Operator-first command-line client for Pulpo",
5
5
  "type": "module",
6
6
  "bin": {