@dendotdev/grunt 1.0.9 → 1.0.10
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.
- package/dist/index.d.mts +5 -85
- package/dist/index.d.ts +5 -85
- package/dist/index.js +316 -220
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +316 -220
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -2022,7 +2022,7 @@ declare class EconomyModule extends ModuleBase {
|
|
|
2022
2022
|
*/
|
|
2023
2023
|
getVirtualCurrencyBalances(player: string): Promise<HaloApiResult<CurrencySnapshot>>;
|
|
2024
2024
|
/**
|
|
2025
|
-
*
|
|
2025
|
+
* Get a currency transaction.
|
|
2026
2026
|
*
|
|
2027
2027
|
* @param player - Player's numeric XUID
|
|
2028
2028
|
* @param currencyId - Currency identifier
|
|
@@ -2254,9 +2254,10 @@ declare class EconomyModule extends ModuleBase {
|
|
|
2254
2254
|
* Get operation progress for a player.
|
|
2255
2255
|
*
|
|
2256
2256
|
* @param player - Player's numeric XUID
|
|
2257
|
+
* @param flightId - Flight/clearance ID
|
|
2257
2258
|
* @returns Operation reward track snapshot
|
|
2258
2259
|
*/
|
|
2259
|
-
getPlayerOperations(player: string): Promise<HaloApiResult<OperationRewardTrackSnapshot>>;
|
|
2260
|
+
getPlayerOperations(player: string, flightId?: string): Promise<HaloApiResult<OperationRewardTrackSnapshot>>;
|
|
2260
2261
|
/**
|
|
2261
2262
|
* Get career rank for a player.
|
|
2262
2263
|
*
|
|
@@ -2458,12 +2459,6 @@ declare class GameCmsModule extends ModuleBase {
|
|
|
2458
2459
|
* @returns News collection
|
|
2459
2460
|
*/
|
|
2460
2461
|
getNews(filePath: string): Promise<HaloApiResult<News>>;
|
|
2461
|
-
/**
|
|
2462
|
-
* Get academy star definitions.
|
|
2463
|
-
*
|
|
2464
|
-
* @returns Star definitions
|
|
2465
|
-
*/
|
|
2466
|
-
getAcademyStarDefinitions(): Promise<HaloApiResult<AcademyStarDefinitions>>;
|
|
2467
2462
|
/**
|
|
2468
2463
|
* Get an image file from the CMS.
|
|
2469
2464
|
*
|
|
@@ -2659,7 +2654,7 @@ declare class LobbyModule extends ModuleBase {
|
|
|
2659
2654
|
* @param presenceRequest - Presence request container
|
|
2660
2655
|
* @returns Presence results
|
|
2661
2656
|
*/
|
|
2662
|
-
presence(
|
|
2657
|
+
presence(): Promise<HaloApiResult<LobbyPresenceContainer>>;
|
|
2663
2658
|
/**
|
|
2664
2659
|
* Get a third-party join handle for a lobby.
|
|
2665
2660
|
*
|
|
@@ -3662,15 +3657,6 @@ declare class StatsModule extends ModuleBase {
|
|
|
3662
3657
|
getPlayerDailyCustomExperience(player: string): Promise<HaloApiResult<PlayerDailyCustomExperience>>;
|
|
3663
3658
|
}
|
|
3664
3659
|
|
|
3665
|
-
/**
|
|
3666
|
-
* Text moderation key response.
|
|
3667
|
-
*/
|
|
3668
|
-
interface ModerationKey {
|
|
3669
|
-
/** The moderation key */
|
|
3670
|
-
key?: string;
|
|
3671
|
-
/** Expiration time (ISO 8601) */
|
|
3672
|
-
expiresAt?: string;
|
|
3673
|
-
}
|
|
3674
3660
|
/**
|
|
3675
3661
|
* Signing key for moderation proofs.
|
|
3676
3662
|
*/
|
|
@@ -3700,9 +3686,6 @@ interface ModerationProofKeys {
|
|
|
3700
3686
|
*
|
|
3701
3687
|
* @example
|
|
3702
3688
|
* ```typescript
|
|
3703
|
-
* // Get moderation key
|
|
3704
|
-
* const key = await client.textModeration.getModerationKey();
|
|
3705
|
-
*
|
|
3706
3689
|
* // Get all signing keys
|
|
3707
3690
|
* const keys = await client.textModeration.getSigningKeys();
|
|
3708
3691
|
*
|
|
@@ -3712,12 +3695,6 @@ interface ModerationProofKeys {
|
|
|
3712
3695
|
*/
|
|
3713
3696
|
declare class TextModerationModule extends ModuleBase {
|
|
3714
3697
|
constructor(client: ClientBase);
|
|
3715
|
-
/**
|
|
3716
|
-
* Get a moderation key for text validation.
|
|
3717
|
-
*
|
|
3718
|
-
* @returns Moderation key
|
|
3719
|
-
*/
|
|
3720
|
-
getModerationKey(): Promise<HaloApiResult<ModerationKey>>;
|
|
3721
3698
|
/**
|
|
3722
3699
|
* Get a specific moderation proof signing key.
|
|
3723
3700
|
*
|
|
@@ -4337,7 +4314,7 @@ declare class UgcModule extends ModuleBase {
|
|
|
4337
4314
|
* @param includeContainerSas - Include container SAS URL
|
|
4338
4315
|
* @returns Session details
|
|
4339
4316
|
*/
|
|
4340
|
-
startSession(title: string, assetType: string, assetId: string, includeContainerSas?: boolean): Promise<HaloApiResult<AssetAuthoringSession>>;
|
|
4317
|
+
startSession(title: string, assetType: string, assetId: string, starter?: AuthoringSessionSourceStarter, includeContainerSas?: boolean): Promise<HaloApiResult<AssetAuthoringSession>>;
|
|
4341
4318
|
/**
|
|
4342
4319
|
* Extend an authoring session.
|
|
4343
4320
|
*
|
|
@@ -4401,8 +4378,6 @@ declare class UgcModule extends ModuleBase {
|
|
|
4401
4378
|
*
|
|
4402
4379
|
* Provides access to:
|
|
4403
4380
|
* - Searching for maps, game variants, and other content
|
|
4404
|
-
* - Browsing featured and popular content
|
|
4405
|
-
* - Getting recommended content
|
|
4406
4381
|
* - Getting specific asset types (maps, playlists, prefabs, etc.)
|
|
4407
4382
|
*
|
|
4408
4383
|
* @example
|
|
@@ -4416,9 +4391,6 @@ declare class UgcModule extends ModuleBase {
|
|
|
4416
4391
|
*
|
|
4417
4392
|
* // Get a specific map
|
|
4418
4393
|
* const map = await client.ugcDiscovery.getMap('asset-id', 'version-id');
|
|
4419
|
-
*
|
|
4420
|
-
* // Get featured maps
|
|
4421
|
-
* const featured = await client.ugcDiscovery.getFeatured('Map');
|
|
4422
4394
|
* ```
|
|
4423
4395
|
*/
|
|
4424
4396
|
declare class UgcDiscoveryModule extends ModuleBase {
|
|
@@ -4461,58 +4433,6 @@ declare class UgcDiscoveryModule extends ModuleBase {
|
|
|
4461
4433
|
/** Maximum date published */
|
|
4462
4434
|
toDatePublishedUtc?: Date;
|
|
4463
4435
|
}): Promise<HaloApiResult<UgcSearchResult>>;
|
|
4464
|
-
/**
|
|
4465
|
-
* Get featured content of a specific type.
|
|
4466
|
-
*
|
|
4467
|
-
* @param assetKind - Type of asset
|
|
4468
|
-
* @returns Featured assets
|
|
4469
|
-
*/
|
|
4470
|
-
getFeatured(assetKind: string): Promise<HaloApiResult<UgcSearchResult>>;
|
|
4471
|
-
/**
|
|
4472
|
-
* Get popular content of a specific type.
|
|
4473
|
-
*
|
|
4474
|
-
* @param assetKind - Type of asset
|
|
4475
|
-
* @param start - Starting offset
|
|
4476
|
-
* @param count - Number of results
|
|
4477
|
-
* @returns Popular assets
|
|
4478
|
-
*/
|
|
4479
|
-
getPopular(assetKind: string, start?: number, count?: number): Promise<HaloApiResult<UgcSearchResult>>;
|
|
4480
|
-
/**
|
|
4481
|
-
* Get recent content of a specific type.
|
|
4482
|
-
*
|
|
4483
|
-
* @param assetKind - Type of asset
|
|
4484
|
-
* @param start - Starting offset
|
|
4485
|
-
* @param count - Number of results
|
|
4486
|
-
* @returns Recent assets
|
|
4487
|
-
*/
|
|
4488
|
-
getRecent(assetKind: string, start?: number, count?: number): Promise<HaloApiResult<UgcSearchResult>>;
|
|
4489
|
-
/**
|
|
4490
|
-
* Get recommended content for a player.
|
|
4491
|
-
*
|
|
4492
|
-
* @param player - Player XUID
|
|
4493
|
-
* @param assetKind - Type of asset
|
|
4494
|
-
* @param count - Number of results
|
|
4495
|
-
* @returns Recommended assets
|
|
4496
|
-
*/
|
|
4497
|
-
getRecommended(player: string, assetKind: string, count?: number): Promise<HaloApiResult<UgcSearchResult>>;
|
|
4498
|
-
/**
|
|
4499
|
-
* Browse content by tag.
|
|
4500
|
-
*
|
|
4501
|
-
* @param assetKind - Type of asset
|
|
4502
|
-
* @param tag - Tag to filter by
|
|
4503
|
-
* @param start - Starting offset
|
|
4504
|
-
* @param count - Number of results
|
|
4505
|
-
* @returns Tagged assets
|
|
4506
|
-
*/
|
|
4507
|
-
browseByTag(assetKind: string, tag: string, start?: number, count?: number): Promise<HaloApiResult<UgcSearchResult>>;
|
|
4508
|
-
/**
|
|
4509
|
-
* Get asset details for discovery purposes.
|
|
4510
|
-
*
|
|
4511
|
-
* @param assetKind - Type of asset
|
|
4512
|
-
* @param assetId - Asset GUID
|
|
4513
|
-
* @returns Asset details
|
|
4514
|
-
*/
|
|
4515
|
-
getAssetDetails(assetKind: string, assetId: string): Promise<HaloApiResult<AuthoringAsset>>;
|
|
4516
4436
|
/**
|
|
4517
4437
|
* Get tags information.
|
|
4518
4438
|
*
|
package/dist/index.d.ts
CHANGED
|
@@ -2022,7 +2022,7 @@ declare class EconomyModule extends ModuleBase {
|
|
|
2022
2022
|
*/
|
|
2023
2023
|
getVirtualCurrencyBalances(player: string): Promise<HaloApiResult<CurrencySnapshot>>;
|
|
2024
2024
|
/**
|
|
2025
|
-
*
|
|
2025
|
+
* Get a currency transaction.
|
|
2026
2026
|
*
|
|
2027
2027
|
* @param player - Player's numeric XUID
|
|
2028
2028
|
* @param currencyId - Currency identifier
|
|
@@ -2254,9 +2254,10 @@ declare class EconomyModule extends ModuleBase {
|
|
|
2254
2254
|
* Get operation progress for a player.
|
|
2255
2255
|
*
|
|
2256
2256
|
* @param player - Player's numeric XUID
|
|
2257
|
+
* @param flightId - Flight/clearance ID
|
|
2257
2258
|
* @returns Operation reward track snapshot
|
|
2258
2259
|
*/
|
|
2259
|
-
getPlayerOperations(player: string): Promise<HaloApiResult<OperationRewardTrackSnapshot>>;
|
|
2260
|
+
getPlayerOperations(player: string, flightId?: string): Promise<HaloApiResult<OperationRewardTrackSnapshot>>;
|
|
2260
2261
|
/**
|
|
2261
2262
|
* Get career rank for a player.
|
|
2262
2263
|
*
|
|
@@ -2458,12 +2459,6 @@ declare class GameCmsModule extends ModuleBase {
|
|
|
2458
2459
|
* @returns News collection
|
|
2459
2460
|
*/
|
|
2460
2461
|
getNews(filePath: string): Promise<HaloApiResult<News>>;
|
|
2461
|
-
/**
|
|
2462
|
-
* Get academy star definitions.
|
|
2463
|
-
*
|
|
2464
|
-
* @returns Star definitions
|
|
2465
|
-
*/
|
|
2466
|
-
getAcademyStarDefinitions(): Promise<HaloApiResult<AcademyStarDefinitions>>;
|
|
2467
2462
|
/**
|
|
2468
2463
|
* Get an image file from the CMS.
|
|
2469
2464
|
*
|
|
@@ -2659,7 +2654,7 @@ declare class LobbyModule extends ModuleBase {
|
|
|
2659
2654
|
* @param presenceRequest - Presence request container
|
|
2660
2655
|
* @returns Presence results
|
|
2661
2656
|
*/
|
|
2662
|
-
presence(
|
|
2657
|
+
presence(): Promise<HaloApiResult<LobbyPresenceContainer>>;
|
|
2663
2658
|
/**
|
|
2664
2659
|
* Get a third-party join handle for a lobby.
|
|
2665
2660
|
*
|
|
@@ -3662,15 +3657,6 @@ declare class StatsModule extends ModuleBase {
|
|
|
3662
3657
|
getPlayerDailyCustomExperience(player: string): Promise<HaloApiResult<PlayerDailyCustomExperience>>;
|
|
3663
3658
|
}
|
|
3664
3659
|
|
|
3665
|
-
/**
|
|
3666
|
-
* Text moderation key response.
|
|
3667
|
-
*/
|
|
3668
|
-
interface ModerationKey {
|
|
3669
|
-
/** The moderation key */
|
|
3670
|
-
key?: string;
|
|
3671
|
-
/** Expiration time (ISO 8601) */
|
|
3672
|
-
expiresAt?: string;
|
|
3673
|
-
}
|
|
3674
3660
|
/**
|
|
3675
3661
|
* Signing key for moderation proofs.
|
|
3676
3662
|
*/
|
|
@@ -3700,9 +3686,6 @@ interface ModerationProofKeys {
|
|
|
3700
3686
|
*
|
|
3701
3687
|
* @example
|
|
3702
3688
|
* ```typescript
|
|
3703
|
-
* // Get moderation key
|
|
3704
|
-
* const key = await client.textModeration.getModerationKey();
|
|
3705
|
-
*
|
|
3706
3689
|
* // Get all signing keys
|
|
3707
3690
|
* const keys = await client.textModeration.getSigningKeys();
|
|
3708
3691
|
*
|
|
@@ -3712,12 +3695,6 @@ interface ModerationProofKeys {
|
|
|
3712
3695
|
*/
|
|
3713
3696
|
declare class TextModerationModule extends ModuleBase {
|
|
3714
3697
|
constructor(client: ClientBase);
|
|
3715
|
-
/**
|
|
3716
|
-
* Get a moderation key for text validation.
|
|
3717
|
-
*
|
|
3718
|
-
* @returns Moderation key
|
|
3719
|
-
*/
|
|
3720
|
-
getModerationKey(): Promise<HaloApiResult<ModerationKey>>;
|
|
3721
3698
|
/**
|
|
3722
3699
|
* Get a specific moderation proof signing key.
|
|
3723
3700
|
*
|
|
@@ -4337,7 +4314,7 @@ declare class UgcModule extends ModuleBase {
|
|
|
4337
4314
|
* @param includeContainerSas - Include container SAS URL
|
|
4338
4315
|
* @returns Session details
|
|
4339
4316
|
*/
|
|
4340
|
-
startSession(title: string, assetType: string, assetId: string, includeContainerSas?: boolean): Promise<HaloApiResult<AssetAuthoringSession>>;
|
|
4317
|
+
startSession(title: string, assetType: string, assetId: string, starter?: AuthoringSessionSourceStarter, includeContainerSas?: boolean): Promise<HaloApiResult<AssetAuthoringSession>>;
|
|
4341
4318
|
/**
|
|
4342
4319
|
* Extend an authoring session.
|
|
4343
4320
|
*
|
|
@@ -4401,8 +4378,6 @@ declare class UgcModule extends ModuleBase {
|
|
|
4401
4378
|
*
|
|
4402
4379
|
* Provides access to:
|
|
4403
4380
|
* - Searching for maps, game variants, and other content
|
|
4404
|
-
* - Browsing featured and popular content
|
|
4405
|
-
* - Getting recommended content
|
|
4406
4381
|
* - Getting specific asset types (maps, playlists, prefabs, etc.)
|
|
4407
4382
|
*
|
|
4408
4383
|
* @example
|
|
@@ -4416,9 +4391,6 @@ declare class UgcModule extends ModuleBase {
|
|
|
4416
4391
|
*
|
|
4417
4392
|
* // Get a specific map
|
|
4418
4393
|
* const map = await client.ugcDiscovery.getMap('asset-id', 'version-id');
|
|
4419
|
-
*
|
|
4420
|
-
* // Get featured maps
|
|
4421
|
-
* const featured = await client.ugcDiscovery.getFeatured('Map');
|
|
4422
4394
|
* ```
|
|
4423
4395
|
*/
|
|
4424
4396
|
declare class UgcDiscoveryModule extends ModuleBase {
|
|
@@ -4461,58 +4433,6 @@ declare class UgcDiscoveryModule extends ModuleBase {
|
|
|
4461
4433
|
/** Maximum date published */
|
|
4462
4434
|
toDatePublishedUtc?: Date;
|
|
4463
4435
|
}): Promise<HaloApiResult<UgcSearchResult>>;
|
|
4464
|
-
/**
|
|
4465
|
-
* Get featured content of a specific type.
|
|
4466
|
-
*
|
|
4467
|
-
* @param assetKind - Type of asset
|
|
4468
|
-
* @returns Featured assets
|
|
4469
|
-
*/
|
|
4470
|
-
getFeatured(assetKind: string): Promise<HaloApiResult<UgcSearchResult>>;
|
|
4471
|
-
/**
|
|
4472
|
-
* Get popular content of a specific type.
|
|
4473
|
-
*
|
|
4474
|
-
* @param assetKind - Type of asset
|
|
4475
|
-
* @param start - Starting offset
|
|
4476
|
-
* @param count - Number of results
|
|
4477
|
-
* @returns Popular assets
|
|
4478
|
-
*/
|
|
4479
|
-
getPopular(assetKind: string, start?: number, count?: number): Promise<HaloApiResult<UgcSearchResult>>;
|
|
4480
|
-
/**
|
|
4481
|
-
* Get recent content of a specific type.
|
|
4482
|
-
*
|
|
4483
|
-
* @param assetKind - Type of asset
|
|
4484
|
-
* @param start - Starting offset
|
|
4485
|
-
* @param count - Number of results
|
|
4486
|
-
* @returns Recent assets
|
|
4487
|
-
*/
|
|
4488
|
-
getRecent(assetKind: string, start?: number, count?: number): Promise<HaloApiResult<UgcSearchResult>>;
|
|
4489
|
-
/**
|
|
4490
|
-
* Get recommended content for a player.
|
|
4491
|
-
*
|
|
4492
|
-
* @param player - Player XUID
|
|
4493
|
-
* @param assetKind - Type of asset
|
|
4494
|
-
* @param count - Number of results
|
|
4495
|
-
* @returns Recommended assets
|
|
4496
|
-
*/
|
|
4497
|
-
getRecommended(player: string, assetKind: string, count?: number): Promise<HaloApiResult<UgcSearchResult>>;
|
|
4498
|
-
/**
|
|
4499
|
-
* Browse content by tag.
|
|
4500
|
-
*
|
|
4501
|
-
* @param assetKind - Type of asset
|
|
4502
|
-
* @param tag - Tag to filter by
|
|
4503
|
-
* @param start - Starting offset
|
|
4504
|
-
* @param count - Number of results
|
|
4505
|
-
* @returns Tagged assets
|
|
4506
|
-
*/
|
|
4507
|
-
browseByTag(assetKind: string, tag: string, start?: number, count?: number): Promise<HaloApiResult<UgcSearchResult>>;
|
|
4508
|
-
/**
|
|
4509
|
-
* Get asset details for discovery purposes.
|
|
4510
|
-
*
|
|
4511
|
-
* @param assetKind - Type of asset
|
|
4512
|
-
* @param assetId - Asset GUID
|
|
4513
|
-
* @returns Asset details
|
|
4514
|
-
*/
|
|
4515
|
-
getAssetDetails(assetKind: string, assetId: string): Promise<HaloApiResult<AuthoringAsset>>;
|
|
4516
4436
|
/**
|
|
4517
4437
|
* Get tags information.
|
|
4518
4438
|
*
|