@uniformdev/redirect
Advanced tools
Comparing version 19.195.0 to 19.195.1-alpha.2
@@ -40,41 +40,50 @@ import { ClientOptions, ApiClient } from '@uniformdev/context/api'; | ||
/** | ||
* This file was auto-generated by openapi-typescript. | ||
* Do not make direct changes to the file. | ||
*/ | ||
interface paths { | ||
"/api/v1/redirect": { | ||
/** Called to retrieve a list of redirects related to a project */ | ||
parameters: { | ||
query?: never; | ||
header?: never; | ||
path?: never; | ||
cookie?: never; | ||
}; | ||
/** @description Called to retrieve a list of redirects related to a project */ | ||
get: { | ||
parameters: { | ||
query: { | ||
/** The project to fetch redirects for */ | ||
/** @description The project to fetch redirects for */ | ||
projectId: string; | ||
/** Id of the redirect to retrieve */ | ||
/** @description Id of the redirect to retrieve */ | ||
id?: string; | ||
/** Ids of the redirects to retrieve */ | ||
/** @description Ids of the redirects to retrieve */ | ||
ids?: string[]; | ||
/** Source url to attempt to find redirects for */ | ||
/** @description Source url to attempt to find redirects for */ | ||
sourceUrl?: string; | ||
/** Find redirects that could redirect to this url */ | ||
/** @description Find redirects that could redirect to this url */ | ||
targetUrl?: string; | ||
/** Id of the project map the source or target belongs to */ | ||
/** @description Id of the project map the source or target belongs to */ | ||
projectMapId?: string; | ||
/** Id of the project map node to find redirects for */ | ||
/** @description Id of the project map node to find redirects for */ | ||
sourceProjectMapNodeId?: string; | ||
/** Id of the project map node to find redirects for */ | ||
/** @description Id of the project map node to find redirects for */ | ||
targetProjectMapNodeId?: string; | ||
/** Column to order results by, only applicable if trie is not active */ | ||
/** @description Column to order results by, only applicable if trie is not active */ | ||
orderBy?: "updated_at asc" | "updated_at desc" | "source_url asc" | "source_url desc" | "target_url asc" | "target_url desc" | "created_by asc" | "created_by desc"; | ||
/** Limit the results to this number of results, ignored if using trie parameter */ | ||
/** @description Limit the results to this number of results, ignored if using trie parameter */ | ||
limit?: number; | ||
/** Offset the results a certain amount, useful for pagination */ | ||
/** @description Offset the results a certain amount, useful for pagination */ | ||
offset?: number; | ||
/** Search text to filter redirects by, filtering on the source and target urls */ | ||
/** @description Search text to filter redirects by, filtering on the source and target urls */ | ||
search?: string; | ||
}; | ||
header?: never; | ||
path?: never; | ||
cookie?: never; | ||
}; | ||
requestBody?: never; | ||
responses: { | ||
/** OK */ | ||
/** @description OK */ | ||
200: { | ||
headers: { | ||
[name: string]: unknown; | ||
}; | ||
content: { | ||
@@ -87,30 +96,15 @@ "application/json": { | ||
}; | ||
400: external["swagger.yml"]["components"]["responses"]["BadRequestError"]; | ||
401: external["swagger.yml"]["components"]["responses"]["UnauthorizedError"]; | ||
403: external["swagger.yml"]["components"]["responses"]["ForbiddenError"]; | ||
429: external["swagger.yml"]["components"]["responses"]["RateLimitError"]; | ||
500: external["swagger.yml"]["components"]["responses"]["InternalServerError"]; | ||
400: components["responses"]["BadRequestError"]; | ||
401: components["responses"]["UnauthorizedError"]; | ||
403: components["responses"]["ForbiddenError"]; | ||
429: components["responses"]["RateLimitError"]; | ||
500: components["responses"]["InternalServerError"]; | ||
}; | ||
}; | ||
put: { | ||
responses: { | ||
/** OK */ | ||
200: { | ||
content: { | ||
"application/json": { | ||
/** | ||
* Format: uuid | ||
* @description Id of the redirect | ||
*/ | ||
id: string; | ||
}; | ||
}; | ||
}; | ||
/** OK */ | ||
204: never; | ||
400: external["swagger.yml"]["components"]["responses"]["BadRequestError"]; | ||
401: external["swagger.yml"]["components"]["responses"]["UnauthorizedError"]; | ||
403: external["swagger.yml"]["components"]["responses"]["ForbiddenError"]; | ||
429: external["swagger.yml"]["components"]["responses"]["RateLimitError"]; | ||
500: external["swagger.yml"]["components"]["responses"]["InternalServerError"]; | ||
parameters: { | ||
query?: never; | ||
header?: never; | ||
path?: never; | ||
cookie?: never; | ||
}; | ||
@@ -130,8 +124,8 @@ requestBody: { | ||
}; | ||
}; | ||
/** Called to delete a redirect */ | ||
delete: { | ||
responses: { | ||
/** OK */ | ||
/** @description OK */ | ||
200: { | ||
headers: { | ||
[name: string]: unknown; | ||
}; | ||
content: { | ||
@@ -147,10 +141,25 @@ "application/json": { | ||
}; | ||
/** OK */ | ||
204: never; | ||
400: external["swagger.yml"]["components"]["responses"]["BadRequestError"]; | ||
401: external["swagger.yml"]["components"]["responses"]["UnauthorizedError"]; | ||
403: external["swagger.yml"]["components"]["responses"]["ForbiddenError"]; | ||
429: external["swagger.yml"]["components"]["responses"]["RateLimitError"]; | ||
500: external["swagger.yml"]["components"]["responses"]["InternalServerError"]; | ||
/** @description OK */ | ||
204: { | ||
headers: { | ||
[name: string]: unknown; | ||
}; | ||
content?: never; | ||
}; | ||
400: components["responses"]["BadRequestError"]; | ||
401: components["responses"]["UnauthorizedError"]; | ||
403: components["responses"]["ForbiddenError"]; | ||
429: components["responses"]["RateLimitError"]; | ||
500: components["responses"]["InternalServerError"]; | ||
}; | ||
}; | ||
post?: never; | ||
/** @description Called to delete a redirect */ | ||
delete: { | ||
parameters: { | ||
query?: never; | ||
header?: never; | ||
path?: never; | ||
cookie?: never; | ||
}; | ||
requestBody: { | ||
@@ -172,10 +181,54 @@ content: { | ||
}; | ||
responses: { | ||
/** @description OK */ | ||
200: { | ||
headers: { | ||
[name: string]: unknown; | ||
}; | ||
content: { | ||
"application/json": { | ||
/** | ||
* Format: uuid | ||
* @description Id of the redirect | ||
*/ | ||
id: string; | ||
}; | ||
}; | ||
}; | ||
/** @description OK */ | ||
204: { | ||
headers: { | ||
[name: string]: unknown; | ||
}; | ||
content?: never; | ||
}; | ||
400: components["responses"]["BadRequestError"]; | ||
401: components["responses"]["UnauthorizedError"]; | ||
403: components["responses"]["ForbiddenError"]; | ||
429: components["responses"]["RateLimitError"]; | ||
500: components["responses"]["InternalServerError"]; | ||
}; | ||
}; | ||
/** Handles preflight requests. This endpoint allows CORS */ | ||
/** @description Handles preflight requests. This endpoint allows CORS */ | ||
options: { | ||
parameters: { | ||
query?: never; | ||
header?: never; | ||
path?: never; | ||
cookie?: never; | ||
}; | ||
requestBody?: never; | ||
responses: { | ||
/** OK */ | ||
204: never; | ||
/** @description OK */ | ||
204: { | ||
headers: { | ||
[name: string]: unknown; | ||
}; | ||
content?: never; | ||
}; | ||
}; | ||
}; | ||
head?: never; | ||
patch?: never; | ||
trace?: never; | ||
}; | ||
@@ -241,47 +294,54 @@ } | ||
}; | ||
Error: { | ||
/** @description Error message(s) that occurred while processing the request */ | ||
errorMessage?: string[] | string; | ||
}; | ||
}; | ||
} | ||
interface external { | ||
"swagger.yml": { | ||
paths: {}; | ||
components: { | ||
schemas: { | ||
Error: { | ||
/** @description Error message(s) that occurred while processing the request */ | ||
errorMessage?: string[] | string; | ||
}; | ||
responses: { | ||
/** @description Request input validation failed */ | ||
BadRequestError: { | ||
headers: { | ||
[name: string]: unknown; | ||
}; | ||
responses: { | ||
/** Request input validation failed */ | ||
BadRequestError: { | ||
content: { | ||
"application/json": external["swagger.yml"]["components"]["schemas"]["Error"]; | ||
}; | ||
}; | ||
/** API key or token was not valid */ | ||
UnauthorizedError: { | ||
content: { | ||
"application/json": external["swagger.yml"]["components"]["schemas"]["Error"]; | ||
}; | ||
}; | ||
/** Permission was denied */ | ||
ForbiddenError: { | ||
content: { | ||
"application/json": external["swagger.yml"]["components"]["schemas"]["Error"]; | ||
}; | ||
}; | ||
/** Resource not found */ | ||
NotFoundError: { | ||
content: { | ||
"application/json": external["swagger.yml"]["components"]["schemas"]["Error"]; | ||
}; | ||
}; | ||
/** Too many requests in allowed time period */ | ||
RateLimitError: unknown; | ||
/** Execution error occurred */ | ||
InternalServerError: unknown; | ||
content: { | ||
"application/json": components["schemas"]["Error"]; | ||
}; | ||
}; | ||
operations: {}; | ||
/** @description API key or token was not valid */ | ||
UnauthorizedError: { | ||
headers: { | ||
[name: string]: unknown; | ||
}; | ||
content: { | ||
"application/json": components["schemas"]["Error"]; | ||
}; | ||
}; | ||
/** @description Permission was denied */ | ||
ForbiddenError: { | ||
headers: { | ||
[name: string]: unknown; | ||
}; | ||
content: { | ||
"application/json": components["schemas"]["Error"]; | ||
}; | ||
}; | ||
/** @description Too many requests in allowed time period */ | ||
RateLimitError: { | ||
headers: { | ||
[name: string]: unknown; | ||
}; | ||
content?: never; | ||
}; | ||
/** @description Execution error occurred */ | ||
InternalServerError: { | ||
headers: { | ||
[name: string]: unknown; | ||
}; | ||
content?: never; | ||
}; | ||
}; | ||
parameters: never; | ||
requestBodies: never; | ||
headers: never; | ||
pathItems: never; | ||
} | ||
@@ -288,0 +348,0 @@ |
{ | ||
"name": "@uniformdev/redirect", | ||
"version": "19.195.0", | ||
"version": "19.195.1-alpha.2+f70c499178", | ||
"description": "Uniform redirect client", | ||
@@ -36,3 +36,3 @@ "license": "SEE LICENSE IN LICENSE.txt", | ||
"dependencies": { | ||
"@uniformdev/context": "19.195.0", | ||
"@uniformdev/context": "19.195.1-alpha.2+f70c499178", | ||
"p-limit": "^3.1.0", | ||
@@ -44,3 +44,3 @@ "rfdc": "^1.3.0" | ||
}, | ||
"gitHead": "aba354b131330cc171914ce87aa48d4b10df7192" | ||
"gitHead": "f70c49917880b1aba91884760926f6ea66700a97" | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
152221
3362
2
1
- Removed@uniformdev/context@19.195.0(transitive)
- Removeddequal@2.0.3(transitive)
- Removedjs-cookie@3.0.5(transitive)
- Removedmitt@3.0.1(transitive)
- Removeduuid@9.0.1(transitive)