@rbxts/types 1.0.642 → 1.0.644

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.
@@ -105,6 +105,20 @@ interface CollectionInfo {
105
105
  CreatorName: string;
106
106
  }
107
107
 
108
+ interface BaseAccessoryInfo {
109
+ AssetId: number;
110
+ AccessoryType: Enum.AccessoryType;
111
+ }
112
+ interface RigidAccessoryInfo extends BaseAccessoryInfo {
113
+ IsLayered: false;
114
+ }
115
+ interface LayeredAccessoryInfo extends BaseAccessoryInfo {
116
+ IsLayered: true;
117
+ Order: number;
118
+ Puffiness?: number;
119
+ }
120
+ type AccessoryInfo = RigidAccessoryInfo | LayeredAccessoryInfo;
121
+
108
122
  interface FreeSearchResult {
109
123
  CurrentStartIndex: string;
110
124
  Results: Array<{
@@ -512,12 +526,14 @@ interface SendNotificationConfig {
512
526
  }
513
527
 
514
528
  interface PolicyInfo {
515
- /** Whether the player can interact with paid random item generators. */
529
+ /** When true, the player cannot interact with paid (via in-experience currency or Robux) random item generators. */
516
530
  ArePaidRandomItemsRestricted: boolean;
517
- /** See [here](https://devforum.roblox.com/t/about-our-upcoming-global-compliance-system/461447) for details. */
518
- IsSubjectToChinaPolicies: boolean;
519
- /** Which external link references are allowed in a country/region. */
531
+ /** A list of external link references (for example, social media links, handles, or iconography) a player is permitted to see. Possible values include: “Discord”, “Facebook”, “Twitch”, and “YouTube”. */
520
532
  AllowedExternalLinkReferences: Array<string>;
533
+ /** When true, the player can trade virtual items that they purchased with in-experience currency or Robux. */
534
+ IsPaidItemTradingAllowed: boolean;
535
+ /** When true, an experience should enforce compliance changes. See [here](https://devforum.roblox.com/t/about-our-upcoming-global-compliance-system/461447) for details. */
536
+ IsSubjectToChinaPolicies: boolean;
521
537
  }
522
538
 
523
539
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/types",
3
- "version": "1.0.642",
3
+ "version": "1.0.644",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },