@rbxts/types 1.0.790 → 1.0.792

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.
@@ -19,6 +19,7 @@ interface Services {
19
19
  AssetImportService: AssetImportService;
20
20
  AssetManagerService: AssetManagerService;
21
21
  AssetService: AssetService;
22
+ AudioFocusService: AudioFocusService;
22
23
  AvatarChatService: AvatarChatService;
23
24
  AvatarCreationService: AvatarCreationService;
24
25
  AvatarEditorService: AvatarEditorService;
@@ -67,6 +68,7 @@ interface Services {
67
68
  GroupService: GroupService;
68
69
  GuiService: GuiService;
69
70
  HapticService: HapticService;
71
+ HeatmapService: HeatmapService;
70
72
  HeightmapImporterService: HeightmapImporterService;
71
73
  HttpService: HttpService;
72
74
  ILegacyStudioBridge: ILegacyStudioBridge;
@@ -495,6 +497,7 @@ interface Instances extends Services, CreatableInstances {
495
497
  BubbleChatConfiguration: BubbleChatConfiguration;
496
498
  CatalogPages: CatalogPages;
497
499
  ChannelSelectorSoundEffect: ChannelSelectorSoundEffect;
500
+ ChannelTabsConfiguration: ChannelTabsConfiguration;
498
501
  CharacterAppearance: CharacterAppearance;
499
502
  ChatInputBarConfiguration: ChatInputBarConfiguration;
500
503
  ChatWindowConfiguration: ChatWindowConfiguration;
@@ -2972,6 +2975,7 @@ interface AudioEmitter extends Instance {
2972
2975
  * Tags: CustomLuaState
2973
2976
  */
2974
2977
  GetDistanceAttenuation(this: AudioEmitter): object;
2978
+ GetInteractingListeners(this: AudioEmitter): unknown;
2975
2979
  /**
2976
2980
  * Tags: CustomLuaState
2977
2981
  */
@@ -3043,6 +3047,17 @@ interface AudioFlanger extends Instance {
3043
3047
  GetConnectedWires(this: AudioFlanger, pin: string): unknown;
3044
3048
  }
3045
3049
 
3050
+ interface AudioFocusService extends Instance {
3051
+ /**
3052
+ * **DO NOT USE!**
3053
+ *
3054
+ * This field exists to force TypeScript to recognize this as a nominal type
3055
+ * @hidden
3056
+ * @deprecated
3057
+ */
3058
+ readonly _nominal_AudioFocusService: unique symbol;
3059
+ }
3060
+
3046
3061
  interface AudioListener extends Instance {
3047
3062
  /**
3048
3063
  * **DO NOT USE!**
@@ -3054,6 +3069,7 @@ interface AudioListener extends Instance {
3054
3069
  readonly _nominal_AudioListener: unique symbol;
3055
3070
  AudioInteractionGroup: string;
3056
3071
  GetConnectedWires(this: AudioListener, pin: string): unknown;
3072
+ GetInteractingEmitters(this: AudioListener): unknown;
3057
3073
  }
3058
3074
 
3059
3075
  interface AudioPitchShifter extends Instance {
@@ -15939,6 +15955,17 @@ interface HapticService extends Instance {
15939
15955
  ): void;
15940
15956
  }
15941
15957
 
15958
+ interface HeatmapService extends Instance {
15959
+ /**
15960
+ * **DO NOT USE!**
15961
+ *
15962
+ * This field exists to force TypeScript to recognize this as a nominal type
15963
+ * @hidden
15964
+ * @deprecated
15965
+ */
15966
+ readonly _nominal_HeatmapService: unique symbol;
15967
+ }
15968
+
15942
15969
  interface HeightmapImporterService extends Instance {
15943
15970
  /**
15944
15971
  * **DO NOT USE!**
@@ -16901,9 +16928,6 @@ interface Humanoid extends Instance {
16901
16928
  * GetLimb will throw an error if the [Part's](https://developer.roblox.com/en-us/api-reference/class/Part) parent is not set to the [Humanoid's](https://developer.roblox.com/en-us/api-reference/class/Humanoid) parent.
16902
16929
  */
16903
16930
  GetLimb(this: Humanoid, part: BasePart): Enum.Limb;
16904
- /**
16905
- * Tags: NotBrowsable
16906
- */
16907
16931
  GetMoveVelocity(this: Humanoid): Vector3;
16908
16932
  /**
16909
16933
  * This function returns an array of all [AnimationTracks](https://developer.roblox.com/en-us/api-reference/class/AnimationTrack) that are currently being played on the [Humanoid](https://developer.roblox.com/en-us/api-reference/class/Humanoid).
@@ -22730,6 +22754,7 @@ interface MarketplaceService extends Instance {
22730
22754
  * Used to prompt a user to purchase a bundle with the given bundleId
22731
22755
  */
22732
22756
  PromptBundlePurchase(this: MarketplaceService, player: Player, bundleId: number): void;
22757
+ PromptCancelSubscription(this: MarketplaceService, user: Player, subscriptionId: string): void;
22733
22758
  /**
22734
22759
  * Used to prompt a user to purchase a game pass with the given assetId.
22735
22760
  */
@@ -34892,6 +34917,35 @@ interface BubbleChatConfiguration extends TextChatConfigurations {
34892
34917
  VerticalStudsOffset: number;
34893
34918
  }
34894
34919
 
34920
+ interface ChannelTabsConfiguration extends TextChatConfigurations {
34921
+ /**
34922
+ * **DO NOT USE!**
34923
+ *
34924
+ * This field exists to force TypeScript to recognize this as a nominal type
34925
+ * @hidden
34926
+ * @deprecated
34927
+ */
34928
+ readonly _nominal_ChannelTabsConfiguration: unique symbol;
34929
+ /**
34930
+ * Tags: NotReplicated
34931
+ */
34932
+ readonly AbsolutePosition: Vector2;
34933
+ /**
34934
+ * Tags: NotReplicated
34935
+ */
34936
+ readonly AbsoluteSize: Vector2;
34937
+ BackgroundColor3: Color3;
34938
+ BackgroundTransparency: number;
34939
+ Enabled: boolean;
34940
+ FontFace: Font;
34941
+ HoverBackgroundColor3: Color3;
34942
+ SelectedTabTextColor3: Color3;
34943
+ TextColor3: Color3;
34944
+ TextSize: number;
34945
+ TextStrokeColor3: Color3;
34946
+ TextStrokeTransparency: number;
34947
+ }
34948
+
34895
34949
  interface ChatInputBarConfiguration extends TextChatConfigurations {
34896
34950
  /**
34897
34951
  * **DO NOT USE!**
@@ -35809,6 +35863,7 @@ interface TweenService extends Instance {
35809
35863
  * The provided alpha value is clamped between 0 and 1.
35810
35864
  */
35811
35865
  GetValue(this: TweenService, alpha: number, easingStyle: CastsToEnum<Enum.EasingStyle>, easingDirection: CastsToEnum<Enum.EasingDirection>): number;
35866
+ SmoothDamp(this: TweenService, current: unknown, target: unknown, velocity: unknown, smoothTime: number, maxSpeed: number | undefined, dt: number | undefined): LuaTuple<[unknown, unknown]>;
35812
35867
  }
35813
35868
 
35814
35869
  interface UGCAvatarService extends Instance {
@@ -36036,6 +36091,7 @@ interface UIDragDetector extends UIComponent {
36036
36091
  */
36037
36092
  readonly _nominal_UIDragDetector: unique symbol;
36038
36093
  ActivatedCursorIcon: string;
36094
+ BoundingBehavior: Enum.UIDragDetectorBoundingBehavior;
36039
36095
  BoundingUI: GuiBase2d | undefined;
36040
36096
  CursorIcon: string;
36041
36097
  DragAxis: Vector2;
@@ -4182,6 +4182,59 @@ declare namespace Enum {
4182
4182
  }
4183
4183
  export type ClientAnimatorThrottlingMode = ClientAnimatorThrottlingMode.Default | ClientAnimatorThrottlingMode.Disabled | ClientAnimatorThrottlingMode.Enabled;
4184
4184
 
4185
+ export namespace CloseReason {
4186
+ export interface Unknown extends globalThis.EnumItem {
4187
+ Name: "Unknown";
4188
+ Value: 0;
4189
+ EnumType: typeof globalThis.Enum.CloseReason;
4190
+ }
4191
+
4192
+ export const Unknown: Unknown;
4193
+
4194
+ export interface RobloxMaintenance extends globalThis.EnumItem {
4195
+ Name: "RobloxMaintenance";
4196
+ Value: 1;
4197
+ EnumType: typeof globalThis.Enum.CloseReason;
4198
+ }
4199
+
4200
+ export const RobloxMaintenance: RobloxMaintenance;
4201
+
4202
+ export interface DeveloperShutdown extends globalThis.EnumItem {
4203
+ Name: "DeveloperShutdown";
4204
+ Value: 2;
4205
+ EnumType: typeof globalThis.Enum.CloseReason;
4206
+ }
4207
+
4208
+ export const DeveloperShutdown: DeveloperShutdown;
4209
+
4210
+ export interface DeveloperUpdate extends globalThis.EnumItem {
4211
+ Name: "DeveloperUpdate";
4212
+ Value: 3;
4213
+ EnumType: typeof globalThis.Enum.CloseReason;
4214
+ }
4215
+
4216
+ export const DeveloperUpdate: DeveloperUpdate;
4217
+
4218
+ export interface ServerEmpty extends globalThis.EnumItem {
4219
+ Name: "ServerEmpty";
4220
+ Value: 4;
4221
+ EnumType: typeof globalThis.Enum.CloseReason;
4222
+ }
4223
+
4224
+ export const ServerEmpty: ServerEmpty;
4225
+
4226
+ export interface OutOfMemory extends globalThis.EnumItem {
4227
+ Name: "OutOfMemory";
4228
+ Value: 5;
4229
+ EnumType: typeof globalThis.Enum.CloseReason;
4230
+ }
4231
+
4232
+ export const OutOfMemory: OutOfMemory;
4233
+
4234
+ export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.CloseReason>;
4235
+ }
4236
+ export type CloseReason = CloseReason.Unknown | CloseReason.RobloxMaintenance | CloseReason.DeveloperShutdown | CloseReason.DeveloperUpdate | CloseReason.ServerEmpty | CloseReason.OutOfMemory;
4237
+
4185
4238
  export namespace CollaboratorStatus {
4186
4239
  export interface None extends globalThis.EnumItem {
4187
4240
  Name: "None";
@@ -12164,6 +12217,35 @@ declare namespace Enum {
12164
12217
  }
12165
12218
  export type LoadDynamicHeads = LoadDynamicHeads.Default | LoadDynamicHeads.Disabled | LoadDynamicHeads.Enabled;
12166
12219
 
12220
+ export namespace LocationType {
12221
+ export interface Character extends globalThis.EnumItem {
12222
+ Name: "Character";
12223
+ Value: 0;
12224
+ EnumType: typeof globalThis.Enum.LocationType;
12225
+ }
12226
+
12227
+ export const Character: Character;
12228
+
12229
+ export interface Camera extends globalThis.EnumItem {
12230
+ Name: "Camera";
12231
+ Value: 1;
12232
+ EnumType: typeof globalThis.Enum.LocationType;
12233
+ }
12234
+
12235
+ export const Camera: Camera;
12236
+
12237
+ export interface ObjectPosition extends globalThis.EnumItem {
12238
+ Name: "ObjectPosition";
12239
+ Value: 2;
12240
+ EnumType: typeof globalThis.Enum.LocationType;
12241
+ }
12242
+
12243
+ export const ObjectPosition: ObjectPosition;
12244
+
12245
+ export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.LocationType>;
12246
+ }
12247
+ export type LocationType = LocationType.Character | LocationType.Camera | LocationType.ObjectPosition;
12248
+
12167
12249
  export namespace MarketplaceBulkPurchasePromptStatus {
12168
12250
  export interface Completed extends globalThis.EnumItem {
12169
12251
  Name: "Completed";
@@ -16744,6 +16826,147 @@ declare namespace Enum {
16744
16826
  }
16745
16827
  export type ScrollingDirection = ScrollingDirection.X | ScrollingDirection.Y | ScrollingDirection.XY;
16746
16828
 
16829
+ export namespace SecurityCapability {
16830
+ export interface RunClientScript extends globalThis.EnumItem {
16831
+ Name: "RunClientScript";
16832
+ Value: 0;
16833
+ EnumType: typeof globalThis.Enum.SecurityCapability;
16834
+ }
16835
+
16836
+ export const RunClientScript: RunClientScript;
16837
+
16838
+ export interface RunServerScript extends globalThis.EnumItem {
16839
+ Name: "RunServerScript";
16840
+ Value: 1;
16841
+ EnumType: typeof globalThis.Enum.SecurityCapability;
16842
+ }
16843
+
16844
+ export const RunServerScript: RunServerScript;
16845
+
16846
+ export interface AccessOutsideWrite extends globalThis.EnumItem {
16847
+ Name: "AccessOutsideWrite";
16848
+ Value: 2;
16849
+ EnumType: typeof globalThis.Enum.SecurityCapability;
16850
+ }
16851
+
16852
+ export const AccessOutsideWrite: AccessOutsideWrite;
16853
+
16854
+ export interface AssetRequire extends globalThis.EnumItem {
16855
+ Name: "AssetRequire";
16856
+ Value: 3;
16857
+ EnumType: typeof globalThis.Enum.SecurityCapability;
16858
+ }
16859
+
16860
+ export const AssetRequire: AssetRequire;
16861
+
16862
+ export interface LoadString extends globalThis.EnumItem {
16863
+ Name: "LoadString";
16864
+ Value: 4;
16865
+ EnumType: typeof globalThis.Enum.SecurityCapability;
16866
+ }
16867
+
16868
+ export const LoadString: LoadString;
16869
+
16870
+ export interface ScriptGlobals extends globalThis.EnumItem {
16871
+ Name: "ScriptGlobals";
16872
+ Value: 5;
16873
+ EnumType: typeof globalThis.Enum.SecurityCapability;
16874
+ }
16875
+
16876
+ export const ScriptGlobals: ScriptGlobals;
16877
+
16878
+ export interface CreateInstances extends globalThis.EnumItem {
16879
+ Name: "CreateInstances";
16880
+ Value: 6;
16881
+ EnumType: typeof globalThis.Enum.SecurityCapability;
16882
+ }
16883
+
16884
+ export const CreateInstances: CreateInstances;
16885
+
16886
+ export interface Basic extends globalThis.EnumItem {
16887
+ Name: "Basic";
16888
+ Value: 7;
16889
+ EnumType: typeof globalThis.Enum.SecurityCapability;
16890
+ }
16891
+
16892
+ export const Basic: Basic;
16893
+
16894
+ export interface Audio extends globalThis.EnumItem {
16895
+ Name: "Audio";
16896
+ Value: 8;
16897
+ EnumType: typeof globalThis.Enum.SecurityCapability;
16898
+ }
16899
+
16900
+ export const Audio: Audio;
16901
+
16902
+ export interface DataStore extends globalThis.EnumItem {
16903
+ Name: "DataStore";
16904
+ Value: 9;
16905
+ EnumType: typeof globalThis.Enum.SecurityCapability;
16906
+ }
16907
+
16908
+ export const DataStore: DataStore;
16909
+
16910
+ export interface Network extends globalThis.EnumItem {
16911
+ Name: "Network";
16912
+ Value: 10;
16913
+ EnumType: typeof globalThis.Enum.SecurityCapability;
16914
+ }
16915
+
16916
+ export const Network: Network;
16917
+
16918
+ export interface Physics extends globalThis.EnumItem {
16919
+ Name: "Physics";
16920
+ Value: 11;
16921
+ EnumType: typeof globalThis.Enum.SecurityCapability;
16922
+ }
16923
+
16924
+ export const Physics: Physics;
16925
+
16926
+ export interface UI extends globalThis.EnumItem {
16927
+ Name: "UI";
16928
+ Value: 12;
16929
+ EnumType: typeof globalThis.Enum.SecurityCapability;
16930
+ }
16931
+
16932
+ export const UI: UI;
16933
+
16934
+ export interface CSG extends globalThis.EnumItem {
16935
+ Name: "CSG";
16936
+ Value: 13;
16937
+ EnumType: typeof globalThis.Enum.SecurityCapability;
16938
+ }
16939
+
16940
+ export const CSG: CSG;
16941
+
16942
+ export interface Chat extends globalThis.EnumItem {
16943
+ Name: "Chat";
16944
+ Value: 14;
16945
+ EnumType: typeof globalThis.Enum.SecurityCapability;
16946
+ }
16947
+
16948
+ export const Chat: Chat;
16949
+
16950
+ export interface Animation extends globalThis.EnumItem {
16951
+ Name: "Animation";
16952
+ Value: 15;
16953
+ EnumType: typeof globalThis.Enum.SecurityCapability;
16954
+ }
16955
+
16956
+ export const Animation: Animation;
16957
+
16958
+ export interface Avatar extends globalThis.EnumItem {
16959
+ Name: "Avatar";
16960
+ Value: 16;
16961
+ EnumType: typeof globalThis.Enum.SecurityCapability;
16962
+ }
16963
+
16964
+ export const Avatar: Avatar;
16965
+
16966
+ export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.SecurityCapability>;
16967
+ }
16968
+ export type SecurityCapability = SecurityCapability.RunClientScript | SecurityCapability.RunServerScript | SecurityCapability.AccessOutsideWrite | SecurityCapability.AssetRequire | SecurityCapability.LoadString | SecurityCapability.ScriptGlobals | SecurityCapability.CreateInstances | SecurityCapability.Basic | SecurityCapability.Audio | SecurityCapability.DataStore | SecurityCapability.Network | SecurityCapability.Physics | SecurityCapability.UI | SecurityCapability.CSG | SecurityCapability.Chat | SecurityCapability.Animation | SecurityCapability.Avatar;
16969
+
16747
16970
  export namespace SelectionBehavior {
16748
16971
  export interface Escape extends globalThis.EnumItem {
16749
16972
  Name: "Escape";
@@ -20845,6 +21068,35 @@ declare namespace Enum {
20845
21068
  }
20846
21069
  export type TweenStatus = TweenStatus.Canceled | TweenStatus.Completed;
20847
21070
 
21071
+ export namespace UIDragDetectorBoundingBehavior {
21072
+ export interface Automatic extends globalThis.EnumItem {
21073
+ Name: "Automatic";
21074
+ Value: 0;
21075
+ EnumType: typeof globalThis.Enum.UIDragDetectorBoundingBehavior;
21076
+ }
21077
+
21078
+ export const Automatic: Automatic;
21079
+
21080
+ export interface EntireObject extends globalThis.EnumItem {
21081
+ Name: "EntireObject";
21082
+ Value: 1;
21083
+ EnumType: typeof globalThis.Enum.UIDragDetectorBoundingBehavior;
21084
+ }
21085
+
21086
+ export const EntireObject: EntireObject;
21087
+
21088
+ export interface HitPoint extends globalThis.EnumItem {
21089
+ Name: "HitPoint";
21090
+ Value: 2;
21091
+ EnumType: typeof globalThis.Enum.UIDragDetectorBoundingBehavior;
21092
+ }
21093
+
21094
+ export const HitPoint: HitPoint;
21095
+
21096
+ export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.UIDragDetectorBoundingBehavior>;
21097
+ }
21098
+ export type UIDragDetectorBoundingBehavior = UIDragDetectorBoundingBehavior.Automatic | UIDragDetectorBoundingBehavior.EntireObject | UIDragDetectorBoundingBehavior.HitPoint;
21099
+
20848
21100
  export namespace UIDragDetectorDragRelativity {
20849
21101
  export interface Absolute extends globalThis.EnumItem {
20850
21102
  Name: "Absolute";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/types",
3
- "version": "1.0.790",
3
+ "version": "1.0.792",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },