@rbxts/types 1.0.823 → 1.0.825

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.
@@ -43,6 +43,7 @@ interface Services {
43
43
  ContextActionService: ContextActionService;
44
44
  ControllerService: ControllerService;
45
45
  ConversationalAIAcceptanceService: ConversationalAIAcceptanceService;
46
+ CoreGui: CoreGui;
46
47
  CoreScriptDebuggingManagerHelper: CoreScriptDebuggingManagerHelper;
47
48
  CreationDBService: CreationDBService;
48
49
  CreatorStoreService: CreatorStoreService;
@@ -177,6 +178,7 @@ interface Services {
177
178
  TeleportService: TeleportService;
178
179
  TemporaryCageMeshProvider: TemporaryCageMeshProvider;
179
180
  TemporaryScriptService: TemporaryScriptService;
181
+ TestService: TestService;
180
182
  TextBoxService: TextBoxService;
181
183
  TextChatService: TextChatService;
182
184
  TextService: TextService;
@@ -6505,6 +6507,32 @@ interface BasePlayerGui extends Instance {
6505
6507
  */
6506
6508
  GetGuiObjectsAtPosition(this: BasePlayerGui, x: number, y: number): Array<GuiObject>;
6507
6509
  }
6510
+ /**
6511
+ * The CoreGui is a service used to store Guis created in-game by Roblox for the core user interface found in every game (such as the game menu, the playerlist, the backpack, etc.). It can also be used by `Plugins` in Roblox Studio.
6512
+ *
6513
+ * - **Tags**: NotCreatable, Service, NotReplicated
6514
+ *
6515
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/CoreGui)
6516
+ */
6517
+ interface CoreGui extends BasePlayerGui {
6518
+ /**
6519
+ * **DO NOT USE!**
6520
+ *
6521
+ * This field exists to force TypeScript to recognize this as a nominal type
6522
+ * @hidden
6523
+ * @deprecated
6524
+ */
6525
+ readonly _nominal_CoreGui: unique symbol;
6526
+ /**
6527
+ * The current version of the CoreGui. Everytime the CoreGui is majorly changed, this number is increased.
6528
+ *
6529
+ * - **ThreadSafety**: ReadSafe
6530
+ * - **Tags**: NotReplicated
6531
+ *
6532
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/CoreGui#Version)
6533
+ */
6534
+ readonly Version: number;
6535
+ }
6508
6536
  /**
6509
6537
  * A container for a player's currently rendered `ScreenGuis`.
6510
6538
  *
@@ -35187,6 +35215,249 @@ interface TerrainRegion extends Instance {
35187
35215
  */
35188
35216
  readonly SizeInCells: Vector3;
35189
35217
  }
35218
+ /**
35219
+ * A service used by Roblox to run controlled tests of the engine. It is available for developers to use, to a limited degree.
35220
+ *
35221
+ * - **Tags**: Service
35222
+ *
35223
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/TestService)
35224
+ */
35225
+ interface TestService extends Instance {
35226
+ /**
35227
+ * **DO NOT USE!**
35228
+ *
35229
+ * This field exists to force TypeScript to recognize this as a nominal type
35230
+ * @hidden
35231
+ * @deprecated
35232
+ */
35233
+ readonly _nominal_TestService: unique symbol;
35234
+ /**
35235
+ * If set to true, the game will start running when the TestService's `TestService:Run()` method is called.
35236
+ *
35237
+ * - **ThreadSafety**: ReadSafe
35238
+ *
35239
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/TestService#AutoRuns)
35240
+ */
35241
+ AutoRuns: boolean;
35242
+ /**
35243
+ * A description of the test being executed.
35244
+ *
35245
+ * - **ThreadSafety**: ReadSafe
35246
+ *
35247
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/TestService#Description)
35248
+ */
35249
+ Description: string;
35250
+ /**
35251
+ * Measures how many errors have been recorded in the test session.
35252
+ *
35253
+ * - **ThreadSafety**: ReadSafe
35254
+ * - **Tags**: NotReplicated
35255
+ *
35256
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/TestService#ErrorCount)
35257
+ */
35258
+ readonly ErrorCount: number;
35259
+ /**
35260
+ * When set to true, the TestService will be executed when using the *Run* action in Roblox Studio.
35261
+ *
35262
+ * - **ThreadSafety**: ReadSafe
35263
+ *
35264
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/TestService#ExecuteWithStudioRun)
35265
+ */
35266
+ ExecuteWithStudioRun: boolean;
35267
+ /**
35268
+ * Sets whether or not the physics engine should be throttled to 30 FPS while the test is being ran.
35269
+ *
35270
+ * - **ThreadSafety**: ReadSafe
35271
+ *
35272
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/TestService#Is30FpsThrottleEnabled)
35273
+ */
35274
+ Is30FpsThrottleEnabled: boolean;
35275
+ /**
35276
+ * Sets whether or not the physics environment should be throttled while running this test.
35277
+ *
35278
+ * - **ThreadSafety**: ReadSafe
35279
+ *
35280
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/TestService#IsPhysicsEnvironmentalThrottled)
35281
+ */
35282
+ IsPhysicsEnvironmentalThrottled: boolean;
35283
+ /**
35284
+ * Sets whether or not physics objects will be allowed to fall asleep while the test simulation is running.
35285
+ *
35286
+ * - **ThreadSafety**: ReadSafe
35287
+ *
35288
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/TestService#IsSleepAllowed)
35289
+ */
35290
+ IsSleepAllowed: boolean;
35291
+ /**
35292
+ * The number of players expected in this test, if any.
35293
+ *
35294
+ * - **ThreadSafety**: ReadSafe
35295
+ *
35296
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/TestService#NumberOfPlayers)
35297
+ */
35298
+ NumberOfPlayers: number;
35299
+ /**
35300
+ * Sets a specific amount of additional latency experienced by players during the test session.
35301
+ *
35302
+ * - **ThreadSafety**: ReadSafe
35303
+ *
35304
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/TestService#SimulateSecondsLag)
35305
+ */
35306
+ SimulateSecondsLag: number;
35307
+ /**
35308
+ * Measures how many test calls have been recorded in the test session.
35309
+ *
35310
+ * - **ThreadSafety**: ReadSafe
35311
+ * - **Tags**: NotReplicated
35312
+ *
35313
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/TestService#TestCount)
35314
+ */
35315
+ readonly TestCount: number;
35316
+ /**
35317
+ * The maximum amount of time that tests are allowed to run for.
35318
+ *
35319
+ * - **ThreadSafety**: ReadSafe
35320
+ *
35321
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/TestService#Timeout)
35322
+ */
35323
+ Timeout: number;
35324
+ /**
35325
+ * Measures how many warning calls have been recorded in the test session.
35326
+ *
35327
+ * - **ThreadSafety**: ReadSafe
35328
+ * - **Tags**: NotReplicated
35329
+ *
35330
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/TestService#WarnCount)
35331
+ */
35332
+ readonly WarnCount: number;
35333
+ /**
35334
+ * Prints result of condition to output.
35335
+ *
35336
+ * - **ThreadSafety**: Unsafe
35337
+ *
35338
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/TestService#Check)
35339
+ * @param this A service used by Roblox to run controlled tests of the engine. It is available for developers to use, to a limited degree.
35340
+ * @param condition
35341
+ * @param description
35342
+ * @param source
35343
+ * @param line
35344
+ */
35345
+ Check(this: TestService, condition: boolean, description: string, source?: Instance, line?: number): void;
35346
+ /**
35347
+ * Prints "Test checkpoint: ", followed by text, to the output, in blue text.
35348
+ *
35349
+ * - **ThreadSafety**: Unsafe
35350
+ *
35351
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/TestService#Checkpoint)
35352
+ * @param this A service used by Roblox to run controlled tests of the engine. It is available for developers to use, to a limited degree.
35353
+ * @param text
35354
+ * @param source
35355
+ * @param line
35356
+ */
35357
+ Checkpoint(this: TestService, text: string, source?: Instance, line?: number): void;
35358
+ /**
35359
+ * Prints Testing Done to the output, in blue text.
35360
+ *
35361
+ * - **ThreadSafety**: Unsafe
35362
+ *
35363
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/TestService#Done)
35364
+ * @param this A service used by Roblox to run controlled tests of the engine. It is available for developers to use, to a limited degree.
35365
+ */
35366
+ Done(this: TestService): void;
35367
+ /**
35368
+ * Prints a red message to the output, prefixed by `TestService:`.
35369
+ *
35370
+ * - **ThreadSafety**: Unsafe
35371
+ *
35372
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/TestService#Error)
35373
+ * @param this A service used by Roblox to run controlled tests of the engine. It is available for developers to use, to a limited degree.
35374
+ * @param description
35375
+ * @param source
35376
+ * @param line
35377
+ */
35378
+ Error(this: TestService, description: string, source?: Instance, line?: number): void;
35379
+ /**
35380
+ * Indicates a fatal error in a TestService run. If this is called inside of a script running inside of the TestService, this will initiate a breakpoint on the line that invoked the error.
35381
+ *
35382
+ * - **ThreadSafety**: Unsafe
35383
+ *
35384
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/TestService#Fail)
35385
+ * @param this A service used by Roblox to run controlled tests of the engine. It is available for developers to use, to a limited degree.
35386
+ * @param description
35387
+ * @param source
35388
+ * @param line
35389
+ */
35390
+ Fail(this: TestService, description: string, source?: Instance, line?: number): void;
35391
+ /**
35392
+ * Prints Test message, followed by text to the output, in blue text.
35393
+ *
35394
+ * - **ThreadSafety**: Unsafe
35395
+ *
35396
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/TestService#Message)
35397
+ * @param this A service used by Roblox to run controlled tests of the engine. It is available for developers to use, to a limited degree.
35398
+ * @param text
35399
+ * @param source
35400
+ * @param line
35401
+ */
35402
+ Message(this: TestService, text: string, source?: Instance, line?: number): void;
35403
+ /**
35404
+ * Prints whether a condition is true along with description text.
35405
+ *
35406
+ * - **ThreadSafety**: Unsafe
35407
+ *
35408
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/TestService#Require)
35409
+ * @param this A service used by Roblox to run controlled tests of the engine. It is available for developers to use, to a limited degree.
35410
+ * @param condition
35411
+ * @param description
35412
+ * @param source
35413
+ * @param line
35414
+ */
35415
+ Require(this: TestService, condition: boolean, description: string, source?: Instance, line?: number): void;
35416
+ /**
35417
+ * - **ThreadSafety**: Unsafe
35418
+ *
35419
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/TestService#ScopeTime)
35420
+ * @param this A service used by Roblox to run controlled tests of the engine. It is available for developers to use, to a limited degree.
35421
+ */
35422
+ ScopeTime(this: TestService): object;
35423
+ /**
35424
+ * Prints if a condition is true, otherwise prints a warning.
35425
+ *
35426
+ * - **ThreadSafety**: Unsafe
35427
+ *
35428
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/TestService#Warn)
35429
+ * @param this A service used by Roblox to run controlled tests of the engine. It is available for developers to use, to a limited degree.
35430
+ * @param condition
35431
+ * @param description
35432
+ * @param source
35433
+ * @param line
35434
+ */
35435
+ Warn(this: TestService, condition: boolean, description: string, source?: Instance, line?: number): void;
35436
+ /**
35437
+ * - **ThreadSafety**: Unsafe
35438
+ *
35439
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/TestService#isFeatureEnabled)
35440
+ * @param this A service used by Roblox to run controlled tests of the engine. It is available for developers to use, to a limited degree.
35441
+ * @param name
35442
+ */
35443
+ isFeatureEnabled(this: TestService, name: string): boolean;
35444
+ /**
35445
+ * Fired when the server should collect a conditional test result.
35446
+ *
35447
+ * - **ThreadSafety**: Unsafe
35448
+ *
35449
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/TestService#ServerCollectConditionalResult)
35450
+ */
35451
+ readonly ServerCollectConditionalResult: RBXScriptSignal<(condition: boolean, text: string, script: Instance, line: number) => void>;
35452
+ /**
35453
+ * Fired when the server should collect a test result.
35454
+ *
35455
+ * - **ThreadSafety**: Unsafe
35456
+ *
35457
+ * [Creator Hub](https://create.roblox.com/docs/reference/engine/classes/TestService#ServerCollectResult)
35458
+ */
35459
+ readonly ServerCollectResult: RBXScriptSignal<(text: string, script: Instance, line: number) => void>;
35460
+ }
35190
35461
  /**
35191
35462
  * - **Tags**: NotCreatable, Service
35192
35463
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rbxts/types",
3
- "version": "1.0.823",
3
+ "version": "1.0.825",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },