Files
hoppscotch/store/state.js
Dmitry Yankowski 2d5b70ab85 Save collapsed sections to state
When you refresh or navigate to a new page and back, your collapsed sections will be as you set them.
2020-02-25 10:56:23 -05:00

44 lines
803 B
JavaScript

export default () => ({
request: {
method: "GET",
url: "https://httpbin.org",
path: "/get",
label: "",
auth: "None",
httpUser: "",
httpPassword: "",
passwordFieldType: "password",
bearerToken: "",
headers: [],
params: [],
bodyParams: [],
rawParams: "",
rawInput: false,
requestType: "",
contentType: "",
},
gql: {
url: "https://rickandmortyapi.com/graphql",
headers: [],
schema: "",
variablesJSONString: "{}",
query: "",
response: "",
},
theme: {
collapsedSections: [],
},
oauth2: {
tokens: [],
tokenReqs: [],
tokenReqSelect: "",
tokenReqName: "",
accessTokenName: "",
oidcDiscoveryUrl: "",
authUrl: "",
accessTokenUrl: "",
clientId: "",
scope: "",
},
})