@rbxts/types 1.0.574 → 1.0.577
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.
- package/include/generated/None.d.ts +34 -4
- package/include/generated/enums.d.ts +48 -0
- package/include/lua.d.ts +14 -16
- package/package.json +1 -1
|
@@ -109,6 +109,7 @@ interface Services {
|
|
|
109
109
|
UnvalidatedAssetService: UnvalidatedAssetService;
|
|
110
110
|
UserInputService: UserInputService;
|
|
111
111
|
UserService: UserService;
|
|
112
|
+
VideoCaptureService: VideoCaptureService;
|
|
112
113
|
VisibilityService: VisibilityService;
|
|
113
114
|
VoiceChatInternal: VoiceChatInternal;
|
|
114
115
|
VoiceChatService: VoiceChatService;
|
|
@@ -2000,7 +2001,6 @@ interface AssetImportService extends Instance {
|
|
|
2000
2001
|
*/
|
|
2001
2002
|
readonly _nominal_AssetImportService: unique symbol;
|
|
2002
2003
|
readonly ProgressUpdate: RBXScriptSignal<(progressRatio: number) => void>;
|
|
2003
|
-
readonly SettingsChanged: RBXScriptSignal<(property: string) => void>;
|
|
2004
2004
|
readonly UploadFinished: RBXScriptSignal<(succeeded: boolean, errorMap: object) => void>;
|
|
2005
2005
|
}
|
|
2006
2006
|
|
|
@@ -10565,6 +10565,26 @@ interface GuiBase2d extends GuiBase {
|
|
|
10565
10565
|
* 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.
|
|
10566
10566
|
*/
|
|
10567
10567
|
RootLocalizationTable: LocalizationTable | undefined;
|
|
10568
|
+
/**
|
|
10569
|
+
* Tags: NotBrowsable
|
|
10570
|
+
*/
|
|
10571
|
+
SelectionBehaviorDown: Enum.SelectionBehavior;
|
|
10572
|
+
/**
|
|
10573
|
+
* Tags: NotBrowsable
|
|
10574
|
+
*/
|
|
10575
|
+
SelectionBehaviorLeft: Enum.SelectionBehavior;
|
|
10576
|
+
/**
|
|
10577
|
+
* Tags: NotBrowsable
|
|
10578
|
+
*/
|
|
10579
|
+
SelectionBehaviorRight: Enum.SelectionBehavior;
|
|
10580
|
+
/**
|
|
10581
|
+
* Tags: NotBrowsable
|
|
10582
|
+
*/
|
|
10583
|
+
SelectionBehaviorUp: Enum.SelectionBehavior;
|
|
10584
|
+
/**
|
|
10585
|
+
* Tags: NotBrowsable
|
|
10586
|
+
*/
|
|
10587
|
+
SelectionGroup: boolean;
|
|
10568
10588
|
}
|
|
10569
10589
|
|
|
10570
10590
|
/** GuiObject is an abstract class (much like [BasePart](https://developer.roblox.com/en-us/api-reference/class/BasePart)) for a 2D user interface object. It defines all the properties relating to the display of a graphical user interface (GUI) object such as [GuiObject.Size](https://developer.roblox.com/en-us/api-reference/property/GuiObject/Size) and [GuiObject.Position](https://developer.roblox.com/en-us/api-reference/property/GuiObject/Position). It also has some useful read-only properties like `GuiObject/AbsolutePosition`, `GuiObject/AbsoluteSize`, and `GuiObject/AbsoluteRotation`. It should be noted that [GuiObject](https://developer.roblox.com/en-us/api-reference/class/GuiObject) can have negative sizes and render normally, though [GuiObject.AnchorPoint](https://developer.roblox.com/en-us/api-reference/property/GuiObject/AnchorPoint) ought to be used to better control rendering.
|
|
@@ -13822,6 +13842,7 @@ interface GuiService extends Instance {
|
|
|
13822
13842
|
* Removes a group that was created with [GuiService:AddSelectionParent](https://developer.roblox.com/en-us/api-reference/function/GuiService/AddSelectionParent) or [GuiService:AddSelectionTuple](https://developer.roblox.com/en-us/api-reference/function/GuiService/AddSelectionTuple).
|
|
13823
13843
|
*/
|
|
13824
13844
|
RemoveSelectionGroup(this: GuiService, selectionName: string): void;
|
|
13845
|
+
Select(this: GuiService, selectionParent: Selection): void;
|
|
13825
13846
|
/**
|
|
13826
13847
|
* Opens or closes the player Emotes menu.
|
|
13827
13848
|
*/
|
|
@@ -20728,9 +20749,7 @@ interface MarketplaceService extends Instance {
|
|
|
20728
20749
|
* 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.
|
|
20729
20750
|
* Tags: Yields
|
|
20730
20751
|
*/
|
|
20731
|
-
GetDeveloperProductsAsync(
|
|
20732
|
-
this: MarketplaceService,
|
|
20733
|
-
): StandardPages<{
|
|
20752
|
+
GetDeveloperProductsAsync(this: MarketplaceService): StandardPages<{
|
|
20734
20753
|
Description: string;
|
|
20735
20754
|
PriceInRobux: number;
|
|
20736
20755
|
ProductId: number;
|
|
@@ -35142,6 +35161,17 @@ interface Vector3Curve extends Instance {
|
|
|
35142
35161
|
Z(this: Vector3Curve): FloatCurve;
|
|
35143
35162
|
}
|
|
35144
35163
|
|
|
35164
|
+
interface VideoCaptureService extends Instance {
|
|
35165
|
+
/**
|
|
35166
|
+
* **DO NOT USE!**
|
|
35167
|
+
*
|
|
35168
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
35169
|
+
* @hidden
|
|
35170
|
+
* @deprecated
|
|
35171
|
+
*/
|
|
35172
|
+
readonly _nominal_VideoCaptureService: unique symbol;
|
|
35173
|
+
}
|
|
35174
|
+
|
|
35145
35175
|
interface VisibilityService extends Instance {
|
|
35146
35176
|
/**
|
|
35147
35177
|
* **DO NOT USE!**
|
|
@@ -11409,6 +11409,34 @@ declare namespace Enum {
|
|
|
11409
11409
|
export function GetEnumItems(this: defined): Array<ProductPurchaseDecision>
|
|
11410
11410
|
}
|
|
11411
11411
|
export type ProductPurchaseDecision = ProductPurchaseDecision.NotProcessedYet | ProductPurchaseDecision.PurchaseGranted;
|
|
11412
|
+
export namespace PropertyStatus {
|
|
11413
|
+
export interface Ok {
|
|
11414
|
+
Name: "Ok";
|
|
11415
|
+
Value: 0;
|
|
11416
|
+
EnumType: EnumType<PropertyStatus>;
|
|
11417
|
+
}
|
|
11418
|
+
|
|
11419
|
+
export const Ok: Ok;
|
|
11420
|
+
|
|
11421
|
+
export interface Warning {
|
|
11422
|
+
Name: "Warning";
|
|
11423
|
+
Value: 1;
|
|
11424
|
+
EnumType: EnumType<PropertyStatus>;
|
|
11425
|
+
}
|
|
11426
|
+
|
|
11427
|
+
export const Warning: Warning;
|
|
11428
|
+
|
|
11429
|
+
export interface Error {
|
|
11430
|
+
Name: "Error";
|
|
11431
|
+
Value: 2;
|
|
11432
|
+
EnumType: EnumType<PropertyStatus>;
|
|
11433
|
+
}
|
|
11434
|
+
|
|
11435
|
+
export const Error: Error;
|
|
11436
|
+
|
|
11437
|
+
export function GetEnumItems(this: defined): Array<PropertyStatus>
|
|
11438
|
+
}
|
|
11439
|
+
export type PropertyStatus = PropertyStatus.Ok | PropertyStatus.Warning | PropertyStatus.Error;
|
|
11412
11440
|
export namespace ProximityPromptExclusivity {
|
|
11413
11441
|
export interface OnePerButton {
|
|
11414
11442
|
Name: "OnePerButton";
|
|
@@ -12621,6 +12649,26 @@ declare namespace Enum {
|
|
|
12621
12649
|
export function GetEnumItems(this: defined): Array<ScrollingDirection>
|
|
12622
12650
|
}
|
|
12623
12651
|
export type ScrollingDirection = ScrollingDirection.X | ScrollingDirection.Y | ScrollingDirection.XY;
|
|
12652
|
+
export namespace SelectionBehavior {
|
|
12653
|
+
export interface Escape {
|
|
12654
|
+
Name: "Escape";
|
|
12655
|
+
Value: 0;
|
|
12656
|
+
EnumType: EnumType<SelectionBehavior>;
|
|
12657
|
+
}
|
|
12658
|
+
|
|
12659
|
+
export const Escape: Escape;
|
|
12660
|
+
|
|
12661
|
+
export interface Stop {
|
|
12662
|
+
Name: "Stop";
|
|
12663
|
+
Value: 1;
|
|
12664
|
+
EnumType: EnumType<SelectionBehavior>;
|
|
12665
|
+
}
|
|
12666
|
+
|
|
12667
|
+
export const Stop: Stop;
|
|
12668
|
+
|
|
12669
|
+
export function GetEnumItems(this: defined): Array<SelectionBehavior>
|
|
12670
|
+
}
|
|
12671
|
+
export type SelectionBehavior = SelectionBehavior.Escape | SelectionBehavior.Stop;
|
|
12624
12672
|
export namespace ServerAudioBehavior {
|
|
12625
12673
|
export interface Enabled {
|
|
12626
12674
|
Name: "Enabled";
|
package/include/lua.d.ts
CHANGED
|
@@ -221,28 +221,26 @@ declare namespace TS {
|
|
|
221
221
|
...T[16],
|
|
222
222
|
...T[17],
|
|
223
223
|
...T[18],
|
|
224
|
-
...T[19]
|
|
224
|
+
...T[19],
|
|
225
225
|
];
|
|
226
226
|
|
|
227
227
|
type Flat<T extends Array<any>> = ConcatTuple<
|
|
228
228
|
[...{ [K in keyof T]: T[K] extends Array<any> ? T[K] : [T[K]] }, ...Array<[]>]
|
|
229
229
|
>;
|
|
230
230
|
|
|
231
|
-
type InfoFlags<T extends Array<any>> = TS.Flat<
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
}
|
|
245
|
-
>;
|
|
231
|
+
type InfoFlags<T extends Array<any>> = TS.Flat<{
|
|
232
|
+
[K in keyof T]: T[K] extends "s"
|
|
233
|
+
? string
|
|
234
|
+
: T[K] extends "l"
|
|
235
|
+
? number
|
|
236
|
+
: T[K] extends "n"
|
|
237
|
+
? string | undefined
|
|
238
|
+
: T[K] extends "a"
|
|
239
|
+
? [number, boolean]
|
|
240
|
+
: T[K] extends "f"
|
|
241
|
+
? Callback
|
|
242
|
+
: never;
|
|
243
|
+
}>;
|
|
246
244
|
}
|
|
247
245
|
|
|
248
246
|
declare namespace debug {
|