Worker build updates
This commit is contained in:
parent
45c80ca98a
commit
0cf1c3b8fd
64 changed files with 4216 additions and 3450 deletions
|
|
@ -5,80 +5,81 @@
|
|||
* This is the Signal Cli REST API documentation.
|
||||
*
|
||||
* The version of the OpenAPI document: 1.0
|
||||
*
|
||||
*
|
||||
*
|
||||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
||||
* https://openapi-generator.tech
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
|
||||
import { mapValues } from '../runtime';
|
||||
import { mapValues } from "../runtime.js";
|
||||
/**
|
||||
*
|
||||
*
|
||||
* @export
|
||||
* @interface ApiReaction
|
||||
*/
|
||||
export interface ApiReaction {
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ApiReaction
|
||||
*/
|
||||
reaction?: string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ApiReaction
|
||||
*/
|
||||
recipient?: string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ApiReaction
|
||||
*/
|
||||
targetAuthor?: string;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof ApiReaction
|
||||
*/
|
||||
timestamp?: number;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ApiReaction
|
||||
*/
|
||||
reaction?: string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ApiReaction
|
||||
*/
|
||||
recipient?: string;
|
||||
/**
|
||||
*
|
||||
* @type {string}
|
||||
* @memberof ApiReaction
|
||||
*/
|
||||
targetAuthor?: string;
|
||||
/**
|
||||
*
|
||||
* @type {number}
|
||||
* @memberof ApiReaction
|
||||
*/
|
||||
timestamp?: number;
|
||||
}
|
||||
|
||||
/**
|
||||
* Check if a given object implements the ApiReaction interface.
|
||||
*/
|
||||
export function instanceOfApiReaction(value: object): value is ApiReaction {
|
||||
return true;
|
||||
return true;
|
||||
}
|
||||
|
||||
export function ApiReactionFromJSON(json: any): ApiReaction {
|
||||
return ApiReactionFromJSONTyped(json, false);
|
||||
return ApiReactionFromJSONTyped(json, false);
|
||||
}
|
||||
|
||||
export function ApiReactionFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiReaction {
|
||||
if (json == null) {
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
|
||||
'reaction': json['reaction'] == null ? undefined : json['reaction'],
|
||||
'recipient': json['recipient'] == null ? undefined : json['recipient'],
|
||||
'targetAuthor': json['target_author'] == null ? undefined : json['target_author'],
|
||||
'timestamp': json['timestamp'] == null ? undefined : json['timestamp'],
|
||||
};
|
||||
export function ApiReactionFromJSONTyped(
|
||||
json: any,
|
||||
ignoreDiscriminator: boolean,
|
||||
): ApiReaction {
|
||||
if (json == null) {
|
||||
return json;
|
||||
}
|
||||
return {
|
||||
reaction: json["reaction"] == null ? undefined : json["reaction"],
|
||||
recipient: json["recipient"] == null ? undefined : json["recipient"],
|
||||
targetAuthor:
|
||||
json["target_author"] == null ? undefined : json["target_author"],
|
||||
timestamp: json["timestamp"] == null ? undefined : json["timestamp"],
|
||||
};
|
||||
}
|
||||
|
||||
export function ApiReactionToJSON(value?: ApiReaction | null): any {
|
||||
if (value == null) {
|
||||
return value;
|
||||
}
|
||||
return {
|
||||
|
||||
'reaction': value['reaction'],
|
||||
'recipient': value['recipient'],
|
||||
'target_author': value['targetAuthor'],
|
||||
'timestamp': value['timestamp'],
|
||||
};
|
||||
if (value == null) {
|
||||
return value;
|
||||
}
|
||||
return {
|
||||
reaction: value["reaction"],
|
||||
recipient: value["recipient"],
|
||||
target_author: value["targetAuthor"],
|
||||
timestamp: value["timestamp"],
|
||||
};
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue