minca
ApiSchemasVariables

Variable: goalReached

const goalReached: object & Typed<{
  goal: string;
  pledges: readonly string[];
}>;

Defined in: packages/core/src/schemas/library/community.ts:237

A goal reached, proven: it cites the goal as first set and pledges that add up to its target.

Type Declaration

contract

readonly contract: object;

contract.check

readonly check: readonly Contract[] = REACHES;

description

readonly description: "A goal reached, proven by the pledges it cites." = 'A goal reached, proven by the pledges it cites.';
readonly links: object;

links.about

readonly about: LinkDeclaration;

name

readonly name: "std.goal-reached" = 'std.goal-reached';

rules

readonly rules: object;

rules.onePer

readonly onePer: readonly ["link:about"];

schema

readonly schema: object;

schema.properties

readonly properties: object;

schema.properties.goal

readonly goal: object;

schema.properties.goal.maxLength

maxLength: number = max;

schema.properties.goal.minLength?

minLength?: number = min;

schema.properties.goal.type

type: "string";

schema.properties.pledges

readonly pledges: object;

schema.properties.pledges.description

readonly description: "Ids of the pledges it counts" = 'Ids of the pledges it counts';

schema.properties.pledges.items

readonly items: object;

schema.properties.pledges.items.maxLength

maxLength: number = max;

schema.properties.pledges.items.minLength?

minLength?: number = min;

schema.properties.pledges.items.type

type: "string";

schema.properties.pledges.maxItems

readonly maxItems: 256 = 256;

schema.properties.pledges.type

readonly type: "array" = 'array';

schema.required

readonly required: readonly ["goal", "pledges"];

schema.type

readonly type: "object" = 'object';

title

readonly title: "Goal reached" = 'Goal reached';

On this page