@remit/config-format 0.0.6 → 0.0.7

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@remit/config-format",
3
- "version": "0.0.6",
3
+ "version": "0.0.7",
4
4
  "type": "module",
5
5
  "main": "src/index.ts",
6
6
  "types": "src/index.ts",
@@ -616,6 +616,36 @@
616
616
  ],
617
617
  "additionalProperties": false
618
618
  },
619
+ "neverSpam": {
620
+ "type": "object",
621
+ "properties": {
622
+ "value": {
623
+ "type": "boolean"
624
+ },
625
+ "setAt": {
626
+ "description": "Epoch milliseconds the flag was set. 0 means it was set at an unknown time, on a row written before the field existed.",
627
+ "type": "integer",
628
+ "minimum": -9007199254740991,
629
+ "maximum": 9007199254740991
630
+ },
631
+ "setBy": {
632
+ "type": "string"
633
+ },
634
+ "expiresAt": {
635
+ "type": "integer",
636
+ "minimum": -9007199254740991,
637
+ "maximum": 9007199254740991
638
+ },
639
+ "reason": {
640
+ "type": "string"
641
+ }
642
+ },
643
+ "required": [
644
+ "value",
645
+ "setAt"
646
+ ],
647
+ "additionalProperties": false
648
+ },
619
649
  "muted": {
620
650
  "type": "object",
621
651
  "properties": {
package/src/document.ts CHANGED
@@ -98,6 +98,7 @@ const CategoryFlagSchema = z.strictObject({
98
98
  export const AddressFlagsSchema = z.strictObject({
99
99
  trusted: FlagMetadataSchema.optional(),
100
100
  blocked: FlagMetadataSchema.optional(),
101
+ neverSpam: FlagMetadataSchema.optional(),
101
102
  muted: FlagMetadataSchema.optional(),
102
103
  vip: FlagMetadataSchema.optional(),
103
104
  category: CategoryFlagSchema.optional(),