Compare commits

..
18 changed files with 124 additions and 28 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
{
"monorepoCommit": "15b93e42825a3f8055f6305999a12c5b1cc73330",
"monorepoCommit": "810617559b0ee9c662c4b566e16cb3629b44fbce",
"sourcePath": "quixos-instance/packages/project-react-runtime"
}
+5 -4
View File
@@ -1,8 +1,9 @@
# Generated by qx-scaffold-v1
package_id: "package:project-react-runtime"
package_revision_id: "package:project-react-runtime@1"
runtime_protocol_version: "quixos-capabilities-v1"
exports: { export_id: "export:project-react-runtime:create-component" runtime_symbol: "createComponent" }
exports: { export_id: "export:project-react-runtime:source-get" runtime_symbol: "source.get" }
exports: { export_id: "export:project-react-runtime:props-get" runtime_symbol: "props.get" }
exports: { export_id: "export:project-react-runtime:props-watch" runtime_symbol: "props.watch" }
exports: { export_id: "export:project-react-runtime:props-watch-stop" runtime_symbol: "props.watchStop" }
exports: { export_id: "export:project-react-runtime:source-get" runtime_symbol: "sourceGet" }
exports: { export_id: "export:project-react-runtime:props-get" runtime_symbol: "propsGet" }
exports: { export_id: "export:project-react-runtime:props-watch" runtime_symbol: "propsWatch" }
exports: { export_id: "export:project-react-runtime:props-watch-stop" runtime_symbol: "propsWatchStop" }
Generated
+7 -7
View File
@@ -37,17 +37,17 @@
"quixosNixHelpers": {
"flake": false,
"locked": {
"lastModified": 1789354913,
"narHash": "sha256-vCdz/2jZ15GpA7YkmjLGOuO/LoZIeI8v7joDD5EI0oE=",
"ref": "refs/tags/quixos-reachability/8b2a224698da3659dd9a81e237dfe79238ee2836",
"rev": "8b2a224698da3659dd9a81e237dfe79238ee2836",
"revCount": 18,
"lastModified": 1789364768,
"narHash": "sha256-6tINqOSLd3TTACk/HAfhXqo07H69yjX3Q/DrrAPWzus=",
"ref": "refs/tags/quixos-reachability/cf7945abb6ee2533a34dff4a7d4a956e70efe007",
"rev": "cf7945abb6ee2533a34dff4a7d4a956e70efe007",
"revCount": 22,
"type": "git",
"url": "https://gitea-external.egads.tutti.syntaxblitz.net/quixos/quixos-nix-helpers.git"
},
"original": {
"ref": "refs/tags/quixos-reachability/8b2a224698da3659dd9a81e237dfe79238ee2836",
"rev": "8b2a224698da3659dd9a81e237dfe79238ee2836",
"ref": "refs/tags/quixos-reachability/cf7945abb6ee2533a34dff4a7d4a956e70efe007",
"rev": "cf7945abb6ee2533a34dff4a7d4a956e70efe007",
"type": "git",
"url": "https://gitea-external.egads.tutti.syntaxblitz.net/quixos/quixos-nix-helpers.git"
}
+2 -1
View File
@@ -6,7 +6,7 @@
flake-utils.url = "github:numtide/flake-utils";
quixosNixHelpers = {
url = "git+https://gitea-external.egads.tutti.syntaxblitz.net/quixos/quixos-nix-helpers.git?ref=refs/tags/quixos-reachability/8b2a224698da3659dd9a81e237dfe79238ee2836&rev=8b2a224698da3659dd9a81e237dfe79238ee2836";
url = "git+https://gitea-external.egads.tutti.syntaxblitz.net/quixos/quixos-nix-helpers.git?ref=refs/tags/quixos-reachability/cf7945abb6ee2533a34dff4a7d4a956e70efe007&rev=cf7945abb6ee2533a34dff4a7d4a956e70efe007";
flake = false;
};
};
@@ -18,6 +18,7 @@
quixosHelpers.mkCaminoTsYarnNixifyFlake {
inherit inputs nixpkgs flake-utils;
packageRoot = ./.;
migrationEntrypoint = "dist/migrate.js";
bindingOptions = builtins.fromJSON (builtins.readFile ./bindings.json);
promptName = "project-react-runtime";
bundle = {
+12
View File
@@ -0,0 +1,12 @@
{
"backend": "typescript",
"bindingOutput": "src/gen/qx.ts",
"options": {
"messages": {
"org.quixos.web-studio.ReactProps": {
"module": "@quixos/camino-package-runtime",
"export": "opaqueReactPropsBinding"
}
}
}
}
+3 -3
View File
@@ -1,14 +1,14 @@
quixos-lock version 1 {
quixos source {
repository "https://gitea-external.egads.tutti.syntaxblitz.net/quixos/quixos.git";
commit "15b93e42825a3f8055f6305999a12c5b1cc73330";
commit "810617559b0ee9c662c4b566e16cb3629b44fbce";
}
interface Named source {
repository "https://repos.quixos.org/quixos-templates/interface-named.git";
commit "eb37f96b090db2c5e2dda1f4238fdd4154b29ca0";
commit "23632b4d803f16dfa14771fb7d91d19ed9d39602";
}
interface ProjectTasks source {
repository "https://repos.quixos.org/quixos-templates/interface-project-tasks.git";
commit "6744ffed19ecd855ebbac17a095c5096ddee2d7b";
commit "e47073ebb4655800809fe624670c61cff0852eb7";
}
}
+6
View File
@@ -0,0 +1,6 @@
{
"generatedBy": "qx-scaffold-v1",
"schemaVersion": 1,
"contracts": {},
"migrations": []
}
+15
View File
@@ -0,0 +1,15 @@
{
"generatedBy": "qx-scaffold-v1",
"resources": [
{
"kind": "interface",
"repository": "https://repos.quixos.org/quixos-todo/interface-named.git",
"commit": "0000000000000000000000000000000000000010"
},
{
"kind": "interface",
"repository": "https://repos.quixos.org/quixos-todo/interface-project-tasks.git",
"commit": "0000000000000000000000000000000000000012"
}
]
}
+33
View File
@@ -0,0 +1,33 @@
{
"generatedBy": "qx-scaffold-v1",
"name": "ProjectReactRuntime",
"id": "package:project-react-runtime",
"revision": "package:project-react-runtime@1",
"exports": [
{
"name": "createComponent",
"id": "export:project-react-runtime:create-component",
"file": "src/impl/createComponent.ts"
},
{
"name": "sourceGet",
"id": "export:project-react-runtime:source-get",
"file": "src/impl/sourceGet.ts"
},
{
"name": "propsGet",
"id": "export:project-react-runtime:props-get",
"file": "src/impl/propsGet.ts"
},
{
"name": "propsWatch",
"id": "export:project-react-runtime:props-watch",
"file": "src/impl/propsWatch.ts"
},
{
"name": "propsWatchStop",
"id": "export:project-react-runtime:props-watch-stop",
"file": "src/impl/propsWatchStop.ts"
}
]
}
+4
View File
@@ -0,0 +1,4 @@
{
"generatedBy": "qx-scaffold-v1",
"nixifyPluginUrl": "https://gitea-external.egads.tutti.syntaxblitz.net/quixos/yarn-plugin-nixify-patched/raw/commit/4528fdd20b30d869262443b3f044549810e75fb8/dist/yarn-plugin-nixify.js"
}
+2
View File
@@ -0,0 +1,2 @@
// This adapter keeps the implementation file hand-authored.
export {createComponent as handler} from "../project-react.impl.js";
+2
View File
@@ -0,0 +1,2 @@
// This adapter keeps the implementation file hand-authored.
export {props as handler} from "../project-react.impl.js";
+2
View File
@@ -0,0 +1,2 @@
// This adapter keeps the implementation file hand-authored.
export {props as handler} from "../project-react.impl.js";
+2
View File
@@ -0,0 +1,2 @@
// This adapter keeps the implementation file hand-authored.
export {stopWatch as handler} from "../project-react.impl.js";
+2
View File
@@ -0,0 +1,2 @@
// This adapter keeps the implementation file hand-authored.
export {source as handler} from "../project-react.impl.js";
+3
View File
@@ -0,0 +1,3 @@
// Generated by qx-scaffold-v1
import {serveMigration} from "@quixos/camino-package-runtime";
await serveMigration({});
+15 -8
View File
@@ -1,8 +1,15 @@
import { servePackageRuntime } from "@quixos/camino-package-runtime";
import { createRuntime, type Implementation } from "./gen/qx.js";
import { createComponent, props, source, stopWatch } from "./project-react.impl.js";
const implementation: Implementation = {
createComponent, sourceGet: source, propsGet: props, propsWatch: props, propsWatchStop: stopWatch,
};
servePackageRuntime(createRuntime(implementation));
// Generated by qx-scaffold-v1
import {servePackageRuntime} from "@quixos/camino-package-runtime";
import {createRuntime} from "./gen/qx.js";
import {handler as impl0} from "./impl/createComponent.js";
import {handler as impl1} from "./impl/sourceGet.js";
import {handler as impl2} from "./impl/propsGet.js";
import {handler as impl3} from "./impl/propsWatch.js";
import {handler as impl4} from "./impl/propsWatchStop.js";
servePackageRuntime(createRuntime({
"createComponent": impl0,
"sourceGet": impl1,
"propsGet": impl2,
"propsWatch": impl3,
"propsWatchStop": impl4,
}));
+8 -4
View File
@@ -9,11 +9,15 @@
"forceConsistentCasingInFileNames": true,
"preserveSymlinks": true,
"resolveJsonModule": true,
"types": ["node"],
"types": [
"node"
],
"outDir": "dist",
"rootDir": "src",
"jsx": "react",
"jsxFactory": "h"
"jsx": "react-jsx"
},
"include": ["src/**/*.ts", "src/**/*.tsx"]
"include": [
"src/**/*.ts",
"src/**/*.tsx"
]
}