@rbxts/types 1.0.697 → 1.0.699
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 +43 -9
- 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" }
|
|
@@ -582,25 +598,43 @@ interface AvatarRules {
|
|
|
582
598
|
BasicBodyColorsPalette: ReadonlyArray<AvatarRulesBodyColorsPalette>;
|
|
583
599
|
}
|
|
584
600
|
|
|
585
|
-
interface
|
|
601
|
+
interface ItemDetailsBase {
|
|
586
602
|
CreatorHasVerifiedBadge: boolean;
|
|
587
|
-
Genres: ReadonlyArray<"
|
|
603
|
+
Genres: ReadonlyArray<Enum.Genre["Name"]>;
|
|
588
604
|
Price: number;
|
|
589
|
-
|
|
605
|
+
Owned: boolean;
|
|
590
606
|
ProductId: number;
|
|
591
|
-
ItemRestrictions: ReadonlyArray<
|
|
592
|
-
ItemStatus: ReadonlyArray<
|
|
607
|
+
ItemRestrictions: ReadonlyArray<string>;
|
|
608
|
+
ItemStatus: ReadonlyArray<string>;
|
|
593
609
|
SaleLocationType: string;
|
|
594
610
|
FavoriteCount: number;
|
|
595
|
-
ItemType: string;
|
|
596
611
|
Id: number;
|
|
597
612
|
Name: string;
|
|
598
613
|
Description: string;
|
|
599
614
|
CreatorTargetId: number;
|
|
600
615
|
CreatorName: string;
|
|
601
616
|
CreatorType: string;
|
|
617
|
+
ExpectedSellerId: number;
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
interface AssetItemDetails extends ItemDetailsBase {
|
|
621
|
+
ItemType: "Asset";
|
|
622
|
+
AssetType: Enum.AssetType["Name"];
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
interface BundleItemDetails extends ItemDetailsBase {
|
|
626
|
+
ItemType: "Bundle";
|
|
627
|
+
BundleType: Enum.BundleType["Name"];
|
|
628
|
+
BundledItems: ReadonlyArray<{
|
|
629
|
+
Owned: boolean;
|
|
630
|
+
Id: number;
|
|
631
|
+
Name: string;
|
|
632
|
+
Type: "Asset" | "UserOutfit";
|
|
633
|
+
}>;
|
|
602
634
|
}
|
|
603
635
|
|
|
636
|
+
type ItemDetails = AssetItemDetails | BundleItemDetails;
|
|
637
|
+
|
|
604
638
|
interface RecommendedAsset {
|
|
605
639
|
Item: {
|
|
606
640
|
AssetId: number;
|
|
@@ -705,7 +739,7 @@ interface SearchCatalogBundleResult extends SearchCatalogResultBase {
|
|
|
705
739
|
Owned: boolean;
|
|
706
740
|
Id: number;
|
|
707
741
|
Name: string;
|
|
708
|
-
Type:
|
|
742
|
+
Type: "Asset" | "UserOutfit";
|
|
709
743
|
}>;
|
|
710
744
|
}
|
|
711
745
|
|