@trophyso/node
Version:
NodeJS SDK for the Trophy API
19 lines (18 loc) • 628 B
TypeScript
/**
* This file was auto-generated by Fern from our API Definition.
*/
import * as TrophyApi from "..";
export interface BaseStreakResponse {
/** The length of the user's current streak. */
length: number;
/** The frequency of the streak. */
frequency: TrophyApi.StreakFrequency;
/** The date the streak started. */
started?: string;
/** The start date of the current streak period. */
periodStart?: string;
/** The end date of the current streak period. */
periodEnd?: string;
/** The date the streak will expire if the user does not increment a metric. */
expires?: string;
}