@rbxts/types 1.0.775 → 1.0.776

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.
@@ -471,6 +471,7 @@ interface Instances extends Services, CreatableInstances {
471
471
  AvatarGenerationJob: AvatarGenerationJob;
472
472
  AvatarGenerationSession: AvatarGenerationSession;
473
473
  BackpackItem: BackpackItem;
474
+ BanHistoryPages: BanHistoryPages;
474
475
  BaseImportData: BaseImportData;
475
476
  BasePart: BasePart;
476
477
  BasePlayerGui: BasePlayerGui;
@@ -22534,6 +22535,7 @@ interface MarketplaceService extends Instance {
22534
22535
  * @deprecated
22535
22536
  */
22536
22537
  readonly _nominal_MarketplaceService: unique symbol;
22538
+ PromptBulkPurchase(this: MarketplaceService, player: Player, lineItems: Array<any>, options: object): void;
22537
22539
  /**
22538
22540
  * Used to prompt a user to purchase a bundle with the given bundleId
22539
22541
  */
@@ -22859,6 +22861,7 @@ interface MarketplaceService extends Instance {
22859
22861
  * Tags: Yields
22860
22862
  */
22861
22863
  UserOwnsGamePassAsync(this: MarketplaceService, userId: number, gamePassId: number): boolean;
22864
+ readonly PromptBulkPurchaseFinished: RBXScriptSignal<(player: Player, status: Enum.MarketplaceBulkPurchasePromptStatus, results: object) => void>;
22862
22865
  readonly PromptBundlePurchaseFinished: RBXScriptSignal<(player: Player, bundleId: number, wasPurchased: boolean) => void>;
22863
22866
  /**
22864
22867
  * This event fires when a purchase dialogue of a game pass is closed. This fires right as the dialogue closes when the player presses “Cancel” at the prompt, or “OK” at the success/error message.
@@ -27057,6 +27060,17 @@ interface AudioPages extends Pages {
27057
27060
  readonly _nominal_AudioPages: unique symbol;
27058
27061
  }
27059
27062
 
27063
+ interface BanHistoryPages extends Pages {
27064
+ /**
27065
+ * **DO NOT USE!**
27066
+ *
27067
+ * This field exists to force TypeScript to recognize this as a nominal type
27068
+ * @hidden
27069
+ * @deprecated
27070
+ */
27071
+ readonly _nominal_BanHistoryPages: unique symbol;
27072
+ }
27073
+
27060
27074
  interface CatalogPages extends Pages<SearchCatalogResult> {
27061
27075
  /**
27062
27076
  * **DO NOT USE!**
@@ -29106,6 +29120,10 @@ interface Players extends Instance {
29106
29120
  * Tags: Yields
29107
29121
  */
29108
29122
  CreateHumanoidModelFromUserId(this: Players, userId: number): Model;
29123
+ /**
29124
+ * Tags: Yields
29125
+ */
29126
+ GetBanHistoryAsync(this: Players, userId: number): BanHistoryPages;
29109
29127
  /**
29110
29128
  * This function returns a [Model](https://developer.roblox.com/en-us/api-reference/class/Model) containing the assets which the player is wearing, excluding gear.
29111
29129
  *
@@ -20524,6 +20524,80 @@ declare namespace Enum {
20524
20524
  }
20525
20525
  export type TweenStatus = TweenStatus.Canceled | TweenStatus.Completed;
20526
20526
 
20527
+ export namespace UIDragDetectorDragStyle {
20528
+ export interface TranslatePlane extends globalThis.EnumItem {
20529
+ Name: "TranslatePlane";
20530
+ Value: 0;
20531
+ EnumType: typeof globalThis.Enum.UIDragDetectorDragStyle;
20532
+ }
20533
+
20534
+ export const TranslatePlane: TranslatePlane;
20535
+
20536
+ export interface TranslateLine extends globalThis.EnumItem {
20537
+ Name: "TranslateLine";
20538
+ Value: 1;
20539
+ EnumType: typeof globalThis.Enum.UIDragDetectorDragStyle;
20540
+ }
20541
+
20542
+ export const TranslateLine: TranslateLine;
20543
+
20544
+ export interface Rotate extends globalThis.EnumItem {
20545
+ Name: "Rotate";
20546
+ Value: 2;
20547
+ EnumType: typeof globalThis.Enum.UIDragDetectorDragStyle;
20548
+ }
20549
+
20550
+ export const Rotate: Rotate;
20551
+
20552
+ export interface Scriptable extends globalThis.EnumItem {
20553
+ Name: "Scriptable";
20554
+ Value: 3;
20555
+ EnumType: typeof globalThis.Enum.UIDragDetectorDragStyle;
20556
+ }
20557
+
20558
+ export const Scriptable: Scriptable;
20559
+
20560
+ export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.UIDragDetectorDragStyle>;
20561
+ }
20562
+ export type UIDragDetectorDragStyle = UIDragDetectorDragStyle.TranslatePlane | UIDragDetectorDragStyle.TranslateLine | UIDragDetectorDragStyle.Rotate | UIDragDetectorDragStyle.Scriptable;
20563
+
20564
+ export namespace UIDragDetectorResponseStyle {
20565
+ export interface Offset extends globalThis.EnumItem {
20566
+ Name: "Offset";
20567
+ Value: 0;
20568
+ EnumType: typeof globalThis.Enum.UIDragDetectorResponseStyle;
20569
+ }
20570
+
20571
+ export const Offset: Offset;
20572
+
20573
+ export interface Scale extends globalThis.EnumItem {
20574
+ Name: "Scale";
20575
+ Value: 1;
20576
+ EnumType: typeof globalThis.Enum.UIDragDetectorResponseStyle;
20577
+ }
20578
+
20579
+ export const Scale: Scale;
20580
+
20581
+ export interface CustomOffset extends globalThis.EnumItem {
20582
+ Name: "CustomOffset";
20583
+ Value: 2;
20584
+ EnumType: typeof globalThis.Enum.UIDragDetectorResponseStyle;
20585
+ }
20586
+
20587
+ export const CustomOffset: CustomOffset;
20588
+
20589
+ export interface CustomScale extends globalThis.EnumItem {
20590
+ Name: "CustomScale";
20591
+ Value: 3;
20592
+ EnumType: typeof globalThis.Enum.UIDragDetectorResponseStyle;
20593
+ }
20594
+
20595
+ export const CustomScale: CustomScale;
20596
+
20597
+ export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.UIDragDetectorResponseStyle>;
20598
+ }
20599
+ export type UIDragDetectorResponseStyle = UIDragDetectorResponseStyle.Offset | UIDragDetectorResponseStyle.Scale | UIDragDetectorResponseStyle.CustomOffset | UIDragDetectorResponseStyle.CustomScale;
20600
+
20527
20601
  export namespace UIFlexAlignment {
20528
20602
  export interface None extends globalThis.EnumItem {
20529
20603
  Name: "None";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/types",
3
- "version": "1.0.775",
3
+ "version": "1.0.776",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },