@rbxts/types 1.0.758 → 1.0.759

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.
@@ -604,6 +604,7 @@ interface Instances extends Services, CreatableInstances, AbstractInstances {
604
604
  TextFilterTranslatedResult: TextFilterTranslatedResult;
605
605
  TextSource: TextSource;
606
606
  TextureGenerationPartGroup: TextureGenerationPartGroup;
607
+ TextureGenerationUnwrappingRequest: TextureGenerationUnwrappingRequest;
607
608
  ThreadState: ThreadState;
608
609
  TouchTransmitter: TouchTransmitter;
609
610
  TrackerLodController: TrackerLodController;
@@ -3545,6 +3546,10 @@ interface BadgeService extends Instance {
3545
3546
  * Tags: Yields
3546
3547
  */
3547
3548
  AwardBadge(this: BadgeService, userId: number, badgeId: number): boolean;
3549
+ /**
3550
+ * Tags: Yields
3551
+ */
3552
+ CheckUserBadgesAsync(this: BadgeService, userId: number, badgeIds: Array<any>): unknown;
3548
3553
  /**
3549
3554
  * This function fteches information about a [badge](https://developer.roblox.com/en-us/articles/badges-special-game-awards) given its ID. It takes a brief moment to load the information from the Roblox website; repeated calls will cache for a short duration. It returns a dictionary with the following fields:
3550
3555
  *
@@ -10722,10 +10727,16 @@ interface ExperienceNotificationService extends Instance {
10722
10727
  * @deprecated
10723
10728
  */
10724
10729
  readonly _nominal_ExperienceNotificationService: unique symbol;
10730
+ PromptOptIn(this: ExperienceNotificationService): void;
10731
+ /**
10732
+ * Tags: Yields
10733
+ */
10734
+ CanPromptOptInAsync(this: ExperienceNotificationService): boolean;
10725
10735
  /**
10726
10736
  * Tags: Yields
10727
10737
  */
10728
10738
  CreateUserNotificationAsync(this: ExperienceNotificationService, userId: string, userNotification: UserNotification): Instance | undefined;
10739
+ readonly OptInPromptClosed: RBXScriptSignal<() => void>;
10729
10740
  }
10730
10741
 
10731
10742
  interface ExperienceService extends Instance {
@@ -15642,6 +15653,16 @@ interface HttpService extends Instance {
15642
15653
  * @deprecated
15643
15654
  */
15644
15655
  readonly _nominal_HttpService: unique symbol;
15656
+ /**
15657
+ * When set to true, you are able to send requests to other websites using [HttpService:GetAsync](https://developer.roblox.com/en-us/api-reference/function/HttpService/GetAsync), [HttpService:PostAsync](https://developer.roblox.com/en-us/api-reference/function/HttpService/PostAsync), and [HttpService:RequestAsync](https://developer.roblox.com/en-us/api-reference/function/HttpService/RequestAsync).
15658
+ *
15659
+ * To enable HTTP requests, the HttpService must be enabled through Studio's Game Settings by opening the game's settings via the **Game Settings** button on the _Home_ tab of the game's studio window (see image below):
15660
+ * ![Navigate to the Game Settings button](https://developer.roblox.com/assets/blt29ed4b4004d52e95/HttpRequestsSetting.png)
15661
+ *
15662
+ * Within the Game Settings window, navigate to the **Security** tab and select the _On_ option under **Allow HTTP Requests** (see image below).
15663
+ * ![Allow HTTP Requests](https://developer.roblox.com/assets/blt28c151e28c997373/GameSettingsButton.png)
15664
+ */
15665
+ readonly HttpEnabled: boolean;
15645
15666
  /**
15646
15667
  * The GenerateGUID function randomly creates a [universally unique identifier (UUID)](https://en.wikipedia.org/wiki/Universally_unique_identifier) string.
15647
15668
  *
@@ -34654,6 +34675,17 @@ interface TextureGenerationService extends Instance {
34654
34675
  readonly _nominal_TextureGenerationService: unique symbol;
34655
34676
  }
34656
34677
 
34678
+ interface TextureGenerationUnwrappingRequest extends Instance {
34679
+ /**
34680
+ * **DO NOT USE!**
34681
+ *
34682
+ * This field exists to force TypeScript to recognize this as a nominal type
34683
+ * @hidden
34684
+ * @deprecated
34685
+ */
34686
+ readonly _nominal_TextureGenerationUnwrappingRequest: unique symbol;
34687
+ }
34688
+
34657
34689
  interface ThreadState extends Instance {
34658
34690
  /**
34659
34691
  * **DO NOT USE!**
@@ -1340,21 +1340,6 @@ interface LuaSettings extends Instance {
1340
1340
  readonly _nominal_LuaSettings: unique symbol;
1341
1341
  }
1342
1342
 
1343
- interface LuaSourceContainer extends Instance {
1344
- /**
1345
- * **DO NOT USE!**
1346
- *
1347
- * This field exists to force TypeScript to recognize this as a nominal type
1348
- * @hidden
1349
- * @deprecated
1350
- */
1351
- readonly _nominal_LuaSourceContainer: unique symbol;
1352
- /**
1353
- * Tags: NotReplicated
1354
- */
1355
- RuntimeSource: string;
1356
- }
1357
-
1358
1343
  interface BaseScript extends LuaSourceContainer {
1359
1344
  /**
1360
1345
  * **DO NOT USE!**
@@ -2886,6 +2886,35 @@ declare namespace Enum {
2886
2886
  }
2887
2887
  export type ButtonStyle = ButtonStyle.Custom | ButtonStyle.RobloxButtonDefault | ButtonStyle.RobloxButton | ButtonStyle.RobloxRoundButton | ButtonStyle.RobloxRoundDefaultButton | ButtonStyle.RobloxRoundDropdownButton;
2888
2888
 
2889
+ export namespace CSGAsyncDynamicCollision {
2890
+ export interface Default extends globalThis.EnumItem {
2891
+ Name: "Default";
2892
+ Value: 0;
2893
+ EnumType: typeof globalThis.Enum.CSGAsyncDynamicCollision;
2894
+ }
2895
+
2896
+ export const Default: Default;
2897
+
2898
+ export interface Disabled extends globalThis.EnumItem {
2899
+ Name: "Disabled";
2900
+ Value: 1;
2901
+ EnumType: typeof globalThis.Enum.CSGAsyncDynamicCollision;
2902
+ }
2903
+
2904
+ export const Disabled: Disabled;
2905
+
2906
+ export interface Experimental extends globalThis.EnumItem {
2907
+ Name: "Experimental";
2908
+ Value: 2;
2909
+ EnumType: typeof globalThis.Enum.CSGAsyncDynamicCollision;
2910
+ }
2911
+
2912
+ export const Experimental: Experimental;
2913
+
2914
+ export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.CSGAsyncDynamicCollision>;
2915
+ }
2916
+ export type CSGAsyncDynamicCollision = CSGAsyncDynamicCollision.Default | CSGAsyncDynamicCollision.Disabled | CSGAsyncDynamicCollision.Experimental;
2917
+
2889
2918
  export namespace CageType {
2890
2919
  export interface Inner extends globalThis.EnumItem {
2891
2920
  Name: "Inner";
@@ -7106,6 +7135,38 @@ declare namespace Enum {
7106
7135
 
7107
7136
  export const Ubuntu: Ubuntu;
7108
7137
 
7138
+ export interface BuilderSans extends globalThis.EnumItem {
7139
+ Name: "BuilderSans";
7140
+ Value: 46;
7141
+ EnumType: typeof globalThis.Enum.Font;
7142
+ }
7143
+
7144
+ export const BuilderSans: BuilderSans;
7145
+
7146
+ export interface BuilderSansMedium extends globalThis.EnumItem {
7147
+ Name: "BuilderSansMedium";
7148
+ Value: 47;
7149
+ EnumType: typeof globalThis.Enum.Font;
7150
+ }
7151
+
7152
+ export const BuilderSansMedium: BuilderSansMedium;
7153
+
7154
+ export interface BuilderSansBold extends globalThis.EnumItem {
7155
+ Name: "BuilderSansBold";
7156
+ Value: 48;
7157
+ EnumType: typeof globalThis.Enum.Font;
7158
+ }
7159
+
7160
+ export const BuilderSansBold: BuilderSansBold;
7161
+
7162
+ export interface BuilderSansExtraBold extends globalThis.EnumItem {
7163
+ Name: "BuilderSansExtraBold";
7164
+ Value: 49;
7165
+ EnumType: typeof globalThis.Enum.Font;
7166
+ }
7167
+
7168
+ export const BuilderSansExtraBold: BuilderSansExtraBold;
7169
+
7109
7170
  export interface Unknown extends globalThis.EnumItem {
7110
7171
  Name: "Unknown";
7111
7172
  Value: 100;
@@ -7116,7 +7177,7 @@ declare namespace Enum {
7116
7177
 
7117
7178
  export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.Font>;
7118
7179
  }
7119
- export type Font = Font.Legacy | Font.Arial | Font.ArialBold | Font.SourceSans | Font.SourceSansBold | Font.SourceSansLight | Font.SourceSansItalic | Font.Bodoni | Font.Garamond | Font.Cartoon | Font.Code | Font.Highway | Font.SciFi | Font.Arcade | Font.Fantasy | Font.Antique | Font.SourceSansSemibold | Font.Gotham | Font.GothamMedium | Font.GothamBold | Font.GothamBlack | Font.AmaticSC | Font.Bangers | Font.Creepster | Font.DenkOne | Font.Fondamento | Font.FredokaOne | Font.GrenzeGotisch | Font.IndieFlower | Font.JosefinSans | Font.Jura | Font.Kalam | Font.LuckiestGuy | Font.Merriweather | Font.Michroma | Font.Nunito | Font.Oswald | Font.PatrickHand | Font.PermanentMarker | Font.Roboto | Font.RobotoCondensed | Font.RobotoMono | Font.Sarpanch | Font.SpecialElite | Font.TitilliumWeb | Font.Ubuntu | Font.Unknown;
7180
+ export type Font = Font.Legacy | Font.Arial | Font.ArialBold | Font.SourceSans | Font.SourceSansBold | Font.SourceSansLight | Font.SourceSansItalic | Font.Bodoni | Font.Garamond | Font.Cartoon | Font.Code | Font.Highway | Font.SciFi | Font.Arcade | Font.Fantasy | Font.Antique | Font.SourceSansSemibold | Font.Gotham | Font.GothamMedium | Font.GothamBold | Font.GothamBlack | Font.AmaticSC | Font.Bangers | Font.Creepster | Font.DenkOne | Font.Fondamento | Font.FredokaOne | Font.GrenzeGotisch | Font.IndieFlower | Font.JosefinSans | Font.Jura | Font.Kalam | Font.LuckiestGuy | Font.Merriweather | Font.Michroma | Font.Nunito | Font.Oswald | Font.PatrickHand | Font.PermanentMarker | Font.Roboto | Font.RobotoCondensed | Font.RobotoMono | Font.Sarpanch | Font.SpecialElite | Font.TitilliumWeb | Font.Ubuntu | Font.BuilderSans | Font.BuilderSansMedium | Font.BuilderSansBold | Font.BuilderSansExtraBold | Font.Unknown;
7120
7181
 
7121
7182
  export namespace FontSize {
7122
7183
  export interface Size8 extends globalThis.EnumItem {
@@ -15288,6 +15349,35 @@ declare namespace Enum {
15288
15349
  }
15289
15350
  export type RunContext = RunContext.Legacy | RunContext.Server | RunContext.Client | RunContext.Plugin;
15290
15351
 
15352
+ export namespace RunState {
15353
+ export interface Stopped extends globalThis.EnumItem {
15354
+ Name: "Stopped";
15355
+ Value: 0;
15356
+ EnumType: typeof globalThis.Enum.RunState;
15357
+ }
15358
+
15359
+ export const Stopped: Stopped;
15360
+
15361
+ export interface Running extends globalThis.EnumItem {
15362
+ Name: "Running";
15363
+ Value: 1;
15364
+ EnumType: typeof globalThis.Enum.RunState;
15365
+ }
15366
+
15367
+ export const Running: Running;
15368
+
15369
+ export interface Paused extends globalThis.EnumItem {
15370
+ Name: "Paused";
15371
+ Value: 2;
15372
+ EnumType: typeof globalThis.Enum.RunState;
15373
+ }
15374
+
15375
+ export const Paused: Paused;
15376
+
15377
+ export function GetEnumItems(this: globalThis.Enum): Array<globalThis.Enum.RunState>;
15378
+ }
15379
+ export type RunState = RunState.Stopped | RunState.Running | RunState.Paused;
15380
+
15291
15381
  export namespace RuntimeUndoBehavior {
15292
15382
  export interface Aggregate extends globalThis.EnumItem {
15293
15383
  Name: "Aggregate";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/types",
3
- "version": "1.0.758",
3
+ "version": "1.0.759",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },