@xtrable-ltd/nanoesis 0.1.9 → 0.1.11
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/dist/adapter-azure-blob.d.ts +7 -1
- package/dist/adapter-azure-blob.js +2 -2
- package/dist/{chunk-J6VYOB47.js → chunk-XO3CT6GL.js} +1699 -1167
- package/dist/editor-api.d.ts +39 -2
- package/dist/editor-api.js +396 -6
- package/dist/index.d.ts +491 -222
- package/dist/index.js +25 -1
- package/editor/assets/MigrationsPane-BAHPPSXP.css +1 -0
- package/editor/assets/MigrationsPane-BYGqWBAA.js +4 -0
- package/editor/assets/{TemplatesPane-CHzfB00-.js → TemplatesPane-B5hn_v0Z.js} +208 -202
- package/editor/assets/{TemplatesPane-B4_sg2u5.css → TemplatesPane-D0gGehUt.css} +1 -1
- package/editor/assets/{cssMode-BahdJh1A.js → cssMode-BbIf5k6I.js} +1 -1
- package/editor/assets/{freemarker2-2FC3twUE.js → freemarker2-DoW0pSYV.js} +1 -1
- package/editor/assets/{handlebars-pMjPHNx1.js → handlebars-DLlET-qc.js} +1 -1
- package/editor/assets/{html-KTToTG0n.js → html-4khbqrhe.js} +1 -1
- package/editor/assets/{htmlMode-ufik94dZ.js → htmlMode-DblHkZ-k.js} +1 -1
- package/editor/assets/index-CkESQLMV.css +7 -0
- package/editor/assets/index-Do1drqEQ.js +138 -0
- package/editor/assets/{javascript-CD4kAZXr.js → javascript-CgPO2Hmj.js} +1 -1
- package/editor/assets/{jsonMode-ClHucayn.js → jsonMode-BrWh2436.js} +1 -1
- package/editor/assets/{liquid-B-uYib60.js → liquid-BsQJXwPT.js} +1 -1
- package/editor/assets/{mdx-BOc9oMkZ.js → mdx-AO8t67gx.js} +1 -1
- package/editor/assets/{python-BipLFHGs.js → python-3w4sZj5c.js} +1 -1
- package/editor/assets/{razor-C0di_gwM.js → razor-BFsvo06w.js} +1 -1
- package/editor/assets/{tsMode-B7fenrcD.js → tsMode-QrC4ERjp.js} +1 -1
- package/editor/assets/{typescript-CDg7c2A-.js → typescript-BXJ3QLad.js} +1 -1
- package/editor/assets/{xml-DTAdn5Pw.js → xml-CxKYn1FP.js} +1 -1
- package/editor/assets/{yaml-B9-OjY0Z.js → yaml-BmWLvF7Q.js} +1 -1
- package/editor/index.html +2 -2
- package/package.json +1 -1
- package/editor/assets/index-BsRGVHEP.css +0 -7
- package/editor/assets/index-CPKtfzWD.js +0 -134
|
@@ -10,7 +10,13 @@ export { contentTypeFor } from '@nanoesis/engine';
|
|
|
10
10
|
* (CLAUDE.md §5). Names are flat blob names (forward slashes, no leading slash).
|
|
11
11
|
*/
|
|
12
12
|
interface BlobContainer {
|
|
13
|
-
/**
|
|
13
|
+
/**
|
|
14
|
+
* Every blob name beginning with `prefix` ("" lists the whole container), **sorted
|
|
15
|
+
* ascending** as part of the port contract (CLAUDE §2: determinism). Callers feed the
|
|
16
|
+
* result into Map/Set-backed downstream walks, so any non-deterministic implementation
|
|
17
|
+
* order would leak into compiled output. Implementations own the sort — Azure's
|
|
18
|
+
* native listing order is unspecified and must be sorted at the boundary.
|
|
19
|
+
*/
|
|
14
20
|
list(prefix: string): Promise<readonly string[]>;
|
|
15
21
|
/** A blob's bytes, or null if it does not exist. */
|
|
16
22
|
read(name: string): Promise<Uint8Array | null>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
contentTypeFor
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-XO3CT6GL.js";
|
|
4
4
|
|
|
5
5
|
// ../../adapters/azure-blob/src/container.ts
|
|
6
6
|
var InMemoryBlobContainer = class {
|
|
@@ -56,7 +56,7 @@ var AzureBlobContainer = class _AzureBlobContainer {
|
|
|
56
56
|
for await (const blob of this.client.listBlobsFlat({ prefix })) {
|
|
57
57
|
names.push(blob.name);
|
|
58
58
|
}
|
|
59
|
-
return names;
|
|
59
|
+
return names.sort();
|
|
60
60
|
}
|
|
61
61
|
async read(name) {
|
|
62
62
|
try {
|