@rbxts/types 1.0.748 → 1.0.750

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.
@@ -3177,7 +3177,15 @@ interface AvatarEditorService extends Instance {
3177
3177
  *
3178
3178
  * Tags: Yields
3179
3179
  */
3180
- GetInventory(this: AvatarEditorService, assetTypes: ReadonlyArray<Enum.AvatarAssetType>): InventoryPages;
3180
+ GetInventory(
3181
+ this: AvatarEditorService,
3182
+ assetTypes: ReadonlyArray<Enum.AvatarAssetType>,
3183
+ ): InventoryPages<{
3184
+ AssetId: number;
3185
+ AssetType: string;
3186
+ Created: string;
3187
+ Name: string;
3188
+ }>;
3181
3189
  /**
3182
3190
  * This function returns the item details for the given item. It accepts two parameters - the first indicating the ID of the item being retrieved and the second indicating its [ItemType](https://developer.roblox.com/en-us/api-reference/enum/ItemType).
3183
3191
  *
@@ -7199,6 +7207,7 @@ interface DragDetector extends ClickDetector {
7199
7207
  MinDragAngle: number;
7200
7208
  MinDragTranslation: Vector3;
7201
7209
  Orientation: Vector3;
7210
+ PermissionPolicy: Enum.DragDetectorPermissionPolicy;
7202
7211
  ReferenceInstance: Instance | undefined;
7203
7212
  ResponseStyle: Enum.DragDetectorResponseStyle;
7204
7213
  Responsiveness: number;
@@ -7222,6 +7231,7 @@ interface DragDetector extends ClickDetector {
7222
7231
  GetReferenceFrame(this: DragDetector): CFrame;
7223
7232
  RestartDrag(this: DragDetector): void;
7224
7233
  SetDragStyleFunction(this: DragDetector, callback: Callback): void;
7234
+ SetPermissionPolicyFunction(this: DragDetector, callback: Callback): void;
7225
7235
  readonly DragContinue: RBXScriptSignal<(playerWhoDragged: Player, cursorRay: Ray, viewFrame: CFrame, vrInputFrame: CFrame | undefined, isModeSwitchKeyDown: boolean) => void>;
7226
7236
  readonly DragEnd: RBXScriptSignal<(playerWhoDragged: Player) => void>;
7227
7237
  readonly DragStart: RBXScriptSignal<(playerWhoDragged: Player, cursorRay: Ray, viewFrame: CFrame, hitFrame: CFrame, clickedPart: BasePart, vrInputFrame: CFrame | undefined, isModeSwitchKeyDown: boolean) => void>;
@@ -7273,12 +7283,37 @@ interface Collaborator extends Instance {
7273
7283
  * @deprecated
7274
7284
  */
7275
7285
  readonly _nominal_Collaborator: unique symbol;
7286
+ /**
7287
+ * Tags: Hidden
7288
+ */
7276
7289
  CFrame: CFrame;
7290
+ /**
7291
+ * Tags: Hidden
7292
+ */
7277
7293
  CollaboratorColor: number;
7294
+ /**
7295
+ * Tags: Hidden
7296
+ */
7278
7297
  CurDocGUID: string;
7298
+ /**
7299
+ * Tags: Hidden
7300
+ */
7279
7301
  CurScriptLineNumber: number;
7302
+ /**
7303
+ * Tags: Hidden
7304
+ */
7280
7305
  IsIdle: boolean;
7306
+ /**
7307
+ * Tags: Hidden
7308
+ */
7309
+ Status: Enum.CollaboratorStatus;
7310
+ /**
7311
+ * Tags: Hidden
7312
+ */
7281
7313
  UserId: number;
7314
+ /**
7315
+ * Tags: Hidden
7316
+ */
7282
7317
  Username: string;
7283
7318
  }
7284
7319
 
@@ -7987,6 +8022,9 @@ interface HingeConstraint extends Constraint {
7987
8022
  * The maximum torque a [HingeConstraint](https://developer.roblox.com/en-us/api-reference/class/HingeConstraint) with [HingeConstraint.ActuatorType](https://developer.roblox.com/en-us/api-reference/property/HingeConstraint/ActuatorType) set to [Servo](https://developer.roblox.com/en-us/api-reference/enum/ActuatorType) can apply when trying to reach its desired [HingeConstraint.AngularSpeed](https://developer.roblox.com/en-us/api-reference/property/HingeConstraint/AngularSpeed).
7988
8023
  */
7989
8024
  ServoMaxTorque: number;
8025
+ /**
8026
+ * @deprecated
8027
+ */
7990
8028
  SoftlockServoUponReachingTarget: boolean;
7991
8029
  /**
7992
8030
  * The target angle a [HingeConstraint](https://developer.roblox.com/en-us/api-reference/class/HingeConstraint) will attempt to rotate to if its [HingeConstraint.ActuatorType](https://developer.roblox.com/en-us/api-reference/property/HingeConstraint/ActuatorType) is set to [Servo](https://developer.roblox.com/en-us/api-reference/enum/ActuatorType). Measured in degrees.
@@ -8378,6 +8416,9 @@ interface SlidingBallConstraint extends Constraint {
8378
8416
  * The visualized size of the SlidingBallConstraint.
8379
8417
  */
8380
8418
  Size: number;
8419
+ /**
8420
+ * @deprecated
8421
+ */
8381
8422
  SoftlockServoUponReachingTarget: boolean;
8382
8423
  /**
8383
8424
  * The desired speed a [SlidingBallConstraint](https://developer.roblox.com/en-us/api-reference/class/SlidingBallConstraint) with [SlidingBallConstraint.ActuatorType](https://developer.roblox.com/en-us/api-reference/property/SlidingBallConstraint/ActuatorType) set to [ActuatorType](https://developer.roblox.com/en-us/api-reference/enum/ActuatorType) will attempt to maintain while translating towards its [SlidingBallConstraint.TargetPosition](https://developer.roblox.com/en-us/api-reference/property/SlidingBallConstraint/TargetPosition). Measured in studs/second.
@@ -8466,6 +8507,9 @@ interface CylindricalConstraint extends SlidingBallConstraint {
8466
8507
  * Maximum torque the servo motor can apply. The units are mass \* studs^2 / second^2. Value in \[0, inf).
8467
8508
  */
8468
8509
  ServoMaxTorque: number;
8510
+ /**
8511
+ * @deprecated
8512
+ */
8469
8513
  SoftlockAngularServoUponReachingTarget: boolean;
8470
8514
  /**
8471
8515
  * Target angle (in degrees) between the reference axis and the secondary axis of Attachment1 around the rotation axis. Value in \[-180, 180\].
@@ -20086,7 +20130,7 @@ interface KeyframeSequenceProvider extends Instance {
20086
20130
  *
20087
20131
  * Tags: Yields
20088
20132
  */
20089
- GetAnimations(this: KeyframeSequenceProvider, userId: number): InventoryPages;
20133
+ GetAnimations(this: KeyframeSequenceProvider, userId: number): InventoryPages<number>;
20090
20134
  /**
20091
20135
  * GetKeyframeSequenceAsync returns a [KeyframeSequence](https://developer.roblox.com/en-us/api-reference/class/KeyframeSequence) based on the specified assetId. The assetId must correspond to an animation. The function will yield until the [KeyframeSequence](https://developer.roblox.com/en-us/api-reference/class/KeyframeSequence) is loaded from the website. Because this is a webcall it should wrapped in a pcall.
20092
20136
  *
@@ -26863,7 +26907,7 @@ interface FriendPages
26863
26907
  }
26864
26908
 
26865
26909
  /** The InventoryPages class is used in the case of iterating over a specific category in a user's inventory. */
26866
- interface InventoryPages extends Pages<number> {
26910
+ interface InventoryPages<T = unknown> extends Pages<T> {
26867
26911
  /**
26868
26912
  * **DO NOT USE!**
26869
26913
  *
@@ -6118,6 +6118,35 @@ declare namespace Enum {
6118
6118
  }
6119
6119
  export type DragDetectorDragStyle = DragDetectorDragStyle.TranslateLine | DragDetectorDragStyle.TranslatePlane | DragDetectorDragStyle.TranslatePlaneOrLine | DragDetectorDragStyle.TranslateLineOrPlane | DragDetectorDragStyle.TranslateViewPlane | DragDetectorDragStyle.RotateAxis | DragDetectorDragStyle.RotateTrackball | DragDetectorDragStyle.Scriptable | DragDetectorDragStyle.BestForDevice;
6120
6120
 
6121
+ export namespace DragDetectorPermissionPolicy {
6122
+ export interface Nobody extends globalThis.EnumItem {
6123
+ Name: "Nobody";
6124
+ Value: 0;
6125
+ EnumType: typeof globalThis.Enum.DragDetectorPermissionPolicy;
6126
+ }
6127
+
6128
+ export const Nobody: Nobody;
6129
+
6130
+ export interface Everybody extends globalThis.EnumItem {
6131
+ Name: "Everybody";
6132
+ Value: 1;
6133
+ EnumType: typeof globalThis.Enum.DragDetectorPermissionPolicy;
6134
+ }
6135
+
6136
+ export const Everybody: Everybody;
6137
+
6138
+ export interface Scriptable extends globalThis.EnumItem {
6139
+ Name: "Scriptable";
6140
+ Value: 2;
6141
+ EnumType: typeof globalThis.Enum.DragDetectorPermissionPolicy;
6142
+ }
6143
+
6144
+ export const Scriptable: Scriptable;
6145
+
6146
+ export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.DragDetectorPermissionPolicy>;
6147
+ }
6148
+ export type DragDetectorPermissionPolicy = DragDetectorPermissionPolicy.Nobody | DragDetectorPermissionPolicy.Everybody | DragDetectorPermissionPolicy.Scriptable;
6149
+
6121
6150
  export namespace DragDetectorResponseStyle {
6122
6151
  export interface Geometric extends globalThis.EnumItem {
6123
6152
  Name: "Geometric";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/types",
3
- "version": "1.0.748",
3
+ "version": "1.0.750",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },