@rbxts/types 1.0.617 → 1.0.620

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.
@@ -100,6 +100,7 @@ interface Services {
100
100
  StudioHighDpiService: StudioHighDpiService;
101
101
  StudioPublishService: StudioPublishService;
102
102
  StudioScriptDebugEventListener: StudioScriptDebugEventListener;
103
+ TeamCreateService: TeamCreateService;
103
104
  Teams: Teams;
104
105
  TeleportService: TeleportService;
105
106
  TemporaryCageMeshProvider: TemporaryCageMeshProvider;
@@ -7244,26 +7245,6 @@ interface RigidConstraint extends Constraint {
7244
7245
  * @deprecated
7245
7246
  */
7246
7247
  readonly _nominal_RigidConstraint: unique symbol;
7247
- /**
7248
- * Shows if this constraint is broken.
7249
- * Tags: ReadOnly, NotReplicated, NotBrowsable
7250
- */
7251
- readonly Broken: boolean;
7252
- /**
7253
- * Enables destruction of the constraint by turning on force computations. If the internal reaction force or torque of the constraint exceeds their respective thresholds, the constraint breaks.
7254
- * Tags: NotBrowsable
7255
- */
7256
- DestructionEnabled: boolean;
7257
- /**
7258
- * If the internal reaction force of the constraint exceeds this value, the constraint breaks.
7259
- * Tags: NotBrowsable
7260
- */
7261
- DestructionForce: number;
7262
- /**
7263
- * If the internal reaction torque of the constraint exceeds this value, the constraint breaks.
7264
- * Tags: NotBrowsable
7265
- */
7266
- DestructionTorque: number;
7267
7248
  }
7268
7249
 
7269
7250
  /** A **RodConstraint** constrains two [Attachments](https://developer.roblox.com/en-us/api-reference/class/Attachment) to remain separated by the value specified by [RodConstraint.Length](https://developer.roblox.com/en-us/api-reference/property/RodConstraint/Length). While the attachments remain at a set distance from one another, they can both rotate freely.
@@ -30579,6 +30560,17 @@ interface Team extends Instance {
30579
30560
  readonly PlayerRemoved: RBXScriptSignal<(player: Player) => void>;
30580
30561
  }
30581
30562
 
30563
+ interface TeamCreateService extends Instance {
30564
+ /**
30565
+ * **DO NOT USE!**
30566
+ *
30567
+ * This field exists to force TypeScript to recognize this as a nominal type
30568
+ * @hidden
30569
+ * @deprecated
30570
+ */
30571
+ readonly _nominal_TeamCreateService: unique symbol;
30572
+ }
30573
+
30582
30574
  /** The Teams service holds a game's [Team](https://developer.roblox.com/en-us/api-reference/class/Team) objects. [Team](https://developer.roblox.com/en-us/api-reference/class/Team) objects must be parented to the Teams service.
30583
30575
  *
30584
30576
  * Teams offer a range of features that are useful to developers. These can broadly be divided into features that work out-of-the-box and features developers can program into their game.
@@ -2787,7 +2787,7 @@ interface ScriptDocument extends Instance {
2787
2787
  /**
2788
2788
  * Tags: Yields
2789
2789
  */
2790
- EditTextAsync(this: ScriptDocument, newText: string, startLine: number, startCharacter: number, endLine?: number, endCharacter?: number): unknown;
2790
+ EditTextAsync(this: ScriptDocument, newText: string, startLine: number, startCharacter: number, endLine: number, endCharacter: number): unknown;
2791
2791
  }
2792
2792
 
2793
2793
  interface ScriptEditorService extends Instance {
@@ -3133,6 +3133,7 @@ interface Studio extends Instance {
3133
3133
  */
3134
3134
  ["Built-in Function Color"]: Color3;
3135
3135
  ["Camera Mouse Wheel Speed"]: number;
3136
+ readonly ["Camera Pan Speed"]: number;
3136
3137
  ["Camera Shift Speed"]: number;
3137
3138
  ["Camera Speed"]: number;
3138
3139
  ["Camera Zoom to Mouse Position"]: boolean;
@@ -153,6 +153,8 @@ declare namespace Enum {
153
153
  }
154
154
 
155
155
  export const TShirt: TShirt;
156
+ /** @deprecated renamed to TShirt */
157
+ export const TeeShirt: TShirt;
156
158
 
157
159
  export interface Shirt extends EnumItem {
158
160
  Name: "Shirt";
@@ -881,6 +883,8 @@ declare namespace Enum {
881
883
  }
882
884
 
883
885
  export const TShirt: TShirt;
886
+ /** @deprecated renamed to TShirt */
887
+ export const TeeShirt: TShirt;
884
888
 
885
889
  export interface Audio extends EnumItem {
886
890
  Name: "Audio";
@@ -1233,6 +1237,8 @@ declare namespace Enum {
1233
1237
  }
1234
1238
 
1235
1239
  export const TShirtAccessory: TShirtAccessory;
1240
+ /** @deprecated renamed to TShirtAccessory */
1241
+ export const TeeShirtAccessory: TShirtAccessory;
1236
1242
 
1237
1243
  export interface ShirtAccessory extends EnumItem {
1238
1244
  Name: "ShirtAccessory";
@@ -1633,6 +1639,8 @@ declare namespace Enum {
1633
1639
  }
1634
1640
 
1635
1641
  export const TShirtAccessory: TShirtAccessory;
1642
+ /** @deprecated renamed to TShirtAccessory */
1643
+ export const TeeShirtAccessory: TShirtAccessory;
1636
1644
 
1637
1645
  export interface ShirtAccessory extends EnumItem {
1638
1646
  Name: "ShirtAccessory";
@@ -1809,6 +1817,10 @@ declare namespace Enum {
1809
1817
  }
1810
1818
 
1811
1819
  export const X: X;
1820
+ /** @deprecated renamed to X */
1821
+ export const Right: X;
1822
+ /** @deprecated renamed to X */
1823
+ export const Left: X;
1812
1824
 
1813
1825
  export interface Y extends EnumItem {
1814
1826
  Name: "Y";
@@ -1817,6 +1829,10 @@ declare namespace Enum {
1817
1829
  }
1818
1830
 
1819
1831
  export const Y: Y;
1832
+ /** @deprecated renamed to Y */
1833
+ export const Bottom: Y;
1834
+ /** @deprecated renamed to Y */
1835
+ export const Top: Y;
1820
1836
 
1821
1837
  export interface Z extends EnumItem {
1822
1838
  Name: "Z";
@@ -1825,6 +1841,10 @@ declare namespace Enum {
1825
1841
  }
1826
1842
 
1827
1843
  export const Z: Z;
1844
+ /** @deprecated renamed to Z */
1845
+ export const Back: Z;
1846
+ /** @deprecated renamed to Z */
1847
+ export const Front: Z;
1828
1848
 
1829
1849
  export function GetEnumItems(this: Enum): Array<Axis>
1830
1850
  }
@@ -1837,6 +1857,12 @@ declare namespace Enum {
1837
1857
  }
1838
1858
 
1839
1859
  export const Script: Script;
1860
+ /** @deprecated renamed to Script */
1861
+ export const Slingshot: Script;
1862
+ /** @deprecated renamed to Script */
1863
+ export const Rocket: Script;
1864
+ /** @deprecated renamed to Script */
1865
+ export const Laser: Script;
1840
1866
 
1841
1867
  export interface GameTool extends EnumItem {
1842
1868
  Name: "GameTool";
@@ -4913,6 +4939,8 @@ declare namespace Enum {
4913
4939
  }
4914
4940
 
4915
4941
  export const Craters: Craters;
4942
+ /** @deprecated renamed to Craters */
4943
+ export const CratersAndDebris: Craters;
4916
4944
 
4917
4945
  export function GetEnumItems(this: Enum): Array<ExplosionType>
4918
4946
  }
@@ -5137,6 +5165,8 @@ declare namespace Enum {
5137
5165
  }
5138
5166
 
5139
5167
  export const GothamMedium: GothamMedium;
5168
+ /** @deprecated renamed to GothamMedium */
5169
+ export const GothamSemibold: GothamMedium;
5140
5170
 
5141
5171
  export interface GothamBold extends EnumItem {
5142
5172
  Name: "GothamBold";
@@ -5601,6 +5631,8 @@ declare namespace Enum {
5601
5631
  }
5602
5632
 
5603
5633
  export const Brick: Brick;
5634
+ /** @deprecated renamed to Brick */
5635
+ export const Block: Brick;
5604
5636
 
5605
5637
  export interface Plate extends EnumItem {
5606
5638
  Name: "Plate";
@@ -6961,6 +6993,28 @@ declare namespace Enum {
6961
6993
  }
6962
6994
 
6963
6995
  export const NoInput: NoInput;
6996
+ /** @deprecated renamed to NoInput */
6997
+ export const RightTread: NoInput;
6998
+ /** @deprecated renamed to NoInput */
6999
+ export const UpDown: NoInput;
7000
+ /** @deprecated renamed to NoInput */
7001
+ export const Action2: NoInput;
7002
+ /** @deprecated renamed to NoInput */
7003
+ export const Action3: NoInput;
7004
+ /** @deprecated renamed to NoInput */
7005
+ export const Steer: NoInput;
7006
+ /** @deprecated renamed to NoInput */
7007
+ export const Throttle: NoInput;
7008
+ /** @deprecated renamed to NoInput */
7009
+ export const Action1: NoInput;
7010
+ /** @deprecated renamed to NoInput */
7011
+ export const Throtle: NoInput;
7012
+ /** @deprecated renamed to NoInput */
7013
+ export const LeftTread: NoInput;
7014
+ /** @deprecated renamed to NoInput */
7015
+ export const Action4: NoInput;
7016
+ /** @deprecated renamed to NoInput */
7017
+ export const Action5: NoInput;
6964
7018
 
6965
7019
  export interface Constant extends EnumItem {
6966
7020
  Name: "Constant";
@@ -9637,6 +9691,8 @@ declare namespace Enum {
9637
9691
  }
9638
9692
 
9639
9693
  export const Foil: Foil;
9694
+ /** @deprecated renamed to Foil */
9695
+ export const Aluminum: Foil;
9640
9696
 
9641
9697
  export interface Grass extends EnumItem {
9642
9698
  Name: "Grass";
@@ -14597,6 +14653,10 @@ declare namespace Enum {
14597
14653
  }
14598
14654
 
14599
14655
  export const Smooth: Smooth;
14656
+ /** @deprecated renamed to Smooth */
14657
+ export const Unjoinable: Smooth;
14658
+ /** @deprecated renamed to Smooth */
14659
+ export const Spawn: Smooth;
14600
14660
 
14601
14661
  export interface Glue extends EnumItem {
14602
14662
  Name: "Glue";
@@ -14605,6 +14665,8 @@ declare namespace Enum {
14605
14665
  }
14606
14666
 
14607
14667
  export const Glue: Glue;
14668
+ /** @deprecated renamed to Glue */
14669
+ export const Bumps: Glue;
14608
14670
 
14609
14671
  export interface Weld extends EnumItem {
14610
14672
  Name: "Weld";
@@ -15405,6 +15467,8 @@ declare namespace Enum {
15405
15467
  }
15406
15468
 
15407
15469
  export const Auto: Auto;
15470
+ /** @deprecated renamed to Auto */
15471
+ export const PartialThread: Auto;
15408
15472
 
15409
15473
  export interface PerCore1 extends EnumItem {
15410
15474
  Name: "PerCore1";
@@ -603,7 +603,7 @@ interface Axes {
603
603
  type AxesConstructor = new (...axes: Array<Enum.Axis | Enum.NormalId>) => Axes;
604
604
  declare const Axes: AxesConstructor;
605
605
 
606
- interface BrickColor<Number extends number = any, Name extends string = any> {
606
+ interface BrickColor<T extends keyof BrickColorsByNumber = keyof BrickColorsByNumber> {
607
607
  /**
608
608
  * **DO NOT USE!**
609
609
  *
@@ -613,9 +613,9 @@ interface BrickColor<Number extends number = any, Name extends string = any> {
613
613
  */
614
614
  readonly _nominal_BrickColor: unique symbol;
615
615
  /** The unique number that identifies the BrickColor */
616
- readonly Number: number extends Number ? keyof BrickColorsByNumber : Number;
616
+ readonly Number: T;
617
617
  /** The name associated with the BrickColor */
618
- readonly Name: string extends Name ? BrickColorsByNumber[keyof BrickColorsByNumber] : Name;
618
+ readonly Name: BrickColorsByNumber[T];
619
619
  /** The Color3 associated with the BrickColor */
620
620
  readonly Color: Color3;
621
621
  /** The red component (between 0 and 1) */
@@ -973,30 +973,29 @@ interface BrickColorConstructor {
973
973
  random: () => BrickColor;
974
974
 
975
975
  /** Returns a White BrickColor */
976
- White: () => BrickColor<1, "White">;
976
+ White: () => BrickColor<1>;
977
977
  /** Returns a Gray BrickColor */
978
- Gray: () => BrickColor<194, "Medium stone grey">;
978
+ Gray: () => BrickColor<194>;
979
979
  /** Returns a DarkGray BrickColor */
980
- DarkGray: () => BrickColor<199, "Dark stone grey">;
980
+ DarkGray: () => BrickColor<199>;
981
981
  /** Returns a Black BrickColor */
982
- Black: () => BrickColor<26, "Black">;
982
+ Black: () => BrickColor<26>;
983
983
  /** Returns a Red BrickColor */
984
- Red: () => BrickColor<21, "Bright red">;
984
+ Red: () => BrickColor<21>;
985
985
  /** Returns a Yellow BrickColor */
986
- Yellow: () => BrickColor<24, "Bright yellow">;
986
+ Yellow: () => BrickColor<24>;
987
987
  /** Returns a Green BrickColor */
988
- Green: () => BrickColor<28, "Dark green">;
988
+ Green: () => BrickColor<28>;
989
989
  /** Returns a Blue BrickColor */
990
- Blue: () => BrickColor<23, "Bright blue">;
990
+ Blue: () => BrickColor<23>;
991
991
 
992
992
  /** Constructs a BrickColor from its name. */
993
993
  new <T extends BrickColorsByNumber[keyof BrickColorsByNumber]>(val: T): BrickColor<
994
- { [K in keyof BrickColorsByNumber]: T extends BrickColorsByNumber[K] ? K : never }[keyof BrickColorsByNumber],
995
- T
994
+ { [K in keyof BrickColorsByNumber]: T extends BrickColorsByNumber[K] ? K : never }[keyof BrickColorsByNumber]
996
995
  >;
997
996
 
998
997
  /** Constructs a BrickColor from its numerical index. */
999
- new <T extends keyof BrickColorsByNumber>(val: T): BrickColor<T, BrickColorsByNumber[T]>;
998
+ new <T extends keyof BrickColorsByNumber>(val: T): BrickColor<T>;
1000
999
 
1001
1000
  /** Constructs a BrickColor from its numerical index. */
1002
1001
  new (val: number): BrickColor;
@@ -1008,13 +1007,8 @@ interface BrickColorConstructor {
1008
1007
  new (color: Color3): BrickColor;
1009
1008
 
1010
1009
  /** Constructs a BrickColor from its palette index. */
1011
- palette: {
1012
- <T extends keyof BrickColorsByPalette>(paletteValue: T): BrickColor<
1013
- BrickColorsByPalette[T],
1014
- BrickColorsByNumber[BrickColorsByPalette[T]]
1015
- >;
1016
- (paletteValue: number): BrickColor;
1017
- };
1010
+ palette<T extends keyof BrickColorsByPalette>(this: void, paletteValue: T): BrickColor<BrickColorsByPalette[T]>;
1011
+ palette(this: void, paletteValue: number): BrickColor;
1018
1012
  }
1019
1013
 
1020
1014
  declare const BrickColor: BrickColorConstructor;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/types",
3
- "version": "1.0.617",
3
+ "version": "1.0.620",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },