@rbxts/types 1.0.695 → 1.0.697

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 (2) hide show
  1. package/include/roblox.d.ts +27 -16
  2. package/package.json +1 -1
@@ -668,38 +668,49 @@ interface RecommendedBundle {
668
668
  };
669
669
  }
670
670
 
671
- interface SearchCatalogResult {
671
+ interface SearchCatalogResultBase {
672
672
  Id: number;
673
- ItemType: "Asset";
674
- AssetType: "Image";
675
- BundleType: "BodyParts";
676
673
  Name: string;
677
674
  Description: string;
678
675
  ProductId: number;
679
- Genres: ReadonlyArray<"All">;
680
- BundledItems: ReadonlyArray<{
681
- Owned: boolean;
682
- Id: number;
683
- Name: string;
684
- Type: string;
685
- }>;
686
- ItemStatus: ReadonlyArray<"New">;
687
- ItemRestrictions: ReadonlyArray<"ThirteenPlus">;
688
- CreatorType: "User";
676
+ Genres: ReadonlyArray<Enum.Genre["Name"]>;
677
+ ItemStatus: ReadonlyArray<string>;
678
+ ItemRestrictions: ReadonlyArray<string>;
679
+ CreatorType: "User" | "Group";
689
680
  CreatorTargetId: number;
690
681
  CreatorName: string;
691
- Orice: number;
682
+ Price: number;
692
683
  PremiumPricing: {
693
684
  PremiumDiscountPercentage: number;
694
685
  PremiumPriceInRobux: number;
695
686
  };
696
687
  LowestPrice: number;
697
- PriceStatus: string;
688
+ PriceStatus?: string;
698
689
  UnitsAvailableForConsumption: number;
699
690
  PurchaseCount: number;
700
691
  FavoriteCount: number;
692
+ SaleLocationType: string;
693
+ CreatorHasVerifiedBadge: boolean;
701
694
  }
702
695
 
696
+ interface SearchCatalogAssetResult extends SearchCatalogResultBase {
697
+ ItemType: "Asset";
698
+ AssetType: Enum.AssetType["Name"];
699
+ }
700
+
701
+ interface SearchCatalogBundleResult extends SearchCatalogResultBase {
702
+ ItemType: "Bundle";
703
+ BundleType: Enum.BundleType["Name"];
704
+ BundledItems: ReadonlyArray<{
705
+ Owned: boolean;
706
+ Id: number;
707
+ Name: string;
708
+ Type: string;
709
+ }>;
710
+ }
711
+
712
+ type SearchCatalogResult = SearchCatalogAssetResult | SearchCatalogBundleResult;
713
+
703
714
  /**
704
715
  * RBXScriptConnection, also known as a Connection,
705
716
  * is a special object returned by the Connect method of an Event (RBXScriptSignal).
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/types",
3
- "version": "1.0.695",
3
+ "version": "1.0.697",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },