@rbxts/types 1.0.696 → 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.
- package/include/roblox.d.ts +26 -15
- package/package.json +1 -1
package/include/roblox.d.ts
CHANGED
|
@@ -668,24 +668,15 @@ interface RecommendedBundle {
|
|
|
668
668
|
};
|
|
669
669
|
}
|
|
670
670
|
|
|
671
|
-
interface
|
|
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<"
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
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
682
|
Price: number;
|
|
@@ -694,12 +685,32 @@ interface SearchCatalogResult {
|
|
|
694
685
|
PremiumPriceInRobux: number;
|
|
695
686
|
};
|
|
696
687
|
LowestPrice: number;
|
|
697
|
-
PriceStatus
|
|
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).
|