Skip to content

Commit

Permalink
Add lost files
Browse files Browse the repository at this point in the history
  • Loading branch information
kunyavskiy committed May 24, 2024
1 parent f76c839 commit 2d72a4f
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
4 changes: 4 additions & 0 deletions schemas/settings.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,9 @@
"const": "dmoj",
"default": "dmoj"
},
"url": {
"type": "string"
},
"contestId": {
"type": "string"
},
Expand All @@ -363,6 +366,7 @@
"additionalProperties": false,
"required": [
"type",
"url",
"contestId",
"apiKey"
],
Expand Down
32 changes: 32 additions & 0 deletions src/cds/plugins/dmoj/api/dmoj.api
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
public abstract interface class org/icpclive/cds/plugins/dmoj/DmojSettings : org/icpclive/cds/settings/CDSSettings {
public abstract fun getApiKey ()Lorg/icpclive/cds/settings/Credential;
public abstract fun getContestId ()Ljava/lang/String;
public abstract fun getUrl ()Ljava/lang/String;
public fun toDataSource ()Lorg/icpclive/cds/ContestDataSource;
}

public final class org/icpclive/cds/plugins/dmoj/DmojSettingsBuilder : org/icpclive/cds/plugins/dmoj/DmojSettings {
public fun <init> (Ljava/lang/String;Ljava/lang/String;Lorg/icpclive/cds/settings/Credential;)V
public fun <init> (Lorg/icpclive/cds/plugins/dmoj/DmojSettings;)V
public final fun build ()Lorg/icpclive/cds/plugins/dmoj/DmojSettings;
public fun getApiKey ()Lorg/icpclive/cds/settings/Credential;
public fun getContestId ()Ljava/lang/String;
public fun getEmulation ()Lorg/icpclive/cds/settings/EmulationSettings;
public fun getNetwork ()Lorg/icpclive/cds/settings/NetworkSettings;
public fun getPreviousDays ()Ljava/util/List;
public fun getUrl ()Ljava/lang/String;
public fun setApiKey (Lorg/icpclive/cds/settings/Credential;)V
public fun setContestId (Ljava/lang/String;)V
public fun setEmulation (Lorg/icpclive/cds/settings/EmulationSettings;)V
public fun setNetwork (Lorg/icpclive/cds/settings/NetworkSettings;)V
public fun setPreviousDays (Ljava/util/List;)V
public fun setUrl (Ljava/lang/String;)V
}

public final class org/icpclive/cds/plugins/dmoj/DmojSettingsImplKt {
public static final fun DmojSettings (Ljava/lang/String;Ljava/lang/String;Lorg/icpclive/cds/settings/Credential;Lkotlin/jvm/functions/Function1;)Lorg/icpclive/cds/plugins/dmoj/DmojSettings;
public static synthetic fun DmojSettings$default (Ljava/lang/String;Ljava/lang/String;Lorg/icpclive/cds/settings/Credential;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)Lorg/icpclive/cds/plugins/dmoj/DmojSettings;
public static final fun copy (Lorg/icpclive/cds/plugins/dmoj/DmojSettings;Lkotlin/jvm/functions/Function1;)Lorg/icpclive/cds/plugins/dmoj/DmojSettings;
public static synthetic fun copy$default (Lorg/icpclive/cds/plugins/dmoj/DmojSettings;Lkotlin/jvm/functions/Function1;ILjava/lang/Object;)Lorg/icpclive/cds/plugins/dmoj/DmojSettings;
}

0 comments on commit 2d72a4f

Please sign in to comment.