Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
70753cd2da | ||
|
|
8a0b7afcb4 |
@@ -1,4 +1,4 @@
|
||||
{
|
||||
"monorepoCommit": "7fb6b0307ff26355d7ddbce5aceef8d71c87efa0",
|
||||
"monorepoCommit": "341a350b901ce412a14b2a695cd04b0056f03391",
|
||||
"sourcePath": "quixos-instance/packages/web-studio-canvas-runtime"
|
||||
}
|
||||
|
||||
Generated
+18
-18
@@ -21,19 +21,19 @@
|
||||
"helpers": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1790852599,
|
||||
"narHash": "sha256-MdNtZpcsoguLPSCpAy9Naz6fkVPrftbZQbz1Aj7Zm9A=",
|
||||
"ref": "refs/tags/quixos-reachability/91679e8cc82133093cb0b4f9e519cbb39a5bba4f",
|
||||
"rev": "91679e8cc82133093cb0b4f9e519cbb39a5bba4f",
|
||||
"revCount": 54,
|
||||
"lastModified": 1791886789,
|
||||
"narHash": "sha256-7YF98v0AcxD1qkAdS+nL/aDtmTvcRzld9CB9AxY0qaA=",
|
||||
"ref": "refs/tags/quixos-reachability/5657043450c46fc84e1a6d38c2f8919ba1e9d10c",
|
||||
"rev": "5657043450c46fc84e1a6d38c2f8919ba1e9d10c",
|
||||
"revCount": 78,
|
||||
"type": "git",
|
||||
"url": "https://gitea-external.egads.tutti.syntaxblitz.net/quixos/quixos-nix-helpers.git"
|
||||
"url": "https://repos.quixos.org/quixos-toolchain/quixos-nix-helpers.git"
|
||||
},
|
||||
"original": {
|
||||
"ref": "refs/tags/quixos-reachability/91679e8cc82133093cb0b4f9e519cbb39a5bba4f",
|
||||
"rev": "91679e8cc82133093cb0b4f9e519cbb39a5bba4f",
|
||||
"ref": "refs/tags/quixos-reachability/5657043450c46fc84e1a6d38c2f8919ba1e9d10c",
|
||||
"rev": "5657043450c46fc84e1a6d38c2f8919ba1e9d10c",
|
||||
"type": "git",
|
||||
"url": "https://gitea-external.egads.tutti.syntaxblitz.net/quixos/quixos-nix-helpers.git"
|
||||
"url": "https://repos.quixos.org/quixos-toolchain/quixos-nix-helpers.git"
|
||||
}
|
||||
},
|
||||
"nixpkgs": {
|
||||
@@ -58,19 +58,19 @@
|
||||
"nixpkgs": "nixpkgs"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1791261504,
|
||||
"narHash": "sha256-QSk9DWR7n5KL6cMHzmSKKXNIyaFA0s8Nu+wXjhhlENI=",
|
||||
"ref": "refs/tags/quixos-reachability/5b44c8154dc038efd87cf1cbdd2c00b66bfd4f87",
|
||||
"rev": "5b44c8154dc038efd87cf1cbdd2c00b66bfd4f87",
|
||||
"revCount": 184,
|
||||
"lastModified": 1792963716,
|
||||
"narHash": "sha256-MESSLO46ZHYtxVhlNpQfpiHi/A6WJEYDnczr+I3Wfb8=",
|
||||
"ref": "refs/tags/quixos-reachability/d829d584af91326aacb8997459014c49def2f66e",
|
||||
"rev": "d829d584af91326aacb8997459014c49def2f66e",
|
||||
"revCount": 233,
|
||||
"type": "git",
|
||||
"url": "https://gitea-external.egads.tutti.syntaxblitz.net/quixos/quixos-protocol.git"
|
||||
"url": "https://repos.quixos.org/quixos-toolchain/quixos-protocol.git"
|
||||
},
|
||||
"original": {
|
||||
"ref": "refs/tags/quixos-reachability/5b44c8154dc038efd87cf1cbdd2c00b66bfd4f87",
|
||||
"rev": "5b44c8154dc038efd87cf1cbdd2c00b66bfd4f87",
|
||||
"ref": "refs/tags/quixos-reachability/d829d584af91326aacb8997459014c49def2f66e",
|
||||
"rev": "d829d584af91326aacb8997459014c49def2f66e",
|
||||
"type": "git",
|
||||
"url": "https://gitea-external.egads.tutti.syntaxblitz.net/quixos/quixos-protocol.git"
|
||||
"url": "https://repos.quixos.org/quixos-toolchain/quixos-protocol.git"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
{
|
||||
inputs.protocol.url = "git+https://gitea-external.egads.tutti.syntaxblitz.net/quixos/quixos-protocol.git?ref=refs/tags/quixos-reachability/5b44c8154dc038efd87cf1cbdd2c00b66bfd4f87&rev=5b44c8154dc038efd87cf1cbdd2c00b66bfd4f87";
|
||||
inputs.protocol.url = "git+https://repos.quixos.org/quixos-toolchain/quixos-protocol.git?ref=refs/tags/quixos-reachability/d829d584af91326aacb8997459014c49def2f66e&rev=d829d584af91326aacb8997459014c49def2f66e";
|
||||
inputs.nixpkgs.follows = "protocol/nixpkgs";
|
||||
inputs.flake-utils.follows = "protocol/flake-utils";
|
||||
inputs.helpers = {
|
||||
url = "git+https://gitea-external.egads.tutti.syntaxblitz.net/quixos/quixos-nix-helpers.git?ref=refs/tags/quixos-reachability/91679e8cc82133093cb0b4f9e519cbb39a5bba4f&rev=91679e8cc82133093cb0b4f9e519cbb39a5bba4f";
|
||||
url = "git+https://repos.quixos.org/quixos-toolchain/quixos-nix-helpers.git?ref=refs/tags/quixos-reachability/5657043450c46fc84e1a6d38c2f8919ba1e9d10c&rev=5657043450c46fc84e1a6d38c2f8919ba1e9d10c";
|
||||
flake = false;
|
||||
};
|
||||
outputs =
|
||||
|
||||
+7
-7
@@ -1,9 +1,9 @@
|
||||
quixos-lock version 1 {
|
||||
quixos source { repository "https://gitea-external.egads.tutti.syntaxblitz.net/quixos/quixos.git"; commit "7fb6b0307ff26355d7ddbce5aceef8d71c87efa0"; }
|
||||
interface WebStudioFactory source { repository "https://repos.quixos.org/quixos-templates/interface-web-studio-factory.git"; commit "0481154547f27e628a3e6ee829d254d8568741a3"; }
|
||||
interface WebStudioSearchable source { repository "https://repos.quixos.org/quixos-templates/interface-web-studio-searchable.git"; commit "1374d3554ccd1d65f29b1852c9e8635ac139282d"; }
|
||||
interface StandaloneView source { repository "https://repos.quixos.org/quixos-templates/interface-react-standalone-view.git"; commit "b375239d06727ff238b386dbdc3c878cc0122948"; }
|
||||
interface WebStudioCanvas source { repository "https://repos.quixos.org/quixos-templates/interface-web-studio-canvas.git"; commit "88c915f6f116bf2cb437e54e7f61e0c28f13fc2d"; }
|
||||
interface WebStudioCanvasPlacement source { repository "https://repos.quixos.org/quixos-templates/interface-web-studio-canvas-placement.git"; commit "67140e72b7c05541af2b0da57937dcb74aa6b210"; }
|
||||
interface WebStudioPlaceable source { repository "https://repos.quixos.org/quixos-templates/interface-web-studio-placeable.git"; commit "e7addef0880747326165456d95141dd27a5df35d"; }
|
||||
quixos source { repository "https://gitea.internal.quixos.org/quixos/quixos.git"; commit "341a350b901ce412a14b2a695cd04b0056f03391"; }
|
||||
interface WebStudioFactory source { repository "https://repos.quixos.org/quixos-templates/interface-web-studio-factory.git"; commit "319d967d7a64bbccaef73cfb6713b24989e306ee"; }
|
||||
interface WebStudioSearchable source { repository "https://repos.quixos.org/quixos-templates/interface-web-studio-searchable.git"; commit "414772426d8f531496826bc5da1f162fb0d0fc33"; }
|
||||
interface StandaloneView source { repository "https://repos.quixos.org/quixos-templates/interface-react-standalone-view.git"; commit "e388c6cfbc752b88b3e151bbe19daa64bdb727ad"; }
|
||||
interface WebStudioCanvas source { repository "https://repos.quixos.org/quixos-templates/interface-web-studio-canvas.git"; commit "840537d4d367406073c85098d6d6e6fa36c148d9"; }
|
||||
interface WebStudioCanvasPlacement source { repository "https://repos.quixos.org/quixos-templates/interface-web-studio-canvas-placement.git"; commit "186d49f93fb13d3a5fd3b727d1cbe9900782fb90"; }
|
||||
interface WebStudioPlaceable source { repository "https://repos.quixos.org/quixos-templates/interface-web-studio-placeable.git"; commit "52520282a37342019e12268e5bdb463526702bb4"; }
|
||||
}
|
||||
|
||||
+13
-1
@@ -7,7 +7,19 @@ const size = (value: { readonly width: number; readonly height: number }) => {
|
||||
if (!Number.isFinite(value.width) || !Number.isFinite(value.height) || value.width <= 0 || value.height <= 0)
|
||||
throw new QxReject("INVALID_SIZE");
|
||||
};
|
||||
const canPresent = async ({ receiver, input, ports }: Contexts["canPresent"]) => {
|
||||
const canPresent = async ({
|
||||
receiver,
|
||||
input,
|
||||
ports,
|
||||
}: {
|
||||
readonly receiver: ExactReference;
|
||||
readonly input: string;
|
||||
readonly ports: {
|
||||
readonly catalog: {
|
||||
presentations(): Promise<ReadonlyArray<{ readonly id: string; readonly atoms: readonly string[] }>>;
|
||||
};
|
||||
};
|
||||
}) => {
|
||||
const presentations = await ports.catalog.presentations();
|
||||
return presentations.some((p) => p.id === input && p.atoms.includes(receiver.expectation.id));
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user