cupertino-files / BuildModel
Class: BuildModel
Defined in: src/keynote/builds.ts:186
Constructors
Constructor
new BuildModel(
store,object):BuildModel
Defined in: src/keynote/builds.ts:190
Parameters
store
object
Returns
BuildModel
Properties
object
readonlyobject:IwaObject
Defined in: src/keynote/builds.ts:188
store
readonlystore:ObjectStore
Defined in: src/keynote/builds.ts:187
Accessors
id
Get Signature
get id():
bigint
Defined in: src/keynote/builds.ts:195
Returns
bigint
Methods
chunks()
chunks():
BuildChunk[]
Defined in: src/keynote/builds.ts:238
The build's stages.
Chunks reference their build rather than the other way round, so they are found by scanning — a slide has a handful, and the alternative is assuming a list field the schema does not have.
Returns
read()
read():
BuildInfo
Defined in: src/keynote/builds.ts:207
Returns
set()
set(
update):void
Defined in: src/keynote/builds.ts:264
Adjust an existing build's timing and delivery.
Editing what is already there is safe in a way creation is not: the fields are the ones Apple wrote, and a mistake shows up the moment the deck is played. Only the properties given are changed.
Timing goes where the build keeps it: into animationAttributes when the build has one (modern builds do), into the legacy database_* fields otherwise. A retimed deck has not round-tripped the app.
Parameters
update
delay?
number
delivery?
string
deliveryOption?
number
duration?
number
textDelivery?
number
Returns
void