@rbxts/types 1.0.696 → 1.0.698
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 +44 -17
- package/package.json +1 -1
package/include/roblox.d.ts
CHANGED
|
@@ -285,7 +285,7 @@ interface BoundActionInfo {
|
|
|
285
285
|
|
|
286
286
|
declare const enum AssetTypeId {
|
|
287
287
|
Image = 1,
|
|
288
|
-
|
|
288
|
+
TShirt = 2,
|
|
289
289
|
Audio = 3,
|
|
290
290
|
Mesh = 4,
|
|
291
291
|
Lua = 5,
|
|
@@ -327,6 +327,22 @@ declare const enum AssetTypeId {
|
|
|
327
327
|
PoseAnimation = 56,
|
|
328
328
|
EarAccessory = 57,
|
|
329
329
|
EyeAccessory = 58,
|
|
330
|
+
EmoteAnimation = 61,
|
|
331
|
+
Video = 62,
|
|
332
|
+
TShirtAccessory = 64,
|
|
333
|
+
ShirtAccessory = 65,
|
|
334
|
+
PantsAccessory = 66,
|
|
335
|
+
JacketAccessory = 67,
|
|
336
|
+
SweaterAccessory = 68,
|
|
337
|
+
ShortsAccessory = 69,
|
|
338
|
+
LeftShoeAccessory = 70,
|
|
339
|
+
RightShoeAccessory = 71,
|
|
340
|
+
DressSkirtAccessory = 72,
|
|
341
|
+
FontFamily = 73,
|
|
342
|
+
EyebrowAccessory = 76,
|
|
343
|
+
EyelashAccessory = 77,
|
|
344
|
+
MoodAnimation = 78,
|
|
345
|
+
DynamicHead = 79,
|
|
330
346
|
}
|
|
331
347
|
|
|
332
348
|
interface AgentParameters {
|
|
@@ -409,7 +425,7 @@ type FriendOnlineInfo = FriendOnlineInfoWebsite | FriendOnlineInfoGame | FriendO
|
|
|
409
425
|
/** A dictionary of an id and name containing information about what type an asset is */
|
|
410
426
|
type AssetType =
|
|
411
427
|
| { id: AssetTypeId.Image; name: "Image" }
|
|
412
|
-
| { id: AssetTypeId.
|
|
428
|
+
| { id: AssetTypeId.TShirt; name: "TeeShirt" }
|
|
413
429
|
| { id: AssetTypeId.Audio; name: "Audio" }
|
|
414
430
|
| { id: AssetTypeId.Mesh; name: "Mesh" }
|
|
415
431
|
| { id: AssetTypeId.Lua; name: "Lua" }
|
|
@@ -668,24 +684,15 @@ interface RecommendedBundle {
|
|
|
668
684
|
};
|
|
669
685
|
}
|
|
670
686
|
|
|
671
|
-
interface
|
|
687
|
+
interface SearchCatalogResultBase {
|
|
672
688
|
Id: number;
|
|
673
|
-
ItemType: "Asset";
|
|
674
|
-
AssetType: "Image";
|
|
675
|
-
BundleType: "BodyParts";
|
|
676
689
|
Name: string;
|
|
677
690
|
Description: string;
|
|
678
691
|
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";
|
|
692
|
+
Genres: ReadonlyArray<Enum.Genre["Name"]>;
|
|
693
|
+
ItemStatus: ReadonlyArray<string>;
|
|
694
|
+
ItemRestrictions: ReadonlyArray<string>;
|
|
695
|
+
CreatorType: "User" | "Group";
|
|
689
696
|
CreatorTargetId: number;
|
|
690
697
|
CreatorName: string;
|
|
691
698
|
Price: number;
|
|
@@ -694,12 +701,32 @@ interface SearchCatalogResult {
|
|
|
694
701
|
PremiumPriceInRobux: number;
|
|
695
702
|
};
|
|
696
703
|
LowestPrice: number;
|
|
697
|
-
PriceStatus
|
|
704
|
+
PriceStatus?: string;
|
|
698
705
|
UnitsAvailableForConsumption: number;
|
|
699
706
|
PurchaseCount: number;
|
|
700
707
|
FavoriteCount: number;
|
|
708
|
+
SaleLocationType: string;
|
|
709
|
+
CreatorHasVerifiedBadge: boolean;
|
|
701
710
|
}
|
|
702
711
|
|
|
712
|
+
interface SearchCatalogAssetResult extends SearchCatalogResultBase {
|
|
713
|
+
ItemType: "Asset";
|
|
714
|
+
AssetType: Enum.AssetType["Name"];
|
|
715
|
+
}
|
|
716
|
+
|
|
717
|
+
interface SearchCatalogBundleResult extends SearchCatalogResultBase {
|
|
718
|
+
ItemType: "Bundle";
|
|
719
|
+
BundleType: Enum.BundleType["Name"];
|
|
720
|
+
BundledItems: ReadonlyArray<{
|
|
721
|
+
Owned: boolean;
|
|
722
|
+
Id: number;
|
|
723
|
+
Name: string;
|
|
724
|
+
Type: string;
|
|
725
|
+
}>;
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
type SearchCatalogResult = SearchCatalogAssetResult | SearchCatalogBundleResult;
|
|
729
|
+
|
|
703
730
|
/**
|
|
704
731
|
* RBXScriptConnection, also known as a Connection,
|
|
705
732
|
* is a special object returned by the Connect method of an Event (RBXScriptSignal).
|