Compare commits
2 Commits
6c3542d2ea
...
5c6f9b9de5
| Author | SHA1 | Date | |
|---|---|---|---|
| 5c6f9b9de5 | |||
| 5d3bd68a63 |
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"version": 1,
|
"version": 1,
|
||||||
"sourceRepo": "https://gitea-external.egads.tutti.syntaxblitz.net/quixos/quixos.git",
|
"sourceRepo": "https://gitea-external.egads.tutti.syntaxblitz.net/quixos/quixos.git",
|
||||||
"sourceCommit": "0afd5b03b7640bf6962d3059cd50aef76a3b56da",
|
"sourceCommit": "29863fb4575e960d6f87cbeb6cc5ad69e44f0127",
|
||||||
"sourcePath": "quixos-instance/packages/camino-package-runtime",
|
"sourcePath": "quixos-instance/packages/camino-package-runtime",
|
||||||
"exportName": "camino-package-runtime",
|
"exportName": "camino-package-runtime",
|
||||||
"mirrorRemote": "https://gitea-external.egads.tutti.syntaxblitz.net/quixos/camino-package-runtime.git"
|
"mirrorRemote": "https://gitea-external.egads.tutti.syntaxblitz.net/quixos/camino-package-runtime.git"
|
||||||
|
|||||||
Vendored
+4
-1
@@ -280,7 +280,10 @@ const renderRuntime = (schema, root) => {
|
|||||||
serveQuixosPackageRuntime,
|
serveQuixosPackageRuntime,
|
||||||
} from "@quixos/camino-package-runtime";
|
} from "@quixos/camino-package-runtime";
|
||||||
|
|
||||||
${collectProtoDeclarations(root, schema.implements.flatMap((entry) => entry.typeBindings.map((binding) => binding.type)))}
|
${collectProtoDeclarations(root, [
|
||||||
|
...writableFields.map((field) => field.type),
|
||||||
|
...schema.implements.flatMap((entry) => entry.typeBindings.map((binding) => binding.type)),
|
||||||
|
])}
|
||||||
|
|
||||||
${interfaceRefTypes ? `${interfaceRefTypes}\n\n` : ""}export type ${refTypeName} = ${refType};
|
${interfaceRefTypes ? `${interfaceRefTypes}\n\n` : ""}export type ${refTypeName} = ${refType};
|
||||||
|
|
||||||
|
|||||||
@@ -386,7 +386,12 @@ const renderRuntime = (schema: ClassSchema, root: protobuf.Root) => {
|
|||||||
serveQuixosPackageRuntime,
|
serveQuixosPackageRuntime,
|
||||||
} from "@quixos/camino-package-runtime";
|
} from "@quixos/camino-package-runtime";
|
||||||
|
|
||||||
${collectProtoDeclarations(root, schema.implements.flatMap((entry) => entry.typeBindings.map((binding) => binding.type)))}
|
${collectProtoDeclarations(root, [
|
||||||
|
...writableFields.map((field) => field.type),
|
||||||
|
...schema.implements.flatMap((entry) =>
|
||||||
|
entry.typeBindings.map((binding) => binding.type),
|
||||||
|
),
|
||||||
|
])}
|
||||||
|
|
||||||
${interfaceRefTypes ? `${interfaceRefTypes}\n\n` : ""}export type ${refTypeName} = ${refType};
|
${interfaceRefTypes ? `${interfaceRefTypes}\n\n` : ""}export type ${refTypeName} = ${refType};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user