api.fluff4.me 1.0.458 → 1.0.460

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.
Files changed (3) hide show
  1. package/index.d.ts +15 -1
  2. package/openapi.json +85 -7
  3. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -40,6 +40,7 @@ export interface AuthorSelf {
40
40
  patreon_campaign?: PatreonCampaign | null
41
41
  patreon_patron?: Authorisation | null
42
42
  works?: Work[] | null
43
+ settings?: string | null
43
44
  }
44
45
 
45
46
  export interface TextBody {
@@ -118,6 +119,7 @@ export interface AuthorCreateBody {
118
119
  feedback_preference_critique?: boolean | null
119
120
  feedback_preference_dont_hold_back?: boolean | null
120
121
  feedback_preference_typos?: boolean | null
122
+ settings?: string | null
121
123
  }
122
124
 
123
125
  export interface AuthorFull {
@@ -141,6 +143,11 @@ export interface AuthorInsert {
141
143
  feedback_preference_critique?: boolean | null
142
144
  feedback_preference_dont_hold_back?: boolean | null
143
145
  feedback_preference_typos?: boolean | null
146
+ settings?: string | null
147
+ }
148
+
149
+ export interface AuthorUpdateSettingsBody {
150
+ settings: string
144
151
  }
145
152
 
146
153
  export interface AuthorResolveSearch {
@@ -323,7 +330,7 @@ export interface FollowsManifest {
323
330
  }
324
331
 
325
332
  export interface Privileges {
326
- privileges: "PrivilegeGrant" | "PrivilegeRevoke" | "RoleCreate" | "RoleEdit" | "RoleDelete" | "RoleReorder" | "RoleGrant" | "RoleRevoke" | "WorkViewPrivate" | "PrivilegeViewAuthor" | "RoleViewAll" | "TagGlobalCreate" | "TagGlobalDelete" | "TagGlobalUpdate" | "TagCategoryCreate" | "TagCategoryUpdate" | "TagCategoryDelete" | "TagCustomCreate" | "TagCustomUpdate" | "TagCustomDelete" | "TagPromote" | "TagDemote"[]
333
+ privileges: "PrivilegeGrant" | "PrivilegeRevoke" | "RoleCreate" | "RoleEdit" | "RoleDelete" | "RoleReorder" | "RoleGrant" | "RoleRevoke" | "WorkViewPrivate" | "PrivilegeViewAuthor" | "RoleViewAll" | "TagGlobalCreate" | "TagGlobalDelete" | "TagGlobalUpdate" | "TagCategoryCreate" | "TagCategoryUpdate" | "TagCategoryDelete" | "TagCustomCreate" | "TagCustomUpdate" | "TagCustomDelete" | "TagPromote" | "TagDemote" | "TagAliasAdd" | "TagAliasRemove" | "TagRelationshipAdd" | "TagRelationshipRemove"[]
327
334
  }
328
335
 
329
336
  export interface RoleCreateBody {
@@ -442,6 +449,7 @@ export interface ManifestFormInputLengths {
442
449
  support_link: number
443
450
  support_message: number
444
451
  pronouns: number
452
+ settings: number
445
453
  }
446
454
  global_tag: {
447
455
  name: number
@@ -649,6 +657,12 @@ export interface Paths {
649
657
  search?: undefined
650
658
  response: Response<AuthorSelf> | ErrorResponse
651
659
  },
660
+ "/author/update/settings": {
661
+ method: "post"
662
+ body: AuthorUpdateSettingsBody
663
+ search?: undefined
664
+ response: void | ErrorResponse
665
+ },
652
666
  "/author/delete": {
653
667
  method: "post"
654
668
  body?: undefined
package/openapi.json CHANGED
@@ -87,7 +87,7 @@
87
87
  },
88
88
  "support_link": {
89
89
  "type": "string",
90
- "maxLength": 128
90
+ "maxLength": 146
91
91
  },
92
92
  "support_message": {
93
93
  "type": "string",
@@ -158,6 +158,16 @@
158
158
  "type": "null"
159
159
  }
160
160
  ]
161
+ },
162
+ "settings": {
163
+ "anyOf": [
164
+ {
165
+ "type": "string"
166
+ },
167
+ {
168
+ "type": "null"
169
+ }
170
+ ]
161
171
  }
162
172
  },
163
173
  "required": [
@@ -207,7 +217,7 @@
207
217
  },
208
218
  "support_link": {
209
219
  "type": "string",
210
- "maxLength": 128
220
+ "maxLength": 146
211
221
  },
212
222
  "support_message": {
213
223
  "type": "string",
@@ -494,7 +504,7 @@
494
504
  "anyOf": [
495
505
  {
496
506
  "type": "string",
497
- "maxLength": 128
507
+ "maxLength": 146
498
508
  },
499
509
  {
500
510
  "type": "null"
@@ -552,6 +562,16 @@
552
562
  "type": "null"
553
563
  }
554
564
  ]
565
+ },
566
+ "settings": {
567
+ "anyOf": [
568
+ {
569
+ "type": "string"
570
+ },
571
+ {
572
+ "type": "null"
573
+ }
574
+ ]
555
575
  }
556
576
  },
557
577
  "required": [
@@ -572,7 +592,7 @@
572
592
  },
573
593
  "support_link": {
574
594
  "type": "string",
575
- "maxLength": 128
595
+ "maxLength": 146
576
596
  },
577
597
  "support_message": {
578
598
  "type": "string",
@@ -650,7 +670,7 @@
650
670
  "anyOf": [
651
671
  {
652
672
  "type": "string",
653
- "maxLength": 128
673
+ "maxLength": 146
654
674
  },
655
675
  {
656
676
  "type": "null"
@@ -708,9 +728,31 @@
708
728
  "type": "null"
709
729
  }
710
730
  ]
731
+ },
732
+ "settings": {
733
+ "anyOf": [
734
+ {
735
+ "type": "string"
736
+ },
737
+ {
738
+ "type": "null"
739
+ }
740
+ ]
711
741
  }
712
742
  }
713
743
  },
744
+ "AuthorUpdateSettingsBody": {
745
+ "type": "object",
746
+ "properties": {
747
+ "settings": {
748
+ "type": "string",
749
+ "maxLength": 65536
750
+ }
751
+ },
752
+ "required": [
753
+ "settings"
754
+ ]
755
+ },
714
756
  "AuthorResolveSearch": {
715
757
  "type": "object",
716
758
  "properties": {
@@ -1896,7 +1938,11 @@
1896
1938
  "TagCustomUpdate",
1897
1939
  "TagCustomDelete",
1898
1940
  "TagPromote",
1899
- "TagDemote"
1941
+ "TagDemote",
1942
+ "TagAliasAdd",
1943
+ "TagAliasRemove",
1944
+ "TagRelationshipAdd",
1945
+ "TagRelationshipRemove"
1900
1946
  ]
1901
1947
  }
1902
1948
  }
@@ -2454,6 +2500,9 @@
2454
2500
  },
2455
2501
  "pronouns": {
2456
2502
  "type": "number"
2503
+ },
2504
+ "settings": {
2505
+ "type": "number"
2457
2506
  }
2458
2507
  },
2459
2508
  "required": [
@@ -2462,7 +2511,8 @@
2462
2511
  "description",
2463
2512
  "support_link",
2464
2513
  "support_message",
2465
- "pronouns"
2514
+ "pronouns",
2515
+ "settings"
2466
2516
  ]
2467
2517
  },
2468
2518
  "global_tag": {
@@ -3428,6 +3478,34 @@
3428
3478
  }
3429
3479
  }
3430
3480
  },
3481
+ "/author/update/settings": {
3482
+ "post": {
3483
+ "requestBody": {
3484
+ "content": {
3485
+ "application/json": {
3486
+ "schema": {
3487
+ "$ref": "#/components/schemas/AuthorUpdateSettingsBody"
3488
+ }
3489
+ }
3490
+ }
3491
+ },
3492
+ "responses": {
3493
+ "200": {
3494
+ "description": "200 response"
3495
+ },
3496
+ "default": {
3497
+ "description": "Error",
3498
+ "content": {
3499
+ "application/json": {
3500
+ "schema": {
3501
+ "$ref": "#/components/schemas/ErrorResponse"
3502
+ }
3503
+ }
3504
+ }
3505
+ }
3506
+ }
3507
+ }
3508
+ },
3431
3509
  "/author/delete": {
3432
3510
  "post": {
3433
3511
  "responses": {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "api.fluff4.me",
3
- "version": "1.0.458",
3
+ "version": "1.0.460",
4
4
  "types": "index.d.ts"
5
5
  }