Merge branch 'feat/47-G-placement6' into feat/47-G-join8
This commit is contained in:
+19
@@ -10,6 +10,7 @@ export declare const verbs: {
|
||||
readonly propose: "propose";
|
||||
readonly withdraw: "withdraw";
|
||||
readonly again: "again";
|
||||
readonly placement: "placement";
|
||||
};
|
||||
|
||||
export declare const events: {
|
||||
@@ -143,6 +144,12 @@ export interface Holding {
|
||||
"site"?: string;
|
||||
}
|
||||
|
||||
/** the nodes that run a module from one watched branch */
|
||||
export interface ModulePlacement {
|
||||
"branch": string;
|
||||
"nodes": string[];
|
||||
}
|
||||
|
||||
/** what a person decides of a node; no secret and no key material */
|
||||
export interface NodeDecided {
|
||||
"account"?: string;
|
||||
@@ -353,6 +360,18 @@ export interface AgainInput {
|
||||
/** is what again answers. */
|
||||
export type AgainAnswer = Record<string, unknown>;
|
||||
|
||||
/** is what placement takes. */
|
||||
export interface PlacementInput {
|
||||
/** the module */
|
||||
"module": string;
|
||||
}
|
||||
|
||||
/** is what placement answers. */
|
||||
export interface PlacementAnswer {
|
||||
/** one per branch, the nodes that run the module from it */
|
||||
"placements": ModulePlacement[];
|
||||
}
|
||||
|
||||
/** is the body of the event assignments-proposed. */
|
||||
export type AssignmentsProposedEvent = AssignmentsEvent;
|
||||
|
||||
|
||||
@@ -10,6 +10,7 @@ export const verbs = {
|
||||
propose: "propose",
|
||||
withdraw: "withdraw",
|
||||
again: "again",
|
||||
placement: "placement",
|
||||
};
|
||||
|
||||
export const events = {
|
||||
|
||||
Reference in New Issue
Block a user