@rbxts/types 1.0.685 → 1.0.687

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.
@@ -94,6 +94,7 @@ interface Services {
94
94
  ScriptChangeService: ScriptChangeService;
95
95
  ScriptCloneWatcher: ScriptCloneWatcher;
96
96
  ScriptCloneWatcherHelper: ScriptCloneWatcherHelper;
97
+ ScriptCommitService: ScriptCommitService;
97
98
  ScriptContext: ScriptContext;
98
99
  ScriptEditorService: ScriptEditorService;
99
100
  ScriptRegistrationService: ScriptRegistrationService;
@@ -117,6 +118,7 @@ interface Services {
117
118
  StudioPublishService: StudioPublishService;
118
119
  StudioScriptDebugEventListener: StudioScriptDebugEventListener;
119
120
  StudioSdkService: StudioSdkService;
121
+ StylingService: StylingService;
120
122
  TeamCreateData: TeamCreateData;
121
123
  TeamCreatePublishService: TeamCreatePublishService;
122
124
  TeamCreateService: TeamCreateService;
@@ -199,7 +201,6 @@ interface CreatableInstances {
199
201
  ControllerManager: ControllerManager;
200
202
  ControllerPartSensor: ControllerPartSensor;
201
203
  CornerWedgePart: CornerWedgePart;
202
- CSGOptions: CSGOptions;
203
204
  CurveAnimation: CurveAnimation;
204
205
  CylinderHandleAdornment: CylinderHandleAdornment;
205
206
  CylinderMesh: CylinderMesh;
@@ -322,6 +323,10 @@ interface CreatableInstances {
322
323
  SpringConstraint: SpringConstraint;
323
324
  StarterGear: StarterGear;
324
325
  StringValue: StringValue;
326
+ StyleDerive: StyleDerive;
327
+ StyleLink: StyleLink;
328
+ StyleRule: StyleRule;
329
+ StyleSheet: StyleSheet;
325
330
  SunRaysEffect: SunRaysEffect;
326
331
  SurfaceAppearance: SurfaceAppearance;
327
332
  SurfaceGui: SurfaceGui;
@@ -512,6 +517,7 @@ interface Instances extends Services, CreatableInstances, AbstractInstances {
512
517
  StandardPages: StandardPages;
513
518
  StarterCharacterScripts: StarterCharacterScripts;
514
519
  StarterPlayerScripts: StarterPlayerScripts;
520
+ StyleBase: StyleBase;
515
521
  SurfaceGuiBase: SurfaceGuiBase;
516
522
  SyncScriptBuilder: SyncScriptBuilder;
517
523
  TeleportAsyncResult: TeleportAsyncResult;
@@ -1244,11 +1250,6 @@ interface AdPortal extends Instance {
1244
1250
  * @deprecated
1245
1251
  */
1246
1252
  readonly _nominal_AdPortal: unique symbol;
1247
- /**
1248
- * Tags: ReadOnly, NotReplicated, Deprecated
1249
- * @deprecated
1250
- */
1251
- readonly PortalStatus: Enum.AdPortalStatus;
1252
1253
  /**
1253
1254
  * Tags: ReadOnly, NotReplicated
1254
1255
  */
@@ -5432,17 +5433,6 @@ interface BulkImportService extends Instance {
5432
5433
  readonly _nominal_BulkImportService: unique symbol;
5433
5434
  }
5434
5435
 
5435
- interface CSGOptions extends Instance {
5436
- /**
5437
- * **DO NOT USE!**
5438
- *
5439
- * This field exists to force TypeScript to recognize this as a nominal type
5440
- * @hidden
5441
- * @deprecated
5442
- */
5443
- readonly _nominal_CSGOptions: unique symbol;
5444
- }
5445
-
5446
5436
  interface CalloutService extends Instance {
5447
5437
  /**
5448
5438
  * **DO NOT USE!**
@@ -5714,6 +5704,7 @@ interface Camera extends Instance {
5714
5704
  * Tags: ReadOnly, NotReplicated
5715
5705
  */
5716
5706
  readonly NearPlaneZ: number;
5707
+ VRTiltAndRollEnabled: boolean;
5717
5708
  /**
5718
5709
  * ViewportSize describes the dimensions, in pixels, of the client's viewport.
5719
5710
  *
@@ -6635,6 +6626,7 @@ interface CollectionService extends Instance {
6635
6626
  * **Warning:** When tagging an object, it is common that some resources are used to give the tag its functionality, e.g. event connections or tables. To prevent memory leaks, it is a good idea to clean these up (disconnect, set to nil, etc) when no longer needed for a tag. Do this when calling [CollectionService:RemoveTag](https://developer.roblox.com/en-us/api-reference/function/CollectionService/RemoveTag), calling [Instance:Destroy](https://developer.roblox.com/en-us/api-reference/function/Instance/Destroy) or in a function connected to a signal returned by [CollectionService:GetInstanceRemovedSignal](https://developer.roblox.com/en-us/api-reference/function/CollectionService/GetInstanceRemovedSignal).
6636
6627
  */
6637
6628
  AddTag(this: CollectionService, instance: Instance, tag: string): void;
6629
+ AddTag(this: Instance, tag: string): void;
6638
6630
  GetAllTags(this: CollectionService): unknown;
6639
6631
  /**
6640
6632
  * GetInstanceAdded is given a tag (a string) and returns a signal which fires under two conditions:
@@ -6677,6 +6669,7 @@ interface CollectionService extends Instance {
6677
6669
  * This method is useful when you want to do something with multiple tags at once on an object. However, it would be inefficient to use this method to check for the existence of a single tag. For this, use [CollectionService:HasTag](https://developer.roblox.com/en-us/api-reference/function/CollectionService/HasTag) to check for a single tag.
6678
6670
  */
6679
6671
  GetTags(this: CollectionService, instance: Instance): Array<string>;
6672
+ GetTags(this: Instance): Array<string>;
6680
6673
  /**
6681
6674
  * HasTag returns whether a given object has a tag
6682
6675
  *
@@ -6686,12 +6679,14 @@ interface CollectionService extends Instance {
6686
6679
  * By extension, any tags returned by a call to `CollectionServiec/GetTags` on an object will return true when used with this method.
6687
6680
  */
6688
6681
  HasTag(this: CollectionService, instance: Instance, tag: string): boolean;
6682
+ HasTag(this: Instance, tag: string): boolean;
6689
6683
  /**
6690
6684
  * RemoveTag will remove some tag from some object. This method will not throw an error if the object did not have the tag in the first place. Successfully removing a tag will fire a signal created by [CollectionService:GetInstanceRemovedSignal](https://developer.roblox.com/en-us/api-reference/function/CollectionService/GetInstanceRemovedSignal) with the given tag.
6691
6685
  *
6692
6686
  * When removing a tag, it is common that some resources are used to give the tag its functionality, e.g. event connections or tables. To prevent memory leaks, it is a good idea to clean these up (disconnect, set to nil, etc) when no longer needed for a tag.
6693
6687
  */
6694
6688
  RemoveTag(this: CollectionService, instance: Instance, tag: string): void;
6689
+ RemoveTag(this: Instance, tag: string): void;
6695
6690
  /**
6696
6691
  * This function fires when a [Configuration](https://developer.roblox.com/en-us/api-reference/class/Configuration), [CustomEvent](https://developer.roblox.com/en-us/api-reference/class/CustomEvent), [CustomEventReceiver](https://developer.roblox.com/en-us/api-reference/class/CustomEventReceiver), [Dialog](https://developer.roblox.com/en-us/api-reference/class/Dialog), or [VehicleSeat](https://developer.roblox.com/en-us/api-reference/class/VehicleSeat) is added to the [DataModel](https://developer.roblox.com/en-us/api-reference/class/DataModel).
6697
6692
  * Tags: Deprecated, [object Object]
@@ -24348,6 +24343,7 @@ interface VehicleSeat extends BasePart {
24348
24343
  readonly Occupant: Humanoid | undefined;
24349
24344
  /**
24350
24345
  * The direction of movement, tied to the keys A and D. Must be one of 1 (right), 0 (straight), or -1 (left). Will refresh back to 0 unless constantly set.
24346
+ * Tags: NotReplicated
24351
24347
  */
24352
24348
  Steer: number;
24353
24349
  /**
@@ -24356,6 +24352,7 @@ interface VehicleSeat extends BasePart {
24356
24352
  SteerFloat: number;
24357
24353
  /**
24358
24354
  * The direction of movement, tied to the keys W and S. Must be an integer 1 (forward) 0 (null) or -1 (reverse). Will refresh back to 0 unless constantly set.
24355
+ * Tags: NotReplicated
24359
24356
  */
24360
24357
  Throttle: number;
24361
24358
  /**
@@ -29119,6 +29116,17 @@ interface ScriptCloneWatcherHelper extends Instance {
29119
29116
  readonly _nominal_ScriptCloneWatcherHelper: unique symbol;
29120
29117
  }
29121
29118
 
29119
+ interface ScriptCommitService extends Instance {
29120
+ /**
29121
+ * **DO NOT USE!**
29122
+ *
29123
+ * This field exists to force TypeScript to recognize this as a nominal type
29124
+ * @hidden
29125
+ * @deprecated
29126
+ */
29127
+ readonly _nominal_ScriptCommitService: unique symbol;
29128
+ }
29129
+
29122
29130
  /** 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. */
29123
29131
  interface ScriptContext extends Instance {
29124
29132
  /**
@@ -29899,6 +29907,7 @@ interface SocialService extends Instance {
29899
29907
  * Before using this function, you should use the [CanSendGameInviteAsync](https://developer.roblox.com/en-us/api-reference/function/SocialService/CanSendGameInviteAsync) function to determine whether a player can send a game invite, as this can vary depending on the platform or player. After determining that invites are possible for this player, allow the player to opt-in to inviting others. For example, the player clicked on an “Invite Friends” button, shown after `CanSendGameInviteAsync` returned true.\`
29900
29908
  */
29901
29909
  PromptGameInvite(this: SocialService, player: Player, experienceInviteOptions?: ExperienceInviteOptions): void;
29910
+ PromptIrisInvite(this: SocialService, player: Player, tag: string): void;
29902
29911
  /**
29903
29912
  * **CanSendGameInviteAsync** indicates whether the given [Player](https://developer.roblox.com/en-us/api-reference/class/Player) can invite other players to the current game. If they can, it returns true.
29904
29913
  *
@@ -29906,6 +29915,10 @@ interface SocialService extends Instance {
29906
29915
  * Tags: Yields
29907
29916
  */
29908
29917
  CanSendGameInviteAsync(this: SocialService, player: Player, recipientId?: number): boolean;
29918
+ /**
29919
+ * Tags: Yields
29920
+ */
29921
+ CanSendIrisInviteAsync(this: SocialService, player: Player): boolean;
29909
29922
  /**
29910
29923
  * This event is a signal invoked when a player has closed the game invite prompt and batches all users and conversation participants into a single array. This prompt can be prompted by the developer or accessed from the SettingsHub menu.
29911
29924
  *
@@ -29931,6 +29944,8 @@ interface SocialService extends Instance {
29931
29944
  * * [SocialService:CanSendGameInviteAsync](https://developer.roblox.com/en-us/api-reference/function/SocialService/CanSendGameInviteAsync), returns true or false depending on the user
29932
29945
  */
29933
29946
  readonly GameInvitePromptClosed: RBXScriptSignal<(senderPlayer: Player, recipientIds: Array<number>) => void>;
29947
+ readonly IrisInvitePromptClosed: RBXScriptSignal<(player: Player) => void>;
29948
+ OnIrisInviteInvoked: (tag: string, irisParticipantIds: Array<any>) => void;
29934
29949
  }
29935
29950
 
29936
29951
  /** A [Sound](https://developer.roblox.com/en-us/api-reference/class/Sound) is an object that emits sound. See [Adding Sounds](https://developer.roblox.com/en-us/articles/adding-sounds) for more info on how to upload a sound file.
@@ -31535,6 +31550,77 @@ interface StudioSdkService extends Instance {
31535
31550
  readonly _nominal_StudioSdkService: unique symbol;
31536
31551
  }
31537
31552
 
31553
+ interface StyleBase extends Instance {
31554
+ /**
31555
+ * **DO NOT USE!**
31556
+ *
31557
+ * This field exists to force TypeScript to recognize this as a nominal type
31558
+ * @hidden
31559
+ * @deprecated
31560
+ */
31561
+ readonly _nominal_StyleBase: unique symbol;
31562
+ }
31563
+
31564
+ interface StyleRule extends StyleBase {
31565
+ /**
31566
+ * **DO NOT USE!**
31567
+ *
31568
+ * This field exists to force TypeScript to recognize this as a nominal type
31569
+ * @hidden
31570
+ * @deprecated
31571
+ */
31572
+ readonly _nominal_StyleRule: unique symbol;
31573
+ Selector: string;
31574
+ /**
31575
+ * Tags: ReadOnly, NotReplicated
31576
+ */
31577
+ readonly SelectorError: string;
31578
+ }
31579
+
31580
+ interface StyleSheet extends StyleBase {
31581
+ /**
31582
+ * **DO NOT USE!**
31583
+ *
31584
+ * This field exists to force TypeScript to recognize this as a nominal type
31585
+ * @hidden
31586
+ * @deprecated
31587
+ */
31588
+ readonly _nominal_StyleSheet: unique symbol;
31589
+ }
31590
+
31591
+ interface StyleDerive extends Instance {
31592
+ /**
31593
+ * **DO NOT USE!**
31594
+ *
31595
+ * This field exists to force TypeScript to recognize this as a nominal type
31596
+ * @hidden
31597
+ * @deprecated
31598
+ */
31599
+ readonly _nominal_StyleDerive: unique symbol;
31600
+ }
31601
+
31602
+ interface StyleLink extends Instance {
31603
+ /**
31604
+ * **DO NOT USE!**
31605
+ *
31606
+ * This field exists to force TypeScript to recognize this as a nominal type
31607
+ * @hidden
31608
+ * @deprecated
31609
+ */
31610
+ readonly _nominal_StyleLink: unique symbol;
31611
+ }
31612
+
31613
+ interface StylingService extends Instance {
31614
+ /**
31615
+ * **DO NOT USE!**
31616
+ *
31617
+ * This field exists to force TypeScript to recognize this as a nominal type
31618
+ * @hidden
31619
+ * @deprecated
31620
+ */
31621
+ readonly _nominal_StylingService: unique symbol;
31622
+ }
31623
+
31538
31624
  /** SurfaceAppearance objects allow developers to override the appearance of a [MeshPart](https://developer.roblox.com/en-us/api-reference/class/MeshPart) with advanced graphics options. Most notably, a SurfaceAppearance can apply a set of PBR textures to a mesh.
31539
31625
  *
31540
31626
  * PBR is short for Physically Based Rendering, which refers to a common texture format for defining extra physical details in games. Because this format is widely used, it's easy to take meshes and textures made in 3rd party editing software and import them into Roblox. It's also easy to find PBR format content from various 3rd party stores such as [SketchFab](https://sketchfab.com/search?q=pbr%20object&sort_by=-relevance&type=models), [TurboSquid](https://www.turbosquid.com/Search/3D-Models/free/pbr), [CGTrader](http://cgtrader.com/pbr-3d-models?polygons=lt_5k).
@@ -2472,6 +2472,7 @@ interface RenderingTest extends Instance {
2472
2472
  QualityLevel: number;
2473
2473
  ShouldSkip: boolean;
2474
2474
  Ticket: string;
2475
+ Timeout: number;
2475
2476
  RenderdocTriggerCapture(this: RenderingTest): void;
2476
2477
  }
2477
2478
 
@@ -3102,7 +3103,6 @@ interface Studio extends Instance {
3102
3103
  * If set to true, deprecated objects will be shown in the Advanced Objects window, as well as the Object Browser.
3103
3104
  */
3104
3105
  DeprecatedObjectsShown: boolean;
3105
- ["Display Team Create toggle when creating a new experience"]: boolean;
3106
3106
  ["Drag Multiple Parts As Single Part"]: boolean;
3107
3107
  ["Enable Autocomplete"]: boolean;
3108
3108
  ["Enable CoreScript Debugger"]: boolean;
@@ -3115,7 +3115,6 @@ interface Studio extends Instance {
3115
3115
  * Tags: NotReplicated
3116
3116
  */
3117
3117
  ["Error Color"]: Color3;
3118
- ["File > New creates a place with Team Create off"]: boolean;
3119
3118
  /**
3120
3119
  * Tags: NotReplicated
3121
3120
  */
@@ -291,35 +291,6 @@ declare namespace Enum {
291
291
  }
292
292
  export type ActuatorType = ActuatorType.None | ActuatorType.Motor | ActuatorType.Servo;
293
293
 
294
- export namespace AdPortalStatus {
295
- export interface Invalid extends globalThis.EnumItem {
296
- Name: "Invalid";
297
- Value: 0;
298
- EnumType: typeof globalThis.Enum.AdPortalStatus;
299
- }
300
-
301
- export const Invalid: Invalid;
302
-
303
- export interface Inactive extends globalThis.EnumItem {
304
- Name: "Inactive";
305
- Value: 1;
306
- EnumType: typeof globalThis.Enum.AdPortalStatus;
307
- }
308
-
309
- export const Inactive: Inactive;
310
-
311
- export interface Active extends globalThis.EnumItem {
312
- Name: "Active";
313
- Value: 2;
314
- EnumType: typeof globalThis.Enum.AdPortalStatus;
315
- }
316
-
317
- export const Active: Active;
318
-
319
- export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.AdPortalStatus>;
320
- }
321
- export type AdPortalStatus = AdPortalStatus.Invalid | AdPortalStatus.Inactive | AdPortalStatus.Active;
322
-
323
294
  export namespace AdPortalType {
324
295
  export interface Forward extends globalThis.EnumItem {
325
296
  Name: "Forward";
@@ -17790,9 +17761,17 @@ declare namespace Enum {
17790
17761
 
17791
17762
  export const AudioNoPermission: AudioNoPermission;
17792
17763
 
17764
+ export interface UnsupportedDevice extends globalThis.EnumItem {
17765
+ Name: "UnsupportedDevice";
17766
+ Value: 10;
17767
+ EnumType: typeof globalThis.Enum.TrackerError;
17768
+ }
17769
+
17770
+ export const UnsupportedDevice: UnsupportedDevice;
17771
+
17793
17772
  export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.TrackerError>;
17794
17773
  }
17795
- export type TrackerError = TrackerError.Ok | TrackerError.NoService | TrackerError.InitFailed | TrackerError.NoVideo | TrackerError.VideoError | TrackerError.VideoNoPermission | TrackerError.VideoUnsupported | TrackerError.NoAudio | TrackerError.AudioError | TrackerError.AudioNoPermission;
17774
+ export type TrackerError = TrackerError.Ok | TrackerError.NoService | TrackerError.InitFailed | TrackerError.NoVideo | TrackerError.VideoError | TrackerError.VideoNoPermission | TrackerError.VideoUnsupported | TrackerError.NoAudio | TrackerError.AudioError | TrackerError.AudioNoPermission | TrackerError.UnsupportedDevice;
17796
17775
 
17797
17776
  export namespace TrackerExtrapolationFlagMode {
17798
17777
  export interface Auto extends globalThis.EnumItem {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/types",
3
- "version": "1.0.685",
3
+ "version": "1.0.687",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },