@rbxts/types 1.0.745 → 1.0.747

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.
@@ -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: 0;
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: 1;
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 None: None;
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.Editing3D | CollaboratorStatus.Scripting | CollaboratorStatus.PrivateScripting | CollaboratorStatus.None;
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
@@ -214,14 +214,14 @@ declare namespace TS {
214
214
  [K in keyof T]: T[K] extends "s"
215
215
  ? string
216
216
  : T[K] extends "l"
217
- ? number
218
- : T[K] extends "n"
219
- ? string | undefined
220
- : T[K] extends "a"
221
- ? [number, boolean]
222
- : T[K] extends "f"
223
- ? Callback
224
- : never;
217
+ ? number
218
+ : T[K] extends "n"
219
+ ? string | undefined
220
+ : T[K] extends "a"
221
+ ? [number, boolean]
222
+ : T[K] extends "f"
223
+ ? Callback
224
+ : never;
225
225
  }>;
226
226
  }
227
227
 
@@ -266,28 +266,28 @@ declare namespace debug {
266
266
  ): T extends `${infer A}${infer B}${infer C}${infer D}${infer E}${infer _}`
267
267
  ? LuaTuple<TS.InfoFlags<[A, B, C, D, E]>>
268
268
  : T extends `${infer A}${infer B}${infer C}${infer D}${infer _}`
269
- ? LuaTuple<TS.InfoFlags<[A, B, C, D]>>
270
- : T extends `${infer A}${infer B}${infer C}${infer _}`
271
- ? LuaTuple<TS.InfoFlags<[A, B, C]>>
272
- : T extends `${infer A}${infer B}${infer _}`
273
- ? LuaTuple<TS.InfoFlags<[A, B]>>
274
- : T extends `${infer A}${infer _}`
275
- ? LuaTuple<TS.InfoFlags<[A]>>
276
- : LuaTuple<[unknown, unknown, unknown, unknown, unknown]>;
269
+ ? LuaTuple<TS.InfoFlags<[A, B, C, D]>>
270
+ : T extends `${infer A}${infer B}${infer C}${infer _}`
271
+ ? LuaTuple<TS.InfoFlags<[A, B, C]>>
272
+ : T extends `${infer A}${infer B}${infer _}`
273
+ ? LuaTuple<TS.InfoFlags<[A, B]>>
274
+ : T extends `${infer A}${infer _}`
275
+ ? LuaTuple<TS.InfoFlags<[A]>>
276
+ : LuaTuple<[unknown, unknown, unknown, unknown, unknown]>;
277
277
  function info<T extends string>(
278
278
  functionOrLevel: Callback | number,
279
279
  options: T,
280
280
  ): T extends `${infer A}${infer B}${infer C}${infer D}${infer E}${infer _}`
281
281
  ? LuaTuple<TS.InfoFlags<[A, B, C, D, E]>>
282
282
  : T extends `${infer A}${infer B}${infer C}${infer D}${infer _}`
283
- ? LuaTuple<TS.InfoFlags<[A, B, C, D]>>
284
- : T extends `${infer A}${infer B}${infer C}${infer _}`
285
- ? LuaTuple<TS.InfoFlags<[A, B, C]>>
286
- : T extends `${infer A}${infer B}${infer _}`
287
- ? LuaTuple<TS.InfoFlags<[A, B]>>
288
- : T extends `${infer A}${infer _}`
289
- ? LuaTuple<TS.InfoFlags<[A]>>
290
- : LuaTuple<[unknown, unknown, unknown, unknown, unknown]>;
283
+ ? LuaTuple<TS.InfoFlags<[A, B, C, D]>>
284
+ : T extends `${infer A}${infer B}${infer C}${infer _}`
285
+ ? LuaTuple<TS.InfoFlags<[A, B, C]>>
286
+ : T extends `${infer A}${infer B}${infer _}`
287
+ ? LuaTuple<TS.InfoFlags<[A, B]>>
288
+ : T extends `${infer A}${infer _}`
289
+ ? LuaTuple<TS.InfoFlags<[A]>>
290
+ : LuaTuple<[unknown, unknown, unknown, unknown, unknown]>;
291
291
 
292
292
  /**
293
293
  * Assigns a custom tag name to the current thread's memory category in the Developer Console. Useful for analyzing memory usage of multiple threads in the same script which would otherwise be grouped together under the same tag/name.
@@ -761,36 +761,36 @@ declare function next<T extends ReadonlyArray<any>>(
761
761
  ): T extends readonly [infer A]
762
762
  ? LuaTuple<[number, A]>
763
763
  : T extends readonly [infer A, infer B]
764
- ? LuaTuple<[number, A | B]>
765
- : T extends readonly [infer A, infer B, infer C]
766
- ? LuaTuple<[number, A | B | C]>
767
- : T extends readonly [infer A, infer B, infer C, infer D]
768
- ? LuaTuple<[number, A | B | C | D]>
769
- : T extends readonly [infer A, infer B, infer C, infer D, infer E]
770
- ? LuaTuple<[number, A | B | C | D | E]>
771
- : T extends readonly [infer A, infer B, infer C, infer D, infer E, infer F]
772
- ? LuaTuple<[number, A | B | C | D | E | F]>
773
- : T extends ReadonlyArray<infer U>
774
- ? LuaTuple<[number, U]>
775
- : LuaTuple<[unknown, unknown]>;
764
+ ? LuaTuple<[number, A | B]>
765
+ : T extends readonly [infer A, infer B, infer C]
766
+ ? LuaTuple<[number, A | B | C]>
767
+ : T extends readonly [infer A, infer B, infer C, infer D]
768
+ ? LuaTuple<[number, A | B | C | D]>
769
+ : T extends readonly [infer A, infer B, infer C, infer D, infer E]
770
+ ? LuaTuple<[number, A | B | C | D | E]>
771
+ : T extends readonly [infer A, infer B, infer C, infer D, infer E, infer F]
772
+ ? LuaTuple<[number, A | B | C | D | E | F]>
773
+ : T extends ReadonlyArray<infer U>
774
+ ? LuaTuple<[number, U]>
775
+ : LuaTuple<[unknown, unknown]>;
776
776
  declare function next<T extends ReadonlyArray<any>>(
777
777
  object: T,
778
778
  index?: number,
779
779
  ): T extends [infer A]
780
780
  ? LuaTuple<[number, A]>
781
781
  : T extends [infer A, infer B]
782
- ? LuaTuple<[number, A | B]>
783
- : T extends [infer A, infer B, infer C]
784
- ? LuaTuple<[number, A | B | C]>
785
- : T extends [infer A, infer B, infer C, infer D]
786
- ? LuaTuple<[number, A | B | C | D]>
787
- : T extends [infer A, infer B, infer C, infer D, infer E]
788
- ? LuaTuple<[number, A | B | C | D | E]>
789
- : T extends [infer A, infer B, infer C, infer D, infer E, infer F]
790
- ? LuaTuple<[number, A | B | C | D | E | F]>
791
- : T extends ReadonlyArray<infer U>
792
- ? LuaTuple<[number, U]>
793
- : LuaTuple<[unknown, unknown]>;
782
+ ? LuaTuple<[number, A | B]>
783
+ : T extends [infer A, infer B, infer C]
784
+ ? LuaTuple<[number, A | B | C]>
785
+ : T extends [infer A, infer B, infer C, infer D]
786
+ ? LuaTuple<[number, A | B | C | D]>
787
+ : T extends [infer A, infer B, infer C, infer D, infer E]
788
+ ? LuaTuple<[number, A | B | C | D | E]>
789
+ : T extends [infer A, infer B, infer C, infer D, infer E, infer F]
790
+ ? LuaTuple<[number, A | B | C | D | E | F]>
791
+ : T extends ReadonlyArray<infer U>
792
+ ? LuaTuple<[number, U]>
793
+ : LuaTuple<[unknown, unknown]>;
794
794
  declare function next<T>(object: ReadonlyArray<T>, index?: number): LuaTuple<[number, T]>;
795
795
  declare function next<T>(object: ReadonlySet<T>, index?: T): LuaTuple<[T, true]>;
796
796
  declare function next<K, V>(object: ReadonlyMap<K, V>, index?: K): LuaTuple<[K, V]>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/types",
3
- "version": "1.0.745",
3
+ "version": "1.0.747",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },