@rbxts/types 1.0.837 → 1.0.839

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.
@@ -267,6 +267,7 @@ interface CreatableInstances {
267
267
  AudioPlayer: AudioPlayer;
268
268
  AudioReverb: AudioReverb;
269
269
  AudioSearchParams: AudioSearchParams;
270
+ AudioTextToSpeech: AudioTextToSpeech;
270
271
  AuroraScript: AuroraScript;
271
272
  Backpack: Backpack;
272
273
  BallSocketConstraint: BallSocketConstraint;
@@ -355,6 +356,7 @@ interface CreatableInstances {
355
356
  Humanoid: Humanoid;
356
357
  HumanoidController: HumanoidController;
357
358
  HumanoidDescription: HumanoidDescription;
359
+ HumanoidRigDescription: HumanoidRigDescription;
358
360
  IKControl: IKControl;
359
361
  ImageButton: ImageButton;
360
362
  ImageHandleAdornment: ImageHandleAdornment;
@@ -716,9 +718,11 @@ interface Instances extends Services, CreatableInstances {
716
718
  WorldRoot: WorldRoot;
717
719
  }
718
720
  interface Objects extends Instances {
721
+ Capture: Capture;
719
722
  EditableImage: EditableImage;
720
723
  EditableMesh: EditableMesh;
721
724
  Object: RBXObject;
725
+ ScreenshotCapture: ScreenshotCapture;
722
726
  }
723
727
  // GENERATED ROBLOX INSTANCE CLASSES
724
728
  /**
@@ -738,6 +742,36 @@ interface RBXObject {
738
742
  */
739
743
  readonly _nominal_Object: unique symbol;
740
744
  }
745
+ /**
746
+ * - **Tags**: NotCreatable, NotReplicated
747
+ *
748
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/Capture)
749
+ */
750
+ interface Capture extends RBXObject {
751
+ /**
752
+ * **DO NOT USE!**
753
+ *
754
+ * This field exists to force TypeScript to recognize this as a nominal type
755
+ * @hidden
756
+ * @deprecated
757
+ */
758
+ readonly _nominal_Capture: unique symbol;
759
+ }
760
+ /**
761
+ * - **Tags**: NotCreatable, NotReplicated
762
+ *
763
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/ScreenshotCapture)
764
+ */
765
+ interface ScreenshotCapture extends Capture {
766
+ /**
767
+ * **DO NOT USE!**
768
+ *
769
+ * This field exists to force TypeScript to recognize this as a nominal type
770
+ * @hidden
771
+ * @deprecated
772
+ */
773
+ readonly _nominal_ScreenshotCapture: unique symbol;
774
+ }
741
775
  /**
742
776
  * Instance which allows for the runtime creation and manipulation of images.
743
777
  *
@@ -1146,7 +1180,7 @@ interface AnimationStreamTrack extends Instance {
1146
1180
  readonly _nominal_AnimationStreamTrack: unique symbol;
1147
1181
  }
1148
1182
  /**
1149
- * Controls the playback of an animation on an `AnimationController`.
1183
+ * Controls the playback of an animation on an `Animator`.
1150
1184
  *
1151
1185
  * - **Tags**: NotCreatable
1152
1186
  *
@@ -1727,6 +1761,19 @@ interface AudioSearchParams extends Instance {
1727
1761
  */
1728
1762
  readonly _nominal_AudioSearchParams: unique symbol;
1729
1763
  }
1764
+ /**
1765
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/AudioTextToSpeech)
1766
+ */
1767
+ interface AudioTextToSpeech extends Instance {
1768
+ /**
1769
+ * **DO NOT USE!**
1770
+ *
1771
+ * This field exists to force TypeScript to recognize this as a nominal type
1772
+ * @hidden
1773
+ * @deprecated
1774
+ */
1775
+ readonly _nominal_AudioTextToSpeech: unique symbol;
1776
+ }
1730
1777
  /**
1731
1778
  * - **Tags**: NotCreatable, Service
1732
1779
  *
@@ -6303,6 +6350,8 @@ interface HeapProfilerService extends Instance {
6303
6350
  * - **Tags**: Yields
6304
6351
  *
6305
6352
  * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/HeapProfilerService#ClientRequestDataAsync)
6353
+ * @param this
6354
+ * @param player
6306
6355
  */
6307
6356
  ClientRequestDataAsync(this: HeapProfilerService, player: Player): string;
