Export template source from 122c862dccc4a1825f19cc8d4eb1095e5661f1ea:examples/local-first/interfaces/gutenberg-catalog

This commit is contained in:
Quixos Template Publisher
2000-01-01 00:00:00 +00:00
commit 1f5b69d6cd
3 changed files with 17 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
{
"monorepoCommit": "122c862dccc4a1825f19cc8d4eb1095e5661f1ea",
"sourcePath": "examples/local-first/interfaces/gutenberg-catalog"
}
+9
View File
@@ -0,0 +1,9 @@
external atom GutenbergCatalogObject id "atom:gutenberg:catalog";
type GutenbergBook = record {ebook:uint32;title:string;author:string;language:string;};
type GutenbergExcerpt = record {book:GutenbergBook;url:string;text:string;words:uint32;};
interface GutenbergCatalog id "interface:gutenberg:catalog" revision "interface:gutenberg:catalog@1" {
queryable value name id "gutenberg:name" : string {get id "gutenberg:name:get" execution snapshot;}
static operation create id "gutenberg:create" : unit -> atom-ref<GutenbergCatalogObject> {call id "gutenberg:create:call" execution transaction;}
operation search id "gutenberg:search" : string -> list<GutenbergBook> {call id "gutenberg:search:call" execution remote;}
operation readBook id "gutenberg:read" : record {ebook:uint32;} -> GutenbergExcerpt {call id "gutenberg:read:call" execution remote;}
}
+4
View File
@@ -0,0 +1,4 @@
quixos-lock version 1 {
quixos source { repository "https://gitea-external.egads.tutti.syntaxblitz.net/quixos/quixos.git"; commit "122c862dccc4a1825f19cc8d4eb1095e5661f1ea"; }
}