@superdoc-dev/cli 0.5.0-next.63 → 0.5.0-next.64

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 +50 -26
  2. package/package.json +8 -8
package/dist/index.js CHANGED
@@ -3101,7 +3101,7 @@ var init_operation_definitions = __esm(() => {
3101
3101
  "trackChanges.list": {
3102
3102
  memberPath: "trackChanges.list",
3103
3103
  description: "List all tracked changes in the document.",
3104
- expectedResult: "Returns a TrackChangesListResult with tracked change entries, total count, and source Word revision IDs when available.",
3104
+ expectedResult: "Returns a TrackChangesListResult with tracked change entries, total count, and raw imported Word OOXML revision IDs (`w:id`) when available.",
3105
3105
  requiresDocumentContext: true,
3106
3106
  metadata: readOperation({
3107
3107
  idempotency: "idempotent",
@@ -3115,7 +3115,7 @@ var init_operation_definitions = __esm(() => {
3115
3115
  "trackChanges.get": {
3116
3116
  memberPath: "trackChanges.get",
3117
3117
  description: "Retrieve a single tracked change by ID.",
3118
- expectedResult: "Returns a TrackChangeInfo object with the change type, author, date, affected content, and source Word revision IDs when available.",
3118
+ expectedResult: "Returns a TrackChangeInfo object with the change type, author, date, affected content, and raw imported Word OOXML revision IDs (`w:id`) when available.",
3119
3119
  requiresDocumentContext: true,
3120
3120
  metadata: readOperation({
3121
3121
  idempotency: "idempotent",
@@ -8958,11 +8958,23 @@ var init_schemas = __esm(() => {
8958
8958
  creatorEmail: { type: "string" }
8959
8959
  }, ["address", "status"]);
8960
8960
  commentsListResultSchema = discoveryResultSchema(commentDomainItemSchema);
8961
- trackChangeWordRevisionIdsSchema = objectSchema({
8962
- insert: { type: "string" },
8963
- delete: { type: "string" },
8964
- format: { type: "string" }
8965
- });
8961
+ trackChangeWordRevisionIdsSchema = {
8962
+ ...objectSchema({
8963
+ insert: {
8964
+ type: "string",
8965
+ description: "Raw imported Word OOXML revision ID (`w:id`) from a `<w:ins>` element when this logical change includes an insertion."
8966
+ },
8967
+ delete: {
8968
+ type: "string",
8969
+ description: "Raw imported Word OOXML revision ID (`w:id`) from a `<w:del>` element when this logical change includes a deletion."
8970
+ },
8971
+ format: {
8972
+ type: "string",
8973
+ description: "Raw imported Word OOXML revision ID (`w:id`) from a `<w:rPrChange>` element when this logical change includes a formatting revision."
8974
+ }
8975
+ }),
8976
+ description: "Raw imported Word OOXML revision IDs (`w:id`) from the source document when available. This is provenance metadata, not the canonical SuperDoc tracked-change ID. Replacements may include both `insert` and `delete` IDs."
8977
+ };
8966
8978
  trackChangeInfoSchema = objectSchema({
8967
8979
  address: trackedChangeAddressSchema,
8968
8980
  id: { type: "string" },
@@ -65869,7 +65881,7 @@ var init_remark_gfm_BhnWr3yf_es = __esm(() => {
65869
65881
  emptyOptions2 = {};
65870
65882
  });
65871
65883
 
65872
- // ../../packages/superdoc/dist/chunks/SuperConverter-Dze38Knd.es.js
65884
+ // ../../packages/superdoc/dist/chunks/SuperConverter-DSmNz8oe.es.js
65873
65885
  function getExtensionConfigField(extension$1, field, context = { name: "" }) {
65874
65886
  const fieldValue = extension$1.config[field];
65875
65887
  if (typeof fieldValue === "function")
@@ -117484,7 +117496,7 @@ var isRegExp = (value) => {
117484
117496
  state.kern = kernNode.attributes["w:val"];
117485
117497
  }
117486
117498
  }, SuperConverter;
117487
- var init_SuperConverter_Dze38Knd_es = __esm(() => {
117499
+ var init_SuperConverter_DSmNz8oe_es = __esm(() => {
117488
117500
  init_rolldown_runtime_Bg48TavK_es();
117489
117501
  init_jszip_C49i9kUs_es();
117490
117502
  init_xml_js_CqGKpaft_es();
@@ -122381,7 +122393,7 @@ var init_SuperConverter_Dze38Knd_es = __esm(() => {
122381
122393
  "trackChanges.list": {
122382
122394
  memberPath: "trackChanges.list",
122383
122395
  description: "List all tracked changes in the document.",
122384
- expectedResult: "Returns a TrackChangesListResult with tracked change entries, total count, and source Word revision IDs when available.",
122396
+ expectedResult: "Returns a TrackChangesListResult with tracked change entries, total count, and raw imported Word OOXML revision IDs (`w:id`) when available.",
122385
122397
  requiresDocumentContext: true,
122386
122398
  metadata: readOperation2({
122387
122399
  idempotency: "idempotent",
@@ -122395,7 +122407,7 @@ var init_SuperConverter_Dze38Knd_es = __esm(() => {
122395
122407
  "trackChanges.get": {
122396
122408
  memberPath: "trackChanges.get",
122397
122409
  description: "Retrieve a single tracked change by ID.",
122398
- expectedResult: "Returns a TrackChangeInfo object with the change type, author, date, affected content, and source Word revision IDs when available.",
122410
+ expectedResult: "Returns a TrackChangeInfo object with the change type, author, date, affected content, and raw imported Word OOXML revision IDs (`w:id`) when available.",
122399
122411
  requiresDocumentContext: true,
122400
122412
  metadata: readOperation2({
122401
122413
  idempotency: "idempotent",
@@ -127613,11 +127625,23 @@ var init_SuperConverter_Dze38Knd_es = __esm(() => {
127613
127625
  creatorName: { type: "string" },
127614
127626
  creatorEmail: { type: "string" }
127615
127627
  }, ["address", "status"]));
127616
- trackChangeWordRevisionIdsSchema2 = objectSchema2({
127617
- insert: { type: "string" },
127618
- delete: { type: "string" },
127619
- format: { type: "string" }
127620
- });
127628
+ trackChangeWordRevisionIdsSchema2 = {
127629
+ ...objectSchema2({
127630
+ insert: {
127631
+ type: "string",
127632
+ description: "Raw imported Word OOXML revision ID (`w:id`) from a `<w:ins>` element when this logical change includes an insertion."
127633
+ },
127634
+ delete: {
127635
+ type: "string",
127636
+ description: "Raw imported Word OOXML revision ID (`w:id`) from a `<w:del>` element when this logical change includes a deletion."
127637
+ },
127638
+ format: {
127639
+ type: "string",
127640
+ description: "Raw imported Word OOXML revision ID (`w:id`) from a `<w:rPrChange>` element when this logical change includes a formatting revision."
127641
+ }
127642
+ }),
127643
+ description: "Raw imported Word OOXML revision IDs (`w:id`) from the source document when available. This is provenance metadata, not the canonical SuperDoc tracked-change ID. Replacements may include both `insert` and `delete` IDs."
127644
+ };
127621
127645
  objectSchema2({
127622
127646
  address: trackedChangeAddressSchema2,
127623
127647
  id: { type: "string" },
@@ -154564,7 +154588,7 @@ var init_SuperConverter_Dze38Knd_es = __esm(() => {
154564
154588
  };
154565
154589
  });
154566
154590
 
154567
- // ../../packages/superdoc/dist/chunks/create-headless-toolbar-Bj-CBCCF.es.js
154591
+ // ../../packages/superdoc/dist/chunks/create-headless-toolbar-Ciy4oezR.es.js
154568
154592
  function parseSizeUnit(val = "0") {
154569
154593
  const length3 = val.toString() || "0";
154570
154594
  const value = Number.parseFloat(length3);
@@ -156100,8 +156124,8 @@ var CSS_DIMENSION_REGEX, DOM_SIZE_UNITS, Extension = class Extension2 {
156100
156124
  return false;
156101
156125
  return Boolean(checker(attrs));
156102
156126
  };
156103
- var init_create_headless_toolbar_Bj_CBCCF_es = __esm(() => {
156104
- init_SuperConverter_Dze38Knd_es();
156127
+ var init_create_headless_toolbar_Ciy4oezR_es = __esm(() => {
156128
+ init_SuperConverter_DSmNz8oe_es();
156105
156129
  init_constants_5yyN6FZg_es();
156106
156130
  init_dist_B8HfvhaK_es();
156107
156131
  CSS_DIMENSION_REGEX = /[\d-.]+(\w+)$/;
@@ -204539,7 +204563,7 @@ var init_remark_gfm_eZN6yzWQ_es = __esm(() => {
204539
204563
  init_remark_gfm_BhnWr3yf_es();
204540
204564
  });
204541
204565
 
204542
- // ../../packages/superdoc/dist/chunks/src-Deswfs9W.es.js
204566
+ // ../../packages/superdoc/dist/chunks/src-D0dZmrnp.es.js
204543
204567
  function deleteProps(obj, propOrProps) {
204544
204568
  const props = typeof propOrProps === "string" ? [propOrProps] : propOrProps;
204545
204569
  const removeNested = (target, pathParts, index2 = 0) => {
@@ -286936,12 +286960,12 @@ var Node$13 = class Node$14 {
286936
286960
  return;
286937
286961
  console.log(...args$1);
286938
286962
  }, HEADER_FOOTER_INIT_BUDGET_MS = 200, MAX_ZOOM_WARNING_THRESHOLD = 10, MAX_SELECTION_RECTS_PER_USER = 100, SEMANTIC_RESIZE_DEBOUNCE_MS = 120, MIN_SEMANTIC_CONTENT_WIDTH_PX = 1, GLOBAL_PERFORMANCE, PresentationEditor, ICONS, TEXTS, tableActionsOptions;
286939
- var init_src_Deswfs9W_es = __esm(() => {
286963
+ var init_src_D0dZmrnp_es = __esm(() => {
286940
286964
  init_rolldown_runtime_Bg48TavK_es();
286941
- init_SuperConverter_Dze38Knd_es();
286965
+ init_SuperConverter_DSmNz8oe_es();
286942
286966
  init_jszip_C49i9kUs_es();
286943
286967
  init_uuid_qzgm05fK_es();
286944
- init_create_headless_toolbar_Bj_CBCCF_es();
286968
+ init_create_headless_toolbar_Ciy4oezR_es();
286945
286969
  init_constants_5yyN6FZg_es();
286946
286970
  init_dist_B8HfvhaK_es();
286947
286971
  init_unified_Dsuw2be5_es();
@@ -321418,11 +321442,11 @@ var init_zipper_DbkgrypV_es = __esm(() => {
321418
321442
 
321419
321443
  // ../../packages/superdoc/dist/super-editor.es.js
321420
321444
  var init_super_editor_es = __esm(() => {
321421
- init_src_Deswfs9W_es();
321422
- init_SuperConverter_Dze38Knd_es();
321445
+ init_src_D0dZmrnp_es();
321446
+ init_SuperConverter_DSmNz8oe_es();
321423
321447
  init_jszip_C49i9kUs_es();
321424
321448
  init_xml_js_CqGKpaft_es();
321425
- init_create_headless_toolbar_Bj_CBCCF_es();
321449
+ init_create_headless_toolbar_Ciy4oezR_es();
321426
321450
  init_constants_5yyN6FZg_es();
321427
321451
  init_dist_B8HfvhaK_es();
321428
321452
  init_unified_Dsuw2be5_es();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superdoc-dev/cli",
3
- "version": "0.5.0-next.63",
3
+ "version": "0.5.0-next.64",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "superdoc": "./dist/index.js"
@@ -26,19 +26,19 @@
26
26
  "typescript": "^5.9.2",
27
27
  "@superdoc/document-api": "0.0.1",
28
28
  "@superdoc/super-editor": "0.0.1",
29
- "superdoc": "1.24.0",
30
- "@superdoc/pm-adapter": "0.0.0"
29
+ "@superdoc/pm-adapter": "0.0.0",
30
+ "superdoc": "1.24.0"
31
31
  },
32
32
  "module": "src/index.ts",
33
33
  "publishConfig": {
34
34
  "access": "public"
35
35
  },
36
36
  "optionalDependencies": {
37
- "@superdoc-dev/cli-darwin-arm64": "0.5.0-next.63",
38
- "@superdoc-dev/cli-darwin-x64": "0.5.0-next.63",
39
- "@superdoc-dev/cli-linux-arm64": "0.5.0-next.63",
40
- "@superdoc-dev/cli-linux-x64": "0.5.0-next.63",
41
- "@superdoc-dev/cli-windows-x64": "0.5.0-next.63"
37
+ "@superdoc-dev/cli-darwin-arm64": "0.5.0-next.64",
38
+ "@superdoc-dev/cli-darwin-x64": "0.5.0-next.64",
39
+ "@superdoc-dev/cli-linux-x64": "0.5.0-next.64",
40
+ "@superdoc-dev/cli-windows-x64": "0.5.0-next.64",
41
+ "@superdoc-dev/cli-linux-arm64": "0.5.0-next.64"
42
42
  },
43
43
  "scripts": {
44
44
  "predev": "node scripts/ensure-superdoc-build.js",