initiative-plugin-sdk 10.0.0 → 10.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Generated by scripts/generate-plugin-api.mjs from schemas/plugin-api.json, the plug-in API
3
- * taken from Initiative 0.77.1 (commit d862d0ebd). Do not edit: regenerate.
3
+ * taken from Initiative 0.78.0 (commit 402991395). Do not edit: regenerate.
4
4
  */
5
5
  import type { Scope } from "./contract.js";
6
6
  /**
@@ -28,6 +28,11 @@ export interface PluginApiArgs {
28
28
  }
29
29
  /** Initiative's schemas, by name: `PluginApiSchemas["TaskRead"]`. */
30
30
  export interface PluginApiSchemas {
31
+ /**
32
+ * Who did something to a row: what its `created_by` (made it) or `deleted_by`
33
+ * (put it in the trash) names.
34
+ */
35
+ ActorKind: "member" | "plugin" | "system";
31
36
  /**
32
37
  * Things that can be archived.
33
38
  */
@@ -81,6 +86,9 @@ export interface PluginApiSchemas {
81
86
  tag_ids?: number[] | null;
82
87
  };
83
88
  CalendarEventRead: {
89
+ created_by: string | null;
90
+ created_by_kind: PluginApiSchemas["ActorKind"];
91
+ created_by_install: number | null;
84
92
  title: string;
85
93
  description: string | null;
86
94
  location: string | null;
@@ -96,7 +104,6 @@ export interface PluginApiSchemas {
96
104
  calendar_id: number;
97
105
  initiative_id: number | null;
98
106
  community_id: string;
99
- created_by: string | null;
100
107
  properties: PluginApiSchemas["PropertySummary"][];
101
108
  tags: PluginApiSchemas["TagSummary"][];
102
109
  can: PluginApiSchemas["ContentCan"];
@@ -133,12 +140,13 @@ export interface PluginApiSchemas {
133
140
  items: PluginApiSchemas["CalendarSummary"][];
134
141
  };
135
142
  CalendarRead: {
143
+ created_by: string | null;
144
+ created_by_kind: PluginApiSchemas["ActorKind"];
145
+ created_by_install: number | null;
136
146
  archived_at: string | null;
137
147
  can: PluginApiSchemas["ToolCan"];
138
148
  id: number;
139
- initiative_id: number | null;
140
149
  community_id: string;
141
- created_by: string | null;
142
150
  created_at: string;
143
151
  updated_at: string;
144
152
  comments_enabled: boolean;
@@ -148,14 +156,16 @@ export interface PluginApiSchemas {
148
156
  name: string;
149
157
  description: string | null;
150
158
  color: string;
159
+ initiative_id: number | null;
151
160
  };
152
161
  CalendarSummary: {
162
+ created_by: string | null;
163
+ created_by_kind: PluginApiSchemas["ActorKind"];
164
+ created_by_install: number | null;
153
165
  archived_at: string | null;
154
166
  can: PluginApiSchemas["ToolCan"];
155
167
  id: number;
156
- initiative_id: number | null;
157
168
  community_id: string;
158
- created_by: string | null;
159
169
  created_at: string;
160
170
  updated_at: string;
161
171
  comments_enabled: boolean;
@@ -165,6 +175,7 @@ export interface PluginApiSchemas {
165
175
  name: string;
166
176
  description: string | null;
167
177
  color: string;
178
+ initiative_id: number | null;
168
179
  };
169
180
  CalendarUpdate: {
170
181
  name?: string | null;
@@ -267,12 +278,13 @@ export interface PluginApiSchemas {
267
278
  * values of the collection's metadata.
268
279
  */
269
280
  CollectionFileSummary: {
281
+ created_by: string | null;
282
+ created_by_kind: PluginApiSchemas["ActorKind"];
283
+ created_by_install: number | null;
270
284
  archived_at: string | null;
271
285
  can: PluginApiSchemas["ToolCan"];
272
286
  id: number;
273
- initiative_id: number;
274
287
  community_id: string;
275
- created_by: string | null;
276
288
  created_at: string;
277
289
  updated_at: string;
278
290
  comments_enabled: boolean;
@@ -280,6 +292,7 @@ export interface PluginApiSchemas {
280
292
  properties: PluginApiSchemas["PropertySummary"][];
281
293
  grants: PluginApiSchemas["ResourceGrantSchema"][];
282
294
  name: string;
295
+ initiative_id: number;
283
296
  /**
284
297
  * A stored file comes as an empty string, without its path. A URL from
285
298
  * elsewhere comes as it is.
@@ -330,6 +343,9 @@ export interface PluginApiSchemas {
330
343
  * counted, and the cover is one of those.
331
344
  */
332
345
  CollectionRead: {
346
+ created_by: string | null;
347
+ created_by_kind: PluginApiSchemas["ActorKind"];
348
+ created_by_install: number | null;
333
349
  id: number;
334
350
  initiative_id: number;
335
351
  community_id: string;
@@ -339,7 +355,6 @@ export interface PluginApiSchemas {
339
355
  cover: PluginApiSchemas["CollectionCover"] | null;
340
356
  file_count: number;
341
357
  hidden_files: PluginApiSchemas["HiddenFiles"];
342
- created_by: string | null;
343
358
  created_at: string;
344
359
  updated_at: string;
345
360
  archived_at: string | null;
@@ -373,7 +388,7 @@ export interface PluginApiSchemas {
373
388
  CollectionShapeMetadata: {
374
389
  name: string;
375
390
  type: PluginApiSchemas["MetadataType"];
376
- display: "number" | "stars" | "bar" | null;
391
+ display: "number" | "stars" | "bar" | "clock" | null;
377
392
  currency: PluginApiSchemas["CurrencyCode"] | null;
378
393
  };
379
394
  CollectionUpdate: {
@@ -435,6 +450,9 @@ export interface PluginApiSchemas {
435
450
  * task's for a task comment (filled by the service's serializer).
436
451
  */
437
452
  CommentRead: {
453
+ created_by: string | null;
454
+ created_by_kind: PluginApiSchemas["ActorKind"];
455
+ created_by_install: number | null;
438
456
  /**
439
457
  * A person is mentioned as `@[](<reference>)`, by your reference for them,
440
458
  * with no name: read who they are from the members search (`members:read`).
@@ -454,7 +472,6 @@ export interface PluginApiSchemas {
454
472
  wiki_id: number | null;
455
473
  contact_id: number | null;
456
474
  id: number;
457
- created_by: string | null;
458
475
  parent_comment_id: number | null;
459
476
  created_at: string;
460
477
  updated_at: string | null;
@@ -514,49 +531,63 @@ export interface PluginApiSchemas {
514
531
  has_prev: boolean;
515
532
  items: PluginApiSchemas["ContactSummary"][];
516
533
  };
534
+ /**
535
+ * The organization a person is `part_of`.
536
+ */
537
+ ContactOrganization: {
538
+ id: number;
539
+ name: string;
540
+ initiative_id?: number | null;
541
+ };
517
542
  ContactPhone: {
518
543
  label?: string;
519
544
  value: string;
520
545
  };
521
546
  ContactRead: {
547
+ created_by: string | null;
548
+ created_by_kind: PluginApiSchemas["ActorKind"];
549
+ created_by_install: number | null;
522
550
  archived_at: string | null;
523
551
  can: PluginApiSchemas["ToolCan"];
524
552
  id: number;
525
- initiative_id: number | null;
526
553
  community_id: string;
527
- created_by: string | null;
528
554
  created_at: string;
529
555
  updated_at: string;
530
556
  comments_enabled: boolean;
531
557
  tags: PluginApiSchemas["TagSummary"][];
532
558
  properties: PluginApiSchemas["PropertySummary"][];
533
559
  grants: PluginApiSchemas["ResourceGrantSchema"][];
560
+ initiative_id: number | null;
534
561
  name: string;
535
562
  is_organization: boolean;
536
563
  emails: PluginApiSchemas["ContactDetail"][];
537
564
  phones: PluginApiSchemas["ContactDetail"][];
538
565
  addresses: PluginApiSchemas["ContactDetail"][];
539
- websites: PluginApiSchemas["ContactDetail"][];
566
+ websites: PluginApiSchemas["ContactWebsite"][];
567
+ organization: PluginApiSchemas["ContactOrganization"] | null;
540
568
  };
541
569
  ContactSummary: {
570
+ created_by: string | null;
571
+ created_by_kind: PluginApiSchemas["ActorKind"];
572
+ created_by_install: number | null;
542
573
  archived_at: string | null;
543
574
  can: PluginApiSchemas["ToolCan"];
544
575
  id: number;
545
- initiative_id: number | null;
546
576
  community_id: string;
547
- created_by: string | null;
548
577
  created_at: string;
549
578
  updated_at: string;
550
579
  comments_enabled: boolean;
551
580
  tags: PluginApiSchemas["TagSummary"][];
552
581
  properties: PluginApiSchemas["PropertySummary"][];
553
582
  grants: PluginApiSchemas["ResourceGrantSchema"][];
583
+ initiative_id: number | null;
554
584
  name: string;
555
585
  is_organization: boolean;
556
586
  emails: PluginApiSchemas["ContactDetail"][];
557
587
  phones: PluginApiSchemas["ContactDetail"][];
558
588
  addresses: PluginApiSchemas["ContactDetail"][];
559
- websites: PluginApiSchemas["ContactDetail"][];
589
+ websites: PluginApiSchemas["ContactWebsite"][];
590
+ organization: PluginApiSchemas["ContactOrganization"] | null;
560
591
  };
561
592
  /**
562
593
  * A change to a contact. Only what is sent is written; a list sent replaces
@@ -608,12 +639,13 @@ export interface PluginApiSchemas {
608
639
  items: PluginApiSchemas["CounterGroupSummary"][];
609
640
  };
610
641
  CounterGroupRead: {
642
+ created_by: string | null;
643
+ created_by_kind: PluginApiSchemas["ActorKind"];
644
+ created_by_install: number | null;
611
645
  archived_at: string | null;
612
646
  can: PluginApiSchemas["ToolCan"];
613
647
  id: number;
614
- initiative_id: number;
615
648
  community_id: string;
616
- created_by: string | null;
617
649
  created_at: string;
618
650
  updated_at: string;
619
651
  comments_enabled: boolean;
@@ -622,6 +654,7 @@ export interface PluginApiSchemas {
622
654
  grants: PluginApiSchemas["ResourceGrantSchema"][];
623
655
  name: string;
624
656
  description: string | null;
657
+ initiative_id: number;
625
658
  preview: PluginApiSchemas["CounterPreview"][] | null;
626
659
  counters: PluginApiSchemas["CounterRead"][];
627
660
  };
@@ -630,12 +663,13 @@ export interface PluginApiSchemas {
630
663
  * the list was asked for previews, when its first few come along.
631
664
  */
632
665
  CounterGroupSummary: {
666
+ created_by: string | null;
667
+ created_by_kind: PluginApiSchemas["ActorKind"];
668
+ created_by_install: number | null;
633
669
  archived_at: string | null;
634
670
  can: PluginApiSchemas["ToolCan"];
635
671
  id: number;
636
- initiative_id: number;
637
672
  community_id: string;
638
- created_by: string | null;
639
673
  created_at: string;
640
674
  updated_at: string;
641
675
  comments_enabled: boolean;
@@ -644,6 +678,7 @@ export interface PluginApiSchemas {
644
678
  grants: PluginApiSchemas["ResourceGrantSchema"][];
645
679
  name: string;
646
680
  description: string | null;
681
+ initiative_id: number;
647
682
  preview: PluginApiSchemas["CounterPreview"][] | null;
648
683
  };
649
684
  CounterGroupUpdate: {
@@ -683,6 +718,26 @@ export interface PluginApiSchemas {
683
718
  CounterSetCountRequest: {
684
719
  count: number | string;
685
720
  };
721
+ /**
722
+ * How a counter field moves: by `step` a tap, never past `min` or `max`, and
723
+ * back to `initial` on a reset. A counter with no value holds `initial`.
724
+ */
725
+ "CounterSettings-Input": {
726
+ step?: number;
727
+ min?: number | null;
728
+ max?: number | null;
729
+ initial?: number;
730
+ };
731
+ /**
732
+ * How a counter field moves: by `step` a tap, never past `min` or `max`, and
733
+ * back to `initial` on a reset. A counter with no value holds `initial`.
734
+ */
735
+ "CounterSettings-Output": {
736
+ step: number;
737
+ min: number | null;
738
+ max: number | null;
739
+ initial: number;
740
+ };
686
741
  CounterSortDirection: "asc" | "desc";
687
742
  CounterSortField: "name" | "count";
688
743
  CounterSortRequest: {
@@ -738,12 +793,13 @@ export interface PluginApiSchemas {
738
793
  items: PluginApiSchemas["FileSummary"][];
739
794
  };
740
795
  FileRead: {
796
+ created_by: string | null;
797
+ created_by_kind: PluginApiSchemas["ActorKind"];
798
+ created_by_install: number | null;
741
799
  archived_at: string | null;
742
800
  can: PluginApiSchemas["ToolCan"];
743
801
  id: number;
744
- initiative_id: number;
745
802
  community_id: string;
746
- created_by: string | null;
747
803
  created_at: string;
748
804
  updated_at: string;
749
805
  comments_enabled: boolean;
@@ -751,6 +807,7 @@ export interface PluginApiSchemas {
751
807
  properties: PluginApiSchemas["PropertySummary"][];
752
808
  grants: PluginApiSchemas["ResourceGrantSchema"][];
753
809
  name: string;
810
+ initiative_id: number;
754
811
  /**
755
812
  * A stored file comes as an empty string, without its path. A URL from
756
813
  * elsewhere comes as it is.
@@ -799,12 +856,13 @@ export interface PluginApiSchemas {
799
856
  converts_to: PluginApiSchemas["FileType"] | null;
800
857
  };
801
858
  FileSummary: {
859
+ created_by: string | null;
860
+ created_by_kind: PluginApiSchemas["ActorKind"];
861
+ created_by_install: number | null;
802
862
  archived_at: string | null;
803
863
  can: PluginApiSchemas["ToolCan"];
804
864
  id: number;
805
- initiative_id: number;
806
865
  community_id: string;
807
- created_by: string | null;
808
866
  created_at: string;
809
867
  updated_at: string;
810
868
  comments_enabled: boolean;
@@ -812,6 +870,7 @@ export interface PluginApiSchemas {
812
870
  properties: PluginApiSchemas["PropertySummary"][];
813
871
  grants: PluginApiSchemas["ResourceGrantSchema"][];
814
872
  name: string;
873
+ initiative_id: number;
815
874
  /**
816
875
  * A stored file comes as an empty string, without its path. A URL from
817
876
  * elsewhere comes as it is.
@@ -857,12 +916,14 @@ export interface PluginApiSchemas {
857
916
  * version download endpoint by id — `file_url` is intentionally not exposed.
858
917
  */
859
918
  FileVersionRead: {
919
+ created_by: string | null;
920
+ created_by_kind: PluginApiSchemas["ActorKind"];
921
+ created_by_install: number | null;
860
922
  id: number;
861
923
  version_number: number;
862
924
  file_content_type: string | null;
863
925
  file_size: number | null;
864
926
  original_filename: string | null;
865
- created_by: number | null;
866
927
  created_at: string;
867
928
  is_current: boolean;
868
929
  };
@@ -986,7 +1047,7 @@ export interface PluginApiSchemas {
986
1047
  /**
987
1048
  * What a metadata definition's values are.
988
1049
  */
989
- MetadataType: "text" | "number" | "checkbox" | "date" | "datetime" | "url" | "select" | "multi_select" | "user_reference" | "currency" | "scale" | "link" | "badge" | "json";
1050
+ MetadataType: "text" | "number" | "checkbox" | "date" | "datetime" | "url" | "select" | "multi_select" | "user_reference" | "currency" | "scale" | "counter" | "file" | "signature" | "link" | "badge" | "json";
990
1051
  OccurrenceRequest: {
991
1052
  start: string;
992
1053
  };
@@ -1087,12 +1148,13 @@ export interface PluginApiSchemas {
1087
1148
  expires_at?: string | null;
1088
1149
  };
1089
1150
  PostRead: {
1151
+ created_by: string | null;
1152
+ created_by_kind: PluginApiSchemas["ActorKind"];
1153
+ created_by_install: number | null;
1090
1154
  archived_at: string | null;
1091
1155
  can: PluginApiSchemas["ToolCan"];
1092
1156
  id: number;
1093
- initiative_id: number;
1094
1157
  community_id: string;
1095
- created_by: string | null;
1096
1158
  created_at: string;
1097
1159
  updated_at: string;
1098
1160
  comments_enabled: boolean;
@@ -1100,6 +1162,7 @@ export interface PluginApiSchemas {
1100
1162
  properties: PluginApiSchemas["PropertySummary"][];
1101
1163
  grants: PluginApiSchemas["ResourceGrantSchema"][];
1102
1164
  name: string;
1165
+ initiative_id: number;
1103
1166
  author: PluginApiSchemas["PluginPerson"] | null;
1104
1167
  /**
1105
1168
  * A person is mentioned as `@[](<reference>)`, by your reference for them,
@@ -1166,12 +1229,13 @@ export interface PluginApiSchemas {
1166
1229
  items: PluginApiSchemas["ProjectRead"][];
1167
1230
  };
1168
1231
  ProjectRead: {
1232
+ created_by: string | null;
1233
+ created_by_kind: PluginApiSchemas["ActorKind"];
1234
+ created_by_install: number | null;
1169
1235
  archived_at: string | null;
1170
1236
  can: PluginApiSchemas["ProjectCan"];
1171
1237
  id: number;
1172
- initiative_id: number;
1173
1238
  community_id: string;
1174
- created_by: string | null;
1175
1239
  created_at: string;
1176
1240
  updated_at: string;
1177
1241
  comments_enabled: boolean;
@@ -1183,6 +1247,7 @@ export interface PluginApiSchemas {
1183
1247
  icon: string | null;
1184
1248
  start_date: string | null;
1185
1249
  end_date: string | null;
1250
+ initiative_id: number;
1186
1251
  owner_id: string | null;
1187
1252
  is_template: boolean;
1188
1253
  pinned_at: string | null;
@@ -1220,6 +1285,7 @@ export interface PluginApiSchemas {
1220
1285
  color?: string | null;
1221
1286
  options?: PluginApiSchemas["PropertyOption"][] | null;
1222
1287
  currency?: PluginApiSchemas["CurrencyCode"] | null;
1288
+ counter?: PluginApiSchemas["CounterSettings-Input"] | null;
1223
1289
  initiative_id: number;
1224
1290
  project_id?: number | null;
1225
1291
  collection_id?: number | null;
@@ -1257,6 +1323,7 @@ export interface PluginApiSchemas {
1257
1323
  color: string | null;
1258
1324
  options: PluginApiSchemas["PropertyOption"][] | null;
1259
1325
  currency: PluginApiSchemas["CurrencyCode"] | null;
1326
+ counter: PluginApiSchemas["CounterSettings-Output"] | null;
1260
1327
  id: number;
1261
1328
  initiative_id: number;
1262
1329
  project_id: number | null;
@@ -1273,6 +1340,7 @@ export interface PluginApiSchemas {
1273
1340
  color?: string | null;
1274
1341
  options?: PluginApiSchemas["PropertyOption"][] | null;
1275
1342
  currency?: PluginApiSchemas["CurrencyCode"] | null;
1343
+ counter?: PluginApiSchemas["CounterSettings-Input"] | null;
1276
1344
  };
1277
1345
  /**
1278
1346
  * Envelope for PATCH /property-definitions/{id}.
@@ -1299,6 +1367,14 @@ export interface PluginApiSchemas {
1299
1367
  add?: string[];
1300
1368
  remove?: string[];
1301
1369
  };
1370
+ /**
1371
+ * One step of a counter, up or down, from the value it holds when the step is
1372
+ * written, so two people stepping it at once both count.
1373
+ */
1374
+ PropertyStep: {
1375
+ property_id: number;
1376
+ up: boolean;
1377
+ };
1302
1378
  /**
1303
1379
  * Lightweight property value for embedding in entity reads.
1304
1380
  */
@@ -1312,12 +1388,17 @@ export interface PluginApiSchemas {
1312
1388
  key: string | null;
1313
1389
  options: PluginApiSchemas["PropertyOption"][] | null;
1314
1390
  currency: PluginApiSchemas["CurrencyCode"] | null;
1391
+ counter: PluginApiSchemas["CounterSettings-Output"] | null;
1315
1392
  /**
1316
1393
  * Shaped by the definition's type. For user_reference, a person: id,
1317
1394
  * username, discriminator, display_name and avatar_url, or an PluginPerson
1318
- * when the reader is an installed plug-in. A plug-in's value is as the
1319
- * plug-in wrote it: a list field's an array of its elements, newest first,
1320
- * each with its ref, and a value with a state the state beside it.
1395
+ * when the reader is an installed plug-in. For file, a file: id, name,
1396
+ * file_type and smart_link_url, or its id alone where the reader cannot
1397
+ * open it. For signature, the signer as user (a person, shaped as
1398
+ * user_reference's), the name they typed and when they signed: user, name
1399
+ * and signed_at. A plug-in's value is as the plug-in wrote it: a list
1400
+ * field's an array of its elements, newest first, each with its ref, and a
1401
+ * value with a state the state beside it.
1321
1402
  */
1322
1403
  value: unknown;
1323
1404
  };
@@ -1341,6 +1422,7 @@ export interface PluginApiSchemas {
1341
1422
  merge?: boolean;
1342
1423
  removed?: number[];
1343
1424
  options?: PluginApiSchemas["PropertyOptionsChange"][];
1425
+ steps?: PluginApiSchemas["PropertyStep"][];
1344
1426
  };
1345
1427
  RSVPStatus: "pending" | "accepted" | "declined" | "tentative";
1346
1428
  /**
@@ -1460,6 +1542,9 @@ export interface PluginApiSchemas {
1460
1542
  * Lightweight schema for task list endpoints - excludes heavy nested data
1461
1543
  */
1462
1544
  TaskListRead: {
1545
+ created_by: string | null;
1546
+ created_by_kind: PluginApiSchemas["ActorKind"];
1547
+ created_by_install: number | null;
1463
1548
  title: string;
1464
1549
  priority: PluginApiSchemas["TaskPriority"];
1465
1550
  start_date: string | null;
@@ -1480,7 +1565,6 @@ export interface PluginApiSchemas {
1480
1565
  completed_at: string | null;
1481
1566
  position: number;
1482
1567
  archived_at: string | null;
1483
- created_by: string | null;
1484
1568
  assignees: PluginApiSchemas["PluginPerson"][];
1485
1569
  recurrence_occurrence_count: number;
1486
1570
  recurrence_shift: number;
@@ -1532,6 +1616,9 @@ export interface PluginApiSchemas {
1532
1616
  is_template: boolean | null;
1533
1617
  };
1534
1618
  TaskRead: {
1619
+ created_by: string | null;
1620
+ created_by_kind: PluginApiSchemas["ActorKind"];
1621
+ created_by_install: number | null;
1535
1622
  title: string;
1536
1623
  priority: PluginApiSchemas["TaskPriority"];
1537
1624
  start_date: string | null;
@@ -1551,7 +1638,6 @@ export interface PluginApiSchemas {
1551
1638
  completed_at: string | null;
1552
1639
  position: number;
1553
1640
  archived_at: string | null;
1554
- created_by: string | null;
1555
1641
  creator: PluginApiSchemas["PluginPerson"] | null;
1556
1642
  assignees: PluginApiSchemas["PluginPerson"][];
1557
1643
  recurrence_occurrence_count: number;
@@ -1784,6 +1870,9 @@ export interface PluginApiSchemas {
1784
1870
  * One page, opened.
1785
1871
  */
1786
1872
  WikiPageRead: {
1873
+ created_by: string | null;
1874
+ created_by_kind: PluginApiSchemas["ActorKind"];
1875
+ created_by_install: number | null;
1787
1876
  id: number;
1788
1877
  wiki_id: number;
1789
1878
  community_id: string;
@@ -1793,7 +1882,6 @@ export interface PluginApiSchemas {
1793
1882
  is_draft: boolean;
1794
1883
  title: string;
1795
1884
  slug: string;
1796
- created_by: string | null;
1797
1885
  created_at: string;
1798
1886
  updated_at: string;
1799
1887
  headings: PluginApiSchemas["WikiPageHeading"][];
@@ -1818,6 +1906,9 @@ export interface PluginApiSchemas {
1818
1906
  * One page as the navigation draws it — no body.
1819
1907
  */
1820
1908
  WikiPageSummary: {
1909
+ created_by: string | null;
1910
+ created_by_kind: PluginApiSchemas["ActorKind"];
1911
+ created_by_install: number | null;
1821
1912
  id: number;
1822
1913
  wiki_id: number;
1823
1914
  community_id: string;
@@ -1827,7 +1918,6 @@ export interface PluginApiSchemas {
1827
1918
  is_draft: boolean;
1828
1919
  title: string;
1829
1920
  slug: string;
1830
- created_by: string | null;
1831
1921
  created_at: string;
1832
1922
  updated_at: string;
1833
1923
  headings: PluginApiSchemas["WikiPageHeading"][];
@@ -1862,12 +1952,13 @@ export interface PluginApiSchemas {
1862
1952
  * own, because a wiki is navigated rather than read end to end.
1863
1953
  */
1864
1954
  WikiRead: {
1955
+ created_by: string | null;
1956
+ created_by_kind: PluginApiSchemas["ActorKind"];
1957
+ created_by_install: number | null;
1865
1958
  archived_at: string | null;
1866
1959
  can: PluginApiSchemas["ToolCan"];
1867
1960
  id: number;
1868
- initiative_id: number;
1869
1961
  community_id: string;
1870
- created_by: string | null;
1871
1962
  created_at: string;
1872
1963
  updated_at: string;
1873
1964
  comments_enabled: boolean;
@@ -1876,6 +1967,7 @@ export interface PluginApiSchemas {
1876
1967
  grants: PluginApiSchemas["ResourceGrantSchema"][];
1877
1968
  name: string;
1878
1969
  description: string | null;
1970
+ initiative_id: number;
1879
1971
  home_page_id: number | null;
1880
1972
  page_order: PluginApiSchemas["WikiPageOrder"];
1881
1973
  contents_depth: number;
@@ -1892,12 +1984,13 @@ export interface PluginApiSchemas {
1892
1984
  */
1893
1985
  WikiReadingWidth: "wide" | "comfortable";
1894
1986
  WikiSummary: {
1987
+ created_by: string | null;
1988
+ created_by_kind: PluginApiSchemas["ActorKind"];
1989
+ created_by_install: number | null;
1895
1990
  archived_at: string | null;
1896
1991
  can: PluginApiSchemas["ToolCan"];
1897
1992
  id: number;
1898
- initiative_id: number;
1899
1993
  community_id: string;
1900
- created_by: string | null;
1901
1994
  created_at: string;
1902
1995
  updated_at: string;
1903
1996
  comments_enabled: boolean;
@@ -1906,6 +1999,7 @@ export interface PluginApiSchemas {
1906
1999
  grants: PluginApiSchemas["ResourceGrantSchema"][];
1907
2000
  name: string;
1908
2001
  description: string | null;
2002
+ initiative_id: number;
1909
2003
  home_page_id: number | null;
1910
2004
  page_order: PluginApiSchemas["WikiPageOrder"];
1911
2005
  contents_depth: number;
@@ -4952,8 +5046,8 @@ export declare class PluginApi {
4952
5046
  }): Promise<PluginApiOperations["update_property_definition"]["answer"]>;
4953
5047
  /**
4954
5048
  * Replace the custom property values on one tool or sub-tool, or with `merge`
4955
- * write only the ones named and leave the rest, and change options of
4956
- * multi-select values against what each holds.
5049
+ * write only the ones named and leave the rest, change options of
5050
+ * multi-select values and step counters against what each holds.
4957
5051
  *
4958
5052
  * `PUT /properties/{target}/{entity_id}`, needs the scope its `target` names.
4959
5053
  */
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Generated by scripts/generate-plugin-api.mjs from schemas/plugin-api.json, the plug-in API
3
- * taken from Initiative 0.77.1 (commit d862d0ebd). Do not edit: regenerate.
3
+ * taken from Initiative 0.78.0 (commit 402991395). Do not edit: regenerate.
4
4
  */
5
5
  /**
6
6
  * Each operation a plug-in may call: its method, its path after `/api/v1/c/0`, the
@@ -1139,8 +1139,8 @@ export class PluginApi {
1139
1139
  }
1140
1140
  /**
1141
1141
  * Replace the custom property values on one tool or sub-tool, or with `merge`
1142
- * write only the ones named and leave the rest, and change options of
1143
- * multi-select values against what each holds.
1142
+ * write only the ones named and leave the rest, change options of
1143
+ * multi-select values and step counters against what each holds.
1144
1144
  *
1145
1145
  * `PUT /properties/{target}/{entity_id}`, needs the scope its `target` names.
1146
1146
  */