Socket
Socket
Sign inDemoInstall

moos-api

Package Overview
Dependencies
0
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.3.2 to 0.4.0

14

package.json
{
"name": "moos-api",
"version": "0.3.2",
"version": "0.4.0",
"description": "Moos API type definitions",

@@ -17,11 +17,11 @@ "repository": {

"devDependencies": {
"@typescript-eslint/eslint-plugin": "^5.28.0",
"@typescript-eslint/parser": "^5.28.0",
"eslint": "^8.17.0",
"@typescript-eslint/eslint-plugin": "^5.30.6",
"@typescript-eslint/parser": "^5.30.6",
"eslint": "^8.19.0",
"eslint-config-prettier": "^8.5.0",
"husky": "^8.0.1",
"lint-staged": "^13.0.1",
"openapi-typescript": "^5.4.0",
"lint-staged": "^13.0.3",
"openapi-typescript": "^5.4.1",
"prettier": "^2.7.1",
"typescript": "^4.7.3"
"typescript": "^4.7.4"
},

@@ -28,0 +28,0 @@ "lint-staged": {

@@ -13,2 +13,20 @@ /**

};
"/profile/known": {
/** Know a person */
put: operations["put-profile-known"];
/** Fetch all people you know */
post: operations["post-profile-known"];
/** Stop knowing a person */
delete: operations["delete-profile-known"];
parameters: {};
};
"/profile/known/{uid}": {
/** Get the profile of a known person. */
post: operations["post-profile-known-uid"];
parameters: {
path: {
uid: string;
};
};
};
"/profile/file": {

@@ -91,2 +109,17 @@ /** Request a pre-signed upload url for a file you want to upload, if you are logged in with a session cookie. */

};
/** known-profile */
KnownUser: {
/** Format: uuid */
uid: string;
username: string;
/** Format: uri */
avatar: unknown;
scopes?: "*"[];
/** @default false */
private: boolean;
providers?: components["schemas"]["ProviderProfile"][];
applications?: string[];
/** Format: int64 */
creationDate: number;
};
/** provider-profile */

@@ -132,2 +165,3 @@ ProviderProfile: {

};
/** episode */
Episode: {

@@ -144,3 +178,3 @@ /** Format: uuid */

};
/** Source */
/** source */
Source: {

@@ -164,3 +198,3 @@ /** Format: uuid */

/**
* Language
* language
* @default en_EN

@@ -171,3 +205,3 @@ * @example de_DE

Language: "en_EN" | "de_DE" | "ja_JP" | "zh_CN";
/** Season */
/** season */
Season: {

@@ -183,3 +217,3 @@ /** Format: uuid */

};
/** SeasonGroup */
/** season-group */
SeasonGroup: {

@@ -245,2 +279,104 @@ /** Format: uuid */

};
/** Know a person */
"put-profile-known": {
parameters: {};
responses: {
/** Created */
201: unknown;
/** Bad Request */
400: unknown;
/** Unauthorized */
401: unknown;
/** Invalid CSRF Token */
403: unknown;
/** Not Found */
404: unknown;
/** Internal Server Error */
500: unknown;
};
requestBody: {
content: {
"application/json": {
/**
* Format: uuid
* @default true
*/
uid: string;
};
};
};
};
/** Fetch all people you know */
"post-profile-known": {
parameters: {};
responses: {
/** OK */
200: {
content: {
"application/json": {
known: string[];
};
"application/xml": components["schemas"]["File"];
};
};
/** Unauthorized */
401: unknown;
/** Forbidden */
403: unknown;
/** Internal Server Error */
500: unknown;
};
};
/** Stop knowing a person */
"delete-profile-known": {
parameters: {};
responses: {
/** No Content */
204: never;
/** Bad Request */
400: unknown;
/** Unauthorized */
401: unknown;
/** Invalid CSRF Token */
403: unknown;
/** Not Found */
404: unknown;
/** Internal Server Error */
500: unknown;
};
requestBody: {
content: {
"application/json": {
/** Format: uuid */
uid: string;
};
};
};
};
/** Get the profile of a known person. */
"post-profile-known-uid": {
parameters: {
path: {
uid: string;
};
};
responses: {
/** OK */
200: {
content: {
"application/json": components["schemas"]["KnownUser"];
};
};
/** Bad Request */
400: unknown;
/** Unauthorized */
401: unknown;
/** Forbidden */
403: unknown;
/** Not Found */
404: unknown;
/** Internal Server Error */
500: unknown;
};
};
/** Request a pre-signed upload url for a file you want to upload, if you are logged in with a session cookie. */

@@ -263,2 +399,4 @@ "put-profile-file": {

};
/** Bad Request */
400: unknown;
/** Unauthorized */

@@ -330,2 +468,4 @@ 401: unknown;

204: never;
/** Bad Request */
400: unknown;
/** Unauthorized */

@@ -335,2 +475,4 @@ 401: unknown;

403: unknown;
/** Not Found */
404: unknown;
/** Internal Server Error */

@@ -360,2 +502,4 @@ 500: unknown;

403: unknown;
/** Not Found */
404: unknown;
/** Internal Server Error */

@@ -362,0 +506,0 @@ 500: unknown;

@@ -15,2 +15,3 @@ import { components as _components, external as _external, operations as _operations, paths as _paths } from "../reference/moos-api-v1";

export type UserProfile = _components["schemas"]["UserProfile"];
export type KnownUserProfile = _components["schemas"]["KnownUser"];
export type ProviderProfile = _components["schemas"]["ProviderProfile"];

@@ -17,0 +18,0 @@ export type Application = _components["schemas"]["Application"];

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc