@rbxts/types 1.0.622 → 1.0.625

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.
@@ -399,6 +399,7 @@ interface Instances extends Services, CreatableInstances, AbstractInstances {
399
399
  AnimationClip: AnimationClip;
400
400
  AnimationStreamTrack: AnimationStreamTrack;
401
401
  AnimationTrack: AnimationTrack;
402
+ AssetImportSession: AssetImportSession;
402
403
  BaseWrap: BaseWrap;
403
404
  CatalogPages: CatalogPages;
404
405
  ChatInputBarConfiguration: ChatInputBarConfiguration;
@@ -2045,6 +2046,19 @@ interface AssetImportService extends Instance {
2045
2046
  readonly UploadFinished: RBXScriptSignal<(succeeded: boolean, errorMap: object) => void>;
2046
2047
  }
2047
2048
 
2049
+ interface AssetImportSession extends Instance {
2050
+ /**
2051
+ * **DO NOT USE!**
2052
+ *
2053
+ * This field exists to force TypeScript to recognize this as a nominal type
2054
+ * @hidden
2055
+ * @deprecated
2056
+ */
2057
+ readonly _nominal_AssetImportSession: unique symbol;
2058
+ readonly UploadComplete: RBXScriptSignal<(succeeded: boolean, errorMap: object) => void>;
2059
+ readonly UploadProgress: RBXScriptSignal<(progressRatio: number) => void>;
2060
+ }
2061
+
2048
2062
  interface AssetManagerService extends Instance {
2049
2063
  /**
2050
2064
  * **DO NOT USE!**
@@ -106,22 +106,6 @@ interface ABTestService extends Instance {
106
106
  * @deprecated
107
107
  */
108
108
  readonly _nominal_ABTestService: unique symbol;
109
- ClearUserVariations(this: ABTestService): void;
110
- GetBrowserTrackerABTestLoadingStatus(this: ABTestService): Enum.ABTestLoadingStatus;
111
- GetPendingOrInitializedUserId(this: ABTestService): number;
112
- GetUserABTestLoadingStatus(this: ABTestService): Enum.ABTestLoadingStatus;
113
- GetVariant(this: ABTestService, name: string): string;
114
- InitializeForUserId(this: ABTestService, userId: number): void;
115
- /**
116
- * Tags: Yields
117
- */
118
- WaitUntilBrowserTrackerABTestsInitialized(this: ABTestService): void;
119
- /**
120
- * Tags: Yields
121
- */
122
- WaitUntilUserABTestsInitialized(this: ABTestService): void;
123
- readonly OnBrowserTrackerABTestLoadingStatusChanged: RBXScriptSignal<(status: Enum.ABTestLoadingStatus) => void>;
124
- readonly OnUserABTestLoadingStatusChanged: RBXScriptSignal<(status: Enum.ABTestLoadingStatus, userId: number) => void>;
125
109
  }
126
110
 
127
111
  interface KeyframeSequence extends AnimationClip {
@@ -197,15 +181,11 @@ interface CoreGui extends BasePlayerGui {
197
181
  * @deprecated
198
182
  */
199
183
  readonly _nominal_CoreGui: unique symbol;
200
- readonly SelectionImageObject: GuiObject | undefined;
201
184
  /**
202
185
  * The current version of the CoreGui. Everytime the CoreGui is majorly changed, this number is increased.
203
186
  * Tags: ReadOnly, NotReplicated
204
187
  */
205
188
  readonly Version: number;
206
- SetUserGuiRendering(this: CoreGui, enabled: boolean, guiAdornee: Instance, faceId: CastsToEnum<Enum.NormalId>): void;
207
- TakeScreenshot(this: CoreGui): void;
208
- ToggleRecording(this: CoreGui): void;
209
189
  }
210
190
 
211
191
  interface StarterGui extends BasePlayerGui {
@@ -285,18 +265,6 @@ interface DataModelSession extends Instance {
285
265
  * @deprecated
286
266
  */
287
267
  readonly _nominal_DataModelSession: unique symbol;
288
- /**
289
- * Tags: Hidden, ReadOnly, NotReplicated
290
- */
291
- readonly CurrentDataModelType: Enum.StudioDataModelType;
292
- /**
293
- * Tags: Hidden, ReadOnly, NotReplicated
294
- */
295
- readonly SessionId: string;
296
- readonly CurrentDataModelTypeAboutToChange: RBXScriptSignal<(dataModelType: Enum.StudioDataModelType) => void>;
297
- readonly CurrentDataModelTypeChanged: RBXScriptSignal<() => void>;
298
- readonly DataModelCreated: RBXScriptSignal<(gameStateType: Enum.StudioDataModelType) => void>;
299
- readonly DataModelWillBeDestroyed: RBXScriptSignal<(gameStateType: Enum.StudioDataModelType) => void>;
300
268
  }
301
269
 
302
270
  /** The DebugSettings allows you to view diagnostics information regarding Roblox. It is labeled as **Diagnostics** in the Roblox Studio Settings menu. */
@@ -411,10 +379,6 @@ interface DebuggerManager extends Instance {
411
379
  * Registers a script to be used in the Lua Debugger. Returns a [ScriptDebugger](https://developer.roblox.com/en-us/api-reference/class/ScriptDebugger) for the script.
412
380
  */
413
381
  AddDebugger(this: DebuggerManager, script: LuaSourceContainer): Instance | undefined;
414
- /**
415
- * Enables the DebuggerManager.
416
- */
417
- EnableDebugging(this: DebuggerManager): void;
418
382
  /**
419
383
  * Returns a list of [ScriptDebugger](https://developer.roblox.com/en-us/api-reference/class/ScriptDebugger) present in the experience.
420
384
  */
@@ -769,11 +733,6 @@ interface GameSettings extends Instance {
769
733
  * Toggles whether or not video capture is enabled.
770
734
  */
771
735
  VideoCaptureEnabled: boolean;
772
- /**
773
- * Tags: NotReplicated
774
- */
775
- readonly VideoRecording: boolean;
776
- readonly VideoRecordingChangeRequest: RBXScriptSignal<(recording: boolean) => void>;
777
736
  }
778
737
 
779
738
  /** PluginGui is an abstract class for GUIs that allow the display of [GuiObjects](https://developer.roblox.com/en-us/api-reference/class/GuiObject) in various Roblox Studio widgets. As of right now, the only available PluginGui type is [DockWidgetPluginGui](https://developer.roblox.com/en-us/api-reference/class/DockWidgetPluginGui), but there may be more in the future! */
@@ -987,6 +946,18 @@ interface LuaSettings extends Instance {
987
946
  readonly _nominal_LuaSettings: unique symbol;
988
947
  }
989
948
 
949
+ interface BaseScript extends LuaSourceContainer {
950
+ /**
951
+ * **DO NOT USE!**
952
+ *
953
+ * This field exists to force TypeScript to recognize this as a nominal type
954
+ * @hidden
955
+ * @deprecated
956
+ */
957
+ readonly _nominal_BaseScript: unique symbol;
958
+ RunContext: Enum.RunContext;
959
+ }
960
+
990
961
  interface Script extends BaseScript {
991
962
  /**
992
963
  * **DO NOT USE!**
@@ -1085,12 +1056,6 @@ interface MultipleDocumentInterfaceInstance extends Instance {
1085
1056
  * @deprecated
1086
1057
  */
1087
1058
  readonly _nominal_MultipleDocumentInterfaceInstance: unique symbol;
1088
- /**
1089
- * Tags: Hidden, ReadOnly, NotReplicated
1090
- */
1091
- readonly FocusedDataModelSession: Instance | undefined;
1092
- readonly DataModelSessionEnded: RBXScriptSignal<(dataModelSession: DataModelSession) => void>;
1093
- readonly DataModelSessionStarted: RBXScriptSignal<(dataModelSession: DataModelSession) => void>;
1094
1059
  }
1095
1060
 
1096
1061
  /** The NetworkPeer object is the most basic class of the network objects. */
@@ -1544,7 +1509,6 @@ interface PhysicsSettings extends Instance {
1544
1509
  */
1545
1510
  AreRegionsShown: boolean;
1546
1511
  AreTerrainReplicationRegionsShown: boolean;
1547
- readonly AreTimestepsShown: boolean;
1548
1512
  /**
1549
1513
  * When set to true, parts that aren't aligned on the 1x1x1 grid will be outlined yellow.
1550
1514
  */
@@ -1750,22 +1714,6 @@ interface Plugin extends Instance {
1750
1714
  * Tags: ReadOnly, NotReplicated
1751
1715
  */
1752
1716
  readonly GridSize: number;
1753
- /**
1754
- * Tags: Hidden, ReadOnly, NotReplicated
1755
- */
1756
- readonly HostDataModelType: Enum.StudioDataModelType;
1757
- /**
1758
- * Tags: Hidden, ReadOnly, NotReplicated
1759
- */
1760
- readonly HostDataModelTypeIsCurrent: boolean;
1761
- /**
1762
- * Tags: Hidden, ReadOnly, NotReplicated
1763
- */
1764
- readonly MultipleDocumentInterfaceInstance: MultipleDocumentInterfaceInstance | undefined;
1765
- /**
1766
- * Tags: Hidden, NotReplicated
1767
- */
1768
- readonly UsesAssetInsertionDrag: boolean;
1769
1717
  /**
1770
1718
  * This function sets the state of the calling plugin to activated. Activating the plugin allows mouse control through the [Plugin:GetMouse](https://developer.roblox.com/en-us/api-reference/function/Plugin/GetMouse) method.
1771
1719
  *
@@ -1838,7 +1786,6 @@ interface Plugin extends Instance {
1838
1786
  * * [Plugin.Unloading](https://developer.roblox.com/en-us/api-reference/event/Plugin/Unloading), fires immediately before the plugin is unloaded or reloaded via uninstallation, deactivation, or updating
1839
1787
  */
1840
1788
  Deactivate(this: Plugin): void;
1841
- GetItem(this: Plugin, key: string, defaultValue: unknown): unknown;
1842
1789
  /**
1843
1790
  * Returns the [JointCreationMode](https://developer.roblox.com/en-us/api-reference/enum/JointCreationMode) the user has set in studio under the Model tab.
1844
1791
  */
@@ -1861,7 +1808,6 @@ interface Plugin extends Instance {
1861
1808
  * @deprecated
1862
1809
  */
1863
1810
  GetStudioUserId(this: Plugin): number;
1864
- Invoke(this: Plugin, key: string, arguments: Array<any>): void;
1865
1811
  /**
1866
1812
  * This function returns true if this plugin is currently active, after having been activated via the [Plugin:Activate](https://developer.roblox.com/en-us/api-reference/function/Plugin/Activate) function.
1867
1813
  */
@@ -1880,8 +1826,6 @@ interface Plugin extends Instance {
1880
1826
  * Negates the given parts and returns the resulting NegateOperations.
1881
1827
  */
1882
1828
  Negate(this: Plugin, objects: Array<Instance>): Array<Instance>;
1883
- OnInvoke(this: Plugin, key: string, callback: Callback): Instance | undefined;
1884
- OnSetItem(this: Plugin, key: string, callback: Callback): Instance | undefined;
1885
1829
  /**
1886
1830
  * Used to open the given script instance in an editor window, in Roblox studio, at the given line. If no line is given as an argument it will default to 0.
1887
1831
  */
@@ -1890,9 +1834,6 @@ interface Plugin extends Instance {
1890
1834
  * Opens the context help window to the wiki page that `url` links to.
1891
1835
  */
1892
1836
  OpenWikiPage(this: Plugin, url: string): void;
1893
- PauseSound(this: Plugin, sound: Sound): void;
1894
- PlaySound(this: Plugin, sound: Sound, normalizedTimePosition?: number): void;
1895
- ResumeSound(this: Plugin, sound: Sound): void;
1896
1837
  /**
1897
1838
  * Opens an upload window for the user's current selection.
1898
1839
  */
@@ -1912,13 +1853,10 @@ interface Plugin extends Instance {
1912
1853
  * Separates the given UnionOperations and returns the resulting parts.
1913
1854
  */
1914
1855
  Separate(this: Plugin, objects: Array<Instance>): Array<Instance>;
1915
- SetItem(this: Plugin, key: string, value: unknown): void;
1916
- SetReady(this: Plugin): void;
1917
1856
  /**
1918
1857
  * Stores a given value for later use under the given key. The value will persist even after studio is closed.
1919
1858
  */
1920
1859
  SetSetting(this: Plugin, key: string, value: unknown): void;
1921
- StartDecalDrag(this: Plugin, decal: Decal): void;
1922
1860
  /**
1923
1861
  * **StartDrag** initiates a drag action using a dictionary of parameters. The parameters are as follows:
1924
1862
  *
@@ -1988,7 +1926,6 @@ interface Plugin extends Instance {
1988
1926
  * * [PluginGui.PluginDragLeft](https://developer.roblox.com/en-us/api-reference/event/PluginGui/PluginDragLeft)
1989
1927
  */
1990
1928
  StartDrag(this: Plugin, dragData: object): void;
1991
- StopAllSounds(this: Plugin): void;
1992
1929
  /**
1993
1930
  * Unions the given parts and returns the resulting UnionOperation.
1994
1931
  */
@@ -2007,10 +1944,6 @@ interface Plugin extends Instance {
2007
1944
  pluginGuiId: string,
2008
1945
  dockWidgetPluginGuiInfo: DockWidgetPluginGuiInfo,
2009
1946
  ): DockWidgetPluginGui;
2010
- /**
2011
- * Tags: Yields
2012
- */
2013
- CreateQWidgetPluginGui(this: Plugin, pluginGuiId: string, pluginGuiOptions: object): QWidgetPluginGui;
2014
1947
  /**
2015
1948
  * This function prompts the user to open a .fbx animation file that can be loaded onto the _rigModel_, then proceeds to insert the animation as a [KeyframeSequence](https://developer.roblox.com/en-us/api-reference/class/KeyframeSequence) in the [Workspace](https://developer.roblox.com/en-us/api-reference/class/Workspace).
2016
1949
  * Tags: Yields
@@ -2040,7 +1973,6 @@ interface Plugin extends Instance {
2040
1973
  * * [Plugin.Unloading](https://developer.roblox.com/en-us/api-reference/event/Plugin/Unloading), fires immediately before the plugin is unloaded or reloaded via uninstallation, deactivation, or updating
2041
1974
  */
2042
1975
  readonly Deactivation: RBXScriptSignal<() => void>;
2043
- readonly Ready: RBXScriptSignal<() => void>;
2044
1976
  /**
2045
1977
  * This event fires immediately before the [Plugin](https://developer.roblox.com/en-us/api-reference/class/Plugin) stops running. Plugins are unloaded when disabled, uninstalled, about to be updated, or when the place is closing.
2046
1978
  *
@@ -2054,14 +1986,6 @@ interface Plugin extends Instance {
2054
1986
  * [Intro to Plugins](https://developer.roblox.com/en-us/articles/intro-to-plugins), an introductory article to plugin use and development
2055
1987
  */
2056
1988
  readonly Unloading: RBXScriptSignal<() => void>;
2057
- /**
2058
- * Tags: NoYield
2059
- */
2060
- ProcessAssetInsertionDrag: (assetId: string, assetTypeId: number, instances: Array<Instance>) => void;
2061
- /**
2062
- * Tags: NoYield
2063
- */
2064
- ProcessAssetInsertionDrop: () => void;
2065
1989
  }
2066
1990
 
2067
1991
  /** PluginAction is an object that represents a generic performable action in Roblox Studio, with no directly associated `Toolbar` or `Button`. In Roblox Studio, they can be assigned a keyboard shortcut under `File → Advanced → Customize Shortcuts...`, and they can also be added to the Quick Access Toolbar.
@@ -2092,18 +2016,6 @@ interface PluginAction extends Instance {
2092
2016
  * Tags: ReadOnly, NotReplicated
2093
2017
  */
2094
2018
  readonly AllowBinding: boolean;
2095
- /**
2096
- * Tags: Hidden, NotReplicated
2097
- */
2098
- readonly Checked: boolean;
2099
- /**
2100
- * Tags: Hidden, NotReplicated
2101
- */
2102
- readonly DefaultShortcut: string;
2103
- /**
2104
- * Tags: Hidden, NotReplicated
2105
- */
2106
- readonly Enabled: boolean;
2107
2019
  /**
2108
2020
  * The description of the action, when viewing it from the keyboard shortcuts window in Roblox Studio.
2109
2021
  * Tags: ReadOnly, NotReplicated
@@ -2782,12 +2694,14 @@ interface ScriptDocument extends Instance {
2782
2694
  GetLine(this: ScriptDocument, lineIndex?: number): string;
2783
2695
  GetLineCount(this: ScriptDocument): number;
2784
2696
  GetScript(this: ScriptDocument): LuaSourceContainer;
2697
+ GetSelection(this: ScriptDocument): unknown;
2785
2698
  GetText(this: ScriptDocument, startLine?: number, startCharacter?: number, endLine?: number, endCharacter?: number): string;
2786
2699
  IsCommandBar(this: ScriptDocument): boolean;
2787
2700
  /**
2788
2701
  * Tags: Yields
2789
2702
  */
2790
2703
  EditTextAsync(this: ScriptDocument, newText: string, startLine: number, startCharacter: number, endLine: number, endCharacter: number): unknown;
2704
+ readonly SelectionChanged: RBXScriptSignal<(positionLine: number, positionCharacter: number, anchorLine: number, anchorCharacter: number) => void>;
2791
2705
  }
2792
2706
 
2793
2707
  interface ScriptEditorService extends Instance {
@@ -2828,16 +2742,11 @@ interface Selection extends Instance {
2828
2742
  * @deprecated
2829
2743
  */
2830
2744
  readonly _nominal_Selection: unique symbol;
2831
- /**
2832
- * Tags: Hidden, ReadOnly, NotReplicated
2833
- */
2834
- readonly ActiveInstance: Instance | undefined;
2835
2745
  /**
2836
2746
  * Tags: ReadOnly, NotReplicated
2837
2747
  */
2838
2748
  readonly SelectionThickness: number;
2839
2749
  Add(this: Selection, instancesToAdd: Array<Instance>): void;
2840
- ClearTerrainSelectionHack(this: Selection): void;
2841
2750
  /**
2842
2751
  * Returns an array of currently selected [Instance](https://developer.roblox.com/en-us/api-reference/class/Instance)s in Roblox Studio.
2843
2752
  *
@@ -2861,7 +2770,6 @@ interface Selection extends Instance {
2861
2770
  * Selection:Set(selected)
2862
2771
  */
2863
2772
  Set(this: Selection, selection: Array<Instance>): void;
2864
- SetTerrainSelectionHack(this: Selection, center: Vector3, size: Vector3): void;
2865
2773
  /**
2866
2774
  * Fires when the [Instance](https://developer.roblox.com/en-us/api-reference/class/Instance)s selected in Roblox Studio changes.
2867
2775
  *
@@ -3133,7 +3041,6 @@ interface Studio extends Instance {
3133
3041
  */
3134
3042
  ["Built-in Function Color"]: Color3;
3135
3043
  ["Camera Mouse Wheel Speed"]: number;
3136
- readonly ["Camera Pan Speed"]: number;
3137
3044
  ["Camera Shift Speed"]: number;
3138
3045
  ["Camera Speed"]: number;
3139
3046
  ["Camera Zoom to Mouse Position"]: boolean;
@@ -3163,29 +3070,14 @@ interface Studio extends Instance {
3163
3070
  * If set to true, deprecated objects will be shown in the Advanced Objects window, as well as the Object Browser.
3164
3071
  */
3165
3072
  DeprecatedObjectsShown: boolean;
3166
- readonly DisplayLanguage: string;
3167
- /**
3168
- * Tags: Hidden, NotReplicated
3169
- */
3170
- readonly ["Doc View Code Background Color"]: Color3;
3171
3073
  ["Drag Multiple Parts As Single Part"]: boolean;
3172
3074
  ["Enable Autocomplete"]: boolean;
3173
- readonly ["Enable Autocomplete Doc View"]: boolean;
3174
3075
  ["Enable CoreScript Debugger"]: boolean;
3175
3076
  ["Enable Http Sandboxing"]: boolean;
3176
3077
  ["Enable Internal Beta Features"]: boolean;
3177
3078
  ["Enable Internal Features"]: boolean;
3178
- readonly ["Enable Script Analysis"]: boolean;
3179
- readonly ["Enable Scrollbar Markers"]: boolean;
3180
- readonly ["Enable Signature Help"]: boolean;
3181
- readonly ["Enable Signature Help Doc View"]: boolean;
3182
3079
  ["Enable Temporary Tabs"]: boolean;
3183
3080
  ["Enable Temporary Tabs In Explorer"]: boolean;
3184
- readonly ["Enable Type Hover"]: boolean;
3185
- /**
3186
- * Tags: Hidden, NotReplicated
3187
- */
3188
- readonly EnableOnTypeAutocomplete: boolean;
3189
3081
  /**
3190
3082
  * Tags: NotReplicated
3191
3083
  */
@@ -3207,9 +3099,7 @@ interface Studio extends Instance {
3207
3099
  ["Highlight Current Line"]: boolean;
3208
3100
  ["Highlight Occurances"]: boolean;
3209
3101
  ["Hover Animate Speed"]: Enum.HoverAnimateSpeed;
3210
- readonly ["Hover Box Thickness"]: number;
3211
3102
  ["Hover Over Color"]: Color3;
3212
- readonly IconOverrideDir: QDir;
3213
3103
  ["Indent Using Spaces"]: boolean;
3214
3104
  /**
3215
3105
  * Tags: NotReplicated
@@ -3229,7 +3119,6 @@ interface Studio extends Instance {
3229
3119
  * Tags: NotReplicated
3230
3120
  */
3231
3121
  ["Luau Keyword Color"]: Color3;
3232
- readonly ["Main Volume"]: number;
3233
3122
  /**
3234
3123
  * Tags: NotReplicated
3235
3124
  */
@@ -3259,8 +3148,6 @@ interface Studio extends Instance {
3259
3148
  * See [PermissionLevelShown](https://developer.roblox.com/en-us/api-reference/enum/PermissionLevelShown) for more info.
3260
3149
  */
3261
3150
  PermissionLevelShown: Enum.PermissionLevelShown;
3262
- readonly ["Physical Draggers Select Scope By Default"]: boolean;
3263
- readonly ["Pivot Snap To Geometry Color"]: Color3;
3264
3151
  PluginDebuggingEnabled: boolean;
3265
3152
  /**
3266
3153
  * The directory where local plugins are stored.
@@ -3291,14 +3178,6 @@ interface Studio extends Instance {
3291
3178
  * Tags: NotReplicated
3292
3179
  */
3293
3180
  ["Script Editor Scrollbar Handle Color"]: Color3;
3294
- /**
3295
- * Tags: Hidden, NotReplicated
3296
- */
3297
- readonly ScriptEditorMenuBorderColor: Color3;
3298
- /**
3299
- * Tags: Hidden, NotReplicated
3300
- */
3301
- readonly ScriptEditorShouldShowPluginMethods: boolean;
3302
3181
  /**
3303
3182
  * The time (in seconds) a script can wait to be resumed before timing out.
3304
3183
  */
@@ -3327,7 +3206,6 @@ interface Studio extends Instance {
3327
3206
  * Tags: NotReplicated
3328
3207
  */
3329
3208
  ["Selection Color"]: Color3;
3330
- readonly ["Selection Highlight Thickness"]: number;
3331
3209
  ["Server Audio Behavior"]: Enum.ServerAudioBehavior;
3332
3210
  ["Set Pivot of Imported Parts"]: boolean;
3333
3211
  ["Show Core GUI in Explorer while Playing"]: boolean;
@@ -3336,15 +3214,11 @@ interface Studio extends Instance {
3336
3214
  ["Show FileSyncService"]: boolean;
3337
3215
  ["Show Hidden Objects in Explorer"]: boolean;
3338
3216
  ["Show Hover Over"]: boolean;
3339
- readonly ["Show Light Guides"]: boolean;
3340
- readonly ["Show Navigation Labels"]: boolean;
3341
3217
  ["Show Navigation Mesh"]: boolean;
3342
- readonly ["Show Pathfinding Links"]: boolean;
3343
3218
  ["Show Plugin GUI Service in Explorer"]: boolean;
3344
3219
  ["Show QT warnings in output"]: boolean;
3345
3220
  ["Show Whitespace"]: boolean;
3346
3221
  ["Show plus button on hover in Explorer"]: boolean;
3347
- readonly ShowCorePackagesInExplorer: boolean;
3348
3222
  ["Skip Closing Brackets and Quotes"]: boolean;
3349
3223
  /**
3350
3224
  * Tags: NotReplicated
@@ -3373,7 +3247,6 @@ interface Studio extends Instance {
3373
3247
  * @deprecated
3374
3248
  */
3375
3249
  readonly ["UI Theme"]: Enum.UITheme;
3376
- readonly ["Use Bounding Box Move Handles"]: boolean;
3377
3250
  /**
3378
3251
  * Tags: NotReplicated
3379
3252
  */
@@ -3405,18 +3278,6 @@ interface StudioData extends Instance {
3405
3278
  * @deprecated
3406
3279
  */
3407
3280
  readonly _nominal_StudioData: unique symbol;
3408
- /**
3409
- * Tags: Hidden
3410
- */
3411
- readonly EnableScriptCollabByDefaultOnLoad: boolean;
3412
- /**
3413
- * Tags: Hidden, NotReplicated
3414
- */
3415
- readonly SrcPlaceId: number;
3416
- /**
3417
- * Tags: Hidden, NotReplicated
3418
- */
3419
- readonly SrcUniverseId: number;
3420
3281
  }
3421
3282
 
3422
3283
  /** StudioService provides access to configuration of Roblox Studio, allows importing files from the user's file system, and other miscellaneous information. It is intended to be used by [Plugin](https://developer.roblox.com/en-us/api-reference/class/Plugin)s in order to provide a consistent user experience.
@@ -3452,10 +3313,6 @@ interface StudioService extends Instance {
3452
3313
  * Tags: ReadOnly, NotReplicated
3453
3314
  */
3454
3315
  readonly ActiveScript: Instance | undefined;
3455
- /**
3456
- * Tags: Hidden, ReadOnly, NotReplicated
3457
- */
3458
- readonly AlignDraggedObjects: boolean;
3459
3316
  /**
3460
3317
  * Tags: ReadOnly, NotReplicated
3461
3318
  */
@@ -3471,18 +3328,6 @@ interface StudioService extends Instance {
3471
3328
  * Tags: ReadOnly, NotReplicated
3472
3329
  */
3473
3330
  readonly GridSize: number;
3474
- /**
3475
- * Tags: Hidden, NotReplicated
3476
- */
3477
- readonly HoverInstance: Instance | undefined;
3478
- /**
3479
- * Tags: Hidden, ReadOnly, NotReplicated
3480
- */
3481
- readonly InstalledPluginData: string;
3482
- /**
3483
- * Tags: Hidden, ReadOnly, NotReplicated
3484
- */
3485
- readonly PivotSnapToGeometry: boolean;
3486
3331
  /**
3487
3332
  * **RotateIncrement** determines the angle in degrees by which studio's rotation tool will rotate selected objects each tick. This is set by the user Model tab under the “Snap to Grid” section.
3488
3333
  *
@@ -3504,10 +3349,6 @@ interface StudioService extends Instance {
3504
3349
  * Tags: ReadOnly, NotReplicated
3505
3350
  */
3506
3351
  readonly RotateIncrement: number;
3507
- /**
3508
- * Tags: Hidden, NotReplicated
3509
- */
3510
- readonly ShowActiveInstanceHighlight: boolean;
3511
3352
  /**
3512
3353
  * Tags: ReadOnly, NotReplicated
3513
3354
  */
@@ -3555,15 +3396,6 @@ interface StudioService extends Instance {
3555
3396
  * Tags: NotReplicated
3556
3397
  */
3557
3398
  UseLocalSpace: boolean;
3558
- AnimationIdSelected(this: StudioService, id: number): void;
3559
- CopyToClipboard(this: StudioService, stringToCopy: string): void;
3560
- DEPRECATED_EmitPlacePublishedSignal(this: StudioService): void;
3561
- DEPRECATED_RefreshDocumentDisplayName(this: StudioService): void;
3562
- DEPRECATED_SetUniverseDisplayName(this: StudioService, newName: string): void;
3563
- DEPRECATED_ShowSaveOrPublishPlaceToRoblox(this: StudioService, showGameSelect: boolean, isPublish: boolean, closeMode: CastsToEnum<Enum.StudioCloseMode>): void;
3564
- DEPRECATED_publishAs(this: StudioService, universeId: number, placeId: number, groupId: number): void;
3565
- GetBadgeConfigureUrl(this: StudioService, badgeId: number): string;
3566
- GetBadgeUploadUrl(this: StudioService): string;
3567
3399
  /**
3568
3400
  * **GetClassIcon** provides a dictionary that allows the display of a class' Explorer window icon, e.g. calling this function with “Part” returns property values that display the part icon from the Explorer window.
3569
3401
  *
@@ -3587,26 +3419,11 @@ interface StudioService extends Instance {
3587
3419
  * displayClassIcon(imageLabel, "Part")
3588
3420
  */
3589
3421
  GetClassIcon(this: StudioService, className: string): object;
3590
- GetPlaceIsPersistedToCloud(this: StudioService): boolean;
3591
- GetResourceByCategory(this: StudioService, category: string): object;
3592
- GetStartupAssetId(this: StudioService): string;
3593
- GetStartupPluginId(this: StudioService): string;
3594
- GetTermsOfUseUrl(this: StudioService): string;
3595
3422
  /**
3596
3423
  * Returns the studio user's userId if they're logged in, otherwise returns 0.
3597
3424
  */
3598
3425
  GetUserId(this: StudioService): number;
3599
3426
  GizmoRaycast(this: StudioService, origin: Vector3, direction: Vector3, raycastParams?: RaycastParams): RaycastResult;
3600
- HasInternalPermission(this: StudioService): boolean;
3601
- IsPluginInstalled(this: StudioService, assetId: number): boolean;
3602
- IsPluginUpToDate(this: StudioService, assetId: number, currentAssetVersion: number): boolean;
3603
- OpenInBrowser_DONOTUSE(this: StudioService, url: string): void;
3604
- RequestClose(this: StudioService, closeMode: CastsToEnum<Enum.StudioCloseMode>): void;
3605
- SetPluginEnabled(this: StudioService, assetId: number, state: boolean): void;
3606
- ShowPlaceVersionHistoryDialog(this: StudioService, placeId: number): void;
3607
- ShowPublishToRoblox(this: StudioService): void;
3608
- UninstallPlugin(this: StudioService, assetId: number): void;
3609
- UpdatePluginManagement(this: StudioService): void;
3610
3427
  /**
3611
3428
  * This function prompts the current Studio user to select one file, which will then be loaded as a [File](https://developer.roblox.com/en-us/api-reference/class/File).
3612
3429
  *
@@ -3629,23 +3446,6 @@ interface StudioService extends Instance {
3629
3446
  * Tags: Yields
3630
3447
  */
3631
3448
  PromptImportFiles(this: StudioService, fileTypeFilter?: Array<any>): Array<Instance>;
3632
- /**
3633
- * Tags: Yields
3634
- */
3635
- TryInstallPlugin(this: StudioService, assetId: number, assetVersionId: number): void;
3636
- readonly DEPRECATED_GameNameUpdated: RBXScriptSignal<(name: string) => void>;
3637
- readonly DEPRECATED_GamePublishFinished: RBXScriptSignal<(success: boolean, gameId: number) => void>;
3638
- readonly DEPRECATED_OnPublishPlaceToRoblox: RBXScriptSignal<(isOverwritePublish: boolean) => void>;
3639
- readonly DEPRECATED_OnSaveOrPublishPlaceToRoblox: RBXScriptSignal<(showGameSelect: boolean, isPublish: boolean, closeMode: Enum.StudioCloseMode) => void>;
3640
- readonly OnImportFromRoblox: RBXScriptSignal<() => void>;
3641
- readonly OnOpenGameSettings: RBXScriptSignal<(pageIdentifier: string) => void>;
3642
- readonly OnOpenManagePackagePlugin: RBXScriptSignal<(userId: number, assetId: number) => void>;
3643
- readonly OnPluginInstalledFromToolbox: RBXScriptSignal<() => void>;
3644
- readonly OnPluginInstalledFromWeb: RBXScriptSignal<(pluginId: string) => void>;
3645
- readonly OnPublishAsPlugin: RBXScriptSignal<(instances: Array<Instance>) => void>;
3646
- readonly OnSaveToRoblox: RBXScriptSignal<(instances: Array<Instance>) => void>;
3647
- readonly PromptTransformPluginCheckEnable: RBXScriptSignal<() => void>;
3648
- readonly SaveLocallyAsComplete: RBXScriptSignal<(success: boolean) => void>;
3649
3449
  }
3650
3450
 
3651
3451
  interface StudioTheme extends Instance {
@@ -4104,10 +3904,6 @@ interface VersionControlService extends Instance {
4104
3904
  * @deprecated
4105
3905
  */
4106
3906
  readonly _nominal_VersionControlService: unique symbol;
4107
- /**
4108
- * Tags: Hidden
4109
- */
4110
- readonly ScriptCollabEnabled: boolean;
4111
3907
  }
4112
3908
 
4113
3909
  interface VoiceChatService extends Instance {
@@ -1842,9 +1842,9 @@ declare namespace Enum {
1842
1842
 
1843
1843
  export const Z: Z;
1844
1844
  /** @deprecated renamed to Z */
1845
- export const Back: Z;
1846
- /** @deprecated renamed to Z */
1847
1845
  export const Front: Z;
1846
+ /** @deprecated renamed to Z */
1847
+ export const Back: Z;
1848
1848
 
1849
1849
  export function GetEnumItems(this: Enum): Array<Axis>
1850
1850
  }
@@ -3611,14 +3611,8 @@ declare namespace Enum {
3611
3611
  }
3612
3612
 
3613
3613
  export const Medium: Medium;
3614
-
3615
- export interface Default extends EnumItem {
3616
- Name: "Default";
3617
- Value: 2000;
3618
- EnumType: typeof ContextActionPriority;
3619
- }
3620
-
3621
- export const Default: Default;
3614
+ /** @deprecated renamed to Medium */
3615
+ export const Default: Medium;
3622
3616
 
3623
3617
  export interface High extends EnumItem {
3624
3618
  Name: "High";
@@ -3630,7 +3624,7 @@ declare namespace Enum {
3630
3624
 
3631
3625
  export function GetEnumItems(this: Enum): Array<ContextActionPriority>
3632
3626
  }
3633
- export type ContextActionPriority = ContextActionPriority.Low | ContextActionPriority.Medium | ContextActionPriority.Default | ContextActionPriority.High;
3627
+ export type ContextActionPriority = ContextActionPriority.Low | ContextActionPriority.Medium | ContextActionPriority.High;
3634
3628
  export namespace ContextActionResult {
3635
3629
  export interface Pass extends EnumItem {
3636
3630
  Name: "Pass";
@@ -6994,27 +6988,27 @@ declare namespace Enum {
6994
6988
 
6995
6989
  export const NoInput: NoInput;
6996
6990
  /** @deprecated renamed to NoInput */
6997
- export const RightTread: NoInput;
6991
+ export const Action4: NoInput;
6998
6992
  /** @deprecated renamed to NoInput */
6999
- export const UpDown: NoInput;
6993
+ export const Action5: NoInput;
7000
6994
  /** @deprecated renamed to NoInput */
7001
- export const Action2: NoInput;
6995
+ export const RightTread: NoInput;
7002
6996
  /** @deprecated renamed to NoInput */
7003
- export const Action3: NoInput;
6997
+ export const Throtle: NoInput;
6998
+ /** @deprecated renamed to NoInput */
6999
+ export const Action1: NoInput;
7004
7000
  /** @deprecated renamed to NoInput */
7005
7001
  export const Steer: NoInput;
7006
7002
  /** @deprecated renamed to NoInput */
7007
7003
  export const Throttle: NoInput;
7008
7004
  /** @deprecated renamed to NoInput */
7009
- export const Action1: NoInput;
7005
+ export const Action2: NoInput;
7010
7006
  /** @deprecated renamed to NoInput */
7011
- export const Throtle: NoInput;
7007
+ export const UpDown: NoInput;
7012
7008
  /** @deprecated renamed to NoInput */
7013
7009
  export const LeftTread: NoInput;
7014
7010
  /** @deprecated renamed to NoInput */
7015
- export const Action4: NoInput;
7016
- /** @deprecated renamed to NoInput */
7017
- export const Action5: NoInput;
7011
+ export const Action3: NoInput;
7018
7012
 
7019
7013
  export interface Constant extends EnumItem {
7020
7014
  Name: "Constant";
@@ -12529,6 +12523,42 @@ declare namespace Enum {
12529
12523
  export function GetEnumItems(this: Enum): Array<RotationType>
12530
12524
  }
12531
12525
  export type RotationType = RotationType.MovementRelative | RotationType.CameraRelative;
12526
+ export namespace RunContext {
12527
+ export interface Legacy extends EnumItem {
12528
+ Name: "Legacy";
12529
+ Value: 0;
12530
+ EnumType: typeof RunContext;
12531
+ }
12532
+
12533
+ export const Legacy: Legacy;
12534
+
12535
+ export interface Server extends EnumItem {
12536
+ Name: "Server";
12537
+ Value: 1;
12538
+ EnumType: typeof RunContext;
12539
+ }
12540
+
12541
+ export const Server: Server;
12542
+
12543
+ export interface Client extends EnumItem {
12544
+ Name: "Client";
12545
+ Value: 2;
12546
+ EnumType: typeof RunContext;
12547
+ }
12548
+
12549
+ export const Client: Client;
12550
+
12551
+ export interface Plugin extends EnumItem {
12552
+ Name: "Plugin";
12553
+ Value: 3;
12554
+ EnumType: typeof RunContext;
12555
+ }
12556
+
12557
+ export const Plugin: Plugin;
12558
+
12559
+ export function GetEnumItems(this: Enum): Array<RunContext>
12560
+ }
12561
+ export type RunContext = RunContext.Legacy | RunContext.Server | RunContext.Client | RunContext.Plugin;
12532
12562
  export namespace RuntimeUndoBehavior {
12533
12563
  export interface Aggregate extends EnumItem {
12534
12564
  Name: "Aggregate";
@@ -14654,9 +14684,9 @@ declare namespace Enum {
14654
14684
 
14655
14685
  export const Smooth: Smooth;
14656
14686
  /** @deprecated renamed to Smooth */
14657
- export const Unjoinable: Smooth;
14658
- /** @deprecated renamed to Smooth */
14659
14687
  export const Spawn: Smooth;
14688
+ /** @deprecated renamed to Smooth */
14689
+ export const Unjoinable: Smooth;
14660
14690
 
14661
14691
  export interface Glue extends EnumItem {
14662
14692
  Name: "Glue";
@@ -16678,9 +16708,25 @@ declare namespace Enum {
16678
16708
 
16679
16709
  export const HSRInnerReverse: HSRInnerReverse;
16680
16710
 
16711
+ export interface LayerCageFittedToBase extends EnumItem {
16712
+ Name: "LayerCageFittedToBase";
16713
+ Value: 12;
16714
+ EnumType: typeof WrapLayerDebugMode;
16715
+ }
16716
+
16717
+ export const LayerCageFittedToBase: LayerCageFittedToBase;
16718
+
16719
+ export interface LayerCageFittedToPrev extends EnumItem {
16720
+ Name: "LayerCageFittedToPrev";
16721
+ Value: 13;
16722
+ EnumType: typeof WrapLayerDebugMode;
16723
+ }
16724
+
16725
+ export const LayerCageFittedToPrev: LayerCageFittedToPrev;
16726
+
16681
16727
  export function GetEnumItems(this: Enum): Array<WrapLayerDebugMode>
16682
16728
  }
16683
- export type WrapLayerDebugMode = WrapLayerDebugMode.None | WrapLayerDebugMode.BoundCage | WrapLayerDebugMode.LayerCage | WrapLayerDebugMode.BoundCageAndLinks | WrapLayerDebugMode.Reference | WrapLayerDebugMode.Rbf | WrapLayerDebugMode.OuterCage | WrapLayerDebugMode.ReferenceMeshAfterMorph | WrapLayerDebugMode.HSROuterDetail | WrapLayerDebugMode.HSROuter | WrapLayerDebugMode.HSRInner | WrapLayerDebugMode.HSRInnerReverse;
16729
+ export type WrapLayerDebugMode = WrapLayerDebugMode.None | WrapLayerDebugMode.BoundCage | WrapLayerDebugMode.LayerCage | WrapLayerDebugMode.BoundCageAndLinks | WrapLayerDebugMode.Reference | WrapLayerDebugMode.Rbf | WrapLayerDebugMode.OuterCage | WrapLayerDebugMode.ReferenceMeshAfterMorph | WrapLayerDebugMode.HSROuterDetail | WrapLayerDebugMode.HSROuter | WrapLayerDebugMode.HSRInner | WrapLayerDebugMode.HSRInnerReverse | WrapLayerDebugMode.LayerCageFittedToBase | WrapLayerDebugMode.LayerCageFittedToPrev;
16684
16730
  export namespace WrapTargetDebugMode {
16685
16731
  export interface None extends EnumItem {
16686
16732
  Name: "None";
@@ -551,6 +551,8 @@ interface RBXScriptSignal<T extends Callback = Callback> {
551
551
 
552
552
  ConnectParallel(this: RBXScriptSignal, callback: T): RBXScriptConnection;
553
553
 
554
+ Once(this: RBXScriptSignal, callback: T): RBXScriptConnection;
555
+
554
556
  /**
555
557
  * Yields the current thread until this signal is fired. Returns what was fired to the signal.
556
558
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/types",
3
- "version": "1.0.622",
3
+ "version": "1.0.625",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },