@rbxts/types 1.0.708 → 1.0.709

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.
@@ -23,6 +23,8 @@ interface Services {
23
23
  CalloutService: CalloutService;
24
24
  CaptureService: CaptureService;
25
25
  Chat: Chat;
26
+ ChatbotUIService: ChatbotUIService;
27
+ CollaboratorsService: CollaboratorsService;
26
28
  CollectionService: CollectionService;
27
29
  CommandService: CommandService;
28
30
  ConfigureServerService: ConfigureServerService;
@@ -83,6 +85,7 @@ interface Services {
83
85
  PhysicsService: PhysicsService;
84
86
  PlacesService: PlacesService;
85
87
  PlaceStatsService: PlaceStatsService;
88
+ PlatformFriendsService: PlatformFriendsService;
86
89
  Players: Players;
87
90
  PluginManagementService: PluginManagementService;
88
91
  PluginPolicyService: PluginPolicyService;
@@ -484,6 +487,7 @@ interface Instances extends Services, CreatableInstances, AbstractInstances {
484
487
  ChatInputBarConfiguration: ChatInputBarConfiguration;
485
488
  ChatWindowConfiguration: ChatWindowConfiguration;
486
489
  CloudLocalizationTable: CloudLocalizationTable;
490
+ Collaborator: Collaborator;
487
491
  CommandInstance: CommandInstance;
488
492
  ControllerBase: ControllerBase;
489
493
  ControllerSensor: ControllerSensor;
@@ -2659,6 +2663,10 @@ interface AudioAnalyzer extends Instance {
2659
2663
  * Tags: NotReplicated
2660
2664
  */
2661
2665
  readonly RmsLevel: number;
2666
+ /**
2667
+ * Tags: CustomLuaState
2668
+ */
2669
+ GetSpectrum(this: AudioAnalyzer): unknown;
2662
2670
  }
2663
2671
 
2664
2672
  interface AudioChorus extends Instance {
@@ -6812,6 +6820,17 @@ interface Chat extends Instance {
6812
6820
  readonly Chatted: RBXScriptSignal<(part: BasePart, message: string, color: Enum.ChatColor) => void>;
6813
6821
  }
6814
6822
 
6823
+ interface ChatbotUIService extends Instance {
6824
+ /**
6825
+ * **DO NOT USE!**
6826
+ *
6827
+ * This field exists to force TypeScript to recognize this as a nominal type
6828
+ * @hidden
6829
+ * @deprecated
6830
+ */
6831
+ readonly _nominal_ChatbotUIService: unique symbol;
6832
+ }
6833
+
6815
6834
  /** ![](https://developer.roblox.com/assets/blt0ae8e57f698df61c/ClickDetector.png) ![](https://developer.roblox.com/assets/bltdd49f2456410d52e/ClickDetector2.png)
6816
6835
  *
6817
6836
  * **ClickDetector** allows [Scripts](https://developer.roblox.com/en-us/api-reference/class/Script) and [LocalScripts](https://developer.roblox.com/en-us/api-reference/class/LocalScript) to receive pointer input on 3D objects through their [MouseClick](https://developer.roblox.com/en-us/api-reference/event/ClickDetector/MouseClick) event. They work when parented to [BasePart](https://developer.roblox.com/en-us/api-reference/class/BasePart), [Model](https://developer.roblox.com/en-us/api-reference/class/Model) or [Folder](https://developer.roblox.com/en-us/api-reference/class/Folder) objects. They detect basic mouse events: enter, leave, left click and right click. Touch input on [TouchEnabled](https://developer.roblox.com/en-us/api-reference/property/UserInputService/TouchEnabled) devices also fires click events.
@@ -7000,6 +7019,31 @@ interface Clouds extends Instance {
7000
7019
  Enabled: boolean;
7001
7020
  }
7002
7021
 
7022
+ interface Collaborator extends Instance {
7023
+ /**
7024
+ * **DO NOT USE!**
7025
+ *
7026
+ * This field exists to force TypeScript to recognize this as a nominal type
7027
+ * @hidden
7028
+ * @deprecated
7029
+ */
7030
+ readonly _nominal_Collaborator: unique symbol;
7031
+ CFrame: CFrame;
7032
+ UserId: number;
7033
+ Username: string;
7034
+ }
7035
+
7036
+ interface CollaboratorsService extends Instance {
7037
+ /**
7038
+ * **DO NOT USE!**
7039
+ *
7040
+ * This field exists to force TypeScript to recognize this as a nominal type
7041
+ * @hidden
7042
+ * @deprecated
7043
+ */
7044
+ readonly _nominal_CollaboratorsService: unique symbol;
7045
+ }
7046
+
7003
7047
  /** The [CollectionService](https://developer.roblox.com/en-us/api-reference/class/CollectionService) manages groups (collections) of instances with tags. Tags are sets of strings applied to objects that replicate from the server to the client and in Team Create. They are also serialized when places are saved. At the moment, tags are not visible within Roblox Studio except with the use of a tag-editing plugin.
7004
7048
  *
7005
7049
  * The primary use of [CollectionService](https://developer.roblox.com/en-us/api-reference/class/CollectionService) is to add flags and/or behaviors to Roblox objects. If you find yourself adding the same script to many different objects, perhaps a script that uses CollectionService would be better. Here are a couple examples:
@@ -11741,6 +11785,7 @@ interface GuiObject extends GuiBase2d {
11741
11785
  * Tags: NotReplicated
11742
11786
  */
11743
11787
  readonly GuiState: Enum.GuiState;
11788
+ Interactable: boolean;
11744
11789
  /**
11745
11790
  * This property controls the sorting order of a [GUI](https://developer.roblox.com/en-us/api-reference/class/GuiObject) when using a [UIGridStyleLayout](https://developer.roblox.com/en-us/api-reference/class/UIGridStyleLayout) (such as [UIListLayout](https://developer.roblox.com/en-us/api-reference/class/UIListLayout) or [UIPageLayout](https://developer.roblox.com/en-us/api-reference/class/UIPageLayout)) with [UIGridStyleLayout.SortOrder](https://developer.roblox.com/en-us/api-reference/property/UIGridStyleLayout/SortOrder) set to [Enum.SortOrder.LayoutOrder](https://developer.roblox.com/en-us/api-reference/enum/SortOrder). It has no functionality if the GUI does not have a sibling UI Layout.
11746
11791
  *
@@ -21847,14 +21892,6 @@ interface MarketplaceService extends Instance {
21847
21892
  equipIfPurchased?: boolean,
21848
21893
  currencyType?: CastsToEnum<Enum.CurrencyType>,
21849
21894
  ): void;
21850
- /**
21851
- * @deprecated
21852
- */
21853
- PromptSubscriptionCancellation(this: MarketplaceService, player: Player, subscriptionId: number): void;
21854
- /**
21855
- * @deprecated
21856
- */
21857
- PromptSubscriptionPurchase(this: MarketplaceService, player: Player, subscriptionId: number): void;
21858
21895
  /**
21859
21896
  * Returns a [Pages](https://developer.roblox.com/en-us/api-reference/class/Pages) object which contains information for all of the current game's developer products.
21860
21897
  *
@@ -22080,11 +22117,6 @@ interface MarketplaceService extends Instance {
22080
22117
  id: number,
22081
22118
  infoType?: CastsToEnum<Enum.InfoType>,
22082
22119
  ): AssetProductInfo | BundleInfo | GamePassProductInfo | DeveloperProductInfo | SubscriptionProductInfo;
22083
- /**
22084
- * Tags: Yields
22085
- * @deprecated
22086
- */
22087
- IsPlayerSubscribed(this: MarketplaceService, player: Player, subscriptionId: number): boolean;
22088
22120
  /**
22089
22121
  * Returns whether the inventory of given [Player](https://developer.roblox.com/en-us/api-reference/class/Player) contains an asset, given the ID. This method can query for hats, models, sounds, etc. This function takes a small amount of time to send a request the Roblox website.
22090
22122
  *
@@ -22191,14 +22223,6 @@ interface MarketplaceService extends Instance {
22191
22223
  * end)
22192
22224
  */
22193
22225
  readonly PromptPurchaseFinished: RBXScriptSignal<(player: Player, assetId: number, isPurchased: boolean) => void>;
22194
- /**
22195
- * @deprecated
22196
- */
22197
- readonly PromptSubscriptionCancellationFinished: RBXScriptSignal<(player: Player, subscriptionId: number, wasCanceled: boolean) => void>;
22198
- /**
22199
- * @deprecated
22200
- */
22201
- readonly PromptSubscriptionPurchaseFinished: RBXScriptSignal<(player: Player, subscriptionId: number, wasPurchased: boolean) => void>;
22202
22226
  ProcessReceipt: ((receiptInfo: ReceiptInfo) => Enum.ProductPurchaseDecision) | undefined;
22203
22227
  }
22204
22228
 
@@ -27145,6 +27169,17 @@ interface PlacesService extends Instance {
27145
27169
  readonly _nominal_PlacesService: unique symbol;
27146
27170
  }
27147
27171
 
27172
+ interface PlatformFriendsService extends Instance {
27173
+ /**
27174
+ * **DO NOT USE!**
27175
+ *
27176
+ * This field exists to force TypeScript to recognize this as a nominal type
27177
+ * @hidden
27178
+ * @deprecated
27179
+ */
27180
+ readonly _nominal_PlatformFriendsService: unique symbol;
27181
+ }
27182
+
27148
27183
  /** A Player object a client that is currently connected. These objects are added to the [Players](https://developer.roblox.com/en-us/api-reference/class/Players) service when a new player connects, then removed when they eventually disconnect from the server.
27149
27184
  *
27150
27185
  * The [Instance.Name](https://developer.roblox.com/en-us/api-reference/property/Instance/Name) property reflects the player's username. When saving information about a player, you should use their [Player.UserId](https://developer.roblox.com/en-us/api-reference/property/Player/UserId) since it is possible that a player can change their username.
@@ -31929,7 +31964,7 @@ interface StarterPlayer extends Instance {
31929
31964
  */
31930
31965
  AutoJumpEnabled: boolean;
31931
31966
  /**
31932
- * Tags: NotBrowsable
31967
+ * Tags: NotReplicated, NotBrowsable
31933
31968
  */
31934
31969
  AvatarJointUpgrade: Enum.AvatarJointUpgrade;
31935
31970
  /**
@@ -3819,9 +3819,25 @@ declare namespace Enum {
3819
3819
 
3820
3820
  export const ClientServerBoundaryViolation: ClientServerBoundaryViolation;
3821
3821
 
3822
+ export interface Invalidated extends globalThis.EnumItem {
3823
+ Name: "Invalidated";
3824
+ Value: 10;
3825
+ EnumType: typeof globalThis.Enum.CompletionItemTag;
3826
+ }
3827
+
3828
+ export const Invalidated: Invalidated;
3829
+
3830
+ export interface PutCursorBeforeEnd extends globalThis.EnumItem {
3831
+ Name: "PutCursorBeforeEnd";
3832
+ Value: 11;
3833
+ EnumType: typeof globalThis.Enum.CompletionItemTag;
3834
+ }
3835
+
3836
+ export const PutCursorBeforeEnd: PutCursorBeforeEnd;
3837
+
3822
3838
  export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.CompletionItemTag>;
3823
3839
  }
3824
- export type CompletionItemTag = CompletionItemTag.Deprecated | CompletionItemTag.IncorrectIndexType | CompletionItemTag.PluginPermissions | CompletionItemTag.CommandLinePermissions | CompletionItemTag.RobloxPermissions | CompletionItemTag.AddParens | CompletionItemTag.PutCursorInParens | CompletionItemTag.TypeCorrect | CompletionItemTag.ClientServerBoundaryViolation;
3840
+ export type CompletionItemTag = CompletionItemTag.Deprecated | CompletionItemTag.IncorrectIndexType | CompletionItemTag.PluginPermissions | CompletionItemTag.CommandLinePermissions | CompletionItemTag.RobloxPermissions | CompletionItemTag.AddParens | CompletionItemTag.PutCursorInParens | CompletionItemTag.TypeCorrect | CompletionItemTag.ClientServerBoundaryViolation | CompletionItemTag.Invalidated | CompletionItemTag.PutCursorBeforeEnd;
3825
3841
 
3826
3842
  export namespace CompletionTriggerKind {
3827
3843
  export interface Invoked extends globalThis.EnumItem {
@@ -7397,9 +7413,17 @@ declare namespace Enum {
7397
7413
 
7398
7414
  export const Press: Press;
7399
7415
 
7416
+ export interface NonInteractable extends globalThis.EnumItem {
7417
+ Name: "NonInteractable";
7418
+ Value: 3;
7419
+ EnumType: typeof globalThis.Enum.GuiState;
7420
+ }
7421
+
7422
+ export const NonInteractable: NonInteractable;
7423
+
7400
7424
  export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.GuiState>;
7401
7425
  }
7402
- export type GuiState = GuiState.Idle | GuiState.Hover | GuiState.Press;
7426
+ export type GuiState = GuiState.Idle | GuiState.Hover | GuiState.Press | GuiState.NonInteractable;
7403
7427
 
7404
7428
  export namespace GuiType {
7405
7429
  export interface Core extends globalThis.EnumItem {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/types",
3
- "version": "1.0.708",
3
+ "version": "1.0.709",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },