@rbxts/types 1.0.589 → 1.0.592

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.
@@ -56,6 +56,7 @@ interface Services {
56
56
  LocalizationService: LocalizationService;
57
57
  LodDataService: LodDataService;
58
58
  LogService: LogService;
59
+ LSPFileSyncService: LSPFileSyncService;
59
60
  LSPService: LSPService;
60
61
  LuauScriptAnalyzerService: LuauScriptAnalyzerService;
61
62
  MarketplaceService: MarketplaceService;
@@ -74,18 +75,17 @@ interface Services {
74
75
  PublishService: PublishService;
75
76
  RemoteDebuggerServer: RemoteDebuggerServer;
76
77
  ReplicatedFirst: ReplicatedFirst;
77
- ReplicatedScriptService: ReplicatedScriptService;
78
78
  ReplicatedStorage: ReplicatedStorage;
79
79
  RunService: RunService;
80
80
  ScriptChangeService: ScriptChangeService;
81
81
  ScriptCloneWatcher: ScriptCloneWatcher;
82
82
  ScriptCloneWatcherHelper: ScriptCloneWatcherHelper;
83
- ScriptCloneWatcherHelperV2: ScriptCloneWatcherHelperV2;
84
83
  ScriptContext: ScriptContext;
85
84
  ScriptRegistrationService: ScriptRegistrationService;
86
85
  ServerScriptService: ServerScriptService;
87
86
  ServerStorage: ServerStorage;
88
87
  SessionService: SessionService;
88
+ SnippetService: SnippetService;
89
89
  SocialService: SocialService;
90
90
  SoundService: SoundService;
91
91
  StarterGui: StarterGui;
@@ -241,6 +241,7 @@ interface CreatableInstances {
241
241
  PathfindingModifier: PathfindingModifier;
242
242
  PitchShiftSoundEffect: PitchShiftSoundEffect;
243
243
  Plane: Plane;
244
+ PlaneConstraint: PlaneConstraint;
244
245
  PointLight: PointLight;
245
246
  Pose: Pose;
246
247
  PrismaticConstraint: PrismaticConstraint;
@@ -419,7 +420,6 @@ interface Instances extends Services, CreatableInstances, AbstractInstances {
419
420
  ImporterMaterialSettings: ImporterMaterialSettings;
420
421
  ImporterMeshSettings: ImporterMeshSettings;
421
422
  ImporterRootSettings: ImporterRootSettings;
422
- ImporterTextureSettings: ImporterTextureSettings;
423
423
  InputObject: InputObject;
424
424
  InstanceAdornment: InstanceAdornment;
425
425
  InventoryPages: InventoryPages;
@@ -4150,6 +4150,7 @@ interface WrapLayer extends BaseWrap {
4150
4150
  * @deprecated
4151
4151
  */
4152
4152
  readonly _nominal_WrapLayer: unique symbol;
4153
+ AutoSkin: Enum.WrapLayerAutoSkin;
4153
4154
  /**
4154
4155
  * This property is intended for fine-tuning purposes and is highly optional.
4155
4156
  *
@@ -7174,7 +7175,18 @@ interface LinearVelocity extends Constraint {
7174
7175
  VelocityConstraintMode: Enum.VelocityConstraintMode;
7175
7176
  }
7176
7177
 
7177
- interface Plane extends Constraint {
7178
+ interface PlaneConstraint extends Constraint {
7179
+ /**
7180
+ * **DO NOT USE!**
7181
+ *
7182
+ * This field exists to force TypeScript to recognize this as a nominal type
7183
+ * @hidden
7184
+ * @deprecated
7185
+ */
7186
+ readonly _nominal_PlaneConstraint: unique symbol;
7187
+ }
7188
+
7189
+ interface Plane extends PlaneConstraint {
7178
7190
  /**
7179
7191
  * **DO NOT USE!**
7180
7192
  *
@@ -10614,25 +10626,10 @@ interface GuiBase2d extends GuiBase {
10614
10626
  * If there is no translation available in the referenced table it will look for a translation in the parent of that table, if it is also a LocalizationTable, and so on.
10615
10627
  */
10616
10628
  RootLocalizationTable: LocalizationTable | undefined;
10617
- /**
10618
- * Tags: NotBrowsable
10619
- */
10620
10629
  SelectionBehaviorDown: Enum.SelectionBehavior;
10621
- /**
10622
- * Tags: NotBrowsable
10623
- */
10624
10630
  SelectionBehaviorLeft: Enum.SelectionBehavior;
10625
- /**
10626
- * Tags: NotBrowsable
10627
- */
10628
10631
  SelectionBehaviorRight: Enum.SelectionBehavior;
10629
- /**
10630
- * Tags: NotBrowsable
10631
- */
10632
10632
  SelectionBehaviorUp: Enum.SelectionBehavior;
10633
- /**
10634
- * Tags: NotBrowsable
10635
- */
10636
10633
  SelectionGroup: boolean;
10637
10634
  readonly SelectionChanged: RBXScriptSignal<(amISelected: boolean, previousSelection: GuiObject, newSelection: GuiObject) => void>;
10638
10635
  }
@@ -10891,9 +10888,6 @@ interface GuiObject extends GuiBase2d {
10891
10888
  * To determine or set which GUI element is selected by the user, you can use the [GuiService.SelectedObject](https://developer.roblox.com/en-us/api-reference/property/GuiService/SelectedObject) property. The user uses the gamepad to select different GUI elements, invoking the [GuiObject.NextSelectionUp](https://developer.roblox.com/en-us/api-reference/property/GuiObject/NextSelectionUp), [GuiObject.NextSelectionDown](https://developer.roblox.com/en-us/api-reference/property/GuiObject/NextSelectionDown), [GuiObject.NextSelectionLeft](https://developer.roblox.com/en-us/api-reference/property/GuiObject/NextSelectionLeft), and [GuiObject.NextSelectionRight](https://developer.roblox.com/en-us/api-reference/property/GuiObject/NextSelectionRight) events.
10892
10889
  */
10893
10890
  SelectionImageObject: GuiObject | undefined;
10894
- /**
10895
- * Tags: NotBrowsable
10896
- */
10897
10891
  SelectionOrder: number;
10898
10892
  /**
10899
10893
  * This property determines a [GUI's](https://developer.roblox.com/en-us/api-reference/class/GuiObject) scalar and pixel size using a `UDim2`. Its value can be expressed as `UDim2.new(ScalarX, PixelX, ScalarY, PixelY)` or `({ScalarX, PixelX}, {ScalarY, PixelY})`.
@@ -16193,21 +16187,6 @@ interface ImporterRootSettings extends ImporterBaseSettings {
16193
16187
  WorldUp: Enum.NormalId;
16194
16188
  }
16195
16189
 
16196
- interface ImporterTextureSettings extends ImporterBaseSettings {
16197
- /**
16198
- * **DO NOT USE!**
16199
- *
16200
- * This field exists to force TypeScript to recognize this as a nominal type
16201
- * @hidden
16202
- * @deprecated
16203
- */
16204
- readonly _nominal_ImporterTextureSettings: unique symbol;
16205
- /**
16206
- * Tags: ReadOnly, NotReplicated
16207
- */
16208
- readonly FilePath: string;
16209
- }
16210
-
16211
16190
  interface IncrementalPatchBuilder extends Instance {
16212
16191
  /**
16213
16192
  * **DO NOT USE!**
@@ -18654,6 +18633,17 @@ interface KeyframeSequenceProvider extends Instance {
18654
18633
  GetKeyframeSequenceAsync(this: KeyframeSequenceProvider, assetId: string): KeyframeSequence;
18655
18634
  }
18656
18635
 
18636
+ interface LSPFileSyncService extends Instance {
18637
+ /**
18638
+ * **DO NOT USE!**
18639
+ *
18640
+ * This field exists to force TypeScript to recognize this as a nominal type
18641
+ * @hidden
18642
+ * @deprecated
18643
+ */
18644
+ readonly _nominal_LSPFileSyncService: unique symbol;
18645
+ }
18646
+
18657
18647
  interface LSPService extends Instance {
18658
18648
  /**
18659
18649
  * **DO NOT USE!**
@@ -27599,17 +27589,6 @@ interface ReplicatedFirst extends Instance {
27599
27589
  RemoveDefaultLoadingScreen(this: ReplicatedFirst): void;
27600
27590
  }
27601
27591
 
27602
- interface ReplicatedScriptService extends Instance {
27603
- /**
27604
- * **DO NOT USE!**
27605
- *
27606
- * This field exists to force TypeScript to recognize this as a nominal type
27607
- * @hidden
27608
- * @deprecated
27609
- */
27610
- readonly _nominal_ReplicatedScriptService: unique symbol;
27611
- }
27612
-
27613
27592
  /** **ReplicatedStorage** is a general container service for objects that are available to both the server and connected game clients. It is ideal for [ModuleScript](https://developer.roblox.com/en-us/api-reference/class/ModuleScript), [RemoteFunction](https://developer.roblox.com/en-us/api-reference/class/RemoteFunction), [RemoteEvent](https://developer.roblox.com/en-us/api-reference/class/RemoteEvent) and other objects which are useful to both server-side [Script](https://developer.roblox.com/en-us/api-reference/class/Script)s and client-side [LocalScript](https://developer.roblox.com/en-us/api-reference/class/LocalScript)s. [Script](https://developer.roblox.com/en-us/api-reference/class/Script) and [LocalScript](https://developer.roblox.com/en-us/api-reference/class/LocalScript) objects will not run if they are parented to this service even if they are not [Disabled](https://developer.roblox.com/en-us/api-reference/property/BaseScript/Disabled).
27614
27593
  *
27615
27594
  * If a [ModuleScript](https://developer.roblox.com/en-us/api-reference/class/ModuleScript) within this service is required by any other script, it will run as normal. Such modules will typically house code that is shared by the server and client. Server-side [Script](https://developer.roblox.com/en-us/api-reference/class/Script) that should run on their own should be parented to [ServerScriptService](https://developer.roblox.com/en-us/api-reference/class/ServerScriptService) instead. Client-side [LocalScript](https://developer.roblox.com/en-us/api-reference/class/LocalScript) have various other locations where they will eventually be run on a [Player](https://developer.roblox.com/en-us/api-reference/class/Player) client: [StarterPlayerScripts](https://developer.roblox.com/en-us/api-reference/class/StarterPlayerScripts), [StarterCharacterScripts](https://developer.roblox.com/en-us/api-reference/class/StarterCharacterScripts) or [StarterGui](https://developer.roblox.com/en-us/api-reference/class/StarterGui).
@@ -28068,17 +28047,6 @@ interface ScriptCloneWatcherHelper extends Instance {
28068
28047
  readonly _nominal_ScriptCloneWatcherHelper: unique symbol;
28069
28048
  }
28070
28049
 
28071
- interface ScriptCloneWatcherHelperV2 extends Instance {
28072
- /**
28073
- * **DO NOT USE!**
28074
- *
28075
- * This field exists to force TypeScript to recognize this as a nominal type
28076
- * @hidden
28077
- * @deprecated
28078
- */
28079
- readonly _nominal_ScriptCloneWatcherHelperV2: unique symbol;
28080
- }
28081
-
28082
28050
  /** This service controls all [BaseScript](https://developer.roblox.com/en-us/api-reference/class/BaseScript) objects. Most of the properties and methods of this service are locked for internal use, however you may use the [ScriptContext.ScriptsDisabled](https://developer.roblox.com/en-us/api-reference/property/ScriptContext/ScriptsDisabled) property to disable all scripts from a thread with normal security access. */
28083
28051
  interface ScriptContext extends Instance {
28084
28052
  /**
@@ -28669,6 +28637,17 @@ interface Smoke extends Instance {
28669
28637
  TimeScale: number;
28670
28638
  }
28671
28639
 
28640
+ interface SnippetService extends Instance {
28641
+ /**
28642
+ * **DO NOT USE!**
28643
+ *
28644
+ * This field exists to force TypeScript to recognize this as a nominal type
28645
+ * @hidden
28646
+ * @deprecated
28647
+ */
28648
+ readonly _nominal_SnippetService: unique symbol;
28649
+ }
28650
+
28672
28651
  /** SocialService facilitates social functions that impact relationships made on the Roblox platform.
28673
28652
  * Developers are able to [prompt](https://developer.roblox.com/en-us/api-reference/function/SocialService/PromptGameInvite) their players to send game invitation requests to players' friends and leverage signals when users invite their friends to their games
28674
28653
  *
@@ -33097,10 +33076,6 @@ interface UserGameSettings extends Instance {
33097
33076
  * Describes how sensitive the camera is when using a gamepad.
33098
33077
  */
33099
33078
  GamepadCameraSensitivity: number;
33100
- /**
33101
- * A [float](https://developer.roblox.com/articles/Numbers "Float") between 0 and 1 representing the volume of the game's client.
33102
- */
33103
- MasterVolume: number;
33104
33079
  /**
33105
33080
  * A [float](https://developer.roblox.com/articles/Numbers "Float") between 0 and 100 representing the sensitivity of the client's mouse.
33106
33081
  */
@@ -771,16 +771,6 @@ interface GameSettings extends Instance {
771
771
  * @deprecated
772
772
  */
773
773
  readonly _nominal_GameSettings: unique symbol;
774
- /**
775
- * Used internally by Roblox to add additional CoreScript loading directories.
776
- *
777
- * The value of this string should be full paths to each directory, separated only by semicolons (`;`)
778
- */
779
- readonly AdditionalCoreIncludeDirs: string;
780
- /**
781
- * Describes a path to a .lua file that will be ran in place of the default StarterScript.
782
- */
783
- readonly OverrideStarterScript: string;
784
774
  /**
785
775
  * Toggles whether or not video capture is enabled.
786
776
  */
@@ -3257,6 +3247,7 @@ interface Studio extends Instance {
3257
3247
  * Tags: NotReplicated
3258
3248
  */
3259
3249
  ["Luau Keyword Color"]: Color3;
3250
+ readonly ["Main Volume"]: number;
3260
3251
  /**
3261
3252
  * Tags: NotReplicated
3262
3253
  */
@@ -3281,15 +3272,6 @@ interface Studio extends Instance {
3281
3272
  ["Operator Color"]: Color3;
3282
3273
  ["Output Font"]: QFont;
3283
3274
  ["Output Layout Mode"]: Enum.OutputLayoutMode;
3284
- /**
3285
- * If set to true, the [Studio.OverrideCoreScriptsDir](https://developer.roblox.com/en-us/api-reference/property/Studio/OverrideCoreScriptsDir) will be used for CoreScripts in Roblox Studio, instead of the default `rbxasset://scripts` directory.
3286
- */
3287
- readonly OverrideCoreScripts: boolean;
3288
- /**
3289
- * The directory used when overriding core scripts.
3290
- * This should point to a clone of [Roblox's CoreScript GitHub repository](https://github.com/ROBLOX/Core-Scripts).
3291
- */
3292
- readonly OverrideCoreScriptsDir: QDir;
3293
3275
  /**
3294
3276
  * Sets the highest permission level that APIs have to have in order to be shown in the Object Browser.
3295
3277
  * See [PermissionLevelShown](https://developer.roblox.com/en-us/api-reference/enum/PermissionLevelShown) for more info.
@@ -3373,7 +3355,7 @@ interface Studio extends Instance {
3373
3355
  ["Show Hidden Objects in Explorer"]: boolean;
3374
3356
  ["Show Hover Over"]: boolean;
3375
3357
  readonly ["Show Light Guides"]: boolean;
3376
- readonly ["Show Navigation Areas"]: boolean;
3358
+ readonly ["Show Navigation Labels"]: boolean;
3377
3359
  ["Show Navigation Mesh"]: boolean;
3378
3360
  readonly ["Show Pathfinding Links"]: boolean;
3379
3361
  ["Show Plugin GUI Service in Explorer"]: boolean;
@@ -9314,9 +9314,17 @@ declare namespace Enum {
9314
9314
 
9315
9315
  export const Roblox_findColor3: Roblox_findColor3;
9316
9316
 
9317
+ export interface Roblox_patchSnippetData {
9318
+ Name: "Roblox_patchSnippetData";
9319
+ Value: 27;
9320
+ EnumType: EnumType<LSPMethodType>;
9321
+ }
9322
+
9323
+ export const Roblox_patchSnippetData: Roblox_patchSnippetData;
9324
+
9317
9325
  export function GetEnumItems(this: defined): Array<LSPMethodType>
9318
9326
  }
9319
- export type LSPMethodType = LSPMethodType.Initialize | LSPMethodType.Initialized | LSPMethodType.CancelRequest | LSPMethodType.TextDocument_didOpen | LSPMethodType.TextDocument_didChange | LSPMethodType.TextDocument_didClose | LSPMethodType.TextDocument_foldingRange | LSPMethodType.TextDocument_onTypeFormatting | LSPMethodType.TextDocument_formatting | LSPMethodType.TextDocument_rangeFormatting | LSPMethodType.TextDocument_hover | LSPMethodType.TextDocument_signatureHelp | LSPMethodType.Workspace_DidChangeConfiguration | LSPMethodType.ShutdownRequest | LSPMethodType.Completion | LSPMethodType.Declaration | LSPMethodType.DocumentSymbols | LSPMethodType.TextDocument_publishDiagnostics | LSPMethodType.Window_showMessage | LSPMethodType.Window_showMessageRequest | LSPMethodType.Roblox_registerSyntaxCategories | LSPMethodType.Roblox_signalQuiescence | LSPMethodType.Roblox_syntaxHighlight | LSPMethodType.Roblox_suggestExtraSelections | LSPMethodType.Roblox_findExecutablePosition | LSPMethodType.Roblox_findColor3;
9327
+ export type LSPMethodType = LSPMethodType.Initialize | LSPMethodType.Initialized | LSPMethodType.CancelRequest | LSPMethodType.TextDocument_didOpen | LSPMethodType.TextDocument_didChange | LSPMethodType.TextDocument_didClose | LSPMethodType.TextDocument_foldingRange | LSPMethodType.TextDocument_onTypeFormatting | LSPMethodType.TextDocument_formatting | LSPMethodType.TextDocument_rangeFormatting | LSPMethodType.TextDocument_hover | LSPMethodType.TextDocument_signatureHelp | LSPMethodType.Workspace_DidChangeConfiguration | LSPMethodType.ShutdownRequest | LSPMethodType.Completion | LSPMethodType.Declaration | LSPMethodType.DocumentSymbols | LSPMethodType.TextDocument_publishDiagnostics | LSPMethodType.Window_showMessage | LSPMethodType.Window_showMessageRequest | LSPMethodType.Roblox_registerSyntaxCategories | LSPMethodType.Roblox_signalQuiescence | LSPMethodType.Roblox_syntaxHighlight | LSPMethodType.Roblox_suggestExtraSelections | LSPMethodType.Roblox_findExecutablePosition | LSPMethodType.Roblox_findColor3 | LSPMethodType.Roblox_patchSnippetData;
9320
9328
  export namespace Language {
9321
9329
  export interface Default {
9322
9330
  Name: "Default";
@@ -10945,6 +10953,34 @@ declare namespace Enum {
10945
10953
  export function GetEnumItems(this: defined): Array<PermissionLevelShown>
10946
10954
  }
10947
10955
  export type PermissionLevelShown = PermissionLevelShown.Game | PermissionLevelShown.RobloxGame | PermissionLevelShown.RobloxScript | PermissionLevelShown.Studio | PermissionLevelShown.Roblox;
10956
+ export namespace PhysicsInertiaAndVolumeFix {
10957
+ export interface Default {
10958
+ Name: "Default";
10959
+ Value: 0;
10960
+ EnumType: EnumType<PhysicsInertiaAndVolumeFix>;
10961
+ }
10962
+
10963
+ export const Default: Default;
10964
+
10965
+ export interface Disabled {
10966
+ Name: "Disabled";
10967
+ Value: 1;
10968
+ EnumType: EnumType<PhysicsInertiaAndVolumeFix>;
10969
+ }
10970
+
10971
+ export const Disabled: Disabled;
10972
+
10973
+ export interface Enabled {
10974
+ Name: "Enabled";
10975
+ Value: 2;
10976
+ EnumType: EnumType<PhysicsInertiaAndVolumeFix>;
10977
+ }
10978
+
10979
+ export const Enabled: Enabled;
10980
+
10981
+ export function GetEnumItems(this: defined): Array<PhysicsInertiaAndVolumeFix>
10982
+ }
10983
+ export type PhysicsInertiaAndVolumeFix = PhysicsInertiaAndVolumeFix.Default | PhysicsInertiaAndVolumeFix.Disabled | PhysicsInertiaAndVolumeFix.Enabled;
10948
10984
  export namespace PhysicsSimulationRate {
10949
10985
  export interface Fixed240Hz {
10950
10986
  Name: "Fixed240Hz";
@@ -16437,6 +16473,34 @@ declare namespace Enum {
16437
16473
  export function GetEnumItems(this: defined): Array<WaterForce>
16438
16474
  }
16439
16475
  export type WaterForce = WaterForce.None | WaterForce.Small | WaterForce.Medium | WaterForce.Strong | WaterForce.Max;
16476
+ export namespace WrapLayerAutoSkin {
16477
+ export interface Disabled {
16478
+ Name: "Disabled";
16479
+ Value: 0;
16480
+ EnumType: EnumType<WrapLayerAutoSkin>;
16481
+ }
16482
+
16483
+ export const Disabled: Disabled;
16484
+
16485
+ export interface EnabledPreserve {
16486
+ Name: "EnabledPreserve";
16487
+ Value: 1;
16488
+ EnumType: EnumType<WrapLayerAutoSkin>;
16489
+ }
16490
+
16491
+ export const EnabledPreserve: EnabledPreserve;
16492
+
16493
+ export interface EnabledOverride {
16494
+ Name: "EnabledOverride";
16495
+ Value: 2;
16496
+ EnumType: EnumType<WrapLayerAutoSkin>;
16497
+ }
16498
+
16499
+ export const EnabledOverride: EnabledOverride;
16500
+
16501
+ export function GetEnumItems(this: defined): Array<WrapLayerAutoSkin>
16502
+ }
16503
+ export type WrapLayerAutoSkin = WrapLayerAutoSkin.Disabled | WrapLayerAutoSkin.EnabledPreserve | WrapLayerAutoSkin.EnabledOverride;
16440
16504
  export namespace WrapLayerDebugMode {
16441
16505
  export interface None {
16442
16506
  Name: "None";
package/include/lua.d.ts CHANGED
@@ -306,6 +306,15 @@ declare namespace debug {
306
306
  : T extends `${infer A}${infer _}`
307
307
  ? LuaTuple<TS.InfoFlags<[A]>>
308
308
  : LuaTuple<[unknown, unknown, unknown, unknown, unknown]>;
309
+
310
+ /**
311
+ * Assigns a custom tag name to the current thread's memory category in the Developer Console. Useful for analyzing memory usage of multiple threads in the same script which would otherwise be grouped together under the same tag/name.
312
+ */
313
+ function setmemorycategory(tag: string): void;
314
+ /**
315
+ * Resets the tag assigned by `debug.setmemorycategory` to the automatically assigned value (typically, the script name).
316
+ */
317
+ function resetmemorycategory(): void;
309
318
  }
310
319
 
311
320
  interface String {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/types",
3
- "version": "1.0.589",
3
+ "version": "1.0.592",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },