@design-edito/tools 0.1.58 → 0.1.60

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 (118) hide show
  1. package/agnostic/arrays/index.js +3 -3
  2. package/agnostic/css/bem/index.js +2 -2
  3. package/agnostic/css/index.js +13 -13
  4. package/agnostic/html/hyper-json/cast/index.js +5 -5
  5. package/agnostic/html/hyper-json/index.js +6 -6
  6. package/agnostic/html/hyper-json/smart-tags/coalesced/add/index.js +5 -5
  7. package/agnostic/html/hyper-json/smart-tags/coalesced/addclass/index.js +5 -5
  8. package/agnostic/html/hyper-json/smart-tags/coalesced/and/index.js +5 -5
  9. package/agnostic/html/hyper-json/smart-tags/coalesced/append/index.js +5 -5
  10. package/agnostic/html/hyper-json/smart-tags/coalesced/at/index.js +5 -5
  11. package/agnostic/html/hyper-json/smart-tags/coalesced/call/index.js +5 -5
  12. package/agnostic/html/hyper-json/smart-tags/coalesced/clone/index.js +5 -5
  13. package/agnostic/html/hyper-json/smart-tags/coalesced/deleteproperties/index.js +5 -5
  14. package/agnostic/html/hyper-json/smart-tags/coalesced/equals/index.js +5 -5
  15. package/agnostic/html/hyper-json/smart-tags/coalesced/getattribute/index.js +5 -5
  16. package/agnostic/html/hyper-json/smart-tags/coalesced/getproperties/index.js +5 -5
  17. package/agnostic/html/hyper-json/smart-tags/coalesced/getproperty/index.js +5 -5
  18. package/agnostic/html/hyper-json/smart-tags/coalesced/if/index.js +5 -5
  19. package/agnostic/html/hyper-json/smart-tags/coalesced/initialize/index.js +5 -5
  20. package/agnostic/html/hyper-json/smart-tags/coalesced/join/index.js +5 -5
  21. package/agnostic/html/hyper-json/smart-tags/coalesced/length/index.js +5 -5
  22. package/agnostic/html/hyper-json/smart-tags/coalesced/map/index.js +5 -5
  23. package/agnostic/html/hyper-json/smart-tags/coalesced/negate/index.js +5 -5
  24. package/agnostic/html/hyper-json/smart-tags/coalesced/notrailing/index.js +5 -5
  25. package/agnostic/html/hyper-json/smart-tags/coalesced/or/index.js +5 -5
  26. package/agnostic/html/hyper-json/smart-tags/coalesced/pickrandom/index.js +5 -5
  27. package/agnostic/html/hyper-json/smart-tags/coalesced/populate/index.js +5 -5
  28. package/agnostic/html/hyper-json/smart-tags/coalesced/print/index.js +5 -5
  29. package/agnostic/html/hyper-json/smart-tags/coalesced/push/index.js +5 -5
  30. package/agnostic/html/hyper-json/smart-tags/coalesced/pusheach/index.js +5 -5
  31. package/agnostic/html/hyper-json/smart-tags/coalesced/recordtoarray/index.js +5 -5
  32. package/agnostic/html/hyper-json/smart-tags/coalesced/removeattribute/index.js +5 -5
  33. package/agnostic/html/hyper-json/smart-tags/coalesced/removeclass/index.js +5 -5
  34. package/agnostic/html/hyper-json/smart-tags/coalesced/renameproperty/index.js +5 -5
  35. package/agnostic/html/hyper-json/smart-tags/coalesced/replace/index.js +5 -5
  36. package/agnostic/html/hyper-json/smart-tags/coalesced/select/index.js +5 -5
  37. package/agnostic/html/hyper-json/smart-tags/coalesced/set/index.js +5 -5
  38. package/agnostic/html/hyper-json/smart-tags/coalesced/setattribute/index.js +5 -5
  39. package/agnostic/html/hyper-json/smart-tags/coalesced/setproperty/index.js +5 -5
  40. package/agnostic/html/hyper-json/smart-tags/coalesced/sorton/index.js +5 -5
  41. package/agnostic/html/hyper-json/smart-tags/coalesced/split/index.js +5 -5
  42. package/agnostic/html/hyper-json/smart-tags/coalesced/spread/index.js +5 -5
  43. package/agnostic/html/hyper-json/smart-tags/coalesced/toarray/index.js +5 -5
  44. package/agnostic/html/hyper-json/smart-tags/coalesced/toboolean/index.js +5 -5
  45. package/agnostic/html/hyper-json/smart-tags/coalesced/toelement/index.js +5 -5
  46. package/agnostic/html/hyper-json/smart-tags/coalesced/toggleclass/index.js +5 -5
  47. package/agnostic/html/hyper-json/smart-tags/coalesced/tonodelist/index.js +5 -5
  48. package/agnostic/html/hyper-json/smart-tags/coalesced/tonull/index.js +5 -5
  49. package/agnostic/html/hyper-json/smart-tags/coalesced/tonumber/index.js +5 -5
  50. package/agnostic/html/hyper-json/smart-tags/coalesced/torecord/index.js +5 -5
  51. package/agnostic/html/hyper-json/smart-tags/coalesced/toref/index.js +5 -5
  52. package/agnostic/html/hyper-json/smart-tags/coalesced/tostring/index.js +5 -5
  53. package/agnostic/html/hyper-json/smart-tags/coalesced/totext/index.js +5 -5
  54. package/agnostic/html/hyper-json/smart-tags/coalesced/transformselected/index.js +5 -5
  55. package/agnostic/html/hyper-json/smart-tags/coalesced/trim/index.js +5 -5
  56. package/agnostic/html/hyper-json/smart-tags/isolated/boolean/index.js +5 -5
  57. package/agnostic/html/hyper-json/smart-tags/isolated/element/index.js +5 -5
  58. package/agnostic/html/hyper-json/smart-tags/isolated/get/index.js +5 -5
  59. package/agnostic/html/hyper-json/smart-tags/isolated/global/index.js +5 -5
  60. package/agnostic/html/hyper-json/smart-tags/isolated/guess/index.js +5 -5
  61. package/agnostic/html/hyper-json/smart-tags/isolated/nodelist/index.js +5 -5
  62. package/agnostic/html/hyper-json/smart-tags/isolated/number/index.js +5 -5
  63. package/agnostic/html/hyper-json/smart-tags/isolated/record/index.js +5 -5
  64. package/agnostic/html/hyper-json/smart-tags/isolated/ref/index.js +5 -5
  65. package/agnostic/html/hyper-json/smart-tags/isolated/string/index.js +5 -5
  66. package/agnostic/html/hyper-json/smart-tags/isolated/text/index.js +5 -5
  67. package/agnostic/html/hyper-json/tree/index.js +5 -5
  68. package/agnostic/html/hyper-json/utils/index.js +5 -5
  69. package/agnostic/html/index.js +17 -17
  70. package/agnostic/index.d.ts +1 -1
  71. package/agnostic/misc/data-size/index.d.ts +38 -40
  72. package/agnostic/misc/data-size/index.js +31 -3
  73. package/agnostic/misc/index.d.ts +15 -17
  74. package/agnostic/misc/index.js +42 -34
  75. package/agnostic/misc/lorem-ipsum/index.js +4 -4
  76. package/agnostic/numbers/index.js +3 -3
  77. package/agnostic/objects/index.js +14 -14
  78. package/agnostic/strings/index.js +9 -9
  79. package/agnostic/time/index.js +3 -3
  80. package/chunks/chunk-222367I5.js +2369 -0
  81. package/chunks/chunk-27HRTQ7Z.js +20 -0
  82. package/chunks/chunk-344X5RHV.js +37 -0
  83. package/chunks/chunk-3TX6SJRO.js +31 -0
  84. package/chunks/chunk-57RPA6DU.js +56 -0
  85. package/chunks/chunk-5M7ZTA56.js +43 -0
  86. package/chunks/chunk-7DV4CM2Z.js +205 -0
  87. package/chunks/chunk-APRHU5KY.js +31 -0
  88. package/chunks/chunk-CMKKX7WQ.js +56 -0
  89. package/chunks/chunk-CNPV4DFI.js +20 -0
  90. package/chunks/chunk-D2JMITOU.js +37 -0
  91. package/chunks/chunk-DCSNQUVT.js +56 -0
  92. package/chunks/chunk-EFLJJ5VF.js +31 -0
  93. package/chunks/chunk-EI6W5HLB.js +56 -0
  94. package/chunks/chunk-EWM3VOPO.js +191 -0
  95. package/chunks/chunk-HDNYKGJM.js +31 -0
  96. package/chunks/chunk-IMZIWMCE.js +191 -0
  97. package/chunks/chunk-KB4BPJBE.js +2369 -0
  98. package/chunks/chunk-KD627A47.js +191 -0
  99. package/chunks/chunk-N2AOS7WW.js +20 -0
  100. package/chunks/chunk-NJ4ANCLV.js +65 -0
  101. package/chunks/chunk-PM7FWQYD.js +20 -0
  102. package/chunks/chunk-PYVUC6EN.js +191 -0
  103. package/chunks/chunk-SOAU5CRO.js +56 -0
  104. package/chunks/chunk-VEKKX6Z5.js +173 -0
  105. package/chunks/chunk-YBYXIDGC.js +20 -0
  106. package/node/@express/@multer/index.d.ts +3 -7
  107. package/node/@express/@multer/index.js +1 -1
  108. package/node/@express/index.js +1 -1
  109. package/node/@google-cloud/index.js +8 -8
  110. package/node/@google-cloud/storage/file/index.js +16 -16
  111. package/node/@google-cloud/storage/index.js +8 -8
  112. package/node/cloud-storage/credentials/index.d.ts +1 -0
  113. package/node/cloud-storage/credentials/index.js +3 -1
  114. package/node/cloud-storage/index.js +2 -2
  115. package/node/files/index.js +3 -3
  116. package/node/images/index.js +4 -4
  117. package/node/images/prepare/index.js +2 -2
  118. package/package.json +1 -1
@@ -0,0 +1,173 @@
1
+ import {
2
+ Random
3
+ } from "./chunk-OVG5RGI3.js";
4
+ import {
5
+ register
6
+ } from "./chunk-SJLH36CH.js";
7
+
8
+ // src/agnostic/css/styles-set/index.tsx
9
+ import { Component } from "react";
10
+ import { createRoot as reactCreateRoot } from "react-dom/client";
11
+ import { Fragment, jsx } from "react/jsx-runtime";
12
+ var StylesSet = class _StylesSet {
13
+ static defaultPrivateIDAttribute = "data-styleset-private-id";
14
+ static defaultPublicIDAttribute = "data-styleset-public-id";
15
+ tagsPrivateIDAttribute = _StylesSet.defaultPrivateIDAttribute;
16
+ tagsPublicIDAttribute = _StylesSet.defaultPublicIDAttribute;
17
+ _items = /* @__PURE__ */ new Map();
18
+ get items() {
19
+ const sortedItemsArray = Array.from(this._items).map(([privateId, item]) => {
20
+ const targetPosition = this.getTargetPosition(privateId) ?? 0;
21
+ return { targetPosition, privateId, item };
22
+ }).sort((a, b) => a.targetPosition - b.targetPosition).map(({ item, privateId }) => [privateId, item]);
23
+ const sortedItemsMap = new Map(sortedItemsArray);
24
+ return sortedItemsMap;
25
+ }
26
+ getTargetPosition(privateId) {
27
+ const orderedStyles = Array.from(this._items).map(([privateId2, data]) => ({ privateId: privateId2, data })).sort((a, b) => {
28
+ const aPos = a.data.position ?? 0;
29
+ const bPos = b.data.position ?? 0;
30
+ return aPos - bPos;
31
+ });
32
+ const foundIndex = orderedStyles.findIndex((item) => item.privateId === privateId);
33
+ return foundIndex === -1 ? null : foundIndex;
34
+ }
35
+ setTagsPrivateIDAttribute(str) {
36
+ this.tagsPrivateIDAttribute = str;
37
+ return this;
38
+ }
39
+ setTagsPublicIDAttribute(str) {
40
+ this.tagsPublicIDAttribute = str;
41
+ return this;
42
+ }
43
+ getById(id) {
44
+ const found = Array.from(this._items.values()).find((entry) => entry.id === id);
45
+ if (found === void 0) return void 0;
46
+ return found;
47
+ }
48
+ generateUniquePrivateId() {
49
+ const existingIds = Array.from(this._items.keys());
50
+ const generated = Random.randomHash(12);
51
+ if (existingIds.includes(generated)) return this.generateUniquePrivateId();
52
+ return generated;
53
+ }
54
+ _rendered = /* @__PURE__ */ new Map();
55
+ render(element) {
56
+ const root = reactCreateRoot(element);
57
+ const items = this.items;
58
+ root.render(/* @__PURE__ */ jsx(
59
+ StylesSetComp,
60
+ {
61
+ items,
62
+ privateIDAttribute: this.tagsPrivateIDAttribute,
63
+ publicIDAttribute: this.tagsPublicIDAttribute
64
+ }
65
+ ));
66
+ this._rendered.set(element, root);
67
+ return this;
68
+ }
69
+ unmount(element) {
70
+ if (!this._rendered.has(element)) return this;
71
+ const root = this._rendered.get(element);
72
+ if (root === void 0) return this;
73
+ root.unmount();
74
+ this._rendered.delete(element);
75
+ return this;
76
+ }
77
+ updateRendered() {
78
+ const { items } = this;
79
+ this._rendered.forEach((root) => root.render(/* @__PURE__ */ jsx(
80
+ StylesSetComp,
81
+ {
82
+ items,
83
+ privateIDAttribute: this.tagsPrivateIDAttribute,
84
+ publicIDAttribute: this.tagsPublicIDAttribute
85
+ }
86
+ )));
87
+ return this;
88
+ }
89
+ addItem(item, abortIfIdExists = true) {
90
+ const existing = Array.from(this._items.entries()).map(([privateId2, entry]) => ({ privateId: privateId2, entry })).find(({ entry }) => entry.id !== void 0 && entry.id === item.id);
91
+ if (existing !== void 0) {
92
+ if (abortIfIdExists) return this;
93
+ this._items.delete(existing.privateId);
94
+ }
95
+ const privateId = this.generateUniquePrivateId();
96
+ this._items.set(privateId, item);
97
+ this.updateRendered();
98
+ return this;
99
+ }
100
+ removeItem(idOrPosition) {
101
+ if (typeof idOrPosition === "string") {
102
+ const existing = Array.from(this._items.entries()).map(([privateId, entry]) => ({ privateId, entry })).find(({ entry }) => entry.id !== void 0 && entry.id === idOrPosition);
103
+ if (existing === void 0) return this;
104
+ this._items.delete(existing.privateId);
105
+ this.updateRendered();
106
+ return this;
107
+ }
108
+ const toRemove = Array.from(this._items).map(([privateId, entry]) => ({ privateId, entry })).at(idOrPosition);
109
+ if (toRemove === void 0) return this;
110
+ this._items.delete(toRemove.privateId);
111
+ this.updateRendered();
112
+ return this;
113
+ }
114
+ async getDomString(documentObj) {
115
+ const actualDocumentObj = documentObj ?? window.document;
116
+ if (actualDocumentObj === null) throw register.getError("no-window-document-on-runtime" /* NO_DOCUMENT */);
117
+ return new Promise((resolve) => {
118
+ const tempElt = actualDocumentObj.createElement("div");
119
+ const tempRoot = reactCreateRoot(tempElt);
120
+ const { items } = this;
121
+ const onRendered = () => {
122
+ resolve(tempElt.innerHTML);
123
+ tempRoot.unmount();
124
+ tempElt.remove();
125
+ };
126
+ tempRoot.render(/* @__PURE__ */ jsx(
127
+ StylesSetComp,
128
+ {
129
+ items,
130
+ privateIDAttribute: this.tagsPrivateIDAttribute,
131
+ publicIDAttribute: this.tagsPublicIDAttribute,
132
+ onRendered
133
+ }
134
+ ));
135
+ });
136
+ }
137
+ };
138
+ var StylesSetComp = class extends Component {
139
+ componentDidMount() {
140
+ const { props } = this;
141
+ const { onRendered } = props;
142
+ if (onRendered !== void 0) onRendered();
143
+ }
144
+ componentDidUpdate() {
145
+ const { props } = this;
146
+ const { onRendered } = props;
147
+ if (onRendered !== void 0) onRendered();
148
+ }
149
+ render() {
150
+ const { props } = this;
151
+ const items = props.items ?? /* @__PURE__ */ new Map();
152
+ const pidAttr = props.privateIDAttribute ?? StylesSet.defaultPrivateIDAttribute;
153
+ const idAttr = props.publicIDAttribute ?? StylesSet.defaultPublicIDAttribute;
154
+ return /* @__PURE__ */ jsx(Fragment, { children: Array.from(items).map(([privateId, itemData]) => {
155
+ const customAttributes = { [pidAttr]: privateId, [idAttr]: itemData.id };
156
+ if (itemData.type === "url") return /* @__PURE__ */ jsx(
157
+ "link",
158
+ {
159
+ onLoad: itemData.onLoad,
160
+ rel: "stylesheet",
161
+ href: itemData.content,
162
+ ...customAttributes
163
+ }
164
+ );
165
+ return /* @__PURE__ */ jsx("style", { ...customAttributes, children: itemData.content });
166
+ }) });
167
+ }
168
+ };
169
+
170
+ export {
171
+ StylesSet,
172
+ StylesSetComp
173
+ };
@@ -0,0 +1,20 @@
1
+ import {
2
+ bucket_exports
3
+ } from "./chunk-YMRAUWRW.js";
4
+ import {
5
+ file_exports
6
+ } from "./chunk-EI6W5HLB.js";
7
+ import {
8
+ __export
9
+ } from "./chunk-WSFCRVEQ.js";
10
+
11
+ // src/node/@google-cloud/storage/index.ts
12
+ var storage_exports = {};
13
+ __export(storage_exports, {
14
+ Bucket: () => bucket_exports,
15
+ File: () => file_exports
16
+ });
17
+
18
+ export {
19
+ storage_exports
20
+ };
@@ -1,10 +1,6 @@
1
1
  import { Request, Response } from 'express';
2
- import { Options, Field } from 'multer';
2
+ import multer from 'multer';
3
3
  import { Outcome } from '../../../agnostic/misc/outcome';
4
- export type WithMulterSharedOptions = {
5
- limits?: Options['limits'];
6
- fileFilter?: Options['fileFilter'];
7
- };
8
4
  export type WithMulterModeOptions = {
9
5
  mode: 'none' | 'any';
10
6
  } | {
@@ -16,7 +12,7 @@ export type WithMulterModeOptions = {
16
12
  maxCount?: number;
17
13
  } | {
18
14
  mode: 'fields';
19
- fields: Field[];
15
+ fields: multer.Field[];
20
16
  };
21
- export type WithMulterOptions = WithMulterSharedOptions & WithMulterModeOptions;
17
+ export type WithMulterOptions = multer.Options & WithMulterModeOptions;
22
18
  export declare function useMulterMiddleware(req: Request, res: Response, options: WithMulterOptions): Promise<Outcome.Either<true, unknown>>;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  useMulterMiddleware
3
- } from "../../../chunks/chunk-GP44TBRI.js";
3
+ } from "../../../chunks/chunk-5M7ZTA56.js";
4
4
  import "../../../chunks/chunk-JMU5PDBD.js";
5
5
  import "../../../chunks/chunk-WSFCRVEQ.js";
6
6
  export {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  multer_exports
3
- } from "../../chunks/chunk-GP44TBRI.js";
3
+ } from "../../chunks/chunk-5M7ZTA56.js";
4
4
  import "../../chunks/chunk-JMU5PDBD.js";
5
5
  import "../../chunks/chunk-WSFCRVEQ.js";
6
6
  export {
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  storage_exports
3
- } from "../../chunks/chunk-BX6M7WBE.js";
3
+ } from "../../chunks/chunk-27HRTQ7Z.js";
4
4
  import "../../chunks/chunk-YMRAUWRW.js";
5
5
  import "../../chunks/chunk-ZNA7SWFK.js";
6
6
  import "../../chunks/chunk-7YSTZ7GY.js";
7
- import "../../chunks/chunk-UMJX4S4M.js";
8
- import "../../chunks/chunk-5VHFXWFM.js";
9
- import "../../chunks/chunk-EM37BFXO.js";
10
- import "../../chunks/chunk-QVIRBFMQ.js";
11
- import "../../chunks/chunk-WOGRENMM.js";
12
- import "../../chunks/chunk-X4XXZ44B.js";
13
- import "../../chunks/chunk-4CAHGPFA.js";
7
+ import "../../chunks/chunk-DCSNQUVT.js";
14
8
  import "../../chunks/chunk-JBDWHJ4Q.js";
9
+ import "../../chunks/chunk-X4XXZ44B.js";
15
10
  import "../../chunks/chunk-5IPSIDXB.js";
16
11
  import "../../chunks/chunk-G66DWXF3.js";
12
+ import "../../chunks/chunk-EM37BFXO.js";
13
+ import "../../chunks/chunk-5VHFXWFM.js";
14
+ import "../../chunks/chunk-WOGRENMM.js";
15
+ import "../../chunks/chunk-QVIRBFMQ.js";
16
+ import "../../chunks/chunk-4CAHGPFA.js";
17
17
  import "../../chunks/chunk-KH5JTC2N.js";
18
18
  import "../../chunks/chunk-6WVNJVBE.js";
19
19
  import "../../chunks/chunk-JMU5PDBD.js";
@@ -1,31 +1,31 @@
1
- import "../../../../chunks/chunk-UMJX4S4M.js";
1
+ import "../../../../chunks/chunk-DCSNQUVT.js";
2
2
  import {
3
- exists_exports
4
- } from "../../../../chunks/chunk-5VHFXWFM.js";
3
+ update_metadata_exports
4
+ } from "../../../../chunks/chunk-JBDWHJ4Q.js";
5
+ import {
6
+ revoke_signed_urls_exports
7
+ } from "../../../../chunks/chunk-X4XXZ44B.js";
8
+ import {
9
+ copy_exports
10
+ } from "../../../../chunks/chunk-5IPSIDXB.js";
11
+ import {
12
+ erase_exports
13
+ } from "../../../../chunks/chunk-G66DWXF3.js";
5
14
  import {
6
15
  generate_signed_url_exports
7
16
  } from "../../../../chunks/chunk-EM37BFXO.js";
8
17
  import {
9
- get_metadata_exports
10
- } from "../../../../chunks/chunk-QVIRBFMQ.js";
18
+ exists_exports
19
+ } from "../../../../chunks/chunk-5VHFXWFM.js";
11
20
  import {
12
21
  get_permissions_exports
13
22
  } from "../../../../chunks/chunk-WOGRENMM.js";
14
23
  import {
15
- revoke_signed_urls_exports
16
- } from "../../../../chunks/chunk-X4XXZ44B.js";
24
+ get_metadata_exports
25
+ } from "../../../../chunks/chunk-QVIRBFMQ.js";
17
26
  import {
18
27
  move_exports
19
28
  } from "../../../../chunks/chunk-4CAHGPFA.js";
20
- import {
21
- update_metadata_exports
22
- } from "../../../../chunks/chunk-JBDWHJ4Q.js";
23
- import {
24
- copy_exports
25
- } from "../../../../chunks/chunk-5IPSIDXB.js";
26
- import {
27
- erase_exports
28
- } from "../../../../chunks/chunk-G66DWXF3.js";
29
29
  import {
30
30
  upload_exports
31
31
  } from "../../../../chunks/chunk-KH5JTC2N.js";
@@ -1,4 +1,4 @@
1
- import "../../../chunks/chunk-BX6M7WBE.js";
1
+ import "../../../chunks/chunk-27HRTQ7Z.js";
2
2
  import {
3
3
  bucket_exports
4
4
  } from "../../../chunks/chunk-YMRAUWRW.js";
