Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@beatgig/backend-types

Package Overview
Dependencies
Maintainers
4
Versions
47
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@beatgig/backend-types - npm Package Compare versions

Comparing version 1.0.1644256930-1644262735 to 1.0.1644256930-1644263289

models/ArtistStats.ts

2

index.ts

@@ -9,3 +9,2 @@ /* istanbul ignore file */

export { AdminPermission } from './models/AdminPermission';
export type { AdminStats } from './models/AdminStats';
export { AdminUserType } from './models/AdminUserType';

@@ -33,2 +32,3 @@ export { AlgoliaIndex } from './models/AlgoliaIndex';

export type { ArtistSmallest } from './models/ArtistSmallest';
export type { ArtistStats } from './models/ArtistStats';
export type { ArtistUpdate } from './models/ArtistUpdate';

@@ -35,0 +35,0 @@ export type { ArtistUpdateResponse } from './models/ArtistUpdateResponse';

@@ -1,1 +0,1 @@

{"name": "@beatgig/backend-types", "version": "1.0.1644256930-1644262735", "description": "TS types for backend-types.", "main": "index.ts", "types": "index.ts", "author": "jerber", "sideEffects": false}
{"name": "@beatgig/backend-types", "version": "1.0.1644256930-1644263289", "description": "TS types for backend-types.", "main": "index.ts", "types": "index.ts", "author": "jerber", "sideEffects": false}
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { AdminStats } from '../models/AdminStats';
import type { ArtistDisplay } from '../models/ArtistDisplay';
import type { ArtistReviewsData } from '../models/ArtistReviewsData';
import type { ArtistSmallDisplay } from '../models/ArtistSmallDisplay';
import type { ArtistStats } from '../models/ArtistStats';
import type { ArtistUpdate } from '../models/ArtistUpdate';

@@ -437,17 +437,14 @@ import type { ArtistUpdateResponse } from '../models/ArtistUpdateResponse';

/**
* Get Admin Stats
* @returns AdminStats Successful Response
* Get Artist Stats
* @returns ArtistStats Successful Response
* @throws ApiError
*/
public static async getAdminStats({
public static async getArtistStats({
artistSlug,
}: {
artistSlug: string,
}): Promise<AdminStats> {
}): Promise<ArtistStats> {
const result = await __request({
method: 'GET',
path: `/api/v1/artists/${artistId}/stats`,
query: {
'artist_slug': artistSlug,
},
path: `/api/v1/artists/${artistSlug}/stats`,
errors: {

@@ -454,0 +451,0 @@ 422: `Validation Error`,

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc