@rbxts/types 1.0.573 → 1.0.576

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.
@@ -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;
@@ -20728,9 +20729,7 @@ interface MarketplaceService extends Instance {
20728
20729
  * 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
20730
  * Tags: Yields
20730
20731
  */
20731
- GetDeveloperProductsAsync(
20732
- this: MarketplaceService,
20733
- ): StandardPages<{
20732
+ GetDeveloperProductsAsync(this: MarketplaceService): StandardPages<{
20734
20733
  Description: string;
20735
20734
  PriceInRobux: number;
20736
20735
  ProductId: number;
@@ -21069,6 +21068,7 @@ interface MaterialService extends Instance {
21069
21068
  ClearOverridePartMaterial(this: MaterialService, material: CastsToEnum<Enum.Material>): void;
21070
21069
  ClearOverrideTerrainMaterial(this: MaterialService, material: CastsToEnum<Enum.Material>): void;
21071
21070
  GetBaseMaterialOverride(this: MaterialService, material: CastsToEnum<Enum.Material>): string;
21071
+ GetMaterialVariant(this: MaterialService, material: CastsToEnum<Enum.Material>, name: string): MaterialVariant;
21072
21072
  GetOverridePartMaterial(this: MaterialService, material: CastsToEnum<Enum.Material>): MaterialVariant;
21073
21073
  GetOverrideTerrainMaterial(this: MaterialService, material: CastsToEnum<Enum.Material>): MaterialVariant;
21074
21074
  SetBaseMaterialOverride(this: MaterialService, material: CastsToEnum<Enum.Material>, name: string): void;
@@ -35141,6 +35141,17 @@ interface Vector3Curve extends Instance {
35141
35141
  Z(this: Vector3Curve): FloatCurve;
35142
35142
  }
35143
35143
 
35144
+ interface VideoCaptureService extends Instance {
35145
+ /**
35146
+ * **DO NOT USE!**
35147
+ *
35148
+ * This field exists to force TypeScript to recognize this as a nominal type
35149
+ * @hidden
35150
+ * @deprecated
35151
+ */
35152
+ readonly _nominal_VideoCaptureService: unique symbol;
35153
+ }
35154
+
35144
35155
  interface VisibilityService extends Instance {
35145
35156
  /**
35146
35157
  * **DO NOT USE!**
@@ -3593,7 +3593,6 @@ interface StudioService extends Instance {
3593
3593
  UseLocalSpace: boolean;
3594
3594
  AnimationIdSelected(this: StudioService, id: number): void;
3595
3595
  CopyToClipboard(this: StudioService, stringToCopy: string): void;
3596
- DEPRECATED_SetTurnOnTeamCreateOnPublish(this: StudioService, turnOn: boolean): void;
3597
3596
  EmitPlacePublishedSignal(this: StudioService): void;
3598
3597
  GetBadgeConfigureUrl(this: StudioService, badgeId: number): string;
3599
3598
  GetBadgeUploadUrl(this: StudioService): string;
@@ -3282,6 +3282,14 @@ declare namespace Enum {
3282
3282
 
3283
3283
  export const DisconnectOutOfMemory: DisconnectOutOfMemory;
3284
3284
 
3285
+ export interface DisconnectModeratedGame {
3286
+ Name: "DisconnectModeratedGame";
3287
+ Value: 287;
3288
+ EnumType: EnumType<ConnectionError>;
3289
+ }
3290
+
3291
+ export const DisconnectModeratedGame: DisconnectModeratedGame;
3292
+
3285
3293
  export interface PlacelaunchErrors {
3286
3294
  Name: "PlacelaunchErrors";
3287
3295
  Value: 512;
@@ -3468,7 +3476,7 @@ declare namespace Enum {
3468
3476
 
3469
3477
  export function GetEnumItems(this: defined): Array<ConnectionError>
3470
3478
  }
3471
- export type ConnectionError = ConnectionError.OK | ConnectionError.DisconnectErrors | ConnectionError.DisconnectBadhash | ConnectionError.DisconnectSecurityKeyMismatch | ConnectionError.DisconnectNewSecurityKeyMismatch | ConnectionError.DisconnectProtocolMismatch | ConnectionError.DisconnectReceivePacketError | ConnectionError.DisconnectReceivePacketStreamError | ConnectionError.DisconnectSendPacketError | ConnectionError.DisconnectIllegalTeleport | ConnectionError.DisconnectDuplicatePlayer | ConnectionError.DisconnectDuplicateTicket | ConnectionError.DisconnectTimeout | ConnectionError.DisconnectLuaKick | ConnectionError.DisconnectOnRemoteSysStats | ConnectionError.DisconnectHashTimeout | ConnectionError.DisconnectCloudEditKick | ConnectionError.DisconnectPlayerless | ConnectionError.DisconnectEvicted | ConnectionError.DisconnectDevMaintenance | ConnectionError.DisconnectRobloxMaintenance | ConnectionError.DisconnectRejoin | ConnectionError.DisconnectConnectionLost | ConnectionError.DisconnectIdle | ConnectionError.DisconnectRaknetErrors | ConnectionError.DisconnectWrongVersion | ConnectionError.DisconnectBySecurityPolicy | ConnectionError.DisconnectBlockedIP | ConnectionError.DisconnectClientFailure | ConnectionError.DisconnectClientRequest | ConnectionError.DisconnectOutOfMemory | ConnectionError.PlacelaunchErrors | ConnectionError.PlacelaunchDisabled | ConnectionError.PlacelaunchError | ConnectionError.PlacelaunchGameEnded | ConnectionError.PlacelaunchGameFull | ConnectionError.PlacelaunchUserLeft | ConnectionError.PlacelaunchRestricted | ConnectionError.PlacelaunchUnauthorized | ConnectionError.PlacelaunchFlooded | ConnectionError.PlacelaunchHashExpired | ConnectionError.PlacelaunchHashException | ConnectionError.PlacelaunchPartyCannotFit | ConnectionError.PlacelaunchHttpError | ConnectionError.PlacelaunchCustomMessage | ConnectionError.PlacelaunchOtherError | ConnectionError.TeleportErrors | ConnectionError.TeleportFailure | ConnectionError.TeleportGameNotFound | ConnectionError.TeleportGameEnded | ConnectionError.TeleportGameFull | ConnectionError.TeleportUnauthorized | ConnectionError.TeleportFlooded | ConnectionError.TeleportIsTeleporting;
3479
+ export type ConnectionError = ConnectionError.OK | ConnectionError.DisconnectErrors | ConnectionError.DisconnectBadhash | ConnectionError.DisconnectSecurityKeyMismatch | ConnectionError.DisconnectNewSecurityKeyMismatch | ConnectionError.DisconnectProtocolMismatch | ConnectionError.DisconnectReceivePacketError | ConnectionError.DisconnectReceivePacketStreamError | ConnectionError.DisconnectSendPacketError | ConnectionError.DisconnectIllegalTeleport | ConnectionError.DisconnectDuplicatePlayer | ConnectionError.DisconnectDuplicateTicket | ConnectionError.DisconnectTimeout | ConnectionError.DisconnectLuaKick | ConnectionError.DisconnectOnRemoteSysStats | ConnectionError.DisconnectHashTimeout | ConnectionError.DisconnectCloudEditKick | ConnectionError.DisconnectPlayerless | ConnectionError.DisconnectEvicted | ConnectionError.DisconnectDevMaintenance | ConnectionError.DisconnectRobloxMaintenance | ConnectionError.DisconnectRejoin | ConnectionError.DisconnectConnectionLost | ConnectionError.DisconnectIdle | ConnectionError.DisconnectRaknetErrors | ConnectionError.DisconnectWrongVersion | ConnectionError.DisconnectBySecurityPolicy | ConnectionError.DisconnectBlockedIP | ConnectionError.DisconnectClientFailure | ConnectionError.DisconnectClientRequest | ConnectionError.DisconnectOutOfMemory | ConnectionError.DisconnectModeratedGame | ConnectionError.PlacelaunchErrors | ConnectionError.PlacelaunchDisabled | ConnectionError.PlacelaunchError | ConnectionError.PlacelaunchGameEnded | ConnectionError.PlacelaunchGameFull | ConnectionError.PlacelaunchUserLeft | ConnectionError.PlacelaunchRestricted | ConnectionError.PlacelaunchUnauthorized | ConnectionError.PlacelaunchFlooded | ConnectionError.PlacelaunchHashExpired | ConnectionError.PlacelaunchHashException | ConnectionError.PlacelaunchPartyCannotFit | ConnectionError.PlacelaunchHttpError | ConnectionError.PlacelaunchCustomMessage | ConnectionError.PlacelaunchOtherError | ConnectionError.TeleportErrors | ConnectionError.TeleportFailure | ConnectionError.TeleportGameNotFound | ConnectionError.TeleportGameEnded | ConnectionError.TeleportGameFull | ConnectionError.TeleportUnauthorized | ConnectionError.TeleportFlooded | ConnectionError.TeleportIsTeleporting;
3472
3480
  export namespace ConnectionState {
3473
3481
  export interface Connected {
3474
3482
  Name: "Connected";
@@ -11401,6 +11409,34 @@ declare namespace Enum {
11401
11409
  export function GetEnumItems(this: defined): Array<ProductPurchaseDecision>
11402
11410
  }
11403
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;
11404
11440
  export namespace ProximityPromptExclusivity {
11405
11441
  export interface OnePerButton {
11406
11442
  Name: "OnePerButton";
@@ -12613,6 +12649,26 @@ declare namespace Enum {
12613
12649
  export function GetEnumItems(this: defined): Array<ScrollingDirection>
12614
12650
  }
12615
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;
12616
12672
  export namespace ServerAudioBehavior {
12617
12673
  export interface Enabled {
12618
12674
  Name: "Enabled";
@@ -16374,9 +16430,49 @@ declare namespace Enum {
16374
16430
 
16375
16431
  export const OuterCage: OuterCage;
16376
16432
 
16433
+ export interface ReferenceMeshAfterMorph {
16434
+ Name: "ReferenceMeshAfterMorph";
16435
+ Value: 7;
16436
+ EnumType: EnumType<WrapLayerDebugMode>;
16437
+ }
16438
+
16439
+ export const ReferenceMeshAfterMorph: ReferenceMeshAfterMorph;
16440
+
16441
+ export interface HSROuterDetail {
16442
+ Name: "HSROuterDetail";
16443
+ Value: 8;
16444
+ EnumType: EnumType<WrapLayerDebugMode>;
16445
+ }
16446
+
16447
+ export const HSROuterDetail: HSROuterDetail;
16448
+
16449
+ export interface HSROuter {
16450
+ Name: "HSROuter";
16451
+ Value: 9;
16452
+ EnumType: EnumType<WrapLayerDebugMode>;
16453
+ }
16454
+
16455
+ export const HSROuter: HSROuter;
16456
+
16457
+ export interface HSRInner {
16458
+ Name: "HSRInner";
16459
+ Value: 10;
16460
+ EnumType: EnumType<WrapLayerDebugMode>;
16461
+ }
16462
+
16463
+ export const HSRInner: HSRInner;
16464
+
16465
+ export interface HSRInnerReverse {
16466
+ Name: "HSRInnerReverse";
16467
+ Value: 11;
16468
+ EnumType: EnumType<WrapLayerDebugMode>;
16469
+ }
16470
+
16471
+ export const HSRInnerReverse: HSRInnerReverse;
16472
+
16377
16473
  export function GetEnumItems(this: defined): Array<WrapLayerDebugMode>
16378
16474
  }
16379
- export type WrapLayerDebugMode = WrapLayerDebugMode.None | WrapLayerDebugMode.BoundCage | WrapLayerDebugMode.LayerCage | WrapLayerDebugMode.BoundCageAndLinks | WrapLayerDebugMode.Reference | WrapLayerDebugMode.Rbf | WrapLayerDebugMode.OuterCage;
16475
+ export type WrapLayerDebugMode = WrapLayerDebugMode.None | WrapLayerDebugMode.BoundCage | WrapLayerDebugMode.LayerCage | WrapLayerDebugMode.BoundCageAndLinks | WrapLayerDebugMode.Reference | WrapLayerDebugMode.Rbf | WrapLayerDebugMode.OuterCage | WrapLayerDebugMode.ReferenceMeshAfterMorph | WrapLayerDebugMode.HSROuterDetail | WrapLayerDebugMode.HSROuter | WrapLayerDebugMode.HSRInner | WrapLayerDebugMode.HSRInnerReverse;
16380
16476
  export namespace WrapTargetDebugMode {
16381
16477
  export interface None {
16382
16478
  Name: "None";
@@ -16442,9 +16538,17 @@ declare namespace Enum {
16442
16538
 
16443
16539
  export const Rbf: Rbf;
16444
16540
 
16541
+ export interface OuterCageDetail {
16542
+ Name: "OuterCageDetail";
16543
+ Value: 8;
16544
+ EnumType: EnumType<WrapTargetDebugMode>;
16545
+ }
16546
+
16547
+ export const OuterCageDetail: OuterCageDetail;
16548
+
16445
16549
  export function GetEnumItems(this: defined): Array<WrapTargetDebugMode>
16446
16550
  }
16447
- export type WrapTargetDebugMode = WrapTargetDebugMode.None | WrapTargetDebugMode.TargetCageOriginal | WrapTargetDebugMode.TargetCageCompressed | WrapTargetDebugMode.TargetCageInterface | WrapTargetDebugMode.TargetLayerCageOriginal | WrapTargetDebugMode.TargetLayerCageCompressed | WrapTargetDebugMode.TargetLayerInterface | WrapTargetDebugMode.Rbf;
16551
+ export type WrapTargetDebugMode = WrapTargetDebugMode.None | WrapTargetDebugMode.TargetCageOriginal | WrapTargetDebugMode.TargetCageCompressed | WrapTargetDebugMode.TargetCageInterface | WrapTargetDebugMode.TargetLayerCageOriginal | WrapTargetDebugMode.TargetLayerCageCompressed | WrapTargetDebugMode.TargetLayerInterface | WrapTargetDebugMode.Rbf | WrapTargetDebugMode.OuterCageDetail;
16448
16552
  export namespace ZIndexBehavior {
16449
16553
  export interface Global {
16450
16554
  Name: "Global";
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
- [K in keyof T]: T[K] extends "s"
234
- ? string
235
- : T[K] extends "l"
236
- ? number
237
- : T[K] extends "n"
238
- ? string | undefined
239
- : T[K] extends "a"
240
- ? [number, boolean]
241
- : T[K] extends "f"
242
- ? Callback
243
- : never;
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 {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/types",
3
- "version": "1.0.573",
3
+ "version": "1.0.576",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },