RepoJavaScript

@Serializable()
public final class RepoJavaScript

17 / 10 / 2020

Represents javascript listed in js within the repository index

Parameters

id

Primary key, should be completely unique

name

Name of the js file, this is shown to users

fileName

Filename of the js file, used internally by shosetsu

description

Description of the effects of the js

changeLog

Description of recent changes

authors

Authors who created this

supported

List of explicitly supported extensions

hasExample

States if this has an example HTML to show the user

Constructors

Link copied to clipboard
public RepoJavaScript RepoJavaScript(Integer id, String name, String fileName, Version version, String description, String changeLog, List<Integer> authors, List<Integer> supported, Boolean hasExample)

Properties

Link copied to clipboard
@SerialName(value = "authors")
private final List<Integer> authors
Link copied to clipboard
@SerialName(value = "changes")
private final String changeLog
Link copied to clipboard
@SerialName(value = "desc")
private final String description
Link copied to clipboard
@SerialName(value = "fileName")
private final String fileName
Link copied to clipboard
@SerialName(value = "example")
private final Boolean hasExample
Link copied to clipboard
@SerialName(value = "id")
private final Integer id
Link copied to clipboard
@SerialName(value = "name")
private final String name
Link copied to clipboard
@SerialName(value = "supported")
private final List<Integer> supported
Link copied to clipboard
@SerialName(value = "ver")
private final Version version

Functions

Link copied to clipboard
public final List<Integer> getAuthors()
Link copied to clipboard
public final String getChangeLog()
Link copied to clipboard
public final String getDescription()
Link copied to clipboard
public final String getFileName()
Link copied to clipboard
public final Boolean getHasExample()
Link copied to clipboard
public final Integer getId()
Link copied to clipboard
public final String getName()
Link copied to clipboard
public final List<Integer> getSupported()
Link copied to clipboard
public final Version getVersion()