Compare commits
2
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
56e3ce1d83 | ||
|
|
7b9b1a4b3b |
@@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"monorepoCommit": "be30143a326d5d7d7b0cbabea5bc5ac0301ef5b9",
|
"monorepoCommit": "9a0fe8fe05fceef263981c4ce819287abb51377c",
|
||||||
"sourcePath": "quixos-instance/packages/web-studio-canvas-runtime"
|
"sourcePath": "quixos-instance/packages/web-studio-canvas-runtime"
|
||||||
}
|
}
|
||||||
|
|||||||
Generated
+18
-18
@@ -21,19 +21,19 @@
|
|||||||
"helpers": {
|
"helpers": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1790852599,
|
"lastModified": 1794464476,
|
||||||
"narHash": "sha256-MdNtZpcsoguLPSCpAy9Naz6fkVPrftbZQbz1Aj7Zm9A=",
|
"narHash": "sha256-kHjq5txPHm6PC+Y177BmEqcqFsQo4K/WCLfKBEWq/U4=",
|
||||||
"ref": "refs/tags/quixos-reachability/91679e8cc82133093cb0b4f9e519cbb39a5bba4f",
|
"ref": "refs/tags/quixos-reachability/386bdb9a96f5bc02e4fdeab836c2b146850f90fc",
|
||||||
"rev": "91679e8cc82133093cb0b4f9e519cbb39a5bba4f",
|
"rev": "386bdb9a96f5bc02e4fdeab836c2b146850f90fc",
|
||||||
"revCount": 54,
|
"revCount": 89,
|
||||||
"type": "git",
|
"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": {
|
"original": {
|
||||||
"ref": "refs/tags/quixos-reachability/91679e8cc82133093cb0b4f9e519cbb39a5bba4f",
|
"ref": "refs/tags/quixos-reachability/386bdb9a96f5bc02e4fdeab836c2b146850f90fc",
|
||||||
"rev": "91679e8cc82133093cb0b4f9e519cbb39a5bba4f",
|
"rev": "386bdb9a96f5bc02e4fdeab836c2b146850f90fc",
|
||||||
"type": "git",
|
"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": {
|
"nixpkgs": {
|
||||||
@@ -58,19 +58,19 @@
|
|||||||
"nixpkgs": "nixpkgs"
|
"nixpkgs": "nixpkgs"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1791261504,
|
"lastModified": 1794474088,
|
||||||
"narHash": "sha256-QSk9DWR7n5KL6cMHzmSKKXNIyaFA0s8Nu+wXjhhlENI=",
|
"narHash": "sha256-8Ug1KQjRQN5yJ9GcuBjmTzKWWmjFpPA4xi1rl3F7Ctc=",
|
||||||
"ref": "refs/tags/quixos-reachability/5b44c8154dc038efd87cf1cbdd2c00b66bfd4f87",
|
"ref": "refs/tags/quixos-reachability/023d73fae6a1ea4d4132ceac4d928ad219e9d6d9",
|
||||||
"rev": "5b44c8154dc038efd87cf1cbdd2c00b66bfd4f87",
|
"rev": "023d73fae6a1ea4d4132ceac4d928ad219e9d6d9",
|
||||||
"revCount": 184,
|
"revCount": 271,
|
||||||
"type": "git",
|
"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": {
|
"original": {
|
||||||
"ref": "refs/tags/quixos-reachability/5b44c8154dc038efd87cf1cbdd2c00b66bfd4f87",
|
"ref": "refs/tags/quixos-reachability/023d73fae6a1ea4d4132ceac4d928ad219e9d6d9",
|
||||||
"rev": "5b44c8154dc038efd87cf1cbdd2c00b66bfd4f87",
|
"rev": "023d73fae6a1ea4d4132ceac4d928ad219e9d6d9",
|
||||||
"type": "git",
|
"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": {
|
"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/023d73fae6a1ea4d4132ceac4d928ad219e9d6d9&rev=023d73fae6a1ea4d4132ceac4d928ad219e9d6d9";
|
||||||
inputs.nixpkgs.follows = "protocol/nixpkgs";
|
inputs.nixpkgs.follows = "protocol/nixpkgs";
|
||||||
inputs.flake-utils.follows = "protocol/flake-utils";
|
inputs.flake-utils.follows = "protocol/flake-utils";
|
||||||
inputs.helpers = {
|
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/386bdb9a96f5bc02e4fdeab836c2b146850f90fc&rev=386bdb9a96f5bc02e4fdeab836c2b146850f90fc";
|
||||||
flake = false;
|
flake = false;
|
||||||
};
|
};
|
||||||
outputs =
|
outputs =
|
||||||
|
|||||||
+7
-7
@@ -1,9 +1,9 @@
|
|||||||
quixos-lock version 1 {
|
quixos-lock version 1 {
|
||||||
quixos source { repository "https://gitea-external.egads.tutti.syntaxblitz.net/quixos/quixos.git"; commit "be30143a326d5d7d7b0cbabea5bc5ac0301ef5b9"; }
|
quixos source { repository "https://gitea.internal.quixos.org/quixos/quixos.git"; commit "9a0fe8fe05fceef263981c4ce819287abb51377c"; }
|
||||||
interface WebStudioFactory source { repository "https://repos.quixos.org/quixos-templates/interface-web-studio-factory.git"; commit "b39116dd8aecd901940e9eee0686b2c228d26d8d"; }
|
interface WebStudioFactory source { repository "https://repos.quixos.org/quixos-templates/interface-web-studio-factory.git"; commit "1de75ad3d8c609e521d07070c4ec257673fced7a"; }
|
||||||
interface WebStudioSearchable source { repository "https://repos.quixos.org/quixos-templates/interface-web-studio-searchable.git"; commit "f979824643973d945066f79addbc22cbea365d4e"; }
|
interface WebStudioSearchable source { repository "https://repos.quixos.org/quixos-templates/interface-web-studio-searchable.git"; commit "555dfa85e3e3f94c67d99728faf43093cd32b341"; }
|
||||||
interface StandaloneView source { repository "https://repos.quixos.org/quixos-templates/interface-react-standalone-view.git"; commit "29a974e9db15387c9efc0f0fe64fec348db10344"; }
|
interface StandaloneView source { repository "https://repos.quixos.org/quixos-templates/interface-react-standalone-view.git"; commit "3cbb21bcdabf3126481f8aa53a76de30055ebf43"; }
|
||||||
interface WebStudioCanvas source { repository "https://repos.quixos.org/quixos-templates/interface-web-studio-canvas.git"; commit "98a61b746983960e152f5ae3a29f95bdb7483d9a"; }
|
interface WebStudioCanvas source { repository "https://repos.quixos.org/quixos-templates/interface-web-studio-canvas.git"; commit "e9a2afce9b5a9e8c4575a0ccd697f5284d1617e4"; }
|
||||||
interface WebStudioCanvasPlacement source { repository "https://repos.quixos.org/quixos-templates/interface-web-studio-canvas-placement.git"; commit "6c40bcab64cecb7349f688800cea3db447a9dd85"; }
|
interface WebStudioCanvasPlacement source { repository "https://repos.quixos.org/quixos-templates/interface-web-studio-canvas-placement.git"; commit "602b3b5cd9508f5a49ed98edbacfdd435a677f10"; }
|
||||||
interface WebStudioPlaceable source { repository "https://repos.quixos.org/quixos-templates/interface-web-studio-placeable.git"; commit "0a095eaaed67f47185a86816be86471285c031a9"; }
|
interface WebStudioPlaceable source { repository "https://repos.quixos.org/quixos-templates/interface-web-studio-placeable.git"; commit "ce1d5784882d8465150e80448d13c594ba09faf4"; }
|
||||||
}
|
}
|
||||||
|
|||||||
+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)
|
if (!Number.isFinite(value.width) || !Number.isFinite(value.height) || value.width <= 0 || value.height <= 0)
|
||||||
throw new QxReject("INVALID_SIZE");
|
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();
|
const presentations = await ports.catalog.presentations();
|
||||||
return presentations.some((p) => p.id === input && p.atoms.includes(receiver.expectation.id));
|
return presentations.some((p) => p.id === input && p.atoms.includes(receiver.expectation.id));
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user