@@ -6,16 +6,16 @@ import "../../../chunks/chunk-ZNA7SWFK.js";
6
6
  import "../../../chunks/chunk-7YSTZ7GY.js";
7
7
  import {
8
8
  file_exports
9
- } from "../../../chunks/chunk-UMJX4S4M.js";
10
- import "../../../chunks/chunk-5VHFXWFM.js";
11
- import "../../../chunks/chunk-EM37BFXO.js";
12
- import "../../../chunks/chunk-QVIRBFMQ.js";
13
- import "../../../chunks/chunk-WOGRENMM.js";
14
- import "../../../chunks/chunk-X4XXZ44B.js";
15
- import "../../../chunks/chunk-4CAHGPFA.js";
9
+ } from "../../../chunks/chunk-DCSNQUVT.js";
16
10
  import "../../../chunks/chunk-JBDWHJ4Q.js";
11
+ import "../../../chunks/chunk-X4XXZ44B.js";
17
12
  import "../../../chunks/chunk-5IPSIDXB.js";
18
13
  import "../../../chunks/chunk-G66DWXF3.js";
14
+ import "../../../chunks/chunk-EM37BFXO.js";
15
+ import "../../../chunks/chunk-5VHFXWFM.js";
16
+ import "../../../chunks/chunk-WOGRENMM.js";
17
+ import "../../../chunks/chunk-QVIRBFMQ.js";
18
+ import "../../../chunks/chunk-4CAHGPFA.js";
19
19
  import "../../../chunks/chunk-KH5JTC2N.js";
20
20
  import "../../../chunks/chunk-6WVNJVBE.js";
21
21
  import "../../../chunks/chunk-JMU5PDBD.js";
@@ -36,3 +36,4 @@ export declare function isS3BucketCredentials(unknownObject: unknown): unknownOb
36
36
  export declare function isFtpCredentials(unknownObject: unknown): unknownObject is FtpCredentials;
37
37
  export declare function isFtpsCredentials(unknownObject: unknown): unknownObject is FtpsCredentials;
38
38
  export declare function isSftpCredentials(unknownObject: unknown): unknownObject is SftpCredentials;
39
+ export declare function isCredentials(unknownObject: unknown): unknownObject is Credentials<Type>;
@@ -1,13 +1,15 @@
1
1
  import {
2
+ isCredentials,
2
3
  isFtpCredentials,
3
4
  isFtpsCredentials,
4
5
  isGcsBucketCredentials,
5
6
  isS3BucketCredentials,
6
7
  isSftpCredentials
7
- } from "../../../chunks/chunk-C2VF2MJV.js";
8
+ } from "../../../chunks/chunk-NJ4ANCLV.js";
8
9
  import "../../../chunks/chunk-HQLRJ7XW.js";
