moeralib 0.19.0 → 0.19.2

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.
@@ -9,7 +9,7 @@ export type OperationStatus = "waiting" | "added" | "started" | "succeeded" | "f
9
9
  export type PrincipalFlag = "none" | "private" | "admin" | "owner" | "secret" | "senior" | "enigma" | "major" | "signed" | "subscribed" | "public" | "friends" | "unset";
10
10
  export type PushContentType = "story-added" | "story-deleted" | "feed-updated";
11
11
  export type PushRelayType = "fcm";
12
- export type Scope = "none" | "identify" | "other" | "view-content" | "add-post" | "update-post" | "add-comment" | "update-comment" | "react" | "delete-own-content" | "delete-others-content" | "view-people" | "block" | "friend" | "remote-identify" | "drafts" | "view-feeds" | "update-feeds" | "name" | "plugins" | "view-profile" | "update-profile" | "sheriff" | "view-settings" | "update-settings" | "subscribe" | "tokens" | "user-lists" | "grant" | "upload-public-media" | "upload-private-media" | "lease-media" | "view-all" | "all";
12
+ export type Scope = "none" | "identify" | "other" | "view-content" | "add-post" | "update-post" | "add-comment" | "update-comment" | "react" | "delete-own-content" | "delete-others-content" | "view-people" | "block" | "friend" | "remote-identify" | "drafts" | "view-feeds" | "update-feeds" | "name" | "view-profile" | "update-profile" | "sheriff" | "view-settings" | "update-settings" | "subscribe" | "tokens" | "user-lists" | "grant" | "upload-public-media" | "upload-private-media" | "lease-media" | "view-all" | "all";
13
13
  export declare const SCOPE_VALUES: Record<Scope, number>;
14
14
  export type SearchContentUpdateType = "block" | "comment-add" | "comment-update" | "comment-update-heading" | "comment-update-media" | "comment-update-media-text" | "comment-delete" | "friend" | "profile" | "posting-add" | "posting-update" | "posting-update-heading" | "posting-update-media" | "posting-update-media-text" | "posting-delete" | "reaction-add" | "reaction-delete" | "reactions-delete-all" | "subscribe" | "unblock" | "unfriend" | "unsubscribe";
15
15
  export type SearchEngine = "google" | "bing" | "yandex";
@@ -760,6 +760,10 @@ export interface ContactFilter {
760
760
  export interface ContactInfo {
761
761
  nodeName: string;
762
762
  fullName?: string | null;
763
+ /**
764
+ * source URI of the node identity
765
+ */
766
+ nodeSourceUri?: string | null;
763
767
  gender?: string | null;
764
768
  title?: string | null;
765
769
  avatar?: AvatarImage | null;
@@ -806,8 +810,12 @@ export interface ContactInfo {
806
810
  adminOperations?: ContactOperations | null;
807
811
  }
808
812
  export interface Credentials {
809
- login: string;
810
- password: string;
813
+ login?: string | null;
814
+ password?: string | null;
815
+ /**
816
+ * if ``true``, disable login and password reset
817
+ */
818
+ loginDisabled?: boolean | null;
811
819
  }
812
820
  export interface CredentialsChange {
813
821
  /**
@@ -826,6 +834,10 @@ export interface CredentialsCreated {
826
834
  * ``true`` if the credentials are initialized already, ``false`` otherwise
827
835
  */
828
836
  created: boolean;
837
+ /**
838
+ * ``true`` if login and password reset are disabled
839
+ */
840
+ loginDisabled?: boolean | null;
829
841
  }
830
842
  export interface CredentialsResetToken {
831
843
  token: string;
@@ -1259,6 +1271,10 @@ export interface NotificationPacket {
1259
1271
  * full name of the sending node
1260
1272
  */
1261
1273
  fullName?: string | null;
1274
+ /**
1275
+ * source URI of the node identity
1276
+ */
1277
+ nodeSourceUri?: string | null;
1262
1278
  /**
1263
1279
  * gender of the sending node
1264
1280
  */
@@ -1366,53 +1382,6 @@ export interface PeopleGeneralInfo {
1366
1382
  */
1367
1383
  operations?: PeopleOperations | null;
1368
1384
  }
1369
- export interface PluginContext {
1370
- /**
1371
- * ``true``, if the client has authenticated as root admin, ``false`` otherwise
1372
- */
1373
- rootAdmin: boolean;
1374
- /**
1375
- * ``true``, if the client has authenticated as node admin, ``false`` otherwise
1376
- */
1377
- admin: boolean;
1378
- /**
1379
- * the list of permissions granted to the client, if it has authenticated as node admin; see
1380
- * ``TokenInfo.permissions`` for the list of possible values
1381
- */
1382
- authCategories: string[];
1383
- /**
1384
- * node name of the client
1385
- */
1386
- clientName: string;
1387
- /**
1388
- * IP address of the client
1389
- */
1390
- remoteAddress: string;
1391
- /**
1392
- * user agent (browser) used by the client
1393
- */
1394
- userAgent: string;
1395
- /**
1396
- * operating system used by the client
1397
- */
1398
- userAgentOs: string;
1399
- /**
1400
- * ID of the current node
1401
- */
1402
- nodeId: string;
1403
- /**
1404
- * node name of the current node
1405
- */
1406
- nodeName: string;
1407
- /**
1408
- * domain name of the current node
1409
- */
1410
- domainName: string;
1411
- /**
1412
- * full URL of the request
1413
- */
1414
- originUrl: string;
1415
- }
1416
1385
  export interface PostingFeatures {
1417
1386
  /**
1418
1387
  * ``true`` if the client is allowed to create postings, ``false`` otherwise
@@ -1444,6 +1413,10 @@ export interface PostingSourceInfo {
1444
1413
  * full name of the remote node
1445
1414
  */
1446
1415
  fullName?: string | null;
1416
+ /**
1417
+ * source URI of the node identity
1418
+ */
1419
+ nodeSourceUri?: string | null;
1447
1420
  /**
1448
1421
  * avatar of the remote node
1449
1422
  */
@@ -1575,6 +1548,10 @@ export interface ProfileAttributes {
1575
1548
  * node owner's full name
1576
1549
  */
1577
1550
  fullName?: string | null;
1551
+ /**
1552
+ * source URI of the node identity
1553
+ */
1554
+ sourceUri?: string | null;
1578
1555
  /**
1579
1556
  * node owner's gender
1580
1557
  */
@@ -1614,6 +1591,10 @@ export interface ProfileInfo {
1614
1591
  * node owner's full name
1615
1592
  */
1616
1593
  fullName?: string | null;
1594
+ /**
1595
+ * source URI of the node identity
1596
+ */
1597
+ sourceUri?: string | null;
1617
1598
  /**
1618
1599
  * node owner's gender
1619
1600
  */
@@ -1733,6 +1714,10 @@ export interface ReactionDescription {
1733
1714
  * reaction owner's full name
1734
1715
  */
1735
1716
  ownerFullName?: string | null;
1717
+ /**
1718
+ * source URI of the node identity
1719
+ */
1720
+ ownerSourceUri?: string | null;
1736
1721
  /**
1737
1722
  * reaction owner's gender
1738
1723
  */
@@ -1781,6 +1766,10 @@ export interface ReactionInfo {
1781
1766
  * reaction owner's full name
1782
1767
  */
1783
1768
  ownerFullName?: string | null;
1769
+ /**
1770
+ * source URI of the node identity
1771
+ */
1772
+ ownerSourceUri?: string | null;
1784
1773
  /**
1785
1774
  * reaction owner's gender
1786
1775
  */
@@ -1935,6 +1924,10 @@ export interface RecommendedPostingInfo {
1935
1924
  * full name of the posting's owner
1936
1925
  */
1937
1926
  ownerFullName?: string | null;
1927
+ /**
1928
+ * source URI of the node identity
1929
+ */
1930
+ ownerSourceUri?: string | null;
1938
1931
  /**
1939
1932
  * avatar of the posting's owner
1940
1933
  */
@@ -1989,6 +1982,10 @@ export interface RecommendedNodeInfo {
1989
1982
  * node owner's full name
1990
1983
  */
1991
1984
  fullName?: string | null;
1985
+ /**
1986
+ * source URI of the node identity
1987
+ */
1988
+ nodeSourceUri?: string | null;
1992
1989
  /**
1993
1990
  * node title
1994
1991
  */
@@ -2208,6 +2205,10 @@ export interface RepliedTo {
2208
2205
  * full name of the comment's owner
2209
2206
  */
2210
2207
  fullName?: string | null;
2208
+ /**
2209
+ * source URI of the node identity
2210
+ */
2211
+ sourceUri?: string | null;
2211
2212
  /**
2212
2213
  * gender of the comment's owner
2213
2214
  */
@@ -2433,6 +2434,10 @@ export interface SearchNodeInfo {
2433
2434
  * node owner's full name
2434
2435
  */
2435
2436
  fullName?: string | null;
2437
+ /**
2438
+ * source URI of the node identity
2439
+ */
2440
+ nodeSourceUri?: string | null;
2436
2441
  /**
2437
2442
  * node title
2438
2443
  */
@@ -2571,6 +2576,10 @@ export interface SearchRepliedTo {
2571
2576
  * full name of the comment's owner
2572
2577
  */
2573
2578
  fullName?: string | null;
2579
+ /**
2580
+ * source URI of the node identity
2581
+ */
2582
+ sourceUri?: string | null;
2574
2583
  /**
2575
2584
  * avatar of the comment's owner
2576
2585
  */
@@ -2720,6 +2729,10 @@ export interface SheriffComplaintGroupInfo {
2720
2729
  * full name of the node the complaints are related to
2721
2730
  */
2722
2731
  remoteNodeFullName?: string | null;
2732
+ /**
2733
+ * source URI of the node identity
2734
+ */
2735
+ remoteNodeSourceUri?: string | null;
2723
2736
  /**
2724
2737
  * name of the feed the complaints are related to
2725
2738
  */
@@ -2740,6 +2753,10 @@ export interface SheriffComplaintGroupInfo {
2740
2753
  * posting owner's full name
2741
2754
  */
2742
2755
  remotePostingOwnerFullName?: string | null;
2756
+ /**
2757
+ * source URI of the node identity
2758
+ */
2759
+ remotePostingOwnerSourceUri?: string | null;
2743
2760
  /**
2744
2761
  * posting owner's gender
2745
2762
  */
@@ -2764,6 +2781,10 @@ export interface SheriffComplaintGroupInfo {
2764
2781
  * comment owner's full name
2765
2782
  */
2766
2783
  remoteCommentOwnerFullName?: string | null;
2784
+ /**
2785
+ * source URI of the node identity
2786
+ */
2787
+ remoteCommentOwnerSourceUri?: string | null;
2767
2788
  /**
2768
2789
  * comment owner's gender
2769
2790
  */
@@ -2837,6 +2858,10 @@ export interface SheriffComplaintInfo {
2837
2858
  * complaint owner's full name
2838
2859
  */
2839
2860
  ownerFullName?: string | null;
2861
+ /**
2862
+ * source URI of the node identity
2863
+ */
2864
+ ownerSourceUri?: string | null;
2840
2865
  /**
2841
2866
  * complaint owner's gender
2842
2867
  */
@@ -2867,6 +2892,10 @@ export interface SheriffComplaintText {
2867
2892
  * complaint owner's full name
2868
2893
  */
2869
2894
  ownerFullName?: string | null;
2895
+ /**
2896
+ * source URI of the node identity
2897
+ */
2898
+ ownerSourceUri?: string | null;
2870
2899
  /**
2871
2900
  * complaint owner's gender
2872
2901
  */
@@ -2879,6 +2908,10 @@ export interface SheriffComplaintText {
2879
2908
  * full name of the node the complaint is related to
2880
2909
  */
2881
2910
  fullName?: string | null;
2911
+ /**
2912
+ * source URI of the node identity
2913
+ */
2914
+ nodeSourceUri?: string | null;
2882
2915
  /**
2883
2916
  * name of the feed the complaint is related to
2884
2917
  */
@@ -2895,6 +2928,10 @@ export interface SheriffComplaintText {
2895
2928
  * posting owner's full name
2896
2929
  */
2897
2930
  postingOwnerFullName?: string | null;
2931
+ /**
2932
+ * source URI of the node identity
2933
+ */
2934
+ postingOwnerSourceUri?: string | null;
2898
2935
  /**
2899
2936
  * posting owner's gender
2900
2937
  */
@@ -2915,6 +2952,10 @@ export interface SheriffComplaintText {
2915
2952
  * comment owner's full name
2916
2953
  */
2917
2954
  commentOwnerFullName?: string | null;
2955
+ /**
2956
+ * source URI of the node identity
2957
+ */
2958
+ commentOwnerSourceUri?: string | null;
2918
2959
  /**
2919
2960
  * comment owner's gender
2920
2961
  */
@@ -3035,6 +3076,10 @@ export interface SheriffOrderInfo {
3035
3076
  * full name of the node the order was sent to
3036
3077
  */
3037
3078
  nodeFullName?: string | null;
3079
+ /**
3080
+ * source URI of the node identity
3081
+ */
3082
+ nodeSourceUri?: string | null;
3038
3083
  /**
3039
3084
  * name of the feed the order is related to
3040
3085
  */
@@ -3055,6 +3100,10 @@ export interface SheriffOrderInfo {
3055
3100
  * posting owner's full name
3056
3101
  */
3057
3102
  postingOwnerFullName?: string | null;
3103
+ /**
3104
+ * source URI of the node identity
3105
+ */
3106
+ postingOwnerSourceUri?: string | null;
3058
3107
  /**
3059
3108
  * posting owner's gender
3060
3109
  */
@@ -3079,6 +3128,10 @@ export interface SheriffOrderInfo {
3079
3128
  * comment owner's full name
3080
3129
  */
3081
3130
  commentOwnerFullName?: string | null;
3131
+ /**
3132
+ * source URI of the node identity
3133
+ */
3134
+ commentOwnerSourceUri?: string | null;
3082
3135
  /**
3083
3136
  * comment owner's gender
3084
3137
  */
@@ -3201,6 +3254,10 @@ export interface StorySummaryEntry {
3201
3254
  * entry owner's full name
3202
3255
  */
3203
3256
  ownerFullName?: string | null;
3257
+ /**
3258
+ * source URI of the node identity
3259
+ */
3260
+ ownerSourceUri?: string | null;
3204
3261
  /**
3205
3262
  * entry owner's gender
3206
3263
  */
@@ -3227,6 +3284,10 @@ export interface StorySummaryNode {
3227
3284
  * node owner's full name
3228
3285
  */
3229
3286
  ownerFullName?: string | null;
3287
+ /**
3288
+ * source URI of the node identity
3289
+ */
3290
+ ownerSourceUri?: string | null;
3230
3291
  /**
3231
3292
  * node owner's gender
3232
3293
  */
@@ -3255,6 +3316,10 @@ export interface StorySummaryReaction {
3255
3316
  * reaction owner's full name
3256
3317
  */
3257
3318
  ownerFullName?: string | null;
3319
+ /**
3320
+ * source URI of the node identity
3321
+ */
3322
+ ownerSourceUri?: string | null;
3258
3323
  /**
3259
3324
  * reaction owner's gender
3260
3325
  */
@@ -3474,10 +3539,6 @@ export interface TokenInfo {
3474
3539
  * the list of permissions granted to the token
3475
3540
  */
3476
3541
  permissions: Scope[];
3477
- /**
3478
- * a plugin the token belongs to; if set, only this plugin may use the token
3479
- */
3480
- pluginName?: string | null;
3481
3542
  /**
3482
3543
  * token creation timestamp
3483
3544
  */
@@ -3628,6 +3689,10 @@ export interface WhoAmI {
3628
3689
  * node owner's full name
3629
3690
  */
3630
3691
  fullName?: string | null;
3692
+ /**
3693
+ * source URI of the node identity
3694
+ */
3695
+ sourceUri?: string | null;
3631
3696
  /**
3632
3697
  * node owner's gender
3633
3698
  */
@@ -3664,6 +3729,10 @@ export interface ActivityReactionInfo {
3664
3729
  * full name of the remote node
3665
3730
  */
3666
3731
  remoteFullName?: string | null;
3732
+ /**
3733
+ * source URI of the node identity
3734
+ */
3735
+ remoteSourceUri?: string | null;
3667
3736
  /**
3668
3737
  * avatar of the remote node
3669
3738
  */
@@ -3840,10 +3909,6 @@ export interface Features {
3840
3909
  * features of a posting
3841
3910
  */
3842
3911
  posting: PostingFeatures;
3843
- /**
3844
- * list of names of plugins enabled for the node
3845
- */
3846
- plugins?: string[] | null;
3847
3912
  /**
3848
3913
  * width of the feed in pixels
3849
3914
  */
@@ -4029,6 +4094,10 @@ export interface PostingInfoBase<B> {
4029
4094
  * full name of the node where the posting was published (for cached copies of remote postings only)
4030
4095
  */
4031
4096
  receiverFullName?: string | null;
4097
+ /**
4098
+ * source URI of the node identity
4099
+ */
4100
+ receiverSourceUri?: string | null;
4032
4101
  /**
4033
4102
  * gender of the node where the posting was published (for cached copies of remote postings only)
4034
4103
  */
@@ -4053,6 +4122,10 @@ export interface PostingInfoBase<B> {
4053
4122
  * full name of the posting's owner
4054
4123
  */
4055
4124
  ownerFullName?: string | null;
4125
+ /**
4126
+ * source URI of the node identity
4127
+ */
4128
+ ownerSourceUri?: string | null;
4056
4129
  /**
4057
4130
  * gender of the posting's owner
4058
4131
  */
@@ -4229,10 +4302,10 @@ export interface PostingInfoBase<B> {
4229
4302
  */
4230
4303
  recommended?: boolean | null;
4231
4304
  /**
4232
- * URI of the external source the posting was received from; used by software that automatically forwards postings
4233
- * from other social networks (for admin only)
4305
+ * URIs of the external sources the posting was received from; used by software that automatically forwards
4306
+ * postings from other social networks (for admin only)
4234
4307
  */
4235
- externalSourceUri?: string | null;
4308
+ externalSourceUri?: string[] | null;
4236
4309
  }
4237
4310
  export type EncodedPostingInfo = PostingInfoBase<string>;
4238
4311
  export type PostingInfo = PostingInfoBase<Body>;
@@ -4323,6 +4396,10 @@ export interface PostingSourceText {
4323
4396
  * full name of the posting's owner
4324
4397
  */
4325
4398
  ownerFullName?: string | null;
4399
+ /**
4400
+ * source URI of the node identity
4401
+ */
4402
+ ownerSourceUri?: string | null;
4326
4403
  /**
4327
4404
  * avatar of the posting's owner
4328
4405
  */
@@ -4379,9 +4456,15 @@ export interface PostingText {
4379
4456
  */
4380
4457
  ownerName?: string | null;
4381
4458
  /**
4382
- * full name of the posting's owner
4459
+ * full name of the posting's owner; if omitted, the node profile value is used when creating a posting and the
4460
+ * current posting value is preserved when updating it; an explicitly empty string is stored as empty
4383
4461
  */
4384
4462
  ownerFullName?: string | null;
4463
+ /**
4464
+ * source URI of the posting owner's identity; if omitted, the node profile value is used when creating a posting
4465
+ * and the current posting value is preserved when updating it; an explicitly empty string is stored as empty
4466
+ */
4467
+ ownerSourceUri?: string | null;
4385
4468
  /**
4386
4469
  * gender of the posting's owner
4387
4470
  */
@@ -4460,10 +4543,10 @@ export interface PostingText {
4460
4543
  */
4461
4544
  commentReactionOperations?: ReactionOperations | null;
4462
4545
  /**
4463
- * URI of the external source the posting was received from; used by software that automatically forwards postings
4464
- * from other social networks (for admin only)
4546
+ * URIs of the external sources the posting was received from; used by software that automatically forwards
4547
+ * postings from other social networks (for admin only)
4465
4548
  */
4466
- externalSourceUri?: string | null;
4549
+ externalSourceUri?: string[] | null;
4467
4550
  }
4468
4551
  export interface ReactionCreated {
4469
4552
  /**
@@ -4496,6 +4579,10 @@ export interface SearchEntryInfoBase<B> {
4496
4579
  * full name of the entry's owner
4497
4580
  */
4498
4581
  ownerFullName?: string | null;
4582
+ /**
4583
+ * source URI of the node identity
4584
+ */
4585
+ ownerSourceUri?: string | null;
4499
4586
  /**
4500
4587
  * avatar of the entry's owner
4501
4588
  */
@@ -4710,6 +4797,10 @@ export interface CommentInfoBase<B> {
4710
4797
  * full name of the comment's owner
4711
4798
  */
4712
4799
  ownerFullName?: string | null;
4800
+ /**
4801
+ * source URI of the node identity
4802
+ */
4803
+ ownerSourceUri?: string | null;
4713
4804
  /**
4714
4805
  * gender of the comment's owner
4715
4806
  */
@@ -4972,6 +5063,10 @@ export interface CommentSourceText {
4972
5063
  * full name of the comment's owner
4973
5064
  */
4974
5065
  ownerFullName?: string | null;
5066
+ /**
5067
+ * source URI of the node identity
5068
+ */
5069
+ ownerSourceUri?: string | null;
4975
5070
  /**
4976
5071
  * avatar of the comment's owner
4977
5072
  */
@@ -5029,6 +5124,10 @@ export interface CommentText {
5029
5124
  * full name of the comment's owner
5030
5125
  */
5031
5126
  ownerFullName?: string | null;
5127
+ /**
5128
+ * source URI of the node identity
5129
+ */
5130
+ ownerSourceUri?: string | null;
5032
5131
  /**
5033
5132
  * gender of the comment's owner
5034
5133
  */
@@ -5144,6 +5243,10 @@ export interface DraftInfoBase<B> {
5144
5243
  * full name of the posting's/comment's owner
5145
5244
  */
5146
5245
  ownerFullName?: string | null;
5246
+ /**
5247
+ * source URI of the node identity
5248
+ */
5249
+ ownerSourceUri?: string | null;
5147
5250
  /**
5148
5251
  * avatar of the posting's/comment's owner
5149
5252
  */
@@ -5230,6 +5333,10 @@ export interface DraftText {
5230
5333
  * full name of the posting's/comment's owner
5231
5334
  */
5232
5335
  ownerFullName?: string | null;
5336
+ /**
5337
+ * source URI of the node identity
5338
+ */
5339
+ ownerSourceUri?: string | null;
5233
5340
  /**
5234
5341
  * avatar of the posting's/comment's owner
5235
5342
  */
@@ -5382,6 +5489,10 @@ export interface StoryInfoBase<B> {
5382
5489
  * full name of the node related to the summary of the story
5383
5490
  */
5384
5491
  summaryFullName?: string | null;
5492
+ /**
5493
+ * source URI of the node identity
5494
+ */
5495
+ summarySourceUri?: string | null;
5385
5496
  /**
5386
5497
  * avatar of the summary of the story
5387
5498
  */
@@ -5418,6 +5529,10 @@ export interface StoryInfoBase<B> {
5418
5529
  * full name of the node this story is about
5419
5530
  */
5420
5531
  remoteFullName?: string | null;
5532
+ /**
5533
+ * source URI of the node identity
5534
+ */
5535
+ remoteSourceUri?: string | null;
5421
5536
  /**
5422
5537
  * ID of the posting at remote node this story is about
5423
5538
  */
@@ -5473,71 +5588,6 @@ export interface FeedSliceInfoBase<B> {
5473
5588
  }
5474
5589
  export type EncodedFeedSliceInfo = FeedSliceInfoBase<string>;
5475
5590
  export type FeedSliceInfo = FeedSliceInfoBase<Body>;
5476
- export interface PluginDescription {
5477
- /**
5478
- * a unique plugin name; can contain only small latin letters, digits or hyphen
5479
- */
5480
- name: string;
5481
- /**
5482
- * user-readable title of the plugin
5483
- */
5484
- title?: string | null;
5485
- /**
5486
- * user-readable description of the purpose of the plugin
5487
- */
5488
- description?: string | null;
5489
- /**
5490
- * URL of the plugin; used by the node to call the plugin API
5491
- */
5492
- location?: string | null;
5493
- /**
5494
- * list of types of internal events the plugin wants to receive; Read more about internal events.
5495
- */
5496
- acceptedEvents?: string[] | null;
5497
- /**
5498
- * plugin settings to be added to the list of node settings, the settings appear in the list with a prefix
5499
- * ``plugin.&lt;plugin name>.``
5500
- */
5501
- options?: SettingDescriptor[] | null;
5502
- }
5503
- export interface PluginInfo {
5504
- /**
5505
- * ID of the node this plugin is connected to
5506
- */
5507
- nodeId: string;
5508
- /**
5509
- * ``true`` if the plugin is enabled for a particular node only, ``false``, if it is enabled for the whole server
5510
- */
5511
- local: boolean;
5512
- /**
5513
- * a unique plugin name
5514
- */
5515
- name: string;
5516
- /**
5517
- * user-readable title of the plugin
5518
- */
5519
- title?: string | null;
5520
- /**
5521
- * user-readable description of the purpose of the plugin
5522
- */
5523
- description?: string | null;
5524
- /**
5525
- * URL of the plugin; used by the node to call the plugin API
5526
- */
5527
- location?: string | null;
5528
- /**
5529
- * list of types of internal events the plugin wants to receive; Read more about internal events.
5530
- */
5531
- acceptedEvents?: string[] | null;
5532
- /**
5533
- * plugin settings to be added to the list of node settings
5534
- */
5535
- settings?: SettingMetaInfo[] | null;
5536
- /**
5537
- * ID of the token used to authenticate the plugin
5538
- */
5539
- tokenId?: string | null;
5540
- }
5541
5591
  export interface PushContentBase<B> {
5542
5592
  /**
5543
5593
  * type of the notification