@rbxts/types 1.0.698 → 1.0.700
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/generated/None.d.ts +10 -0
- package/include/roblox.d.ts +25 -7
- package/package.json +1 -1
|
@@ -2834,6 +2834,16 @@ interface AvatarEditorService extends Instance {
|
|
|
2834
2834
|
*
|
|
2835
2835
|
* Tags: Yields
|
|
2836
2836
|
*/
|
|
2837
|
+
GetItemDetails(
|
|
2838
|
+
this: AvatarEditorService,
|
|
2839
|
+
itemId: number,
|
|
2840
|
+
itemType: CastsToEnum<Enum.AvatarItemType.Asset>,
|
|
2841
|
+
): AssetItemDetails;
|
|
2842
|
+
GetItemDetails(
|
|
2843
|
+
this: AvatarEditorService,
|
|
2844
|
+
itemId: number,
|
|
2845
|
+
itemType: CastsToEnum<Enum.AvatarItemType.Bundle>,
|
|
2846
|
+
): BundleItemDetails;
|
|
2837
2847
|
GetItemDetails(this: AvatarEditorService, itemId: number, itemType: CastsToEnum<Enum.AvatarItemType>): ItemDetails;
|
|
2838
2848
|
/**
|
|
2839
2849
|
* Tags: Yields
|
package/include/roblox.d.ts
CHANGED
|
@@ -598,25 +598,43 @@ interface AvatarRules {
|
|
|
598
598
|
BasicBodyColorsPalette: ReadonlyArray<AvatarRulesBodyColorsPalette>;
|
|
599
599
|
}
|
|
600
600
|
|
|
601
|
-
interface
|
|
601
|
+
interface ItemDetailsBase {
|
|
602
602
|
CreatorHasVerifiedBadge: boolean;
|
|
603
|
-
Genres: ReadonlyArray<"
|
|
603
|
+
Genres: ReadonlyArray<Enum.Genre["Name"]>;
|
|
604
604
|
Price: number;
|
|
605
|
-
|
|
605
|
+
Owned: boolean;
|
|
606
606
|
ProductId: number;
|
|
607
|
-
ItemRestrictions: ReadonlyArray<
|
|
608
|
-
ItemStatus: ReadonlyArray<
|
|
607
|
+
ItemRestrictions: ReadonlyArray<string>;
|
|
608
|
+
ItemStatus: ReadonlyArray<string>;
|
|
609
609
|
SaleLocationType: string;
|
|
610
610
|
FavoriteCount: number;
|
|
611
|
-
ItemType: string;
|
|
612
611
|
Id: number;
|
|
613
612
|
Name: string;
|
|
614
613
|
Description: string;
|
|
615
614
|
CreatorTargetId: number;
|
|
616
615
|
CreatorName: string;
|
|
617
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
|
+
}>;
|
|
618
634
|
}
|
|
619
635
|
|
|
636
|
+
type ItemDetails = AssetItemDetails | BundleItemDetails;
|
|
637
|
+
|
|
620
638
|
interface RecommendedAsset {
|
|
621
639
|
Item: {
|
|
622
640
|
AssetId: number;
|
|
@@ -721,7 +739,7 @@ interface SearchCatalogBundleResult extends SearchCatalogResultBase {
|
|
|
721
739
|
Owned: boolean;
|
|
722
740
|
Id: number;
|
|
723
741
|
Name: string;
|
|
724
|
-
Type:
|
|
742
|
+
Type: "Asset" | "UserOutfit";
|
|
725
743
|
}>;
|
|
726
744
|
}
|
|
727
745
|
|