Export template source from 11bc3ae35b0034c113daca4c35d1b341aa31ef70:examples/local-first/interfaces/gutenberg-catalog
This commit is contained in:
@@ -0,0 +1,4 @@
|
|||||||
|
{
|
||||||
|
"monorepoCommit": "11bc3ae35b0034c113daca4c35d1b341aa31ef70",
|
||||||
|
"sourcePath": "examples/local-first/interfaces/gutenberg-catalog"
|
||||||
|
}
|
||||||
@@ -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;}
|
||||||
|
}
|
||||||
@@ -0,0 +1,4 @@
|
|||||||
|
quixos-lock version 1 {
|
||||||
|
quixos source { repository "https://gitea-external.egads.tutti.syntaxblitz.net/quixos/quixos.git"; commit "11bc3ae35b0034c113daca4c35d1b341aa31ef70"; }
|
||||||
|
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user