9
10
  import "../../../chunks/chunk-WSFCRVEQ.js";
10
11
  export {
12
+ isCredentials,
11
13
  isFtpCredentials,
12
14
  isFtpsCredentials,
13
15
  isGcsBucketCredentials,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  credentials_exports
3
- } from "../../chunks/chunk-C2VF2MJV.js";
3
+ } from "../../chunks/chunk-NJ4ANCLV.js";
4
4
  import {
5
5
  operations_exports
6
6
  } from "../../chunks/chunk-YRKWVEWA.js";
@@ -20,8 +20,8 @@ import {
20
20
  } from "../../chunks/chunk-CMWR77VW.js";
21
21
  import "../../chunks/chunk-AIESW26U.js";
22
22
  import "../../chunks/chunk-UJN2WZGO.js";
23
- import "../../chunks/chunk-HQLRJ7XW.js";
24
23
  import "../../chunks/chunk-JMU5PDBD.js";
24
+ import "../../chunks/chunk-HQLRJ7XW.js";
25
25
  import "../../chunks/chunk-FENXVJYO.js";
26
26
  import "../../chunks/chunk-WSFCRVEQ.js";
27
27
  export {
@@ -1,12 +1,12 @@
1
- import {
2
- isInDirectory
3
- } from "../../chunks/chunk-NRITRUZW.js";
4
1
  import {
5
2
  readWrite
6
3
  } from "../../chunks/chunk-7DBNMU6N.js";
7
4
  import {
8
5
  Subpaths
9
6
  } from "../../chunks/chunk-HGCG2J77.js";
7
+ import {
8
+ isInDirectory
9
+ } from "../../chunks/chunk-NRITRUZW.js";
10
10
  import "../../chunks/chunk-LQFKUNVQ.js";
11
11
  import "../../chunks/chunk-WSFCRVEQ.js";
12
12
 
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  prepare_exports
3
- } from "../../chunks/chunk-4OCP2WZM.js";
4
- import {
5
- exports_exports
6
- } from "../../chunks/chunk-5RGHYFQH.js";
3
+ } from "../../chunks/chunk-ILG6VQTL.js";
7
4
  import {
8
5
  transform_exports
9
6
  } from "../../chunks/chunk-ZBQEB3X7.js";
10
7
  import "../../chunks/chunk-422KBDRV.js";
8
+ import {
9
+ exports_exports
10
+ } from "../../chunks/chunk-5RGHYFQH.js";
11
11
  import "../../chunks/chunk-L7EUEQZP.js";
12
12
  import "../../chunks/chunk-UVSTFYSD.js";
13
13
  import "../../chunks/chunk-X5FAZBWL.js";
@@ -2,10 +2,10 @@ import {
2
2
  MAX_NB_OUTPUTS,
3
3
  OUTPUT_ZIP_FOLDER,
4
4
  prepareImage
5
- } from "../../../chunks/chunk-4OCP2WZM.js";
6
- import "../../../chunks/chunk-5RGHYFQH.js";
5
+ } from "../../../chunks/chunk-ILG6VQTL.js";
7
6
  import "../../../chunks/chunk-ZBQEB3X7.js";
8
7
  import "../../../chunks/chunk-422KBDRV.js";
8
+ import "../../../chunks/chunk-5RGHYFQH.js";
9
9
  import "../../../chunks/chunk-L7EUEQZP.js";
10
10
  import "../../../chunks/chunk-UVSTFYSD.js";
11
11
  import "../../../chunks/chunk-X5FAZBWL.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@design-edito/tools",
3
- "version": "0.1.58",
3
+ "version": "0.1.60",
4
4
  "description": "",
5
5
  "author": "Maxime Fabas",
6
6
  "license": "ISC",