Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

AchievementConfiguration

import type { AchievementConfiguration } from "https://googleapis.deno.dev/v1/gamesConfiguration:v1configuration.ts";

An achievement configuration resource.

interface AchievementConfiguration {
achievementType?: "ACHIEVEMENT_TYPE_UNSPECIFIED" | "STANDARD" | "INCREMENTAL";
id?: string;
initialState?: "INITIAL_STATE_UNSPECIFIED" | "HIDDEN" | "REVEALED";
kind?: string;
stepsToUnlock?: number;
token?: string;
}

§Properties

§
achievementType?: "ACHIEVEMENT_TYPE_UNSPECIFIED" | "STANDARD" | "INCREMENTAL"
[src]

The type of the achievement.

§

The draft data of the achievement.

§
id?: string
[src]

The ID of the achievement.

§
initialState?: "INITIAL_STATE_UNSPECIFIED" | "HIDDEN" | "REVEALED"
[src]

The initial state of the achievement.

§
kind?: string
[src]

Uniquely identifies the type of this resource. Value is always the fixed string gamesConfiguration#achievementConfiguration.

§

The read-only published data of the achievement.

§
stepsToUnlock?: number
[src]

Steps to unlock. Only applicable to incremental achievements.

§
token?: string
[src]

The token for this resource.