0
0
Fork 1
Spiegel von https://github.com/paviliondev/discourse-custom-wizard.git synchronisiert 2024-11-22 09:20:29 +01:00

DEV: Add helper for wizard api

Dieser Commit ist enthalten in:
jumagura 2023-03-21 04:48:46 -04:00
Ursprung 2c52459f29
Commit 1254fcfb4e

Datei anzeigen

@ -652,6 +652,37 @@ const getCreatedWizard = {
},
],
};
const getNewApi = {
name: "new_api",
title: "new API",
authorization: {
auth_type: "basic",
auth_url: null,
token_url: null,
client_id: null,
client_secret: null,
authorized: null,
auth_params: [],
access_token: null,
refresh_token: null,
token_expires_at: null,
token_refresh_at: null,
code: null,
username: "some_username",
password: "some_password",
},
endpoints: [
{
id: "8371de",
name: "endpoint_name",
method: "POST",
url: "https://test.api.com",
content_type: "application/json",
success_codes: [200, 100],
},
],
log: [],
};
export {
getWizard,
getUnsubscribedAdminWizards,
@ -662,4 +693,5 @@ export {
getStandardAdminWizard,
getAdminTestingWizard,
getCreatedWizard,
getNewApi,
};