@rbxts/types 1.0.665 → 1.0.667

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.
@@ -112,7 +112,6 @@ interface Services {
112
112
  Stats: Stats;
113
113
  StudioAssetService: StudioAssetService;
114
114
  StudioDeviceEmulatorService: StudioDeviceEmulatorService;
115
- StudioHighDpiService: StudioHighDpiService;
116
115
  StudioPublishService: StudioPublishService;
117
116
  StudioScriptDebugEventListener: StudioScriptDebugEventListener;
118
117
  StudioSdkService: StudioSdkService;
@@ -159,6 +158,7 @@ interface CreatableInstances {
159
158
  ArcHandles: ArcHandles;
160
159
  Atmosphere: Atmosphere;
161
160
  Attachment: Attachment;
161
+ AudioSearchParams: AudioSearchParams;
162
162
  Backpack: Backpack;
163
163
  BallSocketConstraint: BallSocketConstraint;
164
164
  Beam: Beam;
@@ -431,6 +431,7 @@ interface Instances extends Services, CreatableInstances, AbstractInstances {
431
431
  AssetImportSession: AssetImportSession;
432
432
  AssetPatchSettings: AssetPatchSettings;
433
433
  AssetSoundEffect: AssetSoundEffect;
434
+ AudioPages: AudioPages;
434
435
  BaseWrap: BaseWrap;
435
436
  BubbleChatConfiguration: BubbleChatConfiguration;
436
437
  CatalogPages: CatalogPages;
@@ -477,6 +478,7 @@ interface Instances extends Services, CreatableInstances, AbstractInstances {
477
478
  MaterialGenerationSession: MaterialGenerationSession;
478
479
  MemoryStoreQueue: MemoryStoreQueue;
479
480
  MemoryStoreSortedMap: MemoryStoreSortedMap;
481
+ MeshDataExperimental: MeshDataExperimental;
480
482
  MessageBusConnection: MessageBusConnection;
481
483
  MetaBreakpoint: MetaBreakpoint;
482
484
  MetaBreakpointContext: MetaBreakpointContext;
@@ -1236,10 +1238,14 @@ interface AdPortal extends Instance {
1236
1238
  */
1237
1239
  readonly _nominal_AdPortal: unique symbol;
1238
1240
  /**
1239
- * Tags: ReadOnly, NotReplicated
1241
+ * Tags: ReadOnly, NotReplicated, Deprecated
1242
+ * @deprecated
1240
1243
  */
1241
1244
  readonly PortalStatus: Enum.AdPortalStatus;
1242
- PortalType: Enum.AdPortalType;
1245
+ /**
1246
+ * Tags: ReadOnly, NotReplicated
1247
+ */
1248
+ readonly Status: Enum.AdUnitStatus;
1243
1249
  }
1244
1250
 
1245
1251
  /** **Note**
@@ -2278,11 +2284,19 @@ interface AssetService extends Instance {
2278
2284
  * Tags: Yields
2279
2285
  */
2280
2286
  GetGamePlacesAsync(this: AssetService): StandardPages<{ Name: string; PlaceId: number }>;
2287
+ /**
2288
+ * Tags: Yields
2289
+ */
2290
+ PromptPublishAssetAsync(this: AssetService, player: Player, instance: Instance, assetType: CastsToEnum<Enum.AssetType>): unknown;
2281
2291
  /**
2282
2292
  * Saves the state of the current place. This will only work for places that have been created with [AssetService:CreatePlaceAsync](https://developer.roblox.com/en-us/api-reference/function/AssetService/CreatePlaceAsync) or [AssetService:CreatePlaceInPlayerInventoryAsync](https://developer.roblox.com/en-us/api-reference/function/AssetService/CreatePlaceInPlayerInventoryAsync).
2283
2293
  * Tags: Yields
2284
2294
  */
2285
2295
  SavePlaceAsync(this: AssetService): void;
2296
+ /**
2297
+ * Tags: Yields
2298
+ */
2299
+ SearchAudio(this: AssetService, searchParameters: AudioSearchParams): AudioPages;
2286
2300
  }
2287
2301
 
2288
2302
  /** **Note**
@@ -2542,6 +2556,25 @@ interface Bone extends Attachment {
2542
2556
  readonly TransformedWorldCFrame: CFrame;
2543
2557
  }
2544
2558
 
2559
+ interface AudioSearchParams extends Instance {
2560
+ /**
2561
+ * **DO NOT USE!**
2562
+ *
2563
+ * This field exists to force TypeScript to recognize this as a nominal type
2564
+ * @hidden
2565
+ * @deprecated
2566
+ */
2567
+ readonly _nominal_AudioSearchParams: unique symbol;
2568
+ Album: string;
2569
+ Artist: string;
2570
+ AudioSubtype: Enum.AudioSubType;
2571
+ MaxDuration: number;
2572
+ MinDuration: number;
2573
+ SearchKeyword: string;
2574
+ Tag: string;
2575
+ Title: string;
2576
+ }
2577
+
2545
2578
  /** AvatarEditorService is a service to support developer Avatar Editors. It provides methods to modify the player's platform avatar, request information about a user's inventory, and request information about the catalog.
2546
2579
  *
2547
2580
  * See also
@@ -8311,10 +8344,7 @@ interface ControllerManager extends Instance {
8311
8344
  * @deprecated
8312
8345
  */
8313
8346
  readonly _nominal_ControllerManager: unique symbol;
8314
- /**
8315
- * Tags: ReadOnly, NotReplicated
8316
- */
8317
- readonly ActiveController: ControllerBase | undefined;
8347
+ ActiveController: ControllerBase | undefined;
8318
8348
  BaseMoveSpeed: number;
8319
8349
  BaseTurnSpeed: number;
8320
8350
  ClimbSensor: ControllerSensor | undefined;
@@ -13202,6 +13232,10 @@ interface AdGui extends SurfaceGuiBase {
13202
13232
  */
13203
13233
  readonly _nominal_AdGui: unique symbol;
13204
13234
  AdShape: Enum.AdShape;
13235
+ /**
13236
+ * Tags: ReadOnly, NotReplicated
13237
+ */
13238
+ readonly Status: Enum.AdUnitStatus;
13205
13239
  }
13206
13240
 
13207
13241
  /** **Note:** SurfaceGuis must be descendants of PlayerGui in order to know the player who is interacting with it.Allows for the rendering of GUI elements onto a part's surface in the 3D world, whilst allowing for basic user interaction to occur.
@@ -16228,6 +16262,22 @@ interface IKControl extends Instance {
16228
16262
  Weight: number;
16229
16263
  GetChainCount(this: IKControl): number;
16230
16264
  GetChainLength(this: IKControl): number;
16265
+ /**
16266
+ * Tags: NotBrowsable
16267
+ */
16268
+ GetNodeLocalCFrame(this: IKControl, index: number): CFrame;
16269
+ /**
16270
+ * Tags: NotBrowsable
16271
+ */
16272
+ GetNodeWorldCFrame(this: IKControl, index: number): CFrame;
16273
+ /**
16274
+ * Tags: NotBrowsable
16275
+ */
16276
+ GetRawFinalTarget(this: IKControl): CFrame;
16277
+ /**
16278
+ * Tags: NotBrowsable
16279
+ */
16280
+ GetSmoothedFinalTarget(this: IKControl): CFrame;
16231
16281
  }
16232
16282
 
16233
16283
  interface ILegacyStudioBridge extends Instance {
@@ -16277,6 +16327,10 @@ interface ImageDataExperimental extends Instance {
16277
16327
  * Tags: ReadOnly, NotReplicated
16278
16328
  */
16279
16329
  readonly TemporaryId: string;
16330
+ Clear(this: ImageDataExperimental): void;
16331
+ DrawCircle(this: ImageDataExperimental, center: Vector2, radius: number, color: Color3, alpha: number): void;
16332
+ Resize(this: ImageDataExperimental, newSize: Vector2): void;
16333
+ Rotate(this: ImageDataExperimental, degrees: number, resizeCanvas?: boolean): void;
16280
16334
  /**
16281
16335
  * Tags: Yields
16282
16336
  */
@@ -16471,6 +16525,7 @@ interface IncrementalPatchBuilder extends Instance {
16471
16525
  readonly _nominal_IncrementalPatchBuilder: unique symbol;
16472
16526
  AddPathsToBundle: boolean;
16473
16527
  HighCompression: boolean;
16528
+ SerializePatch: boolean;
16474
16529
  ZstdCompression: boolean;
16475
16530
  }
16476
16531
 
@@ -21639,6 +21694,25 @@ interface MemoryStoreSortedMap extends Instance {
21639
21694
  ): T;
21640
21695
  }
21641
21696
 
21697
+ interface MeshDataExperimental extends Instance {
21698
+ /**
21699
+ * **DO NOT USE!**
21700
+ *
21701
+ * This field exists to force TypeScript to recognize this as a nominal type
21702
+ * @hidden
21703
+ * @deprecated
21704
+ */
21705
+ readonly _nominal_MeshDataExperimental: unique symbol;
21706
+ /**
21707
+ * Tags: ReadOnly, NotReplicated
21708
+ */
21709
+ readonly Size: Vector3;
21710
+ /**
21711
+ * Tags: Yields
21712
+ */
21713
+ PopulateFromMeshAsync(this: MeshDataExperimental, meshId: string): void;
21714
+ }
21715
+
21642
21716
  interface MessageBusConnection extends Instance {
21643
21717
  /**
21644
21718
  * **DO NOT USE!**
@@ -24406,6 +24480,9 @@ interface Actor extends Model {
24406
24480
  * @deprecated
24407
24481
  */
24408
24482
  readonly _nominal_Actor: unique symbol;
24483
+ BindToMessage(this: Actor, name: string, callback: Callback): RBXScriptConnection;
24484
+ BindToMessageParallel(this: Actor, name: string, callback: Callback): RBXScriptConnection;
24485
+ SendMessage(this: Actor, name: string, message: Array<any>): void;
24409
24486
  }
24410
24487
 
24411
24488
  /** BackpackItem is an abstract class for backpack items such as HopperBins and Tools. */
@@ -25362,6 +25439,17 @@ interface Pages<T = unknown> extends Instance {
25362
25439
  AdvanceToNextPageAsync(this: Pages): void;
25363
25440
  }
25364
25441
 
25442
+ interface AudioPages extends Pages {
25443
+ /**
25444
+ * **DO NOT USE!**
25445
+ *
25446
+ * This field exists to force TypeScript to recognize this as a nominal type
25447
+ * @hidden
25448
+ * @deprecated
25449
+ */
25450
+ readonly _nominal_AudioPages: unique symbol;
25451
+ }
25452
+
25365
25453
  interface CatalogPages extends Pages {
25366
25454
  /**
25367
25455
  * **DO NOT USE!**
@@ -31287,17 +31375,6 @@ interface StudioDeviceEmulatorService extends Instance {
31287
31375
  readonly _nominal_StudioDeviceEmulatorService: unique symbol;
31288
31376
  }
31289
31377
 
31290
- interface StudioHighDpiService extends Instance {
31291
- /**
31292
- * **DO NOT USE!**
31293
- *
31294
- * This field exists to force TypeScript to recognize this as a nominal type
31295
- * @hidden
31296
- * @deprecated
31297
- */
31298
- readonly _nominal_StudioHighDpiService: unique symbol;
31299
- }
31300
-
31301
31378
  interface StudioPublishService extends Instance {
31302
31379
  /**
31303
31380
  * **DO NOT USE!**
@@ -1794,6 +1794,7 @@ interface Plugin extends Instance {
1794
1794
  * @deprecated
1795
1795
  */
1796
1796
  GetStudioUserId(this: Plugin): number;
1797
+ Intersect(this: Plugin, objects: Array<Instance>): Instance | undefined;
1797
1798
  /**
1798
1799
  * This function returns true if this plugin is currently active, after having been activated via the [Plugin:Activate](https://developer.roblox.com/en-us/api-reference/function/Plugin/Activate) function.
1799
1800
  */
@@ -2718,9 +2719,11 @@ interface ScriptEditorService extends Instance {
2718
2719
  */
2719
2720
  readonly _nominal_ScriptEditorService: unique symbol;
2720
2721
  DeregisterAutocompleteCallback(this: ScriptEditorService, name: string): void;
2722
+ DeregisterScriptAnalysisCallback(this: ScriptEditorService, name: string): void;
2721
2723
  FindScriptDocument(this: ScriptEditorService, script: LuaSourceContainer): ScriptDocument;
2722
2724
  GetScriptDocuments(this: ScriptEditorService): Array<Instance>;
2723
2725
  RegisterAutocompleteCallback(this: ScriptEditorService, name: string, priority: number, callbackFunction: Callback): void;
2726
+ RegisterScriptAnalysisCallback(this: ScriptEditorService, name: string, priority: number, callbackFunction: Callback): void;
2724
2727
  /**
2725
2728
  * Tags: Yields
2726
2729
  */
@@ -2753,10 +2756,6 @@ interface Selection extends Instance {
2753
2756
  * @deprecated
2754
2757
  */
2755
2758
  readonly _nominal_Selection: unique symbol;
2756
- /**
2757
- * Tags: Hidden, ReadOnly, NotReplicated
2758
- */
2759
- readonly SelectionLineThickness: number;
2760
2759
  /**
2761
2760
  * Tags: ReadOnly, NotReplicated
2762
2761
  */
@@ -399,6 +399,27 @@ declare namespace Enum {
399
399
  }
400
400
  export type AdTeleportMethod = AdTeleportMethod.Undefined | AdTeleportMethod.PortalForward | AdTeleportMethod.PortalReturn | AdTeleportMethod.InGameMenuBackButton | AdTeleportMethod.UIBackButton;
401
401
 
402
+ export namespace AdUnitStatus {
403
+ export interface Inactive extends globalThis.EnumItem {
404
+ Name: "Inactive";
405
+ Value: 0;
406
+ EnumType: typeof globalThis.Enum.AdUnitStatus;
407
+ }
408
+
409
+ export const Inactive: Inactive;
410
+
411
+ export interface Active extends globalThis.EnumItem {
412
+ Name: "Active";
413
+ Value: 1;
414
+ EnumType: typeof globalThis.Enum.AdUnitStatus;
415
+ }
416
+
417
+ export const Active: Active;
418
+
419
+ export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.AdUnitStatus>;
420
+ }
421
+ export type AdUnitStatus = AdUnitStatus.Inactive | AdUnitStatus.Active;
422
+
402
423
  export namespace AdornCullingMode {
403
424
  export interface Automatic extends globalThis.EnumItem {
404
425
  Name: "Automatic";
@@ -1475,6 +1496,27 @@ declare namespace Enum {
1475
1496
  }
1476
1497
  export type AssetTypeVerification = AssetTypeVerification.Default | AssetTypeVerification.ClientOnly | AssetTypeVerification.Always;
1477
1498
 
1499
+ export namespace AudioSubType {
1500
+ export interface Music extends globalThis.EnumItem {
1501
+ Name: "Music";
1502
+ Value: 1;
1503
+ EnumType: typeof globalThis.Enum.AudioSubType;
1504
+ }
1505
+
1506
+ export const Music: Music;
1507
+
1508
+ export interface SoundEffect extends globalThis.EnumItem {
1509
+ Name: "SoundEffect";
1510
+ Value: 2;
1511
+ EnumType: typeof globalThis.Enum.AudioSubType;
1512
+ }
1513
+
1514
+ export const SoundEffect: SoundEffect;
1515
+
1516
+ export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.AudioSubType>;
1517
+ }
1518
+ export type AudioSubType = AudioSubType.Music | AudioSubType.SoundEffect;
1519
+
1478
1520
  export namespace AutoIndentRule {
1479
1521
  export interface Off extends globalThis.EnumItem {
1480
1522
  Name: "Off";
@@ -12460,6 +12502,51 @@ declare namespace Enum {
12460
12502
  }
12461
12503
  export type ProductPurchaseDecision = ProductPurchaseDecision.NotProcessedYet | ProductPurchaseDecision.PurchaseGranted;
12462
12504
 
12505
+ export namespace PromptPublishAssetResult {
12506
+ export interface Success extends globalThis.EnumItem {
12507
+ Name: "Success";
12508
+ Value: 1;
12509
+ EnumType: typeof globalThis.Enum.PromptPublishAssetResult;
12510
+ }
12511
+
12512
+ export const Success: Success;
12513
+
12514
+ export interface PermissionDenied extends globalThis.EnumItem {
12515
+ Name: "PermissionDenied";
12516
+ Value: 2;
12517
+ EnumType: typeof globalThis.Enum.PromptPublishAssetResult;
12518
+ }
12519
+
12520
+ export const PermissionDenied: PermissionDenied;
12521
+
12522
+ export interface Timeout extends globalThis.EnumItem {
12523
+ Name: "Timeout";
12524
+ Value: 3;
12525
+ EnumType: typeof globalThis.Enum.PromptPublishAssetResult;
12526
+ }
12527
+
12528
+ export const Timeout: Timeout;
12529
+
12530
+ export interface UploadFailed extends globalThis.EnumItem {
12531
+ Name: "UploadFailed";
12532
+ Value: 4;
12533
+ EnumType: typeof globalThis.Enum.PromptPublishAssetResult;
12534
+ }
12535
+
12536
+ export const UploadFailed: UploadFailed;
12537
+
12538
+ export interface NoUserInput extends globalThis.EnumItem {
12539
+ Name: "NoUserInput";
12540
+ Value: 5;
12541
+ EnumType: typeof globalThis.Enum.PromptPublishAssetResult;
12542
+ }
12543
+
12544
+ export const NoUserInput: NoUserInput;
12545
+
12546
+ export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.PromptPublishAssetResult>;
12547
+ }
12548
+ export type PromptPublishAssetResult = PromptPublishAssetResult.Success | PromptPublishAssetResult.PermissionDenied | PromptPublishAssetResult.Timeout | PromptPublishAssetResult.UploadFailed | PromptPublishAssetResult.NoUserInput;
12549
+
12463
12550
  export namespace PropertyStatus {
12464
12551
  export interface Ok extends globalThis.EnumItem {
12465
12552
  Name: "Ok";
@@ -14205,6 +14292,27 @@ declare namespace Enum {
14205
14292
  }
14206
14293
  export type ServiceVisibility = ServiceVisibility.Always | ServiceVisibility.Off | ServiceVisibility.WithChildren;
14207
14294
 
14295
+ export namespace Severity {
14296
+ export interface Error extends globalThis.EnumItem {
14297
+ Name: "Error";
14298
+ Value: 1;
14299
+ EnumType: typeof globalThis.Enum.Severity;
14300
+ }
14301
+
14302
+ export const Error: Error;
14303
+
14304
+ export interface Warning extends globalThis.EnumItem {
14305
+ Name: "Warning";
14306
+ Value: 2;
14307
+ EnumType: typeof globalThis.Enum.Severity;
14308
+ }
14309
+
14310
+ export const Warning: Warning;
14311
+
14312
+ export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.Severity>;
14313
+ }
14314
+ export type Severity = Severity.Error | Severity.Warning;
14315
+
14208
14316
  export namespace SignalBehavior {
14209
14317
  export interface Default extends globalThis.EnumItem {
14210
14318
  Name: "Default";
@@ -14271,6 +14379,35 @@ declare namespace Enum {
14271
14379
  }
14272
14380
  export type SizeConstraint = SizeConstraint.RelativeXY | SizeConstraint.RelativeXX | SizeConstraint.RelativeYY;
14273
14381
 
14382
+ export namespace SolverConvergenceVisualizationMode {
14383
+ export interface Disabled extends globalThis.EnumItem {
14384
+ Name: "Disabled";
14385
+ Value: 0;
14386
+ EnumType: typeof globalThis.Enum.SolverConvergenceVisualizationMode;
14387
+ }
14388
+
14389
+ export const Disabled: Disabled;
14390
+
14391
+ export interface PerIsland extends globalThis.EnumItem {
14392
+ Name: "PerIsland";
14393
+ Value: 1;
14394
+ EnumType: typeof globalThis.Enum.SolverConvergenceVisualizationMode;
14395
+ }
14396
+
14397
+ export const PerIsland: PerIsland;
14398
+
14399
+ export interface PerEdge extends globalThis.EnumItem {
14400
+ Name: "PerEdge";
14401
+ Value: 2;
14402
+ EnumType: typeof globalThis.Enum.SolverConvergenceVisualizationMode;
14403
+ }
14404
+
14405
+ export const PerEdge: PerEdge;
14406
+
14407
+ export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.SolverConvergenceVisualizationMode>;
14408
+ }
14409
+ export type SolverConvergenceVisualizationMode = SolverConvergenceVisualizationMode.Disabled | SolverConvergenceVisualizationMode.PerIsland | SolverConvergenceVisualizationMode.PerEdge;
14410
+
14274
14411
  export namespace SortDirection {
14275
14412
  export interface Ascending extends globalThis.EnumItem {
14276
14413
  Name: "Ascending";
@@ -17862,6 +17999,35 @@ declare namespace Enum {
17862
17999
  }
17863
18000
  export type VRPlayMode = VRPlayMode.Seated | VRPlayMode.Standing;
17864
18001
 
18002
+ export namespace VRSafetyBubbleMode {
18003
+ export interface NoOne extends globalThis.EnumItem {
18004
+ Name: "NoOne";
18005
+ Value: 0;
18006
+ EnumType: typeof globalThis.Enum.VRSafetyBubbleMode;
18007
+ }
18008
+
18009
+ export const NoOne: NoOne;
18010
+
18011
+ export interface OnlyFriends extends globalThis.EnumItem {
18012
+ Name: "OnlyFriends";
18013
+ Value: 1;
18014
+ EnumType: typeof globalThis.Enum.VRSafetyBubbleMode;
18015
+ }
18016
+
18017
+ export const OnlyFriends: OnlyFriends;
18018
+
18019
+ export interface Anyone extends globalThis.EnumItem {
18020
+ Name: "Anyone";
18021
+ Value: 2;
18022
+ EnumType: typeof globalThis.Enum.VRSafetyBubbleMode;
18023
+ }
18024
+
18025
+ export const Anyone: Anyone;
18026
+
18027
+ export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.VRSafetyBubbleMode>;
18028
+ }
18029
+ export type VRSafetyBubbleMode = VRSafetyBubbleMode.NoOne | VRSafetyBubbleMode.OnlyFriends | VRSafetyBubbleMode.Anyone;
18030
+
17865
18031
  export namespace VRSessionState {
17866
18032
  export interface Idle extends globalThis.EnumItem {
17867
18033
  Name: "Idle";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/types",
3
- "version": "1.0.665",
3
+ "version": "1.0.667",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },