@rbxts/types 1.0.661 → 1.0.663

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.
@@ -86,6 +86,7 @@ interface Services {
86
86
  ReplicatedStorage: ReplicatedStorage;
87
87
  RtMessagingService: RtMessagingService;
88
88
  RunService: RunService;
89
+ SafetyService: SafetyService;
89
90
  ScriptChangeService: ScriptChangeService;
90
91
  ScriptCloneWatcher: ScriptCloneWatcher;
91
92
  ScriptCloneWatcherHelper: ScriptCloneWatcherHelper;
@@ -111,6 +112,8 @@ interface Services {
111
112
  StudioPublishService: StudioPublishService;
112
113
  StudioScriptDebugEventListener: StudioScriptDebugEventListener;
113
114
  StudioSdkService: StudioSdkService;
115
+ TeamCreateData: TeamCreateData;
116
+ TeamCreatePublishService: TeamCreatePublishService;
114
117
  TeamCreateService: TeamCreateService;
115
118
  Teams: Teams;
116
119
  TeleportService: TeleportService;
@@ -473,6 +476,7 @@ interface Instances extends Services, CreatableInstances, AbstractInstances {
473
476
  OutfitPages: OutfitPages;
474
477
  PackageLink: PackageLink;
475
478
  ParabolaAdornment: ParabolaAdornment;
479
+ PatchMapping: PatchMapping;
476
480
  Path: Path;
477
481
  PausedState: PausedState;
478
482
  PausedStateBreakpoint: PausedStateBreakpoint;
@@ -5978,6 +5982,7 @@ interface Camera extends Instance {
5978
5982
  * Note this function does not perform any raycasting, meaning the visible bool will be true regardless if the _worldPoint_ is obscured by [BaseParts](https://developer.roblox.com/en-us/api-reference/class/BasePart) or [Terrain](https://developer.roblox.com/en-us/api-reference/class/Terrain).
5979
5983
  */
5980
5984
  WorldToViewportPoint(this: Camera, worldPoint: Vector3): LuaTuple<[Vector3, boolean]>;
5985
+ ZoomToExtents(this: Camera, boundingBoxCFrame: CFrame, boundingBoxSize: Vector3): void;
5981
5986
  /**
5982
5987
  * This event fires when the [Camera](https://developer.roblox.com/en-us/api-reference/class/Camera) has finished interpolating using the [Camera:Interpolate](https://developer.roblox.com/en-us/api-reference/function/Camera/Interpolate) function.
5983
5988
  *
@@ -24398,6 +24403,7 @@ interface Model extends PVInstance {
24398
24403
  * @deprecated
24399
24404
  */
24400
24405
  GetPrimaryPartCFrame(this: Model): CFrame;
24406
+ GetScale(this: Model): number;
24401
24407
  /**
24402
24408
  * **Deprecated**
24403
24409
  *
@@ -24429,6 +24435,7 @@ interface Model extends PVInstance {
24429
24435
  * @deprecated
24430
24436
  */
24431
24437
  ResetOrientationToIdentity(this: Model): void;
24438
+ ScaleTo(this: Model, newScaleFactor: number): void;
24432
24439
  /**
24433
24440
  * Sets the identity rotation of the given model, allowing you to reset the rotation of the entire model later, through the use of the `ResetOrientationToIdentity` method.
24434
24441
  * Tags: Deprecated
@@ -25620,6 +25627,20 @@ interface ParticleEmitter extends Instance {
25620
25627
  Emit(this: ParticleEmitter, particleCount?: number): void;
25621
25628
  }
25622
25629
 
25630
+ interface PatchMapping extends Instance {
25631
+ /**
25632
+ * **DO NOT USE!**
25633
+ *
25634
+ * This field exists to force TypeScript to recognize this as a nominal type
25635
+ * @hidden
25636
+ * @deprecated
25637
+ */
25638
+ readonly _nominal_PatchMapping: unique symbol;
25639
+ FlattenTree: boolean;
25640
+ PatchId: string;
25641
+ TargetPath: string;
25642
+ }
25643
+
25623
25644
  /** **Path** objects store the result of paths created by [PathfindingService:CreatePath()](https://developer.roblox.com/en-us/api-reference/function/PathfindingService/CreatePath).
25624
25645
  *
25625
25646
  * Once a path object is created, you can call [Path:ComputeAsync()](https://developer.roblox.com/en-us/api-reference/function/Path/ComputeAsync) with a starting point and ending point. This will attempt to compute a valid path for a character to move along, based on default or custom parameters passed to [CreatePath()](https://developer.roblox.com/en-us/api-reference/function/PathfindingService/CreatePath). If [ComputeAsync()](https://developer.roblox.com/en-us/api-reference/function/Path/ComputeAsync) successfully finds a path, the [Path](https://developer.roblox.com/en-us/api-reference/class/Path) object will have a [Path.Status](https://developer.roblox.com/en-us/api-reference/property/Path/Status) value of `Enum.PathStatus.Success`. Otherwise the status will be `Enum.PathStatus.NoPath` which can occur if there are obstacles between the two points (and no way around) or if the points are inside of solid objects.
@@ -28580,6 +28601,17 @@ interface RunService extends Instance {
28580
28601
  readonly Stepped: RBXScriptSignal<(time: number, deltaTime: number) => void>;
28581
28602
  }
28582
28603
 
28604
+ interface SafetyService extends Instance {
28605
+ /**
28606
+ * **DO NOT USE!**
28607
+ *
28608
+ * This field exists to force TypeScript to recognize this as a nominal type
28609
+ * @hidden
28610
+ * @deprecated
28611
+ */
28612
+ readonly _nominal_SafetyService: unique symbol;
28613
+ }
28614
+
28583
28615
  interface ScreenshotHud extends Instance {
28584
28616
  /**
28585
28617
  * **DO NOT USE!**
@@ -29841,17 +29873,6 @@ interface SoundEffect extends Instance {
29841
29873
  Priority: number;
29842
29874
  }
29843
29875
 
29844
- interface AssetSoundEffect extends SoundEffect {
29845
- /**
29846
- * **DO NOT USE!**
29847
- *
29848
- * This field exists to force TypeScript to recognize this as a nominal type
29849
- * @hidden
29850
- * @deprecated
29851
- */
29852
- readonly _nominal_AssetSoundEffect: unique symbol;
29853
- }
29854
-
29855
29876
  /** A ChorusSoundEffect simulates the effect of multiple vocals or instruments playing the same part. It does this by taking the original sound and overlaying copies of that sound. These copies are not exact matches to the original but instead vary in pitch slightly. This simulates a real chorus, as different singers or instruments will have slight variations. This effect can be applied to either an individual sound or to a sound group by parenting it to the desired instance.
29856
29877
  *
29857
29878
  * Like all other [SoundEffect](https://developer.roblox.com/en-us/api-reference/class/SoundEffect), a ChorusSoundEffect can be applied either to a [Sound](https://developer.roblox.com/en-us/api-reference/class/Sound) or [SoundGroup](https://developer.roblox.com/en-us/api-reference/class/SoundGroup) by being parented to either.
@@ -29953,6 +29974,17 @@ interface CustomSoundEffect extends SoundEffect {
29953
29974
  readonly _nominal_CustomSoundEffect: unique symbol;
29954
29975
  }
29955
29976
 
29977
+ interface AssetSoundEffect extends CustomSoundEffect {
29978
+ /**
29979
+ * **DO NOT USE!**
29980
+ *
29981
+ * This field exists to force TypeScript to recognize this as a nominal type
29982
+ * @hidden
29983
+ * @deprecated
29984
+ */
29985
+ readonly _nominal_AssetSoundEffect: unique symbol;
29986
+ }
29987
+
29956
29988
  interface ChannelSelectorSoundEffect extends CustomSoundEffect {
29957
29989
  /**
29958
29990
  * **DO NOT USE!**
@@ -31149,6 +31181,28 @@ interface Team extends Instance {
31149
31181
  readonly PlayerRemoved: RBXScriptSignal<(player: Player) => void>;
31150
31182
  }
31151
31183
 
31184
+ interface TeamCreateData extends Instance {
31185
+ /**
31186
+ * **DO NOT USE!**
31187
+ *
31188
+ * This field exists to force TypeScript to recognize this as a nominal type
31189
+ * @hidden
31190
+ * @deprecated
31191
+ */
31192
+ readonly _nominal_TeamCreateData: unique symbol;
31193
+ }
31194
+
31195
+ interface TeamCreatePublishService extends Instance {
31196
+ /**
31197
+ * **DO NOT USE!**
31198
+ *
31199
+ * This field exists to force TypeScript to recognize this as a nominal type
31200
+ * @hidden
31201
+ * @deprecated
31202
+ */
31203
+ readonly _nominal_TeamCreatePublishService: unique symbol;
31204
+ }
31205
+
31152
31206
  interface TeamCreateService extends Instance {
31153
31207
  /**
31154
31208
  * **DO NOT USE!**
@@ -34132,6 +34186,7 @@ interface UserInputService extends Instance {
34132
34186
  * Tags: ReadOnly, NotReplicated
34133
34187
  */
34134
34188
  readonly MouseEnabled: boolean;
34189
+ MouseIcon: string;
34135
34190
  /**
34136
34191
  * This property determines whether the [Mouse's](https://developer.roblox.com/en-us/api-reference/class/Mouse) icon is visible When _true_ the mouse's icon is visible, when _false_ it is not.
34137
34192
  *
@@ -3042,6 +3042,7 @@ interface Studio extends Instance {
3042
3042
  ["Auto Clean Empty Line"]: boolean;
3043
3043
  ["Auto Closing Brackets"]: boolean;
3044
3044
  ["Auto Closing Quotes"]: boolean;
3045
+ ["Auto Delete Closing Brackets and Quotes"]: boolean;
3045
3046
  ["Auto Indent Rule"]: Enum.AutoIndentRule;
3046
3047
  ["Auto-Recovery Enabled"]: boolean;
3047
3048
  ["Auto-Recovery Interval (Minutes)"]: number;
@@ -2592,6 +2592,59 @@ declare namespace Enum {
2592
2592
  }
2593
2593
  export type CatalogCategoryFilter = CatalogCategoryFilter.None | CatalogCategoryFilter.Featured | CatalogCategoryFilter.Collectibles | CatalogCategoryFilter.CommunityCreations | CatalogCategoryFilter.Premium | CatalogCategoryFilter.Recommended;
2594
2594
 
2595
+ export namespace CatalogSortAggregation {
2596
+ export interface Past12Hours extends globalThis.EnumItem {
2597
+ Name: "Past12Hours";
2598
+ Value: 1;
2599
+ EnumType: typeof globalThis.Enum.CatalogSortAggregation;
2600
+ }
2601
+
2602
+ export const Past12Hours: Past12Hours;
2603
+
2604
+ export interface PastDay extends globalThis.EnumItem {
2605
+ Name: "PastDay";
2606
+ Value: 2;
2607
+ EnumType: typeof globalThis.Enum.CatalogSortAggregation;
2608
+ }
2609
+
2610
+ export const PastDay: PastDay;
2611
+
2612
+ export interface Past3Days extends globalThis.EnumItem {
2613
+ Name: "Past3Days";
2614
+ Value: 3;
2615
+ EnumType: typeof globalThis.Enum.CatalogSortAggregation;
2616
+ }
2617
+
2618
+ export const Past3Days: Past3Days;
2619
+
2620
+ export interface PastWeek extends globalThis.EnumItem {
2621
+ Name: "PastWeek";
2622
+ Value: 4;
2623
+ EnumType: typeof globalThis.Enum.CatalogSortAggregation;
2624
+ }
2625
+
2626
+ export const PastWeek: PastWeek;
2627
+
2628
+ export interface PastMonth extends globalThis.EnumItem {
2629
+ Name: "PastMonth";
2630
+ Value: 5;
2631
+ EnumType: typeof globalThis.Enum.CatalogSortAggregation;
2632
+ }
2633
+
2634
+ export const PastMonth: PastMonth;
2635
+
2636
+ export interface AllTime extends globalThis.EnumItem {
2637
+ Name: "AllTime";
2638
+ Value: 6;
2639
+ EnumType: typeof globalThis.Enum.CatalogSortAggregation;
2640
+ }
2641
+
2642
+ export const AllTime: AllTime;
2643
+
2644
+ export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.CatalogSortAggregation>;
2645
+ }
2646
+ export type CatalogSortAggregation = CatalogSortAggregation.Past12Hours | CatalogSortAggregation.PastDay | CatalogSortAggregation.Past3Days | CatalogSortAggregation.PastWeek | CatalogSortAggregation.PastMonth | CatalogSortAggregation.AllTime;
2647
+
2595
2648
  export namespace CatalogSortType {
2596
2649
  export interface Relevance extends globalThis.EnumItem {
2597
2650
  Name: "Relevance";
@@ -2635,9 +2688,17 @@ declare namespace Enum {
2635
2688
  /** @deprecated renamed to RecentlyCreated */
2636
2689
  export const RecentlyUpdated: RecentlyCreated;
2637
2690
 
2691
+ export interface Bestselling extends globalThis.EnumItem {
2692
+ Name: "Bestselling";
2693
+ Value: 7;
2694
+ EnumType: typeof globalThis.Enum.CatalogSortType;
2695
+ }
2696
+
2697
+ export const Bestselling: Bestselling;
2698
+
2638
2699
  export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.CatalogSortType>;
2639
2700
  }
2640
- export type CatalogSortType = CatalogSortType.Relevance | CatalogSortType.PriceHighToLow | CatalogSortType.PriceLowToHigh | CatalogSortType.MostFavorited | CatalogSortType.RecentlyCreated;
2701
+ export type CatalogSortType = CatalogSortType.Relevance | CatalogSortType.PriceHighToLow | CatalogSortType.PriceLowToHigh | CatalogSortType.MostFavorited | CatalogSortType.RecentlyCreated | CatalogSortType.Bestselling;
2641
2702
 
2642
2703
  export namespace CellBlock {
2643
2704
  export interface Solid extends globalThis.EnumItem {
@@ -5446,9 +5507,25 @@ declare namespace Enum {
5446
5507
  export type EnviromentalPhysicsThrottle = EnviromentalPhysicsThrottle.DefaultAuto | EnviromentalPhysicsThrottle.Disabled | EnviromentalPhysicsThrottle.Always | EnviromentalPhysicsThrottle.Skip2 | EnviromentalPhysicsThrottle.Skip4 | EnviromentalPhysicsThrottle.Skip8 | EnviromentalPhysicsThrottle.Skip16;
5447
5508
 
5448
5509
  export namespace ExperienceAuthScope {
5510
+ export interface DefaultScope extends globalThis.EnumItem {
5511
+ Name: "DefaultScope";
5512
+ Value: 0;
5513
+ EnumType: typeof globalThis.Enum.ExperienceAuthScope;
5514
+ }
5515
+
5516
+ export const DefaultScope: DefaultScope;
5517
+
5518
+ export interface CreatorAssetsCreate extends globalThis.EnumItem {
5519
+ Name: "CreatorAssetsCreate";
5520
+ Value: 1;
5521
+ EnumType: typeof globalThis.Enum.ExperienceAuthScope;
5522
+ }
5523
+
5524
+ export const CreatorAssetsCreate: CreatorAssetsCreate;
5525
+
5449
5526
  export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.ExperienceAuthScope>;
5450
5527
  }
5451
- export type ExperienceAuthScope = never;
5528
+ export type ExperienceAuthScope = ExperienceAuthScope.DefaultScope | ExperienceAuthScope.CreatorAssetsCreate;
5452
5529
 
5453
5530
  export namespace ExplosionType {
5454
5531
  export interface NoCraters extends globalThis.EnumItem {
@@ -12612,29 +12689,29 @@ declare namespace Enum {
12612
12689
  export type R15CollisionType = R15CollisionType.OuterBox | R15CollisionType.InnerBox;
12613
12690
 
12614
12691
  export namespace RaycastFilterType {
12615
- export interface Blacklist extends globalThis.EnumItem {
12616
- Name: "Blacklist";
12692
+ export interface Exclude extends globalThis.EnumItem {
12693
+ Name: "Exclude";
12617
12694
  Value: 0;
12618
12695
  EnumType: typeof globalThis.Enum.RaycastFilterType;
12619
12696
  }
12620
12697
 
12621
- export const Blacklist: Blacklist;
12622
- /** @deprecated renamed to Blacklist */
12623
- export const Exclude: Blacklist;
12698
+ export const Exclude: Exclude;
12699
+ /** @deprecated renamed to Exclude */
12700
+ export const Blacklist: Exclude;
12624
12701
 
12625
- export interface Whitelist extends globalThis.EnumItem {
12626
- Name: "Whitelist";
12702
+ export interface Include extends globalThis.EnumItem {
12703
+ Name: "Include";
12627
12704
  Value: 1;
12628
12705
  EnumType: typeof globalThis.Enum.RaycastFilterType;
12629
12706
  }
12630
12707
 
12631
- export const Whitelist: Whitelist;
12632
- /** @deprecated renamed to Whitelist */
12633
- export const Include: Whitelist;
12708
+ export const Include: Include;
12709
+ /** @deprecated renamed to Include */
12710
+ export const Whitelist: Include;
12634
12711
 
12635
12712
  export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.RaycastFilterType>;
12636
12713
  }
12637
- export type RaycastFilterType = RaycastFilterType.Blacklist | RaycastFilterType.Whitelist;
12714
+ export type RaycastFilterType = RaycastFilterType.Exclude | RaycastFilterType.Include;
12638
12715
 
12639
12716
  export namespace RejectCharacterDeletions {
12640
12717
  export interface Default extends globalThis.EnumItem {
@@ -13425,6 +13502,35 @@ declare namespace Enum {
13425
13502
  }
13426
13503
  export type SafeAreaCompatibility = SafeAreaCompatibility.None | SafeAreaCompatibility.FullscreenExtension;
13427
13504
 
13505
+ export namespace SalesTypeFilter {
13506
+ export interface All extends globalThis.EnumItem {
13507
+ Name: "All";
13508
+ Value: 1;
13509
+ EnumType: typeof globalThis.Enum.SalesTypeFilter;
13510
+ }
13511
+
13512
+ export const All: All;
13513
+
13514
+ export interface Collectibles extends globalThis.EnumItem {
13515
+ Name: "Collectibles";
13516
+ Value: 2;
13517
+ EnumType: typeof globalThis.Enum.SalesTypeFilter;
13518
+ }
13519
+
13520
+ export const Collectibles: Collectibles;
13521
+
13522
+ export interface Premium extends globalThis.EnumItem {
13523
+ Name: "Premium";
13524
+ Value: 3;
13525
+ EnumType: typeof globalThis.Enum.SalesTypeFilter;
13526
+ }
13527
+
13528
+ export const Premium: Premium;
13529
+
13530
+ export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.SalesTypeFilter>;
13531
+ }
13532
+ export type SalesTypeFilter = SalesTypeFilter.All | SalesTypeFilter.Collectibles | SalesTypeFilter.Premium;
13533
+
13428
13534
  export namespace SaveAvatarThumbnailCustomizationFailure {
13429
13535
  export interface BadThumbnailType extends globalThis.EnumItem {
13430
13536
  Name: "BadThumbnailType";
@@ -13638,9 +13744,65 @@ declare namespace Enum {
13638
13744
  export type ScaleType = ScaleType.Stretch | ScaleType.Slice | ScaleType.Tile | ScaleType.Fit | ScaleType.Crop;
13639
13745
 
13640
13746
  export namespace ScopeCheckResult {
13747
+ export interface ConsentAccepted extends globalThis.EnumItem {
13748
+ Name: "ConsentAccepted";
13749
+ Value: 0;
13750
+ EnumType: typeof globalThis.Enum.ScopeCheckResult;
13751
+ }
13752
+
13753
+ export const ConsentAccepted: ConsentAccepted;
13754
+
13755
+ export interface InvalidScopes extends globalThis.EnumItem {
13756
+ Name: "InvalidScopes";
13757
+ Value: 1;
13758
+ EnumType: typeof globalThis.Enum.ScopeCheckResult;
13759
+ }
13760
+
13761
+ export const InvalidScopes: InvalidScopes;
13762
+
13763
+ export interface Timeout extends globalThis.EnumItem {
13764
+ Name: "Timeout";
13765
+ Value: 2;
13766
+ EnumType: typeof globalThis.Enum.ScopeCheckResult;
13767
+ }
13768
+
13769
+ export const Timeout: Timeout;
13770
+
13771
+ export interface NoUserInput extends globalThis.EnumItem {
13772
+ Name: "NoUserInput";
13773
+ Value: 3;
13774
+ EnumType: typeof globalThis.Enum.ScopeCheckResult;
13775
+ }
13776
+
13777
+ export const NoUserInput: NoUserInput;
13778
+
13779
+ export interface BackendError extends globalThis.EnumItem {
13780
+ Name: "BackendError";
13781
+ Value: 4;
13782
+ EnumType: typeof globalThis.Enum.ScopeCheckResult;
13783
+ }
13784
+
13785
+ export const BackendError: BackendError;
13786
+
13787
+ export interface UnexpectedError extends globalThis.EnumItem {
13788
+ Name: "UnexpectedError";
13789
+ Value: 5;
13790
+ EnumType: typeof globalThis.Enum.ScopeCheckResult;
13791
+ }
13792
+
13793
+ export const UnexpectedError: UnexpectedError;
13794
+
13795
+ export interface InvalidArgument extends globalThis.EnumItem {
13796
+ Name: "InvalidArgument";
13797
+ Value: 6;
13798
+ EnumType: typeof globalThis.Enum.ScopeCheckResult;
13799
+ }
13800
+
13801
+ export const InvalidArgument: InvalidArgument;
13802
+
13641
13803
  export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.ScopeCheckResult>;
13642
13804
  }
13643
- export type ScopeCheckResult = never;
13805
+ export type ScopeCheckResult = ScopeCheckResult.ConsentAccepted | ScopeCheckResult.InvalidScopes | ScopeCheckResult.Timeout | ScopeCheckResult.NoUserInput | ScopeCheckResult.BackendError | ScopeCheckResult.UnexpectedError | ScopeCheckResult.InvalidArgument;
13644
13806
 
13645
13807
  export namespace ScreenInsets {
13646
13808
  export interface None extends globalThis.EnumItem {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/types",
3
- "version": "1.0.661",
3
+ "version": "1.0.663",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },