Compare commits

..
20 changed files with 145 additions and 28 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
{
"monorepoCommit": "15b93e42825a3f8055f6305999a12c5b1cc73330",
"monorepoCommit": "810617559b0ee9c662c4b566e16cb3629b44fbce",
"sourcePath": "quixos-instance/packages/project-runtime"
}
+7 -6
View File
@@ -1,11 +1,12 @@
# Generated by qx-scaffold-v1
package_id: "package:project-runtime"
package_revision_id: "package:project-runtime@1"
runtime_protocol_version: "quixos-capabilities-v1"
exports: { export_id: "export:project-runtime:create-project" runtime_symbol: "createProject" }
exports: { export_id: "export:project-runtime:add-task" runtime_symbol: "addTask" }
exports: { export_id: "export:project-runtime:task-count-get" runtime_symbol: "taskCount.get" }
exports: { export_id: "export:project-runtime:task-count-watch" runtime_symbol: "taskCount.watch" }
exports: { export_id: "export:project-runtime:task-count-watch-stop" runtime_symbol: "taskCount.watchStop" }
exports: { export_id: "export:project-runtime:search-document-get" runtime_symbol: "searchDocument.get" }
exports: { export_id: "export:project-runtime:search-document-watch" runtime_symbol: "searchDocument.watch" }
exports: { export_id: "export:project-runtime:search-document-watch-stop" runtime_symbol: "searchDocument.watchStop" }
exports: { export_id: "export:project-runtime:task-count-get" runtime_symbol: "taskCountGet" }
exports: { export_id: "export:project-runtime:task-count-watch" runtime_symbol: "taskCountWatch" }
exports: { export_id: "export:project-runtime:task-count-watch-stop" runtime_symbol: "taskCountWatchStop" }
exports: { export_id: "export:project-runtime:search-document-get" runtime_symbol: "searchDocumentGet" }
exports: { export_id: "export:project-runtime:search-document-watch" runtime_symbol: "searchDocumentWatch" }
exports: { export_id: "export:project-runtime:search-document-watch-stop" runtime_symbol: "searchDocumentWatchStop" }
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-runtime";
bundle = {
+12
View File
@@ -0,0 +1,12 @@
{
"backend": "typescript",
"bindingOutput": "src/gen/qx.ts",
"options": {
"messages": {
"org.quixos.web-studio.SearchDocument": {
"module": "../messages.js",
"export": "searchDocumentBinding"
}
}
}
}
+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"
}
]
}
+48
View File
@@ -0,0 +1,48 @@
{
"generatedBy": "qx-scaffold-v1",
"name": "ProjectRuntime",
"id": "package:project-runtime",
"revision": "package:project-runtime@1",
"exports": [
{
"name": "createProject",
"id": "export:project-runtime:create-project",
"file": "src/impl/createProject.ts"
},
{
"name": "addTask",
"id": "export:project-runtime:add-task",
"file": "src/impl/addTask.ts"
},
{
"name": "taskCountGet",
"id": "export:project-runtime:task-count-get",
"file": "src/impl/taskCountGet.ts"
},
{
"name": "taskCountWatch",
"id": "export:project-runtime:task-count-watch",
"file": "src/impl/taskCountWatch.ts"
},
{
"name": "taskCountWatchStop",
"id": "export:project-runtime:task-count-watch-stop",
"file": "src/impl/taskCountWatchStop.ts"
},
{
"name": "searchDocumentGet",
"id": "export:project-runtime:search-document-get",
"file": "src/impl/searchDocumentGet.ts"
},
{
"name": "searchDocumentWatch",
"id": "export:project-runtime:search-document-watch",
"file": "src/impl/searchDocumentWatch.ts"
},
{
"name": "searchDocumentWatchStop",
"id": "export:project-runtime:search-document-watch-stop",
"file": "src/impl/searchDocumentWatchStop.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 {addTask as handler} from "../project.impl.js";
+2
View File
@@ -0,0 +1,2 @@
// This adapter keeps the implementation file hand-authored.
export {createProject as handler} from "../project.impl.js";
+2
View File
@@ -0,0 +1,2 @@
// This adapter keeps the implementation file hand-authored.
export {searchDocument as handler} from "../project.impl.js";
+2
View File
@@ -0,0 +1,2 @@
// This adapter keeps the implementation file hand-authored.
export {searchDocument as handler} from "../project.impl.js";
+2
View File
@@ -0,0 +1,2 @@
// This adapter keeps the implementation file hand-authored.
export {stopWatch as handler} from "../project.impl.js";
+2
View File
@@ -0,0 +1,2 @@
// This adapter keeps the implementation file hand-authored.
export {taskCount as handler} from "../project.impl.js";
+2
View File
@@ -0,0 +1,2 @@
// This adapter keeps the implementation file hand-authored.
export {taskCount as handler} from "../project.impl.js";
+2
View File
@@ -0,0 +1,2 @@
// This adapter keeps the implementation file hand-authored.
export {stopWatch as handler} from "../project.impl.js";
+3
View File
@@ -0,0 +1,3 @@
// Generated by qx-scaffold-v1
import {serveMigration} from "@quixos/camino-package-runtime";
await serveMigration({});
+21 -10
View File
@@ -1,10 +1,21 @@
import { servePackageRuntime } from "@quixos/camino-package-runtime";
import { createRuntime, type Implementation } from "./gen/qx.js";
import { addTask, createProject, searchDocument, stopWatch, taskCount } from "./project.impl.js";
const implementation: Implementation = {
createProject, addTask,
taskCountGet: taskCount, taskCountWatch: taskCount, taskCountWatchStop: stopWatch,
searchDocumentGet: searchDocument, searchDocumentWatch: searchDocument, searchDocumentWatchStop: 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/createProject.js";
import {handler as impl1} from "./impl/addTask.js";
import {handler as impl2} from "./impl/taskCountGet.js";
import {handler as impl3} from "./impl/taskCountWatch.js";
import {handler as impl4} from "./impl/taskCountWatchStop.js";
import {handler as impl5} from "./impl/searchDocumentGet.js";
import {handler as impl6} from "./impl/searchDocumentWatch.js";
import {handler as impl7} from "./impl/searchDocumentWatchStop.js";
servePackageRuntime(createRuntime({
"createProject": impl0,
"addTask": impl1,
"taskCountGet": impl2,
"taskCountWatch": impl3,
"taskCountWatchStop": impl4,
"searchDocumentGet": impl5,
"searchDocumentWatch": impl6,
"searchDocumentWatchStop": impl7,
}));