Compare commits
6 Commits
582c20170d
...
dean/usage
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
35c7c23ba9 | ||
|
|
40c4b82a59 | ||
| 9ebe2e61df | |||
|
|
6f356f9535 | ||
|
|
5c0ff8c31b | ||
| dc02fd8387 |
@@ -260,6 +260,15 @@ export type ClusterAssignmentInput = {
|
||||
userId?: InputMaybe<Scalars["Int"]["input"]>;
|
||||
};
|
||||
|
||||
export type CohortStatsGql = {
|
||||
__typename?: "CohortStatsGQL";
|
||||
activated7d: Scalars["Int"]["output"];
|
||||
activatedNotPaid7d: Scalars["Int"]["output"];
|
||||
paid7d: Scalars["Int"]["output"];
|
||||
signups: Scalars["Int"]["output"];
|
||||
weekStart: Scalars["Date"]["output"];
|
||||
};
|
||||
|
||||
export type CommentGql = {
|
||||
__typename?: "CommentGQL";
|
||||
id: Scalars["Int"]["output"];
|
||||
@@ -2299,6 +2308,20 @@ export type FloatRangeFilter = {
|
||||
lessThanInclusive?: Scalars["Boolean"]["input"];
|
||||
};
|
||||
|
||||
export type FunnelStatsGql = {
|
||||
__typename?: "FunnelStatsGQL";
|
||||
activationActivated: Scalars["Int"]["output"];
|
||||
activationCohort: Scalars["Int"]["output"];
|
||||
eraPaying: Scalars["Int"]["output"];
|
||||
eraSignups: Scalars["Int"]["output"];
|
||||
freemiumEpoch: Scalars["Date"]["output"];
|
||||
newPaid7d: Scalars["Int"]["output"];
|
||||
newPaid30d: Scalars["Int"]["output"];
|
||||
payingUsers: Scalars["Int"]["output"];
|
||||
retentionPrevActive: Scalars["Int"]["output"];
|
||||
retentionReturned: Scalars["Int"]["output"];
|
||||
};
|
||||
|
||||
export type GameTypeTagMetric = {
|
||||
__typename?: "GameTypeTagMetric";
|
||||
madeShots: Scalars["Int"]["output"];
|
||||
@@ -3966,7 +3989,9 @@ export type UsageStatsDailyGql = {
|
||||
|
||||
export type UsageStatsGql = {
|
||||
__typename?: "UsageStatsGQL";
|
||||
cohorts: Array<CohortStatsGql>;
|
||||
daily: Array<UsageStatsDailyGql>;
|
||||
funnel: FunnelStatsGql;
|
||||
processingLast24h: Array<ProcessingStatusCountGql>;
|
||||
totalRuns: Scalars["Int"]["output"];
|
||||
totalShots: Scalars["Int"]["output"];
|
||||
@@ -7447,6 +7472,27 @@ export type GetUsageStatsQuery = {
|
||||
totalVideos: number;
|
||||
totalShots: number;
|
||||
totalRuns: number;
|
||||
funnel: {
|
||||
__typename?: "FunnelStatsGQL";
|
||||
freemiumEpoch: any;
|
||||
eraSignups: number;
|
||||
eraPaying: number;
|
||||
activationCohort: number;
|
||||
activationActivated: number;
|
||||
payingUsers: number;
|
||||
newPaid7d: number;
|
||||
newPaid30d: number;
|
||||
retentionPrevActive: number;
|
||||
retentionReturned: number;
|
||||
};
|
||||
cohorts: Array<{
|
||||
__typename?: "CohortStatsGQL";
|
||||
weekStart: any;
|
||||
signups: number;
|
||||
activated7d: number;
|
||||
paid7d: number;
|
||||
activatedNotPaid7d: number;
|
||||
}>;
|
||||
windows: Array<{
|
||||
__typename?: "UsageStatsWindowGQL";
|
||||
label: string;
|
||||
@@ -15748,6 +15794,25 @@ export type DeleteTagsMutationOptions = Apollo.BaseMutationOptions<
|
||||
export const GetUsageStatsDocument = gql`
|
||||
query getUsageStats($days: Int! = 30) {
|
||||
getUsageStats(days: $days) {
|
||||
funnel {
|
||||
freemiumEpoch
|
||||
eraSignups
|
||||
eraPaying
|
||||
activationCohort
|
||||
activationActivated
|
||||
payingUsers
|
||||
newPaid7d
|
||||
newPaid30d
|
||||
retentionPrevActive
|
||||
retentionReturned
|
||||
}
|
||||
cohorts {
|
||||
weekStart
|
||||
signups
|
||||
activated7d
|
||||
paid7d
|
||||
activatedNotPaid7d
|
||||
}
|
||||
totalUsers
|
||||
totalVideos
|
||||
totalShots
|
||||
|
||||
@@ -1,5 +1,24 @@
|
||||
query getUsageStats($days: Int! = 30) {
|
||||
getUsageStats(days: $days) {
|
||||
funnel {
|
||||
freemiumEpoch
|
||||
eraSignups
|
||||
eraPaying
|
||||
activationCohort
|
||||
activationActivated
|
||||
payingUsers
|
||||
newPaid7d
|
||||
newPaid30d
|
||||
retentionPrevActive
|
||||
retentionReturned
|
||||
}
|
||||
cohorts {
|
||||
weekStart
|
||||
signups
|
||||
activated7d
|
||||
paid7d
|
||||
activatedNotPaid7d
|
||||
}
|
||||
totalUsers
|
||||
totalVideos
|
||||
totalShots
|
||||
|
||||
@@ -1170,15 +1170,38 @@ input CreatedAfter @oneOf {
|
||||
}
|
||||
|
||||
type UsageStatsGQL {
|
||||
funnel: FunnelStatsGQL!
|
||||
totalUsers: Int!
|
||||
totalVideos: Int!
|
||||
totalShots: Int!
|
||||
totalRuns: Int!
|
||||
cohorts: [CohortStatsGQL!]!
|
||||
windows: [UsageStatsWindowGQL!]!
|
||||
daily: [UsageStatsDailyGQL!]!
|
||||
processingLast24h: [ProcessingStatusCountGQL!]!
|
||||
}
|
||||
|
||||
type FunnelStatsGQL {
|
||||
freemiumEpoch: Date!
|
||||
eraSignups: Int!
|
||||
eraPaying: Int!
|
||||
activationCohort: Int!
|
||||
activationActivated: Int!
|
||||
payingUsers: Int!
|
||||
newPaid7d: Int!
|
||||
newPaid30d: Int!
|
||||
retentionPrevActive: Int!
|
||||
retentionReturned: Int!
|
||||
}
|
||||
|
||||
type CohortStatsGQL {
|
||||
weekStart: Date!
|
||||
signups: Int!
|
||||
activated7d: Int!
|
||||
paid7d: Int!
|
||||
activatedNotPaid7d: Int!
|
||||
}
|
||||
|
||||
type UsageStatsWindowGQL {
|
||||
label: String!
|
||||
newUsers: Int!
|
||||
|
||||
Reference in New Issue
Block a user