6308
6357
  /**
@@ -6310,6 +6359,7 @@ interface HeapProfilerService extends Instance {
6310
6359
  * - **Tags**: Yields
6311
6360
  *
6312
6361
  * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/HeapProfilerService#ServerRequestDataAsync)
6362
+ * @param this
6313
6363
  */
6314
6364
  ServerRequestDataAsync(this: HeapProfilerService): string;
6315
6365
  /**
@@ -6437,6 +6487,19 @@ interface HumanoidDescription extends Instance {
6437
6487
  */
6438
6488
  readonly _nominal_HumanoidDescription: unique symbol;
6439
6489
  }
6490
+ /**
6491
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/HumanoidRigDescription)
6492
+ */
6493
+ interface HumanoidRigDescription extends Instance {
6494
+ /**
6495
+ * **DO NOT USE!**
6496
+ *
6497
+ * This field exists to force TypeScript to recognize this as a nominal type
6498
+ * @hidden
6499
+ * @deprecated
6500
+ */
6501
+ readonly _nominal_HumanoidRigDescription: unique symbol;
6502
+ }
6440
6503
  /**
6441
6504
  * Specifies a control to generate a procedural animation pose using Inverse Kinematics.
6442
6505
  *
@@ -5112,6 +5112,42 @@ declare namespace Enum {
5112
5112
  export function FromValue(this: globalThis.Enum, value: number): globalThis.Enum.CameraType | undefined;
5113
5113
  }
5114
5114
  export type CameraType = CameraType.Fixed | CameraType.Attach | CameraType.Watch | CameraType.Track | CameraType.Follow | CameraType.Custom | CameraType.Scriptable | CameraType.Orbital;
5115
+ /**
5116
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/CaptureUIHideMode)
5117
+ */
5118
+ export namespace CaptureUIHideMode {
5119
+ /**
5120
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/CaptureUIHideMode#All)
5121
+ */
5122
+ export interface All extends globalThis.EnumItem {
5123
+ Name: "All";
5124
+ Value: 0;
5125
+ EnumType: typeof globalThis.Enum.CaptureUIHideMode;
5126
+ }
5127
+ export const All: All;
5128
+ /**
5129
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/CaptureUIHideMode#None)
5130
+ */
5131
+ export interface None extends globalThis.EnumItem {
5132
+ Name: "None";
5133
+ Value: 1;
5134
+ EnumType: typeof globalThis.Enum.CaptureUIHideMode;
5135
+ }
5136
+ export const None: None;
5137
+ /**
5138
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/CaptureUIHideMode#Core)
5139
+ */
5140
+ export interface Core extends globalThis.EnumItem {
5141
+ Name: "Core";
5142
+ Value: 2;
5143
+ EnumType: typeof globalThis.Enum.CaptureUIHideMode;
5144
+ }
5145
+ export const Core: Core;
5146
+ export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.CaptureUIHideMode>;
5147
+ export function FromName(this: globalThis.Enum, name: string): globalThis.Enum.CaptureUIHideMode | undefined;
5148
+ export function FromValue(this: globalThis.Enum, value: number): globalThis.Enum.CaptureUIHideMode | undefined;
5149
+ }
5150
+ export type CaptureUIHideMode = CaptureUIHideMode.All | CaptureUIHideMode.None | CaptureUIHideMode.Core;
5115
5151
  /**
5116
5152
  * [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/CatalogCategoryFilter)
5117
5153
  */
@@ -7233,6 +7269,24 @@ declare namespace Enum {
7233
7269
  EnumType: typeof globalThis.Enum.ConnectionError;
7234
7270
  }
7235
7271
  export const PhantomFreeze: PhantomFreeze;
7272
+ /**
7273
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/ConnectionError#AndroidAnticheatKick)
7274
+ */
7275
+ export interface AndroidAnticheatKick extends globalThis.EnumItem {
7276
+ Name: "AndroidAnticheatKick";
7277
+ Value: 304;
7278
+ EnumType: typeof globalThis.Enum.ConnectionError;
7279
+ }
7280
+ export const AndroidAnticheatKick: AndroidAnticheatKick;
7281
+ /**
7282
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/ConnectionError#AndroidEmulatorKick)
7283
+ */
7284
+ export interface AndroidEmulatorKick extends globalThis.EnumItem {
7285
+ Name: "AndroidEmulatorKick";
7286
+ Value: 305;
7287
+ EnumType: typeof globalThis.Enum.ConnectionError;
7288
+ }
7289
+ export const AndroidEmulatorKick: AndroidEmulatorKick;
7236
7290
  /**
7237
7291
  * [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/ConnectionError#PlacelaunchErrors)
7238
7292
  */
@@ -7462,7 +7516,7 @@ declare namespace Enum {
7462
7516
  export function FromName(this: globalThis.Enum, name: string): globalThis.Enum.ConnectionError | undefined;
7463
7517
  export function FromValue(this: globalThis.Enum, value: number): globalThis.Enum.ConnectionError | undefined;
7464
7518
  }
7465
- export type ConnectionError = ConnectionError.OK | ConnectionError.Unknown | ConnectionError.DisconnectErrors | ConnectionError.DisconnectBadhash | ConnectionError.DisconnectSecurityKeyMismatch | ConnectionError.DisconnectProtocolMismatch | ConnectionError.DisconnectReceivePacketError | ConnectionError.DisconnectReceivePacketStreamError | ConnectionError.DisconnectSendPacketError | ConnectionError.DisconnectIllegalTeleport | ConnectionError.DisconnectDuplicatePlayer | ConnectionError.DisconnectDuplicateTicket | ConnectionError.DisconnectTimeout | ConnectionError.DisconnectLuaKick | ConnectionError.DisconnectOnRemoteSysStats | ConnectionError.DisconnectHashTimeout | ConnectionError.DisconnectCloudEditKick | ConnectionError.DisconnectPlayerless | ConnectionError.DisconnectNewSecurityKeyMismatch | ConnectionError.DisconnectEvicted | ConnectionError.DisconnectDevMaintenance | ConnectionError.DisconnectRobloxMaintenance | ConnectionError.DisconnectRejoin | ConnectionError.DisconnectConnectionLost | ConnectionError.DisconnectIdle | ConnectionError.DisconnectRaknetErrors | ConnectionError.DisconnectWrongVersion | ConnectionError.DisconnectBySecurityPolicy | ConnectionError.DisconnectBlockedIP | ConnectionError.DisconnectClientFailure | ConnectionError.DisconnectClientRequest | ConnectionError.DisconnectPrivateServerKickout | ConnectionError.DisconnectModeratedGame | ConnectionError.ServerShutdown | ConnectionError.ReplicatorTimeout | ConnectionError.PlayerRemoved | ConnectionError.DisconnectOutOfMemoryKeepPlayingLeave | ConnectionError.DisconnectRomarkEndOfTest | ConnectionError.DisconnectCollaboratorPermissionRevoked | ConnectionError.DisconnectCollaboratorUnderage | ConnectionError.NetworkInternal | ConnectionError.NetworkSend | ConnectionError.NetworkTimeout | ConnectionError.NetworkMisbehavior | ConnectionError.NetworkSecurity | ConnectionError.ReplacementReady | ConnectionError.ServerEmpty | ConnectionError.PhantomFreeze | ConnectionError.PlacelaunchErrors | ConnectionError.PlacelaunchDisabled | ConnectionError.PlacelaunchError | ConnectionError.PlacelaunchGameEnded | ConnectionError.PlacelaunchGameFull | ConnectionError.PlacelaunchUserLeft | ConnectionError.PlacelaunchRestricted | ConnectionError.PlacelaunchUnauthorized | ConnectionError.PlacelaunchFlooded | ConnectionError.PlacelaunchHashExpired | ConnectionError.PlacelaunchHashException | ConnectionError.PlacelaunchPartyCannotFit | ConnectionError.PlacelaunchHttpError | ConnectionError.PlacelaunchUserPrivacyUnauthorized | ConnectionError.PlacelaunchCreatorBan | ConnectionError.PlacelaunchCustomMessage | ConnectionError.PlacelaunchOtherError | ConnectionError.TeleportErrors | ConnectionError.TeleportFailure | ConnectionError.TeleportGameNotFound | ConnectionError.TeleportGameEnded | ConnectionError.TeleportGameFull | ConnectionError.TeleportUnauthorized | ConnectionError.TeleportFlooded | ConnectionError.TeleportIsTeleporting;
7519
+ export type ConnectionError = ConnectionError.OK | ConnectionError.Unknown | ConnectionError.DisconnectErrors | ConnectionError.DisconnectBadhash | ConnectionError.DisconnectSecurityKeyMismatch | ConnectionError.DisconnectProtocolMismatch | ConnectionError.DisconnectReceivePacketError | ConnectionError.DisconnectReceivePacketStreamError | ConnectionError.DisconnectSendPacketError | ConnectionError.DisconnectIllegalTeleport | ConnectionError.DisconnectDuplicatePlayer | ConnectionError.DisconnectDuplicateTicket | ConnectionError.DisconnectTimeout | ConnectionError.DisconnectLuaKick | ConnectionError.DisconnectOnRemoteSysStats | ConnectionError.DisconnectHashTimeout | ConnectionError.DisconnectCloudEditKick | ConnectionError.DisconnectPlayerless | ConnectionError.DisconnectNewSecurityKeyMismatch | ConnectionError.DisconnectEvicted | ConnectionError.DisconnectDevMaintenance | ConnectionError.DisconnectRobloxMaintenance | ConnectionError.DisconnectRejoin | ConnectionError.DisconnectConnectionLost | ConnectionError.DisconnectIdle | ConnectionError.DisconnectRaknetErrors | ConnectionError.DisconnectWrongVersion | ConnectionError.DisconnectBySecurityPolicy | ConnectionError.DisconnectBlockedIP | ConnectionError.DisconnectClientFailure | ConnectionError.DisconnectClientRequest | ConnectionError.DisconnectPrivateServerKickout | ConnectionError.DisconnectModeratedGame | ConnectionError.ServerShutdown | ConnectionError.ReplicatorTimeout | ConnectionError.PlayerRemoved | ConnectionError.DisconnectOutOfMemoryKeepPlayingLeave | ConnectionError.DisconnectRomarkEndOfTest | ConnectionError.DisconnectCollaboratorPermissionRevoked | ConnectionError.DisconnectCollaboratorUnderage | ConnectionError.NetworkInternal | ConnectionError.NetworkSend | ConnectionError.NetworkTimeout | ConnectionError.NetworkMisbehavior | ConnectionError.NetworkSecurity | ConnectionError.ReplacementReady | ConnectionError.ServerEmpty | ConnectionError.PhantomFreeze | ConnectionError.AndroidAnticheatKick | ConnectionError.AndroidEmulatorKick | ConnectionError.PlacelaunchErrors | ConnectionError.PlacelaunchDisabled | ConnectionError.PlacelaunchError | ConnectionError.PlacelaunchGameEnded | ConnectionError.PlacelaunchGameFull | ConnectionError.PlacelaunchUserLeft | ConnectionError.PlacelaunchRestricted | ConnectionError.PlacelaunchUnauthorized | ConnectionError.PlacelaunchFlooded | ConnectionError.PlacelaunchHashExpired | ConnectionError.PlacelaunchHashException | ConnectionError.PlacelaunchPartyCannotFit | ConnectionError.PlacelaunchHttpError | ConnectionError.PlacelaunchUserPrivacyUnauthorized | ConnectionError.PlacelaunchCreatorBan | ConnectionError.PlacelaunchCustomMessage | ConnectionError.PlacelaunchOtherError | ConnectionError.TeleportErrors | ConnectionError.TeleportFailure | ConnectionError.TeleportGameNotFound | ConnectionError.TeleportGameEnded | ConnectionError.TeleportGameFull | ConnectionError.TeleportUnauthorized | ConnectionError.TeleportFlooded | ConnectionError.TeleportIsTeleporting;
7466
7520
  /**
7467
7521
  * Used to determine the connection state of the client to the game server.
7468
7522
  *
@@ -18187,6 +18241,42 @@ declare namespace Enum {
18187
18241
  export function FromValue(this: globalThis.Enum, value: number): globalThis.Enum.MarkupKind | undefined;
18188
18242
  }
18189
18243
  export type MarkupKind = MarkupKind.PlainText | MarkupKind.Markdown;
18244
+ /**
18245
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/MatchmakingType)
18246
+ */
18247
+ export namespace MatchmakingType {
18248
+ /**
18249
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/MatchmakingType#Default)
18250
+ */
18251
+ export interface Default extends globalThis.EnumItem {
18252
+ Name: "Default";
18253
+ Value: 1;
18254
+ EnumType: typeof globalThis.Enum.MatchmakingType;
18255
+ }
18256
+ export const Default: Default;
18257
+ /**
18258
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/MatchmakingType#XboxOnly)
18259
+ */
18260
+ export interface XboxOnly extends globalThis.EnumItem {
18261
+ Name: "XboxOnly";
18262
+ Value: 2;
18263
+ EnumType: typeof globalThis.Enum.MatchmakingType;
18264
+ }
18265
+ export const XboxOnly: XboxOnly;
18266
+ /**
18267
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/MatchmakingType#PlayStationOnly)
18268
+ */
18269
+ export interface PlayStationOnly extends globalThis.EnumItem {
18270
+ Name: "PlayStationOnly";
18271
+ Value: 3;
18272
+ EnumType: typeof globalThis.Enum.MatchmakingType;
18273
+ }
18274
+ export const PlayStationOnly: PlayStationOnly;
18275
+ export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.MatchmakingType>;
18276
+ export function FromName(this: globalThis.Enum, name: string): globalThis.Enum.MatchmakingType | undefined;
18277
+ export function FromValue(this: globalThis.Enum, value: number): globalThis.Enum.MatchmakingType | undefined;
18278
+ }
18279
+ export type MatchmakingType = MatchmakingType.Default | MatchmakingType.XboxOnly | MatchmakingType.PlayStationOnly;
18190
18280
  /**
18191
18281
  * Materials used for parts and/or terrain.
18192
18282
  *
@@ -21790,10 +21880,16 @@ declare namespace Enum {
21790
21880
  }
21791
21881
  export type ProductLocationRestriction = ProductLocationRestriction.AvatarShop | ProductLocationRestriction.AllowedGames | ProductLocationRestriction.AllGames;
21792
21882
  /**
21883
+ * Enum which works with `MarketplaceService` to represent how the
21884
+ *
21885
+ * user acquired the developer product.
21886
+ *
21793
21887
  * [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/ProductPurchaseChannel)
21794
21888
  */
21795
21889
  export namespace ProductPurchaseChannel {
21796
21890
  /**
21891
+ * The purchase was made inside of an experience.
21892
+ *
21797
21893
  * [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/ProductPurchaseChannel#InExperience)
21798
21894
  */
21799
21895
  export interface InExperience extends globalThis.EnumItem {
@@ -21803,6 +21899,8 @@ declare namespace Enum {
21803
21899
  }
21804
21900
  export const InExperience: InExperience;
21805
21901
  /**
21902
+ * The purchase was made outside of an experience, on the **Store** tab of the experience details page.
21903
+ *
21806
21904
  * [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/ProductPurchaseChannel#ExperienceDetailsPage)
21807
21905
  */
21808
21906
  export interface ExperienceDetailsPage extends globalThis.EnumItem {
@@ -21812,6 +21910,8 @@ declare namespace Enum {
21812
21910
  }
21813
21911
  export const ExperienceDetailsPage: ExperienceDetailsPage;
21814
21912
  /**
21913
+ * The product was rewarded to the user when they watched a video ad to completion.
21914
+ *
21815
21915
  * [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/ProductPurchaseChannel#AdReward)
21816
21916
  */
21817
21917
  export interface AdReward extends globalThis.EnumItem {
@@ -21821,6 +21921,8 @@ declare namespace Enum {
21821
21921
  }
21822
21922
  export const AdReward: AdReward;
21823
21923
  /**
21924
+ * The user acquired the product as a benefit of purchasing commerce merchandise from the developer of the experience.
21925
+ *
21824
21926
  * [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/ProductPurchaseChannel#CommerceProduct)
21825
21927
  */
21826
21928
  export interface CommerceProduct extends globalThis.EnumItem {
@@ -21835,7 +21937,7 @@ declare namespace Enum {
21835
21937
  }
21836
21938
  export type ProductPurchaseChannel = ProductPurchaseChannel.InExperience | ProductPurchaseChannel.ExperienceDetailsPage | ProductPurchaseChannel.AdReward | ProductPurchaseChannel.CommerceProduct;
21837
21939
  /**
21838
- * The `ProductPurchaseDecisionEnum` is used to work with `MarketplaceService`, and the sale of developer products.
21940
+ * The `ProductPurchaseDecisionEnum` works with `MarketplaceService` to indicate the status of the sale of developer products.
21839
21941
  *
21840
21942
  * [Creator Hub](https://create.roblox.com/docs/reference/engine/enums/ProductPurchaseDecision)
21841
21943
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/types",
3
- "version": "1.0.837",
3
+ "version": "1.0.839",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },