AppAddress
AppAddress = {
calendar?:CalendarView;display?:string;filter?:string;filterLayout?:FilterLayout;kind:"list";list?:string;map?:MapView;orderBy?:string;resource:string;savedSearch?:string;timeline?:TimelineView; } | {call?:"join";edit?:boolean;file?:string;key:KeyValue| readonlyKeyValue[];kind:"record";open?: readonlystring[];panel?:string;resource:string;run?:string;standard?:boolean;tab?:string;thread?:string;version?:number; } | {kind:"create";resource:string;values?:Readonly<Record<string,string>>; } | {kind:"page";page:string;params?:Readonly<Record<string,string>>;tab?:string; }
Defined in: packages/schema/src/model.ts:292
A place in the app: a resource’s list, one of its records, its create form, or a composed page. A record’s key is
its one value or its parts, as the record API takes them; readAppPath gives it back as the API’s text form. A create
form’s values fill in fields of the new record by name, as text ({ listing_id: '42' }). A list’s map is where its
map display looks, its calendar the month or week its calendar display shows, and its timeline the period its timeline display shows. See Addresses.
Union Members
Section titled “Union Members”Type Literal
Section titled “Type Literal”{ calendar?: CalendarView; display?: string; filter?: string; filterLayout?: FilterLayout; kind: "list"; list?: string; map?: MapView; orderBy?: string; resource: string; savedSearch?: string; timeline?: TimelineView; }
calendar?
Section titled “calendar?”
optionalcalendar?:CalendarView
The month or week its calendar display shows.
display?
Section titled “display?”
optionaldisplay?:string
The display the list shows in, by name; its default when omitted.
filter?
Section titled “filter?”
optionalfilter?:string
An AIP-160 filter on the list.
filterLayout?
Section titled “filterLayout?”
optionalfilterLayout?:FilterLayout
Where its filters sit.
kind:
"list"
A resource’s list.
optionallist?:string
A named list of the resource’s view (.namedList(...)); its own list when omitted.
optionalmap?:MapView
Where its map display looks.
orderBy?
Section titled “orderBy?”
optionalorderBy?:string
An AIP-132 order of the list.
resource
Section titled “resource”resource:
string
The resource listed.
savedSearch?
Section titled “savedSearch?”
optionalsavedSearch?:string
The saved search the list was opened from, by its key in the text form the record API takes: while the list’s filter differs from the search’s, the list offers to update the search.
timeline?
Section titled “timeline?”
optionaltimeline?:TimelineView
The week, month or quarter its timeline display shows.
Type Literal
Section titled “Type Literal”{ call?: "join"; edit?: boolean; file?: string; key: KeyValue | readonly KeyValue[]; kind: "record"; open?: readonly string[]; panel?: string; resource: string; run?: string; standard?: boolean; tab?: string; thread?: string; version?: number; }
optionalcall?:"join"
join when the page joins the record’s call, as a ring’s Accept and a call mark’s Join open it.
optionaledit?:boolean
The record’s form, on a view whose record page opens as a read view or locked (.recordMode(...)): the page that
Edit opens. A view whose record page is always editable ignores it.
optionalfile?:string
A file field of the record, by name, opened in the viewer the admin app has for its file’s media type (?file=),
in place of the record page; the plain record page without a viewer for it.
The record’s key: its value, or its parts for a composite key.
kind:
"record"
One record.
optionalopen?: readonlystring[]
The titles of the record page’s collapsed groups that are open.
panel?
Section titled “panel?”
optionalpanel?:string
The panel a focus page opens with, by a name its surface knows (?panel=).
resource
Section titled “resource”resource:
string
The record’s resource.
optionalrun?:string
The run a workflow’s page shows on its graph, by its key, on the version it ran on; {{field}} takes it from a record.
standard?
Section titled “standard?”
optionalstandard?:boolean
The record’s standard page, with its form, related records, Edit and Delete, on a view whose record page is a
component of the app’s own (.record({ component })). A view without one ignores it.
optionaltab?:string
The title of the record page’s tab shown; the first tab when omitted.
thread?
Section titled “thread?”
optionalthread?:string
The message whose thread a conversation page opens beside it, by its key (?thread=).
version?
Section titled “version?”
optionalversion?:number
An earlier saved version of the record, by its number, as a field type that keeps versions draws it, such as a workflow’s graph: the record page shows it read-only, as its read view.
Type Literal
Section titled “Type Literal”{ kind: "create"; resource: string; values?: Readonly<Record<string, string>>; }
kind:
"create"
The form for a new record.
resource
Section titled “resource”resource:
string
The resource the record is created in.
values?
Section titled “values?”
optionalvalues?:Readonly<Record<string,string>>
Fields of the new record filled in by name, as text; a start the person can change.
Type Literal
Section titled “Type Literal”{ kind: "page"; page: string; params?: Readonly<Record<string, string>>; tab?: string; }
kind:
"page"
A composed page.
page:
string
The page’s name.
params?
Section titled “params?”
optionalparams?:Readonly<Record<string,string>>
The page’s parameters by name, as its SelectInputs and a block’s select write them into the query: ?window=7d.
optionaltab?:string
The name of the page’s tab shown (<Tab name>); the first tab when omitted.