Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3a9a537ffd | ||
|
|
4a539f6005 |
@@ -1,4 +1,4 @@
|
||||
{
|
||||
"monorepoCommit": "2a570da53f63e3e2ad38234dac0a98c4d569e8de",
|
||||
"monorepoCommit": "be30143a326d5d7d7b0cbabea5bc5ac0301ef5b9",
|
||||
"sourcePath": "quixos-instance/packages/web-studio-canvas-runtime"
|
||||
}
|
||||
|
||||
Generated
+18
-18
@@ -21,19 +21,19 @@
|
||||
"helpers": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1794461161,
|
||||
"narHash": "sha256-xTr48wBJ2FnwZllnBlUozISaPzru1dAQS0jkUGqjeZs=",
|
||||
"ref": "refs/tags/quixos-reachability/27c432f5ffcbff78b89e3ac6b7d8f9eac8afead0",
|
||||
"rev": "27c432f5ffcbff78b89e3ac6b7d8f9eac8afead0",
|
||||
"revCount": 87,
|
||||
"lastModified": 1790852599,
|
||||
"narHash": "sha256-MdNtZpcsoguLPSCpAy9Naz6fkVPrftbZQbz1Aj7Zm9A=",
|
||||
"ref": "refs/tags/quixos-reachability/91679e8cc82133093cb0b4f9e519cbb39a5bba4f",
|
||||
"rev": "91679e8cc82133093cb0b4f9e519cbb39a5bba4f",
|
||||
"revCount": 54,
|
||||
"type": "git",
|
||||
"url": "https://repos.quixos.org/quixos-toolchain/quixos-nix-helpers.git"
|
||||
"url": "https://gitea-external.egads.tutti.syntaxblitz.net/quixos/quixos-nix-helpers.git"
|
||||
},
|
||||
"original": {
|
||||
"ref": "refs/tags/quixos-reachability/27c432f5ffcbff78b89e3ac6b7d8f9eac8afead0",
|
||||
"rev": "27c432f5ffcbff78b89e3ac6b7d8f9eac8afead0",
|
||||
"ref": "refs/tags/quixos-reachability/91679e8cc82133093cb0b4f9e519cbb39a5bba4f",
|
||||
"rev": "91679e8cc82133093cb0b4f9e519cbb39a5bba4f",
|
||||
"type": "git",
|
||||
"url": "https://repos.quixos.org/quixos-toolchain/quixos-nix-helpers.git"
|
||||
"url": "https://gitea-external.egads.tutti.syntaxblitz.net/quixos/quixos-nix-helpers.git"
|
||||
}
|
||||
},
|
||||
"nixpkgs": {
|
||||
@@ -58,19 +58,19 @@
|
||||
"nixpkgs": "nixpkgs"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1794461161,
|
||||
"narHash": "sha256-ObjRUrxOMfmUm5XFU1O2XL2JVzxv1ZjB0AbP+1fdlG0=",
|
||||
"ref": "refs/tags/quixos-reachability/7ebb34146ee5346736ace4f7973c34a8dc54a22c",
|
||||
"rev": "7ebb34146ee5346736ace4f7973c34a8dc54a22c",
|
||||
"revCount": 263,
|
||||
"lastModified": 1791261504,
|
||||
"narHash": "sha256-QSk9DWR7n5KL6cMHzmSKKXNIyaFA0s8Nu+wXjhhlENI=",
|
||||
"ref": "refs/tags/quixos-reachability/5b44c8154dc038efd87cf1cbdd2c00b66bfd4f87",
|
||||
"rev": "5b44c8154dc038efd87cf1cbdd2c00b66bfd4f87",
|
||||
"revCount": 184,
|
||||
"type": "git",
|
||||
"url": "https://repos.quixos.org/quixos-toolchain/quixos-protocol.git"
|
||||
"url": "https://gitea-external.egads.tutti.syntaxblitz.net/quixos/quixos-protocol.git"
|
||||
},
|
||||
"original": {
|
||||
"ref": "refs/tags/quixos-reachability/7ebb34146ee5346736ace4f7973c34a8dc54a22c",
|
||||
"rev": "7ebb34146ee5346736ace4f7973c34a8dc54a22c",
|
||||
"ref": "refs/tags/quixos-reachability/5b44c8154dc038efd87cf1cbdd2c00b66bfd4f87",
|
||||
"rev": "5b44c8154dc038efd87cf1cbdd2c00b66bfd4f87",
|
||||
"type": "git",
|
||||
"url": "https://repos.quixos.org/quixos-toolchain/quixos-protocol.git"
|
||||
"url": "https://gitea-external.egads.tutti.syntaxblitz.net/quixos/quixos-protocol.git"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
{
|
||||
inputs.protocol.url = "git+https://repos.quixos.org/quixos-toolchain/quixos-protocol.git?ref=refs/tags/quixos-reachability/7ebb34146ee5346736ace4f7973c34a8dc54a22c&rev=7ebb34146ee5346736ace4f7973c34a8dc54a22c";
|
||||
inputs.protocol.url = "git+https://gitea-external.egads.tutti.syntaxblitz.net/quixos/quixos-protocol.git?ref=refs/tags/quixos-reachability/5b44c8154dc038efd87cf1cbdd2c00b66bfd4f87&rev=5b44c8154dc038efd87cf1cbdd2c00b66bfd4f87";
|
||||
inputs.nixpkgs.follows = "protocol/nixpkgs";
|
||||
inputs.flake-utils.follows = "protocol/flake-utils";
|
||||
inputs.helpers = {
|
||||
url = "git+https://repos.quixos.org/quixos-toolchain/quixos-nix-helpers.git?ref=refs/tags/quixos-reachability/27c432f5ffcbff78b89e3ac6b7d8f9eac8afead0&rev=27c432f5ffcbff78b89e3ac6b7d8f9eac8afead0";
|
||||
url = "git+https://gitea-external.egads.tutti.syntaxblitz.net/quixos/quixos-nix-helpers.git?ref=refs/tags/quixos-reachability/91679e8cc82133093cb0b4f9e519cbb39a5bba4f&rev=91679e8cc82133093cb0b4f9e519cbb39a5bba4f";
|
||||
flake = false;
|
||||
};
|
||||
outputs =
|
||||
|
||||
+7
-7
@@ -1,9 +1,9 @@
|
||||
quixos-lock version 1 {
|
||||
quixos source { repository "https://gitea.internal.quixos.org/quixos/quixos.git"; commit "2a570da53f63e3e2ad38234dac0a98c4d569e8de"; }
|
||||
interface WebStudioFactory source { repository "https://repos.quixos.org/quixos-templates/interface-web-studio-factory.git"; commit "a65dbe1c0edb401e60be276e9a7f71b2726e7f4e"; }
|
||||
interface WebStudioSearchable source { repository "https://repos.quixos.org/quixos-templates/interface-web-studio-searchable.git"; commit "fb4f2e702e584dcbe37133f3fb8db44a9bbcfafa"; }
|
||||
interface StandaloneView source { repository "https://repos.quixos.org/quixos-templates/interface-react-standalone-view.git"; commit "455af0db636d12b4d229af73653a75e094872b3a"; }
|
||||
interface WebStudioCanvas source { repository "https://repos.quixos.org/quixos-templates/interface-web-studio-canvas.git"; commit "36999b72f93de1c970e230a73740cf1e86188b1b"; }
|
||||
interface WebStudioCanvasPlacement source { repository "https://repos.quixos.org/quixos-templates/interface-web-studio-canvas-placement.git"; commit "30a95bdff083a664aa85a0675b00c4dca659ba28"; }
|
||||
interface WebStudioPlaceable source { repository "https://repos.quixos.org/quixos-templates/interface-web-studio-placeable.git"; commit "57198011e4b23951e55b0bb4e53e37525223e877"; }
|
||||
quixos source { repository "https://gitea-external.egads.tutti.syntaxblitz.net/quixos/quixos.git"; commit "be30143a326d5d7d7b0cbabea5bc5ac0301ef5b9"; }
|
||||
interface WebStudioFactory source { repository "https://repos.quixos.org/quixos-templates/interface-web-studio-factory.git"; commit "b39116dd8aecd901940e9eee0686b2c228d26d8d"; }
|
||||
interface WebStudioSearchable source { repository "https://repos.quixos.org/quixos-templates/interface-web-studio-searchable.git"; commit "f979824643973d945066f79addbc22cbea365d4e"; }
|
||||
interface StandaloneView source { repository "https://repos.quixos.org/quixos-templates/interface-react-standalone-view.git"; commit "29a974e9db15387c9efc0f0fe64fec348db10344"; }
|
||||
interface WebStudioCanvas source { repository "https://repos.quixos.org/quixos-templates/interface-web-studio-canvas.git"; commit "98a61b746983960e152f5ae3a29f95bdb7483d9a"; }
|
||||
interface WebStudioCanvasPlacement source { repository "https://repos.quixos.org/quixos-templates/interface-web-studio-canvas-placement.git"; commit "6c40bcab64cecb7349f688800cea3db447a9dd85"; }
|
||||
interface WebStudioPlaceable source { repository "https://repos.quixos.org/quixos-templates/interface-web-studio-placeable.git"; commit "0a095eaaed67f47185a86816be86471285c031a9"; }
|
||||
}
|
||||
|
||||
+1
-13
@@ -7,19 +7,7 @@ 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,
|
||||
}: {
|
||||
readonly receiver: ExactReference;
|
||||
readonly input: string;
|
||||
readonly ports: {
|
||||
readonly catalog: {
|
||||
presentations(): Promise<ReadonlyArray<{ readonly id: string; readonly atoms: readonly string[] }>>;
|
||||
};
|
||||
};
|
||||
}) => {
|
||||
const canPresent = async ({ receiver, input, ports }: Contexts["canPresent"]) => {
|
||||
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