@trebco/treb 21.6.4 → 21.7.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.
package/treb.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- /*! API v21.6. Copyright 2018-2022 trebco, llc. All rights reserved. LGPL: https://treb.app/license */
1
+ /*! API v21.7. Copyright 2018-2022 trebco, llc. All rights reserved. LGPL: https://treb.app/license */
2
2
 
3
3
  /**
4
4
  * Global instance. In the base script, this object will be created as an
@@ -342,12 +342,8 @@ export declare class EmbeddedSpreadsheet {
342
342
  UnmergeCells(range?: RangeReference): void;
343
343
 
344
344
  /**
345
- * revert to the original version of this document. this is a new flow
346
- * that requires options set for `storage_key` and `alternate_document`.
347
- *
348
- * the idea is that the localStorage version will control, unless you
349
- * don't have one or you revert; in that case we will load the alternate
350
- * document.
345
+ * revert to the network version of this document, if both `storage_key`
346
+ * and `network_document` are set.
351
347
  */
352
348
  Revert(): void;
353
349
 
@@ -949,7 +945,12 @@ export interface EmbeddedSpreadsheetOptions {
949
945
  /** fetch network document (URI) */
950
946
  network_document?: string;
951
947
 
952
- /** load this document if the storage document isn't found (fallback) */
948
+ /**
949
+ * load this document if the storage document isn't found (fallback)
950
+ *
951
+ * @deprecated - this is superfluous, using network_document with
952
+ * storage_key is sufficient for this pattern.
953
+ */
953
954
  alternate_document?: string;
954
955
 
955
956
  /** freeze rows */