@rbxts/types 1.0.748 → 1.0.749

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.
@@ -7199,6 +7199,7 @@ interface DragDetector extends ClickDetector {
7199
7199
  MinDragAngle: number;
7200
7200
  MinDragTranslation: Vector3;
7201
7201
  Orientation: Vector3;
7202
+ PermissionPolicy: Enum.DragDetectorPermissionPolicy;
7202
7203
  ReferenceInstance: Instance | undefined;
7203
7204
  ResponseStyle: Enum.DragDetectorResponseStyle;
7204
7205
  Responsiveness: number;
@@ -7222,6 +7223,7 @@ interface DragDetector extends ClickDetector {
7222
7223
  GetReferenceFrame(this: DragDetector): CFrame;
7223
7224
  RestartDrag(this: DragDetector): void;
7224
7225
  SetDragStyleFunction(this: DragDetector, callback: Callback): void;
7226
+ SetPermissionPolicyFunction(this: DragDetector, callback: Callback): void;
7225
7227
  readonly DragContinue: RBXScriptSignal<(playerWhoDragged: Player, cursorRay: Ray, viewFrame: CFrame, vrInputFrame: CFrame | undefined, isModeSwitchKeyDown: boolean) => void>;
7226
7228
  readonly DragEnd: RBXScriptSignal<(playerWhoDragged: Player) => void>;
7227
7229
  readonly DragStart: RBXScriptSignal<(playerWhoDragged: Player, cursorRay: Ray, viewFrame: CFrame, hitFrame: CFrame, clickedPart: BasePart, vrInputFrame: CFrame | undefined, isModeSwitchKeyDown: boolean) => void>;
@@ -7273,12 +7275,37 @@ interface Collaborator extends Instance {
7273
7275
  * @deprecated
7274
7276
  */
7275
7277
  readonly _nominal_Collaborator: unique symbol;
7278
+ /**
7279
+ * Tags: Hidden
7280
+ */
7276
7281
  CFrame: CFrame;
7282
+ /**
7283
+ * Tags: Hidden
7284
+ */
7277
7285
  CollaboratorColor: number;
7286
+ /**
7287
+ * Tags: Hidden
7288
+ */
7278
7289
  CurDocGUID: string;
7290
+ /**
7291
+ * Tags: Hidden
7292
+ */
7279
7293
  CurScriptLineNumber: number;
7294
+ /**
7295
+ * Tags: Hidden
7296
+ */
7280
7297
  IsIdle: boolean;
7298
+ /**
7299
+ * Tags: Hidden
7300
+ */
7301
+ Status: Enum.CollaboratorStatus;
7302
+ /**
7303
+ * Tags: Hidden
7304
+ */
7281
7305
  UserId: number;
7306
+ /**
7307
+ * Tags: Hidden
7308
+ */
7282
7309
  Username: string;
7283
7310
  }
7284
7311
 
@@ -7987,6 +8014,9 @@ interface HingeConstraint extends Constraint {
7987
8014
  * 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
8015
  */
7989
8016
  ServoMaxTorque: number;
8017
+ /**
8018
+ * @deprecated
8019
+ */
7990
8020
  SoftlockServoUponReachingTarget: boolean;
7991
8021
  /**
7992
8022
  * 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 +8408,9 @@ interface SlidingBallConstraint extends Constraint {
8378
8408
  * The visualized size of the SlidingBallConstraint.
8379
8409
  */
8380
8410
  Size: number;
8411
+ /**
8412
+ * @deprecated
8413
+ */
8381
8414
  SoftlockServoUponReachingTarget: boolean;
8382
8415
  /**
8383
8416
  * 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 +8499,9 @@ interface CylindricalConstraint extends SlidingBallConstraint {
8466
8499
  * Maximum torque the servo motor can apply. The units are mass \* studs^2 / second^2. Value in \[0, inf).
8467
8500
  */
8468
8501
  ServoMaxTorque: number;
8502
+ /**
8503
+ * @deprecated
8504
+ */
8469
8505
  SoftlockAngularServoUponReachingTarget: boolean;
8470
8506
  /**
8471
8507
  * Target angle (in degrees) between the reference axis and the secondary axis of Attachment1 around the rotation axis. Value in \[-180, 180\].
@@ -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.749",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },