@rbxts/types 1.0.637 → 1.0.638
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.
|
@@ -18,7 +18,6 @@ interface Services {
|
|
|
18
18
|
AvatarEditorService: AvatarEditorService;
|
|
19
19
|
AvatarImportService: AvatarImportService;
|
|
20
20
|
BadgeService: BadgeService;
|
|
21
|
-
BreakpointManager: BreakpointManager;
|
|
22
21
|
BulkImportService: BulkImportService;
|
|
23
22
|
CalloutService: CalloutService;
|
|
24
23
|
Chat: Chat;
|
|
@@ -67,6 +66,7 @@ interface Services {
|
|
|
67
66
|
MemoryStoreService: MemoryStoreService;
|
|
68
67
|
MessageBusService: MessageBusService;
|
|
69
68
|
MessagingService: MessagingService;
|
|
69
|
+
MetaBreakpointManager: MetaBreakpointManager;
|
|
70
70
|
PackageUIService: PackageUIService;
|
|
71
71
|
PathfindingService: PathfindingService;
|
|
72
72
|
PhysicsService: PhysicsService;
|
|
@@ -404,6 +404,7 @@ interface AbstractInstances {
|
|
|
404
404
|
|
|
405
405
|
interface Instances extends Services, CreatableInstances, AbstractInstances {
|
|
406
406
|
AdGui: AdGui;
|
|
407
|
+
AdPortal: AdPortal;
|
|
407
408
|
AnimationClip: AnimationClip;
|
|
408
409
|
AnimationStreamTrack: AnimationStreamTrack;
|
|
409
410
|
AnimationTrack: AnimationTrack;
|
|
@@ -5353,17 +5354,6 @@ interface Breakpoint extends Instance {
|
|
|
5353
5354
|
readonly _nominal_Breakpoint: unique symbol;
|
|
5354
5355
|
}
|
|
5355
5356
|
|
|
5356
|
-
interface BreakpointManager extends Instance {
|
|
5357
|
-
/**
|
|
5358
|
-
* **DO NOT USE!**
|
|
5359
|
-
*
|
|
5360
|
-
* This field exists to force TypeScript to recognize this as a nominal type
|
|
5361
|
-
* @hidden
|
|
5362
|
-
* @deprecated
|
|
5363
|
-
*/
|
|
5364
|
-
readonly _nominal_BreakpointManager: unique symbol;
|
|
5365
|
-
}
|
|
5366
|
-
|
|
5367
5357
|
interface BulkImportService extends Instance {
|
|
5368
5358
|
/**
|
|
5369
5359
|
* **DO NOT USE!**
|
|
@@ -21677,6 +21667,17 @@ interface MetaBreakpointContext extends Instance {
|
|
|
21677
21667
|
readonly _nominal_MetaBreakpointContext: unique symbol;
|
|
21678
21668
|
}
|
|
21679
21669
|
|
|
21670
|
+
interface MetaBreakpointManager extends Instance {
|
|
21671
|
+
/**
|
|
21672
|
+
* **DO NOT USE!**
|
|
21673
|
+
*
|
|
21674
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
21675
|
+
* @hidden
|
|
21676
|
+
* @deprecated
|
|
21677
|
+
*/
|
|
21678
|
+
readonly _nominal_MetaBreakpointManager: unique symbol;
|
|
21679
|
+
}
|
|
21680
|
+
|
|
21680
21681
|
/** **Mouse** has been superseded by [UserInputService](https://developer.roblox.com/en-us/api-reference/class/UserInputService) and [ContextActionService](https://developer.roblox.com/en-us/api-reference/class/ContextActionService), which cover a broader scope, are more feature rich, and support **cross-platform** patterns better. It remains supported because of its widespread use, but you should strongly consider using these alternatives.
|
|
21681
21682
|
*
|
|
21682
21683
|
* The **Mouse** object houses various API for pointers, primarily for buttons and raycasting. It can be accessed through [Player:GetMouse](https://developer.roblox.com/en-us/api-reference/function/Player/GetMouse) called on the [Players.LocalPlayer](https://developer.roblox.com/en-us/api-reference/property/Players/LocalPlayer) in a [LocalScript](https://developer.roblox.com/en-us/api-reference/class/LocalScript). It is also passed by the [Tool.Equipped](https://developer.roblox.com/en-us/api-reference/event/Tool/Equipped) event.
|
|
@@ -23202,6 +23203,17 @@ interface BasePart extends PVInstance {
|
|
|
23202
23203
|
readonly Touched: RBXScriptSignal<(otherPart: BasePart) => void>;
|
|
23203
23204
|
}
|
|
23204
23205
|
|
|
23206
|
+
interface AdPortal extends BasePart {
|
|
23207
|
+
/**
|
|
23208
|
+
* **DO NOT USE!**
|
|
23209
|
+
*
|
|
23210
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
23211
|
+
* @hidden
|
|
23212
|
+
* @deprecated
|
|
23213
|
+
*/
|
|
23214
|
+
readonly _nominal_AdPortal: unique symbol;
|
|
23215
|
+
}
|
|
23216
|
+
|
|
23205
23217
|
/** This is a corner piece which has the same properties as a [Part](https://developer.roblox.com/en-us/api-reference/class/Part). */
|
|
23206
23218
|
interface CornerWedgePart extends BasePart {
|
|
23207
23219
|
/**
|
|
@@ -2693,6 +2693,7 @@ interface ScriptDocument extends Instance {
|
|
|
2693
2693
|
GetSelectionEnd(this: ScriptDocument): unknown;
|
|
2694
2694
|
GetSelectionStart(this: ScriptDocument): unknown;
|
|
2695
2695
|
GetText(this: ScriptDocument, startLine?: number | undefined, startCharacter?: number | undefined, endLine?: number | undefined, endCharacter?: number | undefined): string;
|
|
2696
|
+
GetViewport(this: ScriptDocument): unknown;
|
|
2696
2697
|
HasSelectedText(this: ScriptDocument): boolean;
|
|
2697
2698
|
IsCommandBar(this: ScriptDocument): boolean;
|
|
2698
2699
|
/**
|
|
@@ -2708,6 +2709,7 @@ interface ScriptDocument extends Instance {
|
|
|
2708
2709
|
*/
|
|
2709
2710
|
RequestSetSelectionAsync(this: ScriptDocument, cursorLine: number, cursorCharacter: number, anchorLine?: number | undefined, anchorCharacter?: number | undefined): unknown;
|
|
2710
2711
|
readonly SelectionChanged: RBXScriptSignal<(positionLine: number, positionCharacter: number, anchorLine: number, anchorCharacter: number) => void>;
|
|
2712
|
+
readonly ViewportChanged: RBXScriptSignal<(startLine: number, endLine: number) => void>;
|
|
2711
2713
|
}
|
|
2712
2714
|
|
|
2713
2715
|
interface ScriptEditorService extends Instance {
|
|
@@ -287,18 +287,6 @@ declare namespace Enum {
|
|
|
287
287
|
export function GetEnumItems(this: Enum): Array<ActuatorType>
|
|
288
288
|
}
|
|
289
289
|
export type ActuatorType = ActuatorType.None | ActuatorType.Motor | ActuatorType.Servo;
|
|
290
|
-
export namespace AdFormat {
|
|
291
|
-
export interface Image extends EnumItem {
|
|
292
|
-
Name: "Image";
|
|
293
|
-
Value: 1;
|
|
294
|
-
EnumType: typeof AdFormat;
|
|
295
|
-
}
|
|
296
|
-
|
|
297
|
-
export const Image: Image;
|
|
298
|
-
|
|
299
|
-
export function GetEnumItems(this: Enum): Array<AdFormat>
|
|
300
|
-
}
|
|
301
|
-
export type AdFormat = AdFormat.Image;
|
|
302
290
|
export namespace AdShape {
|
|
303
291
|
export interface HorizontalRectangle extends EnumItem {
|
|
304
292
|
Name: "HorizontalRectangle";
|
|
@@ -1300,9 +1288,17 @@ declare namespace Enum {
|
|
|
1300
1288
|
|
|
1301
1289
|
export const EyelashAccessory: EyelashAccessory;
|
|
1302
1290
|
|
|
1291
|
+
export interface DynamicHead extends EnumItem {
|
|
1292
|
+
Name: "DynamicHead";
|
|
1293
|
+
Value: 79;
|
|
1294
|
+
EnumType: typeof AssetType;
|
|
1295
|
+
}
|
|
1296
|
+
|
|
1297
|
+
export const DynamicHead: DynamicHead;
|
|
1298
|
+
|
|
1303
1299
|
export function GetEnumItems(this: Enum): Array<AssetType>
|
|
1304
1300
|
}
|
|
1305
|
-
export type AssetType = AssetType.Image | AssetType.TShirt | AssetType.Audio | AssetType.Mesh | AssetType.Lua | AssetType.Hat | AssetType.Place | AssetType.Model | AssetType.Shirt | AssetType.Pants | AssetType.Decal | AssetType.Head | AssetType.Face | AssetType.Gear | AssetType.Badge | AssetType.Animation | AssetType.Torso | AssetType.RightArm | AssetType.LeftArm | AssetType.LeftLeg | AssetType.RightLeg | AssetType.Package | AssetType.GamePass | AssetType.Plugin | AssetType.MeshPart | AssetType.HairAccessory | AssetType.FaceAccessory | AssetType.NeckAccessory | AssetType.ShoulderAccessory | AssetType.FrontAccessory | AssetType.BackAccessory | AssetType.WaistAccessory | AssetType.ClimbAnimation | AssetType.DeathAnimation | AssetType.FallAnimation | AssetType.IdleAnimation | AssetType.JumpAnimation | AssetType.RunAnimation | AssetType.SwimAnimation | AssetType.WalkAnimation | AssetType.PoseAnimation | AssetType.MoodAnimation | AssetType.EarAccessory | AssetType.EyeAccessory | AssetType.EmoteAnimation | AssetType.Video | AssetType.TShirtAccessory | AssetType.ShirtAccessory | AssetType.PantsAccessory | AssetType.JacketAccessory | AssetType.SweaterAccessory | AssetType.ShortsAccessory | AssetType.LeftShoeAccessory | AssetType.RightShoeAccessory | AssetType.DressSkirtAccessory | AssetType.EyebrowAccessory | AssetType.EyelashAccessory;
|
|
1301
|
+
export type AssetType = AssetType.Image | AssetType.TShirt | AssetType.Audio | AssetType.Mesh | AssetType.Lua | AssetType.Hat | AssetType.Place | AssetType.Model | AssetType.Shirt | AssetType.Pants | AssetType.Decal | AssetType.Head | AssetType.Face | AssetType.Gear | AssetType.Badge | AssetType.Animation | AssetType.Torso | AssetType.RightArm | AssetType.LeftArm | AssetType.LeftLeg | AssetType.RightLeg | AssetType.Package | AssetType.GamePass | AssetType.Plugin | AssetType.MeshPart | AssetType.HairAccessory | AssetType.FaceAccessory | AssetType.NeckAccessory | AssetType.ShoulderAccessory | AssetType.FrontAccessory | AssetType.BackAccessory | AssetType.WaistAccessory | AssetType.ClimbAnimation | AssetType.DeathAnimation | AssetType.FallAnimation | AssetType.IdleAnimation | AssetType.JumpAnimation | AssetType.RunAnimation | AssetType.SwimAnimation | AssetType.WalkAnimation | AssetType.PoseAnimation | AssetType.MoodAnimation | AssetType.EarAccessory | AssetType.EyeAccessory | AssetType.EmoteAnimation | AssetType.Video | AssetType.TShirtAccessory | AssetType.ShirtAccessory | AssetType.PantsAccessory | AssetType.JacketAccessory | AssetType.SweaterAccessory | AssetType.ShortsAccessory | AssetType.LeftShoeAccessory | AssetType.RightShoeAccessory | AssetType.DressSkirtAccessory | AssetType.EyebrowAccessory | AssetType.EyelashAccessory | AssetType.DynamicHead;
|
|
1306
1302
|
export namespace AssetTypeVerification {
|
|
1307
1303
|
export interface Default extends EnumItem {
|
|
1308
1304
|
Name: "Default";
|
|
@@ -1710,9 +1706,17 @@ declare namespace Enum {
|
|
|
1710
1706
|
|
|
1711
1707
|
export const EyelashAccessory: EyelashAccessory;
|
|
1712
1708
|
|
|
1709
|
+
export interface DynamicHead extends EnumItem {
|
|
1710
|
+
Name: "DynamicHead";
|
|
1711
|
+
Value: 79;
|
|
1712
|
+
EnumType: typeof AvatarAssetType;
|
|
1713
|
+
}
|
|
1714
|
+
|
|
1715
|
+
export const DynamicHead: DynamicHead;
|
|
1716
|
+
|
|
1713
1717
|
export function GetEnumItems(this: Enum): Array<AvatarAssetType>
|
|
1714
1718
|
}
|
|
1715
|
-
export type AvatarAssetType = AvatarAssetType.TShirt | AvatarAssetType.Hat | AvatarAssetType.HairAccessory | AvatarAssetType.FaceAccessory | AvatarAssetType.NeckAccessory | AvatarAssetType.ShoulderAccessory | AvatarAssetType.FrontAccessory | AvatarAssetType.BackAccessory | AvatarAssetType.WaistAccessory | AvatarAssetType.Shirt | AvatarAssetType.Pants | AvatarAssetType.Gear | AvatarAssetType.Head | AvatarAssetType.Face | AvatarAssetType.Torso | AvatarAssetType.RightArm | AvatarAssetType.LeftArm | AvatarAssetType.LeftLeg | AvatarAssetType.RightLeg | AvatarAssetType.ClimbAnimation | AvatarAssetType.FallAnimation | AvatarAssetType.IdleAnimation | AvatarAssetType.JumpAnimation | AvatarAssetType.RunAnimation | AvatarAssetType.SwimAnimation | AvatarAssetType.WalkAnimation | AvatarAssetType.MoodAnimation | AvatarAssetType.EmoteAnimation | AvatarAssetType.TShirtAccessory | AvatarAssetType.ShirtAccessory | AvatarAssetType.PantsAccessory | AvatarAssetType.JacketAccessory | AvatarAssetType.SweaterAccessory | AvatarAssetType.ShortsAccessory | AvatarAssetType.LeftShoeAccessory | AvatarAssetType.RightShoeAccessory | AvatarAssetType.DressSkirtAccessory | AvatarAssetType.EyebrowAccessory | AvatarAssetType.EyelashAccessory;
|
|
1719
|
+
export type AvatarAssetType = AvatarAssetType.TShirt | AvatarAssetType.Hat | AvatarAssetType.HairAccessory | AvatarAssetType.FaceAccessory | AvatarAssetType.NeckAccessory | AvatarAssetType.ShoulderAccessory | AvatarAssetType.FrontAccessory | AvatarAssetType.BackAccessory | AvatarAssetType.WaistAccessory | AvatarAssetType.Shirt | AvatarAssetType.Pants | AvatarAssetType.Gear | AvatarAssetType.Head | AvatarAssetType.Face | AvatarAssetType.Torso | AvatarAssetType.RightArm | AvatarAssetType.LeftArm | AvatarAssetType.LeftLeg | AvatarAssetType.RightLeg | AvatarAssetType.ClimbAnimation | AvatarAssetType.FallAnimation | AvatarAssetType.IdleAnimation | AvatarAssetType.JumpAnimation | AvatarAssetType.RunAnimation | AvatarAssetType.SwimAnimation | AvatarAssetType.WalkAnimation | AvatarAssetType.MoodAnimation | AvatarAssetType.EmoteAnimation | AvatarAssetType.TShirtAccessory | AvatarAssetType.ShirtAccessory | AvatarAssetType.PantsAccessory | AvatarAssetType.JacketAccessory | AvatarAssetType.SweaterAccessory | AvatarAssetType.ShortsAccessory | AvatarAssetType.LeftShoeAccessory | AvatarAssetType.RightShoeAccessory | AvatarAssetType.DressSkirtAccessory | AvatarAssetType.EyebrowAccessory | AvatarAssetType.EyelashAccessory | AvatarAssetType.DynamicHead;
|
|
1716
1720
|
export namespace AvatarContextMenuOption {
|
|
1717
1721
|
export interface Friend extends EnumItem {
|
|
1718
1722
|
Name: "Friend";
|
|
@@ -13243,6 +13247,34 @@ declare namespace Enum {
|
|
|
13243
13247
|
export function GetEnumItems(this: Enum): Array<StreamOutBehavior>
|
|
13244
13248
|
}
|
|
13245
13249
|
export type StreamOutBehavior = StreamOutBehavior.Default | StreamOutBehavior.LowMemory | StreamOutBehavior.Opportunistic;
|
|
13250
|
+
export namespace StreamingIntegrityMode {
|
|
13251
|
+
export interface Default extends EnumItem {
|
|
13252
|
+
Name: "Default";
|
|
13253
|
+
Value: 0;
|
|
13254
|
+
EnumType: typeof StreamingIntegrityMode;
|
|
13255
|
+
}
|
|
13256
|
+
|
|
13257
|
+
export const Default: Default;
|
|
13258
|
+
|
|
13259
|
+
export interface Disabled extends EnumItem {
|
|
13260
|
+
Name: "Disabled";
|
|
13261
|
+
Value: 1;
|
|
13262
|
+
EnumType: typeof StreamingIntegrityMode;
|
|
13263
|
+
}
|
|
13264
|
+
|
|
13265
|
+
export const Disabled: Disabled;
|
|
13266
|
+
|
|
13267
|
+
export interface MinimumRadiusPause extends EnumItem {
|
|
13268
|
+
Name: "MinimumRadiusPause";
|
|
13269
|
+
Value: 2;
|
|
13270
|
+
EnumType: typeof StreamingIntegrityMode;
|
|
13271
|
+
}
|
|
13272
|
+
|
|
13273
|
+
export const MinimumRadiusPause: MinimumRadiusPause;
|
|
13274
|
+
|
|
13275
|
+
export function GetEnumItems(this: Enum): Array<StreamingIntegrityMode>
|
|
13276
|
+
}
|
|
13277
|
+
export type StreamingIntegrityMode = StreamingIntegrityMode.Default | StreamingIntegrityMode.Disabled | StreamingIntegrityMode.MinimumRadiusPause;
|
|
13246
13278
|
export namespace StreamingPauseMode {
|
|
13247
13279
|
export interface Default extends EnumItem {
|
|
13248
13280
|
Name: "Default";
|
|
@@ -15980,13 +16012,13 @@ declare namespace Enum {
|
|
|
15980
16012
|
|
|
15981
16013
|
export const VideoError: VideoError;
|
|
15982
16014
|
|
|
15983
|
-
export interface
|
|
15984
|
-
Name: "
|
|
16015
|
+
export interface VideoNoPermission extends EnumItem {
|
|
16016
|
+
Name: "VideoNoPermission";
|
|
15985
16017
|
Value: 5;
|
|
15986
16018
|
EnumType: typeof TrackerError;
|
|
15987
16019
|
}
|
|
15988
16020
|
|
|
15989
|
-
export const
|
|
16021
|
+
export const VideoNoPermission: VideoNoPermission;
|
|
15990
16022
|
|
|
15991
16023
|
export interface NoAudio extends EnumItem {
|
|
15992
16024
|
Name: "NoAudio";
|
|
@@ -16004,17 +16036,17 @@ declare namespace Enum {
|
|
|
16004
16036
|
|
|
16005
16037
|
export const AudioError: AudioError;
|
|
16006
16038
|
|
|
16007
|
-
export interface
|
|
16008
|
-
Name: "
|
|
16039
|
+
export interface AudioNoPermission extends EnumItem {
|
|
16040
|
+
Name: "AudioNoPermission";
|
|
16009
16041
|
Value: 8;
|
|
16010
16042
|
EnumType: typeof TrackerError;
|
|
16011
16043
|
}
|
|
16012
16044
|
|
|
16013
|
-
export const
|
|
16045
|
+
export const AudioNoPermission: AudioNoPermission;
|
|
16014
16046
|
|
|
16015
16047
|
export function GetEnumItems(this: Enum): Array<TrackerError>
|
|
16016
16048
|
}
|
|
16017
|
-
export type TrackerError = TrackerError.Ok | TrackerError.NoService | TrackerError.InitFailed | TrackerError.NoVideo | TrackerError.VideoError | TrackerError.
|
|
16049
|
+
export type TrackerError = TrackerError.Ok | TrackerError.NoService | TrackerError.InitFailed | TrackerError.NoVideo | TrackerError.VideoError | TrackerError.VideoNoPermission | TrackerError.NoAudio | TrackerError.AudioError | TrackerError.AudioNoPermission;
|
|
16018
16050
|
export namespace TriStateBoolean {
|
|
16019
16051
|
export interface Unknown extends EnumItem {
|
|
16020
16052
|
Name: "Unknown";
|