@rbxts/types 1.0.746 → 1.0.748
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 +22 -0
- package/include/generated/enums.d.ts +57 -12
- package/include/lua.d.ts +1 -1
- package/package.json +1 -1
|
@@ -158,6 +158,7 @@ interface Services {
|
|
|
158
158
|
TextChatService: TextChatService;
|
|
159
159
|
TextService: TextService;
|
|
160
160
|
TextureGenerationMeshHandler: TextureGenerationMeshHandler;
|
|
161
|
+
TextureGenerationService: TextureGenerationService;
|
|
161
162
|
ToastNotificationService: ToastNotificationService;
|
|
162
163
|
TracerService: TracerService;
|
|
163
164
|
TutorialService: TutorialService;
|
|
@@ -2356,6 +2357,10 @@ interface AssetService extends Instance {
|
|
|
2356
2357
|
* Tags: Yields
|
|
2357
2358
|
*/
|
|
2358
2359
|
GetAssetIdsForPackage(this: AssetService, packageAssetId: number): Array<number>;
|
|
2360
|
+
/**
|
|
2361
|
+
* Tags: Yields
|
|
2362
|
+
*/
|
|
2363
|
+
GetAudioMetadataAsync(this: AssetService, idList: Array<any>): unknown;
|
|
2359
2364
|
/**
|
|
2360
2365
|
* If the bundle Id does not exist, it throws HTTP 400 (HTTP/1.1 400 Bad Request). If bundleId is not convertible to int, throws "Unable to cast string to int64". If param type is string, it implicitly tries to convert to int.
|
|
2361
2366
|
*
|
|
@@ -3791,6 +3796,7 @@ interface RootImportData extends BaseImportData {
|
|
|
3791
3796
|
* Tags: NotReplicated
|
|
3792
3797
|
*/
|
|
3793
3798
|
readonly PolygonCount: number;
|
|
3799
|
+
PreferredUploadId: number;
|
|
3794
3800
|
RestPose: Enum.RestPose;
|
|
3795
3801
|
RigScale: Enum.RigScale;
|
|
3796
3802
|
RigType: Enum.RigType;
|
|
@@ -34528,6 +34534,17 @@ interface TextureGenerationMeshHandler extends Instance {
|
|
|
34528
34534
|
readonly _nominal_TextureGenerationMeshHandler: unique symbol;
|
|
34529
34535
|
}
|
|
34530
34536
|
|
|
34537
|
+
interface TextureGenerationService extends Instance {
|
|
34538
|
+
/**
|
|
34539
|
+
* **DO NOT USE!**
|
|
34540
|
+
*
|
|
34541
|
+
* This field exists to force TypeScript to recognize this as a nominal type
|
|
34542
|
+
* @hidden
|
|
34543
|
+
* @deprecated
|
|
34544
|
+
*/
|
|
34545
|
+
readonly _nominal_TextureGenerationService: unique symbol;
|
|
34546
|
+
}
|
|
34547
|
+
|
|
34531
34548
|
interface ThreadState extends Instance {
|
|
34532
34549
|
/**
|
|
34533
34550
|
* **DO NOT USE!**
|
|
@@ -37671,6 +37688,9 @@ interface VRService extends Instance {
|
|
|
37671
37688
|
* Tags: NotReplicated
|
|
37672
37689
|
*/
|
|
37673
37690
|
AutomaticScaling: Enum.VRScaling;
|
|
37691
|
+
/**
|
|
37692
|
+
* Tags: NotReplicated
|
|
37693
|
+
*/
|
|
37674
37694
|
FadeOutViewOnCollision: boolean;
|
|
37675
37695
|
/**
|
|
37676
37696
|
* The GuiInputUserCFrame property describes what [UserCFrame](https://developer.roblox.com/en-us/api-reference/enum/UserCFrame) is responsible for input in VR. For instance, if a VR headset is responsible, the value of this property will be UserCFrame.Head.
|
|
@@ -37678,6 +37698,8 @@ interface VRService extends Instance {
|
|
|
37678
37698
|
* To check if Roblox detects any VR devices, which would be responsible for input in VR, you can check the [VRService.VREnabled](https://developer.roblox.com/en-us/api-reference/property/VRService/VREnabled) property.
|
|
37679
37699
|
*
|
|
37680
37700
|
* Since [VRService](https://developer.roblox.com/en-us/api-reference/class/VRService) only runs client-side, this property will only work when used in a [LocalScript](https://developer.roblox.com/en-us/api-reference/class/LocalScript).
|
|
37701
|
+
*
|
|
37702
|
+
* Tags: NotReplicated
|
|
37681
37703
|
*/
|
|
37682
37704
|
GuiInputUserCFrame: Enum.UserCFrame;
|
|
37683
37705
|
/**
|
|
@@ -3717,9 +3717,17 @@ declare namespace Enum {
|
|
|
3717
3717
|
export type ClientAnimatorThrottlingMode = ClientAnimatorThrottlingMode.Default | ClientAnimatorThrottlingMode.Disabled | ClientAnimatorThrottlingMode.Enabled;
|
|
3718
3718
|
|
|
3719
3719
|
export namespace CollaboratorStatus {
|
|
3720
|
+
export interface None extends globalThis.EnumItem {
|
|
3721
|
+
Name: "None";
|
|
3722
|
+
Value: 0;
|
|
3723
|
+
EnumType: typeof globalThis.Enum.CollaboratorStatus;
|
|
3724
|
+
}
|
|
3725
|
+
|
|
3726
|
+
export const None: None;
|
|
3727
|
+
|
|
3720
3728
|
export interface Editing3D extends globalThis.EnumItem {
|
|
3721
3729
|
Name: "Editing3D";
|
|
3722
|
-
Value:
|
|
3730
|
+
Value: 1;
|
|
3723
3731
|
EnumType: typeof globalThis.Enum.CollaboratorStatus;
|
|
3724
3732
|
}
|
|
3725
3733
|
|
|
@@ -3727,7 +3735,7 @@ declare namespace Enum {
|
|
|
3727
3735
|
|
|
3728
3736
|
export interface Scripting extends globalThis.EnumItem {
|
|
3729
3737
|
Name: "Scripting";
|
|
3730
|
-
Value:
|
|
3738
|
+
Value: 2;
|
|
3731
3739
|
EnumType: typeof globalThis.Enum.CollaboratorStatus;
|
|
3732
3740
|
}
|
|
3733
3741
|
|
|
@@ -3735,23 +3743,15 @@ declare namespace Enum {
|
|
|
3735
3743
|
|
|
3736
3744
|
export interface PrivateScripting extends globalThis.EnumItem {
|
|
3737
3745
|
Name: "PrivateScripting";
|
|
3738
|
-
Value: 2;
|
|
3739
|
-
EnumType: typeof globalThis.Enum.CollaboratorStatus;
|
|
3740
|
-
}
|
|
3741
|
-
|
|
3742
|
-
export const PrivateScripting: PrivateScripting;
|
|
3743
|
-
|
|
3744
|
-
export interface None extends globalThis.EnumItem {
|
|
3745
|
-
Name: "None";
|
|
3746
3746
|
Value: 3;
|
|
3747
3747
|
EnumType: typeof globalThis.Enum.CollaboratorStatus;
|
|
3748
3748
|
}
|
|
3749
3749
|
|
|
3750
|
-
export const
|
|
3750
|
+
export const PrivateScripting: PrivateScripting;
|
|
3751
3751
|
|
|
3752
3752
|
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.CollaboratorStatus>;
|
|
3753
3753
|
}
|
|
3754
|
-
export type CollaboratorStatus = CollaboratorStatus.
|
|
3754
|
+
export type CollaboratorStatus = CollaboratorStatus.None | CollaboratorStatus.Editing3D | CollaboratorStatus.Scripting | CollaboratorStatus.PrivateScripting;
|
|
3755
3755
|
|
|
3756
3756
|
export namespace CollisionFidelity {
|
|
3757
3757
|
export interface Default extends globalThis.EnumItem {
|
|
@@ -12300,6 +12300,51 @@ declare namespace Enum {
|
|
|
12300
12300
|
}
|
|
12301
12301
|
export type ModelStreamingMode = ModelStreamingMode.Default | ModelStreamingMode.Atomic | ModelStreamingMode.Persistent | ModelStreamingMode.PersistentPerPlayer | ModelStreamingMode.Nonatomic;
|
|
12302
12302
|
|
|
12303
|
+
export namespace ModerationStatus {
|
|
12304
|
+
export interface ReviewedApproved extends globalThis.EnumItem {
|
|
12305
|
+
Name: "ReviewedApproved";
|
|
12306
|
+
Value: 1;
|
|
12307
|
+
EnumType: typeof globalThis.Enum.ModerationStatus;
|
|
12308
|
+
}
|
|
12309
|
+
|
|
12310
|
+
export const ReviewedApproved: ReviewedApproved;
|
|
12311
|
+
|
|
12312
|
+
export interface ReviewedRejected extends globalThis.EnumItem {
|
|
12313
|
+
Name: "ReviewedRejected";
|
|
12314
|
+
Value: 2;
|
|
12315
|
+
EnumType: typeof globalThis.Enum.ModerationStatus;
|
|
12316
|
+
}
|
|
12317
|
+
|
|
12318
|
+
export const ReviewedRejected: ReviewedRejected;
|
|
12319
|
+
|
|
12320
|
+
export interface NotReviewed extends globalThis.EnumItem {
|
|
12321
|
+
Name: "NotReviewed";
|
|
12322
|
+
Value: 3;
|
|
12323
|
+
EnumType: typeof globalThis.Enum.ModerationStatus;
|
|
12324
|
+
}
|
|
12325
|
+
|
|
12326
|
+
export const NotReviewed: NotReviewed;
|
|
12327
|
+
|
|
12328
|
+
export interface NotApplicable extends globalThis.EnumItem {
|
|
12329
|
+
Name: "NotApplicable";
|
|
12330
|
+
Value: 4;
|
|
12331
|
+
EnumType: typeof globalThis.Enum.ModerationStatus;
|
|
12332
|
+
}
|
|
12333
|
+
|
|
12334
|
+
export const NotApplicable: NotApplicable;
|
|
12335
|
+
|
|
12336
|
+
export interface Invalid extends globalThis.EnumItem {
|
|
12337
|
+
Name: "Invalid";
|
|
12338
|
+
Value: 5;
|
|
12339
|
+
EnumType: typeof globalThis.Enum.ModerationStatus;
|
|
12340
|
+
}
|
|
12341
|
+
|
|
12342
|
+
export const Invalid: Invalid;
|
|
12343
|
+
|
|
12344
|
+
export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.ModerationStatus>;
|
|
12345
|
+
}
|
|
12346
|
+
export type ModerationStatus = ModerationStatus.ReviewedApproved | ModerationStatus.ReviewedRejected | ModerationStatus.NotReviewed | ModerationStatus.NotApplicable | ModerationStatus.Invalid;
|
|
12347
|
+
|
|
12303
12348
|
export namespace ModifierKey {
|
|
12304
12349
|
export interface Shift extends globalThis.EnumItem {
|
|
12305
12350
|
Name: "Shift";
|
package/include/lua.d.ts
CHANGED
|
@@ -325,7 +325,7 @@ interface String {
|
|
|
325
325
|
gsub(
|
|
326
326
|
this: string,
|
|
327
327
|
pattern: string,
|
|
328
|
-
repl: (value: string) => string | number | undefined,
|
|
328
|
+
repl: (...value: Array<string>) => string | number | undefined,
|
|
329
329
|
n?: number,
|
|
330
330
|
): LuaTuple<[string, number]>;
|
|
331
331
|
gsub(this: string, pattern: string, repl: Map<string, string | number>, n?: number): LuaTuple<[string, number]>;
|