Skip to content

Commit

Permalink
chore: add Java to the leaderboards API reference
Browse files Browse the repository at this point in the history
Add Java to the leaderboards API reference.

Remove unneeded auth file from the leaderboards docs.
  • Loading branch information
nand4011 committed Jan 17, 2025
1 parent 3d21b0f commit d983320
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 314 deletions.
313 changes: 0 additions & 313 deletions docs/leaderboards/api-reference/auth.md

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,10 @@ const SDKS: Array<SdkInfo> = [
'momento-sdk/src/main/java/momento/sdk/config/Configuration.java',
topicClientFile: 'momento-sdk/src/main/java/momento/sdk/TopicClient.java',
authClientFile: 'momento-sdk/src/main/java/momento/sdk/AuthClient.java',
leaderboardClientFile: undefined,
leaderboardClientFile: [
'momento-sdk/src/main/java/momento/sdk/ILeaderboard.java',
'momento-sdk/src/main/java/momento/sdk/LeaderboardClient.java',
],
storageClientFile:
'momento-sdk/src/main/java/momento/sdk/PreviewStorageClient.java',
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ export class JavaSnippetSourceParser extends RegexSnippetSourceParser {
'examples/cache-with-aws/src/main/java/momento/client/example/doc_examples/DocExamplesJavaAPIs.java',
'examples/token/src/main/java/momento/client/example/docs_examples/DocExamplesJavaAPIs.java',
'examples/storage/src/main/java/momento/client/example/doc_examples/DocExamplesJavaAPIs.java',
'examples/leaderboard/src/main/java/momento/client/example/doc_examples/DocExamplesJavaAPIs.java',
];
super({
wholeFileExamplesDir: path.join(repoSourceDir, wholeFileExamplesDir),
Expand Down
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4649,6 +4649,11 @@ fs.realpath@^1.0.0:
resolved "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz"
integrity sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==

fsevents@~2.3.2:
version "2.3.3"
resolved "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz"
integrity sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==

function-bind@^1.1.2:
version "1.1.2"
resolved "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz"
Expand Down

0 comments on commit d983320

Please sign in to comment.