repo_name string | dataset string | owner string | lang string | func_name string | code string | docstring string | url string | sha string |
|---|---|---|---|---|---|---|---|---|
sophosia | github_2023 | sophosia | typescript | ProjectSQLAGUD.insertContent | async insertContent(projectId: string, page: string, content: string) {
await sqldb.execute(
"DELETE FROM contents WHERE projectId = $1 AND page = $2",
[projectId, page]
);
await sqldb.execute(
"INSERT INTO contents (projectId, page, content) VALUES ($1, $2, $3)",
[projectId, page, c... | /**
* Insert/replac text of PDF into contents table
*
* @param {string} projectId - id of the meta
* @param {string} page - page number of the content
* @param {string} content - content of specific page
*/ | https://github.com/sophosia/sophosia/blob/81080c1f9c6f96aa4f57b7e6b6f76bf209624879/src/backend/project/sqliteOps.ts#L142-L151 | 81080c1f9c6f96aa4f57b7e6b6f76bf209624879 |
sophosia | github_2023 | sophosia | typescript | addCSLTemplate | function addCSLTemplate(templateName: string, template: string) {
let config = plugins.config.get("@csl");
config.templates.add(templateName, template);
} | /**
* Adds a new CSL (Citation Style Language) template to the configuration.
*
* @param {string} templateName - The name to assign to the new template.
* @param {string} template - The CSL template string.
*
* Retrieves the CSL plugin configuration and adds the specified template under the provided name.
*/ | https://github.com/sophosia/sophosia/blob/81080c1f9c6f96aa4f57b7e6b6f76bf209624879/src/boot/citationStyles.ts#L15-L18 | 81080c1f9c6f96aa4f57b7e6b6f76bf209624879 |
sophosia | github_2023 | sophosia | typescript | useDialog | function useDialog() {
const visible = ref(false);
let onConfirmCallback: () => void;
function show() {
visible.value = true;
}
function close() {
visible.value = false;
}
function toggle(isVisible?: boolean) {
if (isVisible === undefined) visible.value = !visible.value;
else visible.va... | /**
* Base "class" for dialog, has all the basic controls
* @returns properties and control function of dialog
*/ | https://github.com/sophosia/sophosia/blob/81080c1f9c6f96aa4f57b7e6b6f76bf209624879/src/components/dialogs/dialogController.ts#L8-L44 | 81080c1f9c6f96aa4f57b7e6b6f76bf209624879 |
sophosia | github_2023 | sophosia | typescript | useImportDialog | function useImportDialog() {
const dialog = useDialog();
const isCreateFolder = ref(true);
return {
...dialog,
isCreateFolder,
};
} | /**
* Controller for ImportDialog
* @returns properties and controls
*/ | https://github.com/sophosia/sophosia/blob/81080c1f9c6f96aa4f57b7e6b6f76bf209624879/src/components/dialogs/dialogController.ts#L50-L57 | 81080c1f9c6f96aa4f57b7e6b6f76bf209624879 |
sophosia | github_2023 | sophosia | typescript | useDeleteDialog | function useDeleteDialog() {
const dialog = useDialog();
const isDeleteFromDB = ref(false);
const deleteProjects = ref<Project[]>([]);
return {
...dialog,
isDeleteFromDB,
deleteProjects,
};
} | /**
* Controller for DeleteDialog
* @returns properties and controls
*/ | https://github.com/sophosia/sophosia/blob/81080c1f9c6f96aa4f57b7e6b6f76bf209624879/src/components/dialogs/dialogController.ts#L63-L72 | 81080c1f9c6f96aa4f57b7e6b6f76bf209624879 |
sophosia | github_2023 | sophosia | typescript | useIdentifierDialog | function useIdentifierDialog() {
const dialog = useDialog();
const identifier = ref("");
return {
...dialog,
identifier,
};
} | /**
* Controller for IdentifierDialog
* @returns properties and controls
*/ | https://github.com/sophosia/sophosia/blob/81080c1f9c6f96aa4f57b7e6b6f76bf209624879/src/components/dialogs/dialogController.ts#L78-L85 | 81080c1f9c6f96aa4f57b7e6b6f76bf209624879 |
sophosia | github_2023 | sophosia | typescript | useExportDialog | function useExportDialog() {
const dialog = useDialog();
const formats = [
{ label: "Bibliography", value: "bibliography" },
{ label: "BibTeX", value: "bibtex" },
{ label: "BibLaTeX", value: "biblatex" },
{ label: "CLS-JSON", value: "json" },
{ label: "RIS", value: "ris" },
];
const format =... | /**
* Controller for ExportDialog
* @returns properties and controls
*/ | https://github.com/sophosia/sophosia/blob/81080c1f9c6f96aa4f57b7e6b6f76bf209624879/src/components/dialogs/dialogController.ts#L91-L120 | 81080c1f9c6f96aa4f57b7e6b6f76bf209624879 |
sophosia | github_2023 | sophosia | typescript | useErrorDialog | function useErrorDialog() {
const dialog = useDialog();
const type = ref<"error" | "warning">("error");
const error = ref(new Error());
return {
...dialog,
type,
error,
};
} | /**
* Controller for ErrorDialog
* @returns properties and controls
*/ | https://github.com/sophosia/sophosia/blob/81080c1f9c6f96aa4f57b7e6b6f76bf209624879/src/components/dialogs/dialogController.ts#L126-L135 | 81080c1f9c6f96aa4f57b7e6b6f76bf209624879 |
sophosia | github_2023 | sophosia | typescript | useSuccessDialog | function useSuccessDialog() {
const dialog = useDialog();
const message = ref("");
return {
...dialog,
message,
};
} | /**
* Controller for SuccessDialog
* @returns properties and controls
*/ | https://github.com/sophosia/sophosia/blob/81080c1f9c6f96aa4f57b7e6b6f76bf209624879/src/components/dialogs/dialogController.ts#L141-L148 | 81080c1f9c6f96aa4f57b7e6b6f76bf209624879 |
sophosia | github_2023 | sophosia | typescript | useProgressDialog | function useProgressDialog() {
const dialog = useDialog();
const progress = ref(0.0);
const errors = reactive<Error[]>([]);
return {
...dialog,
progress,
errors,
};
} | /**
* Controller for ProgressDialog
* @returns properties and controls
*/ | https://github.com/sophosia/sophosia/blob/81080c1f9c6f96aa4f57b7e6b6f76bf209624879/src/components/dialogs/dialogController.ts#L154-L163 | 81080c1f9c6f96aa4f57b7e6b6f76bf209624879 |
sophosia | github_2023 | sophosia | typescript | loadExcalidraw | async function loadExcalidraw(): Promise<InitialData> {
const jsonString = await loadNote(props.noteId);
const scene = jsonString
? JSON.parse(jsonString)
: { appState: { theme: settingStore.theme } };
return scene as InitialData;
} | /**
* Asynchronously loads Excalidraw data for a given note.
*
* This function retrieves the Excalidraw scene data from the backend
* using the provided note ID. If the note data exists, it parses the JSON
* string into an `InitialData` object. If the note data doesn't exist,
* it initializes the Exca... | https://github.com/sophosia/sophosia/blob/81080c1f9c6f96aa4f57b7e6b6f76bf209624879/src/components/note/CustomExcalidraw.tsx#L53-L59 | 81080c1f9c6f96aa4f57b7e6b6f76bf209624879 |
sophosia | github_2023 | sophosia | typescript | _saveExcalidraw | async function _saveExcalidraw(
elements: readonly ExcalidrawElement[],
state: ExcalidrawState,
files: BinaryFiles
) {
if (!ready) return;
const jsonString = serializeAsJSON(elements, state, files, "local");
const json = JSON.parse(jsonString);
json.appState.theme = state.theme;
await ... | /**
* Private function to asynchronously save the current state of Excalidraw elements.
*
* This function serializes the current state of Excalidraw elements, app state,
* and files into a JSON string. It then updates the theme in the app state and
* saves the JSON string to the backend using the provide... | https://github.com/sophosia/sophosia/blob/81080c1f9c6f96aa4f57b7e6b6f76bf209624879/src/components/note/CustomExcalidraw.tsx#L73-L83 | 81080c1f9c6f96aa4f57b7e6b6f76bf209624879 |
sophosia | github_2023 | sophosia | typescript | loadExcalidrawLibrary | async function loadExcalidrawLibrary(): Promise<LibraryItems> {
let hiddenFolder = await join(
db.config.storagePath,
".sophosia",
"excalidraw"
);
let filePath = await join(hiddenFolder, "library.excalidrawlib");
if (!(await exists(filePath))) return [] as LibraryItems;
return JSON... | /**
* Asynchronously loads the Excalidraw library items from a file.
*
* This function checks for the existence of a library file in the application's
* storage path. If the file exists, it reads the file and parses the JSON content
* into `LibraryItems`. If the file does not exist, it returns an empty a... | https://github.com/sophosia/sophosia/blob/81080c1f9c6f96aa4f57b7e6b6f76bf209624879/src/components/note/CustomExcalidraw.tsx#L100-L110 | 81080c1f9c6f96aa4f57b7e6b6f76bf209624879 |
sophosia | github_2023 | sophosia | typescript | saveExcalidrawLibrary | async function saveExcalidrawLibrary(items: LibraryItems) {
// do not save anything when loading library
if (!ready) return;
try {
let hiddenFolder = await join(
db.config.storagePath,
".sophosia",
"excalidraw"
);
if (!(await exists(hiddenFolder)))
await cre... | /**
* Asynchronously saves Excalidraw library items to a file.
*
* This function serializes the provided library items into a JSON string
* and saves it to a file in a specified storage path. It creates the directory
* if it does not exist. The saving operation is only performed if the component
* is ... | https://github.com/sophosia/sophosia/blob/81080c1f9c6f96aa4f57b7e6b6f76bf209624879/src/components/note/CustomExcalidraw.tsx#L122-L139 | 81080c1f9c6f96aa4f57b7e6b6f76bf209624879 |
sophosia | github_2023 | sophosia | typescript | loadState | async function loadState() {
user.email = "";
const timeout = setTimeout(() => {
// no need to show user this timeout message because it doesn't affect users now
console.log("Error: Unable to login, request timeout");
}, 1000);
const { data, _ } = await supabase.auth.getSession();
if (da... | /**
* Load session from local storage
*/ | https://github.com/sophosia/sophosia/blob/81080c1f9c6f96aa4f57b7e6b6f76bf209624879/src/stores/accountStore.ts#L27-L42 | 81080c1f9c6f96aa4f57b7e6b6f76bf209624879 |
sophosia | github_2023 | sophosia | typescript | signUp | async function signUp(email: string, password: string) {
const { data, error } = await supabase.auth.signUp({
email,
password,
options: {
emailRedirectTo: redirectUrl,
},
});
if (error) {
errorDialog.error = error;
errorDialog.show();
}
await loadState();
... | /**
* Sign up user with email and password
* User needs to confirm email to sign in
* @param email
* @param password
*/ | https://github.com/sophosia/sophosia/blob/81080c1f9c6f96aa4f57b7e6b6f76bf209624879/src/stores/accountStore.ts#L50-L63 | 81080c1f9c6f96aa4f57b7e6b6f76bf209624879 |
sophosia | github_2023 | sophosia | typescript | parseURL | async function parseURL(urlParmas: string) {
const keyValues = urlParmas.replace("#", "").split("&");
const tokens = {
access_token: "",
refresh_token: "",
};
let type = "";
for (const keyValue of keyValues) {
const [key, value] = keyValue.split("=");
if (key === "access_toke... | /**
* Get all tokens from the param part of the url
* @param urlParmas - looks like this #access_token=...&expires_at=...&...
*/ | https://github.com/sophosia/sophosia/blob/81080c1f9c6f96aa4f57b7e6b6f76bf209624879/src/stores/accountStore.ts#L69-L98 | 81080c1f9c6f96aa4f57b7e6b6f76bf209624879 |
sophosia | github_2023 | sophosia | typescript | signInWithTokens | async function signInWithTokens(tokens: {
access_token: string;
refresh_token: string;
}) {
const { data, error } = await supabase.auth.setSession(tokens);
if (error) {
errorDialog.error = error;
errorDialog.show();
}
await loadState();
} | /**
* After user confirms the email, the link redicts back to the app
* Get the sign in session using the access token and refresh token
* The session will be saved to local storage automatically
* @param url
*/ | https://github.com/sophosia/sophosia/blob/81080c1f9c6f96aa4f57b7e6b6f76bf209624879/src/stores/accountStore.ts#L106-L116 | 81080c1f9c6f96aa4f57b7e6b6f76bf209624879 |
sophosia | github_2023 | sophosia | typescript | signIn | async function signIn(email: string, password: string) {
const { data, error } = await supabase.auth.signInWithPassword({
email,
password,
});
if (error) {
errorDialog.error = error;
errorDialog.show();
}
await loadState();
} | /**
* Sign in user and store session in local storage
* @param email
* @param password
*/ | https://github.com/sophosia/sophosia/blob/81080c1f9c6f96aa4f57b7e6b6f76bf209624879/src/stores/accountStore.ts#L123-L133 | 81080c1f9c6f96aa4f57b7e6b6f76bf209624879 |
sophosia | github_2023 | sophosia | typescript | signInWithOAuth | async function signInWithOAuth(provider: "google" | "github") {
const { data, error } = await supabase.auth.signInWithOAuth({
provider: provider,
options: {
skipBrowserRedirect: true,
redirectTo: redirectUrl,
},
});
if (error) {
errorDialog.error = error;
errorD... | /**
* Sign in user using OAuth providers
* OAuth provider will be opened in user's default browser
* After confirm, tokens will be returned to this app by deep link
* @param provider
*/ | https://github.com/sophosia/sophosia/blob/81080c1f9c6f96aa4f57b7e6b6f76bf209624879/src/stores/accountStore.ts#L141-L154 | 81080c1f9c6f96aa4f57b7e6b6f76bf209624879 |
sophosia | github_2023 | sophosia | typescript | signOut | async function signOut() {
const { error } = await supabase.auth.signOut({ scope: "local" });
if (error) {
errorDialog.error = error;
errorDialog.show();
}
await loadState();
} | /**
* Sign out user and remove session from local storage
*/ | https://github.com/sophosia/sophosia/blob/81080c1f9c6f96aa4f57b7e6b6f76bf209624879/src/stores/accountStore.ts#L159-L166 | 81080c1f9c6f96aa4f57b7e6b6f76bf209624879 |
sophosia | github_2023 | sophosia | typescript | resetPassword | async function resetPassword(email: string) {
const { data, error } = await supabase.auth.resetPasswordForEmail(email, {
redirectTo: redirectUrl,
});
if (error) {
errorDialog.error = error;
errorDialog.show();
}
} | /**
* Sends a reset password email to user
* After user clicks the link, tokens will be send back to this app through deep link
* Then login using the temporary token and allow user to update their password
* @param email
*/ | https://github.com/sophosia/sophosia/blob/81080c1f9c6f96aa4f57b7e6b6f76bf209624879/src/stores/accountStore.ts#L174-L182 | 81080c1f9c6f96aa4f57b7e6b6f76bf209624879 |
sophosia | github_2023 | sophosia | typescript | updateUser | async function updateUser(attributes: { name?: string; password?: string }) {
const { data, error } = await supabase.auth.updateUser(attributes);
if (error) {
errorDialog.error = error;
errorDialog.show();
}
await loadState();
} | /**
* Update user's data, such as password
* @param attributes
*/ | https://github.com/sophosia/sophosia/blob/81080c1f9c6f96aa4f57b7e6b6f76bf209624879/src/stores/accountStore.ts#L188-L195 | 81080c1f9c6f96aa4f57b7e6b6f76bf209624879 |
sophosia | github_2023 | sophosia | typescript | loadState | async function loadState() {
const state = await getAppState();
const settingStore = useSettingStore();
const layoutStore = useLayoutStore();
const projectStore = useProjectStore();
const accountStore = useAccountStore();
// const chatStore = useChatStore();
settingStore.initialized = false;... | /**
* Load appState from disk and distribute them to every store
*/ | https://github.com/sophosia/sophosia/blob/81080c1f9c6f96aa4f57b7e6b6f76bf209624879/src/stores/stateStore.ts#L14-L31 | 81080c1f9c6f96aa4f57b7e6b6f76bf209624879 |
sophosia | github_2023 | sophosia | typescript | updateState | async function updateState() {
const settingStore = useSettingStore();
const layoutStore = useLayoutStore();
const projectStore = useProjectStore();
const chatStore = useChatStore();
if (
!(
settingStore.initialized &&
layoutStore.initialized &&
projectStore.initialized... | /**
* Extract necessary data from each store then update appState on disk
*/ | https://github.com/sophosia/sophosia/blob/81080c1f9c6f96aa4f57b7e6b6f76bf209624879/src/stores/stateStore.ts#L36-L56 | 81080c1f9c6f96aa4f57b7e6b6f76bf209624879 |
tiktok | github_2023 | kirkwat | typescript | renderItem | const renderItem = ({ item, index }: { item: Post; index: number }) => {
return (
<View
style={{
height: feedItemHeight,
backgroundColor: "black",
}}
>
<PostSingle
item={item}
ref={(PostSingeRef) => (mediaRefs.current[item.id] = PostSingeRe... | /**
* renders the item shown in the FlatList
*
* @param {Object} item object of the post
* @param {Integer} index position of the post in the FlatList
* @returns
*/ | https://github.com/kirkwat/tiktok/blob/906c9bb0e8f18527a8521ba8db36053e5c324283/frontend/src/screens/feed/index.tsx#L86-L100 | 906c9bb0e8f18527a8521ba8db36053e5c324283 |
PandaXUi | github_2023 | PandaXGO | typescript | percentFormat | const percentFormat = (row: any, column: number, cellValue: any) => {
return cellValue ? `${cellValue}%` : '-';
}; | //百分比格式化 | https://github.com/PandaXGO/PandaXUi/blob/255dd2c53e6ac7e60487cf2d148bce9b12dfdfd9/src/utils/commonFunction.ts#L11-L13 | 255dd2c53e6ac7e60487cf2d148bce9b12dfdfd9 |
PandaXUi | github_2023 | PandaXGO | typescript | dateFormatYMD | const dateFormatYMD = (row: any, column: number, cellValue: any) => {
if (!cellValue) return '-';
return formatDate(new Date(cellValue), 'YYYY-mm-dd');
}; | //列表日期时间格式化 | https://github.com/PandaXGO/PandaXUi/blob/255dd2c53e6ac7e60487cf2d148bce9b12dfdfd9/src/utils/commonFunction.ts#L15-L18 | 255dd2c53e6ac7e60487cf2d148bce9b12dfdfd9 |
PandaXUi | github_2023 | PandaXGO | typescript | dateFormatYMDHMS | const dateFormatYMDHMS = (row: any, column: number, cellValue: any) => {
if (!cellValue) return '-';
return formatDate(new Date(cellValue), 'YYYY-mm-dd HH:MM:SS');
}; | //列表日期时间格式化 | https://github.com/PandaXGO/PandaXUi/blob/255dd2c53e6ac7e60487cf2d148bce9b12dfdfd9/src/utils/commonFunction.ts#L20-L23 | 255dd2c53e6ac7e60487cf2d148bce9b12dfdfd9 |
PandaXUi | github_2023 | PandaXGO | typescript | dateFormatHMS | const dateFormatHMS = (row: any, column: number, cellValue: any) => {
if (!cellValue) return '-';
let time = 0;
if (typeof row === 'number') time = row;
if (typeof cellValue === 'number') time = cellValue;
return formatDate(new Date(time * 1000), 'HH:MM:SS');
}; | //列表日期时间格式化 | https://github.com/PandaXGO/PandaXUi/blob/255dd2c53e6ac7e60487cf2d148bce9b12dfdfd9/src/utils/commonFunction.ts#L25-L31 | 255dd2c53e6ac7e60487cf2d148bce9b12dfdfd9 |
PandaXUi | github_2023 | PandaXGO | typescript | scaleFormat | const scaleFormat = (value: any = 0, scale: number = 4) => {
return Number.parseFloat(value).toFixed(scale);
}; | // 小数格式化 | https://github.com/PandaXGO/PandaXUi/blob/255dd2c53e6ac7e60487cf2d148bce9b12dfdfd9/src/utils/commonFunction.ts#L33-L35 | 255dd2c53e6ac7e60487cf2d148bce9b12dfdfd9 |
PandaXUi | github_2023 | PandaXGO | typescript | scale2Format | const scale2Format = (value: any = 0) => {
return Number.parseFloat(value).toFixed(2);
}; | // 小数格式化 | https://github.com/PandaXGO/PandaXUi/blob/255dd2c53e6ac7e60487cf2d148bce9b12dfdfd9/src/utils/commonFunction.ts#L37-L39 | 255dd2c53e6ac7e60487cf2d148bce9b12dfdfd9 |
PandaXUi | github_2023 | PandaXGO | typescript | copyText | const copyText = (text: string) => {
return new Promise((resolve, reject) => {
try {
//复制
toClipboard(text);
//下面可以设置复制成功的提示框等操作
ElMessage.success(t('message.layout.copyTextSuccess'));
resolve(text);
} catch (e) {
//复制失败
ElMessage.error(t('message.layout.copyTextError'));
reject(... | // 点击复制文本 | https://github.com/PandaXGO/PandaXUi/blob/255dd2c53e6ac7e60487cf2d148bce9b12dfdfd9/src/utils/commonFunction.ts#L41-L55 | 255dd2c53e6ac7e60487cf2d148bce9b12dfdfd9 |
PandaXUi | github_2023 | PandaXGO | typescript | getAlicdnIconfont | const getAlicdnIconfont = () => {
return new Promise((resolve, reject) => {
nextTick(() => {
const styles: any = document.styleSheets;
let sheetsList = [];
let sheetsIconList = [];
for (let i = 0; i < styles.length; i++) {
if (styles[i].href && styles[i].href.indexOf('at.alicdn.com') > -1) {
she... | // 获取阿里字体图标 | https://github.com/PandaXGO/PandaXUi/blob/255dd2c53e6ac7e60487cf2d148bce9b12dfdfd9/src/utils/getStyleSheets.ts#L5-L29 | 255dd2c53e6ac7e60487cf2d148bce9b12dfdfd9 |
PandaXUi | github_2023 | PandaXGO | typescript | getElementPlusIconfont | const getElementPlusIconfont = () => {
return new Promise((resolve, reject) => {
nextTick(() => {
const icons = svg as any;
const sheetsIconList = [];
for (const i in icons) {
sheetsIconList.push(`element${icons[i].name}`);
}
if (sheetsIconList.length > 0) resolve(sheetsIconList);
else reject('... | // 初始化获取 css 样式,获取 element plus 自带 svg 图标,增加了 ele- 前缀,使用时:ele-Aim | https://github.com/PandaXGO/PandaXUi/blob/255dd2c53e6ac7e60487cf2d148bce9b12dfdfd9/src/utils/getStyleSheets.ts#L32-L44 | 255dd2c53e6ac7e60487cf2d148bce9b12dfdfd9 |
PandaXUi | github_2023 | PandaXGO | typescript | getAwesomeIconfont | const getAwesomeIconfont = () => {
return new Promise((resolve, reject) => {
nextTick(() => {
const styles: any = document.styleSheets;
let sheetsList = [];
let sheetsIconList = [];
for (let i = 0; i < styles.length; i++) {
if (styles[i].href && styles[i].href.indexOf('netdna.bootstrapcdn.com') > -1)... | // 初始化获取 css 样式,这里使用 fontawesome 的图标 | https://github.com/PandaXGO/PandaXUi/blob/255dd2c53e6ac7e60487cf2d148bce9b12dfdfd9/src/utils/getStyleSheets.ts#L47-L77 | 255dd2c53e6ac7e60487cf2d148bce9b12dfdfd9 |
PandaXUi | github_2023 | PandaXGO | typescript | setWatermark | const setWatermark = (str: string) => {
const id = '1.23452384164.123412416';
if (document.getElementById(id) !== null) document.body.removeChild(document.getElementById(id) as any);
const can = document.createElement('canvas');
can.width = 200;
can.height = 130;
const cans: any = can.getContext('2d');
cans.rota... | // 页面添加水印效果 | https://github.com/PandaXGO/PandaXUi/blob/255dd2c53e6ac7e60487cf2d148bce9b12dfdfd9/src/utils/wartermark.ts#L2-L26 | 255dd2c53e6ac7e60487cf2d148bce9b12dfdfd9 |
slash-admin | github_2023 | d3george | typescript | handler | const handler = (e: MediaQueryListEvent) => setMatches(e.matches); | // 监听变化 | https://github.com/d3george/slash-admin/blob/f096a5d2eddb0f2d60d7d588380a8faca8eaab87/src/hooks/web/use-media-query.ts#L90-L90 | f096a5d2eddb0f2d60d7d588380a8faca8eaab87 |
slash-admin | github_2023 | d3george | typescript | setLocale | const setLocale = (locale: Locale) => {
i18n.changeLanguage(locale);
}; | /**
* localstorage -> i18nextLng change
*/ | https://github.com/d3george/slash-admin/blob/f096a5d2eddb0f2d60d7d588380a8faca8eaab87/src/locales/use-locale.ts#L37-L39 | f096a5d2eddb0f2d60d7d588380a8faca8eaab87 |
tianji | github_2023 | msgbyte | typescript | GlobalService.globalConfig | public static globalConfig(): CancelablePromise<$OpenApiTs['/global/config']['get']['res'][200]> {
return __request(OpenAPI, {
method: 'GET',
url: '/global/config'
});
} | /**
* Get Tianji system global config
* @returns unknown Successful response
* @throws ApiError
*/ | https://github.com/msgbyte/tianji/blob/0755f8419c557f8a1b3c89620695eb260ca0ae1b/packages/client-sdk/src/open/client/services.gen.ts#L14-L19 | 0755f8419c557f8a1b3c89620695eb260ca0ae1b |
tianji | github_2023 | msgbyte | typescript | UserService.userLogin | public static userLogin(data: $OpenApiTs['/login']['post']['req']): CancelablePromise<$OpenApiTs['/login']['post']['res'][200]> {
return __request(OpenAPI, {
method: 'POST',
url: '/login',
body: data.requestBody,
mediaType: 'application/json'
});
} | /**
* @param data The data for the request.
* @param data.requestBody
* @returns unknown Successful response
* @throws ApiError
*/ | https://github.com/msgbyte/tianji/blob/0755f8419c557f8a1b3c89620695eb260ca0ae1b/packages/client-sdk/src/open/client/services.gen.ts#L30-L37 | 0755f8419c557f8a1b3c89620695eb260ca0ae1b |
tianji | github_2023 | msgbyte | typescript | UserService.userLoginWithToken | public static userLoginWithToken(data: $OpenApiTs['/loginWithToken']['post']['req']): CancelablePromise<$OpenApiTs['/loginWithToken']['post']['res'][200]> {
return __request(OpenAPI, {
method: 'POST',
url: '/loginWithToken',
body: data.requestBody,
mediaType: 'app... | /**
* @param data The data for the request.
* @param data.requestBody
* @returns unknown Successful response
* @throws ApiError
*/ | https://github.com/msgbyte/tianji/blob/0755f8419c557f8a1b3c89620695eb260ca0ae1b/packages/client-sdk/src/open/client/services.gen.ts#L45-L52 | 0755f8419c557f8a1b3c89620695eb260ca0ae1b |
tianji | github_2023 | msgbyte | typescript | WorkspaceService.workspaceCreate | public static workspaceCreate(data: $OpenApiTs['/workspace//create']['post']['req']): CancelablePromise<$OpenApiTs['/workspace//create']['post']['res'][200]> {
return __request(OpenAPI, {
method: 'POST',
url: '/workspace//create',
body: data.requestBody,
mediaType... | /**
* @param data The data for the request.
* @param data.requestBody
* @returns unknown Successful response
* @throws ApiError
*/ | https://github.com/msgbyte/tianji/blob/0755f8419c557f8a1b3c89620695eb260ca0ae1b/packages/client-sdk/src/open/client/services.gen.ts#L63-L70 | 0755f8419c557f8a1b3c89620695eb260ca0ae1b |
tianji | github_2023 | msgbyte | typescript | WorkspaceService.workspaceSwitch | public static workspaceSwitch(data: $OpenApiTs['/workspace//switch']['post']['req']): CancelablePromise<$OpenApiTs['/workspace//switch']['post']['res'][200]> {
return __request(OpenAPI, {
method: 'POST',
url: '/workspace//switch',
body: data.requestBody,
mediaType... | /**
* @param data The data for the request.
* @param data.requestBody
* @returns unknown Successful response
* @throws ApiError
*/ | https://github.com/msgbyte/tianji/blob/0755f8419c557f8a1b3c89620695eb260ca0ae1b/packages/client-sdk/src/open/client/services.gen.ts#L78-L85 | 0755f8419c557f8a1b3c89620695eb260ca0ae1b |
tianji | github_2023 | msgbyte | typescript | WorkspaceService.workspaceRename | public static workspaceRename(data: $OpenApiTs['/workspace//rename']['patch']['req']): CancelablePromise<$OpenApiTs['/workspace//rename']['patch']['res'][200]> {
return __request(OpenAPI, {
method: 'PATCH',
url: '/workspace//rename',
body: data.requestBody,
mediaT... | /**
* @param data The data for the request.
* @param data.requestBody
* @returns unknown Successful response
* @throws ApiError
*/ | https://github.com/msgbyte/tianji/blob/0755f8419c557f8a1b3c89620695eb260ca0ae1b/packages/client-sdk/src/open/client/services.gen.ts#L93-L100 | 0755f8419c557f8a1b3c89620695eb260ca0ae1b |
tianji | github_2023 | msgbyte | typescript | WorkspaceService.workspaceDelete | public static workspaceDelete(data: $OpenApiTs['/workspace//{workspaceId}/del']['delete']['req']): CancelablePromise<$OpenApiTs['/workspace//{workspaceId}/del']['delete']['res'][200]> {
return __request(OpenAPI, {
method: 'DELETE',
url: '/workspace//{workspaceId}/del',
path: ... | /**
* @param data The data for the request.
* @param data.workspaceId
* @returns unknown Successful response
* @throws ApiError
*/ | https://github.com/msgbyte/tianji/blob/0755f8419c557f8a1b3c89620695eb260ca0ae1b/packages/client-sdk/src/open/client/services.gen.ts#L108-L116 | 0755f8419c557f8a1b3c89620695eb260ca0ae1b |
tianji | github_2023 | msgbyte | typescript | WorkspaceService.workspaceMembers | public static workspaceMembers(data: $OpenApiTs['/workspace//{workspaceId}/members']['get']['req']): CancelablePromise<$OpenApiTs['/workspace//{workspaceId}/members']['get']['res'][200]> {
return __request(OpenAPI, {
method: 'GET',
url: '/workspace//{workspaceId}/members',
pa... | /**
* @param data The data for the request.
* @param data.workspaceId
* @returns unknown Successful response
* @throws ApiError
*/ | https://github.com/msgbyte/tianji/blob/0755f8419c557f8a1b3c89620695eb260ca0ae1b/packages/client-sdk/src/open/client/services.gen.ts#L124-L132 | 0755f8419c557f8a1b3c89620695eb260ca0ae1b |
tianji | github_2023 | msgbyte | typescript | WorkspaceService.workspaceUpdateSettings | public static workspaceUpdateSettings(data: $OpenApiTs['/workspace//{workspaceId}/updateSettings']['post']['req']): CancelablePromise<$OpenApiTs['/workspace//{workspaceId}/updateSettings']['post']['res'][200]> {
return __request(OpenAPI, {
method: 'POST',
url: '/workspace//{workspaceId}/... | /**
* @param data The data for the request.
* @param data.workspaceId
* @param data.requestBody
* @returns unknown Successful response
* @throws ApiError
*/ | https://github.com/msgbyte/tianji/blob/0755f8419c557f8a1b3c89620695eb260ca0ae1b/packages/client-sdk/src/open/client/services.gen.ts#L141-L151 | 0755f8419c557f8a1b3c89620695eb260ca0ae1b |
tianji | github_2023 | msgbyte | typescript | WorkspaceService.workspaceInvite | public static workspaceInvite(data: $OpenApiTs['/workspace//{workspaceId}/invite']['post']['req']): CancelablePromise<$OpenApiTs['/workspace//{workspaceId}/invite']['post']['res'][200]> {
return __request(OpenAPI, {
method: 'POST',
url: '/workspace//{workspaceId}/invite',
pat... | /**
* @param data The data for the request.
* @param data.workspaceId
* @param data.requestBody
* @returns unknown Successful response
* @throws ApiError
*/ | https://github.com/msgbyte/tianji/blob/0755f8419c557f8a1b3c89620695eb260ca0ae1b/packages/client-sdk/src/open/client/services.gen.ts#L160-L170 | 0755f8419c557f8a1b3c89620695eb260ca0ae1b |
tianji | github_2023 | msgbyte | typescript | WorkspaceService.workspaceTick | public static workspaceTick(data: $OpenApiTs['/workspace//{workspaceId}/tick']['delete']['req']): CancelablePromise<$OpenApiTs['/workspace//{workspaceId}/tick']['delete']['res'][200]> {
return __request(OpenAPI, {
method: 'DELETE',
url: '/workspace//{workspaceId}/tick',
path:... | /**
* Administrator kicks a user out of a workspace.
* @param data The data for the request.
* @param data.workspaceId
* @param data.targetUserId
* @returns unknown Successful response
* @throws ApiError
*/ | https://github.com/msgbyte/tianji/blob/0755f8419c557f8a1b3c89620695eb260ca0ae1b/packages/client-sdk/src/open/client/services.gen.ts#L180-L191 | 0755f8419c557f8a1b3c89620695eb260ca0ae1b |
tianji | github_2023 | msgbyte | typescript | WorkspaceService.workspaceGetServiceCount | public static workspaceGetServiceCount(data: $OpenApiTs['/workspace//{workspaceId}/getServiceCount']['get']['req']): CancelablePromise<$OpenApiTs['/workspace//{workspaceId}/getServiceCount']['get']['res'][200]> {
return __request(OpenAPI, {
method: 'GET',
url: '/workspace//{workspaceId}/... | /**
* @param data The data for the request.
* @param data.workspaceId
* @returns unknown Successful response
* @throws ApiError
*/ | https://github.com/msgbyte/tianji/blob/0755f8419c557f8a1b3c89620695eb260ca0ae1b/packages/client-sdk/src/open/client/services.gen.ts#L199-L207 | 0755f8419c557f8a1b3c89620695eb260ca0ae1b |
tianji | github_2023 | msgbyte | typescript | WebsiteService.websiteOnlineCount | public static websiteOnlineCount(data: $OpenApiTs['/workspace/{workspaceId}/website/{websiteId}/onlineCount']['get']['req']): CancelablePromise<$OpenApiTs['/workspace/{workspaceId}/website/{websiteId}/onlineCount']['get']['res'][200] | $OpenApiTs['/workspace/{workspaceId}/website/{websiteId}/onlineCount']['get']['res']... | /**
* @param data The data for the request.
* @param data.workspaceId
* @param data.websiteId
* @returns number Successful response
* @returns unknown Error response
* @throws ApiError
*/ | https://github.com/msgbyte/tianji/blob/0755f8419c557f8a1b3c89620695eb260ca0ae1b/packages/client-sdk/src/open/client/services.gen.ts#L220-L229 | 0755f8419c557f8a1b3c89620695eb260ca0ae1b |
tianji | github_2023 | msgbyte | typescript | WebsiteService.websiteAll | public static websiteAll(data: $OpenApiTs['/workspace/{workspaceId}/website/all']['get']['req']): CancelablePromise<$OpenApiTs['/workspace/{workspaceId}/website/all']['get']['res'][200]> {
return __request(OpenAPI, {
method: 'GET',
url: '/workspace/{workspaceId}/website/all',
... | /**
* @param data The data for the request.
* @param data.workspaceId
* @returns unknown Successful response
* @throws ApiError
*/ | https://github.com/msgbyte/tianji/blob/0755f8419c557f8a1b3c89620695eb260ca0ae1b/packages/client-sdk/src/open/client/services.gen.ts#L237-L245 | 0755f8419c557f8a1b3c89620695eb260ca0ae1b |
tianji | github_2023 | msgbyte | typescript | WebsiteService.websiteAllOverview | public static websiteAllOverview(data: $OpenApiTs['/workspace/{workspaceId}/website/allOverview']['get']['req']): CancelablePromise<$OpenApiTs['/workspace/{workspaceId}/website/allOverview']['get']['res'][200] | $OpenApiTs['/workspace/{workspaceId}/website/allOverview']['get']['res'][200]> {
return __request(Op... | /**
* @param data The data for the request.
* @param data.workspaceId
* @returns number Successful response
* @returns unknown Error response
* @throws ApiError
*/ | https://github.com/msgbyte/tianji/blob/0755f8419c557f8a1b3c89620695eb260ca0ae1b/packages/client-sdk/src/open/client/services.gen.ts#L254-L262 | 0755f8419c557f8a1b3c89620695eb260ca0ae1b |
tianji | github_2023 | msgbyte | typescript | WebsiteService.websiteInfo | public static websiteInfo(data: $OpenApiTs['/workspace/{workspaceId}/website/{websiteId}/info']['get']['req']): CancelablePromise<$OpenApiTs['/workspace/{workspaceId}/website/{websiteId}/info']['get']['res'][200]> {
return __request(OpenAPI, {
method: 'GET',
url: '/workspace/{workspaceId... | /**
* @param data The data for the request.
* @param data.workspaceId
* @param data.websiteId
* @returns unknown Successful response
* @throws ApiError
*/ | https://github.com/msgbyte/tianji/blob/0755f8419c557f8a1b3c89620695eb260ca0ae1b/packages/client-sdk/src/open/client/services.gen.ts#L271-L280 | 0755f8419c557f8a1b3c89620695eb260ca0ae1b |
tianji | github_2023 | msgbyte | typescript | WebsiteService.websiteStats | public static websiteStats(data: $OpenApiTs['/workspace/{workspaceId}/website/{websiteId}/stats']['get']['req']): CancelablePromise<$OpenApiTs['/workspace/{workspaceId}/website/{websiteId}/stats']['get']['res'][200]> {
return __request(OpenAPI, {
method: 'GET',
url: '/workspace/{workspac... | /**
* @param data The data for the request.
* @param data.workspaceId
* @param data.websiteId
* @param data.startAt
* @param data.endAt
* @param data.unit
* @param data.url
* @param data.country
* @param data.region
* @param data.city
* @param data.timezone
* ... | https://github.com/msgbyte/tianji/blob/0755f8419c557f8a1b3c89620695eb260ca0ae1b/packages/client-sdk/src/open/client/services.gen.ts#L302-L326 | 0755f8419c557f8a1b3c89620695eb260ca0ae1b |
tianji | github_2023 | msgbyte | typescript | WebsiteService.websiteGeoStats | public static websiteGeoStats(data: $OpenApiTs['/workspace/{workspaceId}/website/{websiteId}/geoStats']['get']['req']): CancelablePromise<$OpenApiTs['/workspace/{workspaceId}/website/{websiteId}/geoStats']['get']['res'][200]> {
return __request(OpenAPI, {
method: 'GET',
url: '/workspace/... | /**
* @param data The data for the request.
* @param data.workspaceId
* @param data.websiteId
* @param data.startAt
* @param data.endAt
* @returns unknown Successful response
* @throws ApiError
*/ | https://github.com/msgbyte/tianji/blob/0755f8419c557f8a1b3c89620695eb260ca0ae1b/packages/client-sdk/src/open/client/services.gen.ts#L337-L350 | 0755f8419c557f8a1b3c89620695eb260ca0ae1b |
tianji | github_2023 | msgbyte | typescript | WebsiteService.websitePageviews | public static websitePageviews(data: $OpenApiTs['/workspace/{workspaceId}/website/{websiteId}/pageviews']['get']['req']): CancelablePromise<$OpenApiTs['/workspace/{workspaceId}/website/{websiteId}/pageviews']['get']['res'][200]> {
return __request(OpenAPI, {
method: 'GET',
url: '/workspa... | /**
* @param data The data for the request.
* @param data.workspaceId
* @param data.websiteId
* @param data.startAt
* @param data.endAt
* @param data.unit
* @param data.url
* @param data.country
* @param data.region
* @param data.city
* @param data.timezone
* ... | https://github.com/msgbyte/tianji/blob/0755f8419c557f8a1b3c89620695eb260ca0ae1b/packages/client-sdk/src/open/client/services.gen.ts#L372-L396 | 0755f8419c557f8a1b3c89620695eb260ca0ae1b |
tianji | github_2023 | msgbyte | typescript | WebsiteService.websiteMetrics | public static websiteMetrics(data: $OpenApiTs['/workspace/{workspaceId}/website/{websiteId}/metrics']['get']['req']): CancelablePromise<$OpenApiTs['/workspace/{workspaceId}/website/{websiteId}/metrics']['get']['res'][200]> {
return __request(OpenAPI, {
method: 'GET',
url: '/workspace/{wo... | /**
* @param data The data for the request.
* @param data.workspaceId
* @param data.websiteId
* @param data.type
* @param data.startAt
* @param data.endAt
* @param data.url
* @param data.referrer
* @param data.title
* @param data.os
* @param data.browser
* @pa... | https://github.com/msgbyte/tianji/blob/0755f8419c557f8a1b3c89620695eb260ca0ae1b/packages/client-sdk/src/open/client/services.gen.ts#L419-L444 | 0755f8419c557f8a1b3c89620695eb260ca0ae1b |
tianji | github_2023 | msgbyte | typescript | WebsiteService.websiteAdd | public static websiteAdd(data: $OpenApiTs['/workspace/{workspaceId}/website/add']['post']['req']): CancelablePromise<$OpenApiTs['/workspace/{workspaceId}/website/add']['post']['res'][200]> {
return __request(OpenAPI, {
method: 'POST',
url: '/workspace/{workspaceId}/website/add',
... | /**
* @param data The data for the request.
* @param data.workspaceId
* @param data.requestBody
* @returns unknown Successful response
* @throws ApiError
*/ | https://github.com/msgbyte/tianji/blob/0755f8419c557f8a1b3c89620695eb260ca0ae1b/packages/client-sdk/src/open/client/services.gen.ts#L453-L463 | 0755f8419c557f8a1b3c89620695eb260ca0ae1b |
tianji | github_2023 | msgbyte | typescript | WebsiteService.websiteDelete | public static websiteDelete(data: $OpenApiTs['/workspace/{workspaceId}/website/{websiteId}']['delete']['req']): CancelablePromise<$OpenApiTs['/workspace/{workspaceId}/website/{websiteId}']['delete']['res'][200]> {
return __request(OpenAPI, {
method: 'DELETE',
url: '/workspace/{workspaceI... | /**
* @param data The data for the request.
* @param data.workspaceId
* @param data.websiteId
* @returns unknown Successful response
* @throws ApiError
*/ | https://github.com/msgbyte/tianji/blob/0755f8419c557f8a1b3c89620695eb260ca0ae1b/packages/client-sdk/src/open/client/services.gen.ts#L472-L481 | 0755f8419c557f8a1b3c89620695eb260ca0ae1b |
tianji | github_2023 | msgbyte | typescript | WebsiteService.websiteUpdateInfo | public static websiteUpdateInfo(data: $OpenApiTs['/workspace/{workspaceId}/website/{websiteId}/update']['put']['req']): CancelablePromise<$OpenApiTs['/workspace/{workspaceId}/website/{websiteId}/update']['put']['res'][200]> {
return __request(OpenAPI, {
method: 'PUT',
url: '/workspace/{w... | /**
* @param data The data for the request.
* @param data.workspaceId
* @param data.websiteId
* @param data.requestBody
* @returns unknown Successful response
* @throws ApiError
*/ | https://github.com/msgbyte/tianji/blob/0755f8419c557f8a1b3c89620695eb260ca0ae1b/packages/client-sdk/src/open/client/services.gen.ts#L491-L502 | 0755f8419c557f8a1b3c89620695eb260ca0ae1b |
tianji | github_2023 | msgbyte | typescript | WebsiteService.websiteGenerateLighthouseReport | public static websiteGenerateLighthouseReport(data: $OpenApiTs['/workspace/{workspaceId}/website/{websiteId}/generateLighthouseReport']['post']['req']): CancelablePromise<$OpenApiTs['/workspace/{workspaceId}/website/{websiteId}/generateLighthouseReport']['post']['res'][200] | $OpenApiTs['/workspace/{workspaceId}/websit... | /**
* @param data The data for the request.
* @param data.workspaceId
* @param data.websiteId
* @param data.requestBody
* @returns string Successful response
* @returns unknown Error response
* @throws ApiError
*/ | https://github.com/msgbyte/tianji/blob/0755f8419c557f8a1b3c89620695eb260ca0ae1b/packages/client-sdk/src/open/client/services.gen.ts#L513-L524 | 0755f8419c557f8a1b3c89620695eb260ca0ae1b |
tianji | github_2023 | msgbyte | typescript | WebsiteService.websiteGetLighthouseReport | public static websiteGetLighthouseReport(data: $OpenApiTs['/workspace/{workspaceId}/website/{websiteId}/getLighthouseReport']['get']['req']): CancelablePromise<$OpenApiTs['/workspace/{workspaceId}/website/{websiteId}/getLighthouseReport']['get']['res'][200]> {
return __request(OpenAPI, {
method: 'GE... | /**
* @param data The data for the request.
* @param data.workspaceId
* @param data.websiteId
* @param data.limit
* @param data.cursor
* @returns unknown Successful response
* @throws ApiError
*/ | https://github.com/msgbyte/tianji/blob/0755f8419c557f8a1b3c89620695eb260ca0ae1b/packages/client-sdk/src/open/client/services.gen.ts#L535-L548 | 0755f8419c557f8a1b3c89620695eb260ca0ae1b |
tianji | github_2023 | msgbyte | typescript | WebsiteService.websiteGetLighthouseJson | public static websiteGetLighthouseJson(data: $OpenApiTs['/lighthouse/{lighthouseId}']['get']['req']): CancelablePromise<$OpenApiTs['/lighthouse/{lighthouseId}']['get']['res'][200]> {
return __request(OpenAPI, {
method: 'GET',
url: '/lighthouse/{lighthouseId}',
path: {
... | /**
* @param data The data for the request.
* @param data.lighthouseId
* @returns unknown Successful response
* @throws ApiError
*/ | https://github.com/msgbyte/tianji/blob/0755f8419c557f8a1b3c89620695eb260ca0ae1b/packages/client-sdk/src/open/client/services.gen.ts#L556-L564 | 0755f8419c557f8a1b3c89620695eb260ca0ae1b |
tianji | github_2023 | msgbyte | typescript | MonitorService.monitorAll | public static monitorAll(data: $OpenApiTs['/workspace/{workspaceId}/monitor/all']['get']['req']): CancelablePromise<$OpenApiTs['/workspace/{workspaceId}/monitor/all']['get']['res'][200]> {
return __request(OpenAPI, {
method: 'GET',
url: '/workspace/{workspaceId}/monitor/all',
... | /**
* @param data The data for the request.
* @param data.workspaceId
* @returns unknown Successful response
* @throws ApiError
*/ | https://github.com/msgbyte/tianji/blob/0755f8419c557f8a1b3c89620695eb260ca0ae1b/packages/client-sdk/src/open/client/services.gen.ts#L575-L583 | 0755f8419c557f8a1b3c89620695eb260ca0ae1b |
tianji | github_2023 | msgbyte | typescript | MonitorService.monitorGet | public static monitorGet(data: $OpenApiTs['/workspace/{workspaceId}/monitor/{monitorId}/get']['get']['req']): CancelablePromise<$OpenApiTs['/workspace/{workspaceId}/monitor/{monitorId}/get']['get']['res'][200]> {
return __request(OpenAPI, {
method: 'GET',
url: '/workspace/{workspaceId}/m... | /**
* @param data The data for the request.
* @param data.workspaceId
* @param data.monitorId
* @returns unknown Successful response
* @throws ApiError
*/ | https://github.com/msgbyte/tianji/blob/0755f8419c557f8a1b3c89620695eb260ca0ae1b/packages/client-sdk/src/open/client/services.gen.ts#L592-L601 | 0755f8419c557f8a1b3c89620695eb260ca0ae1b |
tianji | github_2023 | msgbyte | typescript | MonitorService.monitorGetPublicInfo | public static monitorGetPublicInfo(data: $OpenApiTs['/monitor/getPublicInfo']['post']['req']): CancelablePromise<$OpenApiTs['/monitor/getPublicInfo']['post']['res'][200]> {
return __request(OpenAPI, {
method: 'POST',
url: '/monitor/getPublicInfo',
body: data.requestBody,
... | /**
* @param data The data for the request.
* @param data.requestBody
* @returns unknown Successful response
* @throws ApiError
*/ | https://github.com/msgbyte/tianji/blob/0755f8419c557f8a1b3c89620695eb260ca0ae1b/packages/client-sdk/src/open/client/services.gen.ts#L609-L616 | 0755f8419c557f8a1b3c89620695eb260ca0ae1b |
tianji | github_2023 | msgbyte | typescript | MonitorService.monitorUpsert | public static monitorUpsert(data: $OpenApiTs['/workspace/{workspaceId}/monitor/upsert']['post']['req']): CancelablePromise<$OpenApiTs['/workspace/{workspaceId}/monitor/upsert']['post']['res'][200]> {
return __request(OpenAPI, {
method: 'POST',
url: '/workspace/{workspaceId}/monitor/upser... | /**
* @param data The data for the request.
* @param data.workspaceId
* @param data.requestBody
* @returns unknown Successful response
* @throws ApiError
*/ | https://github.com/msgbyte/tianji/blob/0755f8419c557f8a1b3c89620695eb260ca0ae1b/packages/client-sdk/src/open/client/services.gen.ts#L625-L635 | 0755f8419c557f8a1b3c89620695eb260ca0ae1b |
tianji | github_2023 | msgbyte | typescript | MonitorService.monitorDelete | public static monitorDelete(data: $OpenApiTs['/workspace/{workspaceId}/monitor/{monitorId}/del']['delete']['req']): CancelablePromise<$OpenApiTs['/workspace/{workspaceId}/monitor/{monitorId}/del']['delete']['res'][200]> {
return __request(OpenAPI, {
method: 'DELETE',
url: '/workspace/{wo... | /**
* @param data The data for the request.
* @param data.workspaceId
* @param data.monitorId
* @returns unknown Successful response
* @throws ApiError
*/ | https://github.com/msgbyte/tianji/blob/0755f8419c557f8a1b3c89620695eb260ca0ae1b/packages/client-sdk/src/open/client/services.gen.ts#L644-L653 | 0755f8419c557f8a1b3c89620695eb260ca0ae1b |
tianji | github_2023 | msgbyte | typescript | MonitorService.monitorData | public static monitorData(data: $OpenApiTs['/workspace/{workspaceId}/monitor/{monitorId}/data']['get']['req']): CancelablePromise<$OpenApiTs['/workspace/{workspaceId}/monitor/{monitorId}/data']['get']['res'][200]> {
return __request(OpenAPI, {
method: 'GET',
url: '/workspace/{workspaceId... | /**
* @param data The data for the request.
* @param data.workspaceId
* @param data.monitorId
* @param data.startAt
* @param data.endAt
* @returns unknown Successful response
* @throws ApiError
*/ | https://github.com/msgbyte/tianji/blob/0755f8419c557f8a1b3c89620695eb260ca0ae1b/packages/client-sdk/src/open/client/services.gen.ts#L664-L677 | 0755f8419c557f8a1b3c89620695eb260ca0ae1b |
tianji | github_2023 | msgbyte | typescript | MonitorService.monitorChangeActive | public static monitorChangeActive(data: $OpenApiTs['/workspace/{workspaceId}/monitor/{monitorId}/changeActive']['patch']['req']): CancelablePromise<$OpenApiTs['/workspace/{workspaceId}/monitor/{monitorId}/changeActive']['patch']['res'][200]> {
return __request(OpenAPI, {
method: 'PATCH',
... | /**
* @param data The data for the request.
* @param data.workspaceId
* @param data.monitorId
* @param data.requestBody
* @returns unknown Successful response
* @throws ApiError
*/ | https://github.com/msgbyte/tianji/blob/0755f8419c557f8a1b3c89620695eb260ca0ae1b/packages/client-sdk/src/open/client/services.gen.ts#L687-L698 | 0755f8419c557f8a1b3c89620695eb260ca0ae1b |
tianji | github_2023 | msgbyte | typescript | MonitorService.monitorRecentData | public static monitorRecentData(data: $OpenApiTs['/workspace/{workspaceId}/monitor/{monitorId}/recentData']['get']['req']): CancelablePromise<$OpenApiTs['/workspace/{workspaceId}/monitor/{monitorId}/recentData']['get']['res'][200]> {
return __request(OpenAPI, {
method: 'GET',
url: '/work... | /**
* @param data The data for the request.
* @param data.workspaceId
* @param data.monitorId
* @param data.take
* @returns unknown Successful response
* @throws ApiError
*/ | https://github.com/msgbyte/tianji/blob/0755f8419c557f8a1b3c89620695eb260ca0ae1b/packages/client-sdk/src/open/client/services.gen.ts#L708-L720 | 0755f8419c557f8a1b3c89620695eb260ca0ae1b |
tianji | github_2023 | msgbyte | typescript | MonitorService.monitorPublicSummary | public static monitorPublicSummary(data: $OpenApiTs['/workspace/{workspaceId}/monitor/{monitorId}/publicSummary']['get']['req']): CancelablePromise<$OpenApiTs['/workspace/{workspaceId}/monitor/{monitorId}/publicSummary']['get']['res'][200]> {
return __request(OpenAPI, {
method: 'GET',
ur... | /**
* @param data The data for the request.
* @param data.workspaceId
* @param data.monitorId
* @returns unknown Successful response
* @throws ApiError
*/ | https://github.com/msgbyte/tianji/blob/0755f8419c557f8a1b3c89620695eb260ca0ae1b/packages/client-sdk/src/open/client/services.gen.ts#L729-L738 | 0755f8419c557f8a1b3c89620695eb260ca0ae1b |
tianji | github_2023 | msgbyte | typescript | MonitorService.monitorPublicData | public static monitorPublicData(data: $OpenApiTs['/workspace/{workspaceId}/monitor/{monitorId}/publicData']['get']['req']): CancelablePromise<$OpenApiTs['/workspace/{workspaceId}/monitor/{monitorId}/publicData']['get']['res'][200]> {
return __request(OpenAPI, {
method: 'GET',
url: '/work... | /**
* @param data The data for the request.
* @param data.workspaceId
* @param data.monitorId
* @returns unknown Successful response
* @throws ApiError
*/ | https://github.com/msgbyte/tianji/blob/0755f8419c557f8a1b3c89620695eb260ca0ae1b/packages/client-sdk/src/open/client/services.gen.ts#L747-L756 | 0755f8419c557f8a1b3c89620695eb260ca0ae1b |
tianji | github_2023 | msgbyte | typescript | MonitorService.monitorDataMetrics | public static monitorDataMetrics(data: $OpenApiTs['/workspace/{workspaceId}/monitor/{monitorId}/dataMetrics']['get']['req']): CancelablePromise<$OpenApiTs['/workspace/{workspaceId}/monitor/{monitorId}/dataMetrics']['get']['res'][200]> {
return __request(OpenAPI, {
method: 'GET',
url: '/w... | /**
* @param data The data for the request.
* @param data.workspaceId
* @param data.monitorId
* @returns unknown Successful response
* @throws ApiError
*/ | https://github.com/msgbyte/tianji/blob/0755f8419c557f8a1b3c89620695eb260ca0ae1b/packages/client-sdk/src/open/client/services.gen.ts#L765-L774 | 0755f8419c557f8a1b3c89620695eb260ca0ae1b |
tianji | github_2023 | msgbyte | typescript | MonitorService.monitorEvents | public static monitorEvents(data: $OpenApiTs['/workspace/{workspaceId}/monitor/events']['get']['req']): CancelablePromise<$OpenApiTs['/workspace/{workspaceId}/monitor/events']['get']['res'][200]> {
return __request(OpenAPI, {
method: 'GET',
url: '/workspace/{workspaceId}/monitor/events',... | /**
* @param data The data for the request.
* @param data.workspaceId
* @param data.monitorId
* @param data.limit
* @returns unknown Successful response
* @throws ApiError
*/ | https://github.com/msgbyte/tianji/blob/0755f8419c557f8a1b3c89620695eb260ca0ae1b/packages/client-sdk/src/open/client/services.gen.ts#L784-L796 | 0755f8419c557f8a1b3c89620695eb260ca0ae1b |
tianji | github_2023 | msgbyte | typescript | MonitorService.monitorClearEvents | public static monitorClearEvents(data: $OpenApiTs['/workspace/{workspaceId}/monitor/clearEvents']['delete']['req']): CancelablePromise<$OpenApiTs['/workspace/{workspaceId}/monitor/clearEvents']['delete']['res'][200] | $OpenApiTs['/workspace/{workspaceId}/monitor/clearEvents']['delete']['res'][200]> {
return __r... | /**
* @param data The data for the request.
* @param data.workspaceId
* @param data.monitorId
* @returns number Successful response
* @returns unknown Error response
* @throws ApiError
*/ | https://github.com/msgbyte/tianji/blob/0755f8419c557f8a1b3c89620695eb260ca0ae1b/packages/client-sdk/src/open/client/services.gen.ts#L806-L817 | 0755f8419c557f8a1b3c89620695eb260ca0ae1b |
tianji | github_2023 | msgbyte | typescript | MonitorService.monitorClearData | public static monitorClearData(data: $OpenApiTs['/workspace/{workspaceId}/monitor/clearData']['delete']['req']): CancelablePromise<$OpenApiTs['/workspace/{workspaceId}/monitor/clearData']['delete']['res'][200] | $OpenApiTs['/workspace/{workspaceId}/monitor/clearData']['delete']['res'][200]> {
return __request(O... | /**
* @param data The data for the request.
* @param data.workspaceId
* @param data.monitorId
* @returns number Successful response
* @returns unknown Error response
* @throws ApiError
*/ | https://github.com/msgbyte/tianji/blob/0755f8419c557f8a1b3c89620695eb260ca0ae1b/packages/client-sdk/src/open/client/services.gen.ts#L827-L838 | 0755f8419c557f8a1b3c89620695eb260ca0ae1b |
tianji | github_2023 | msgbyte | typescript | MonitorService.monitorGetStatus | public static monitorGetStatus(data: $OpenApiTs['/workspace/{workspaceId}/monitor/{monitorId}/status']['get']['req']): CancelablePromise<$OpenApiTs['/workspace/{workspaceId}/monitor/{monitorId}/status']['get']['res'][200]> {
return __request(OpenAPI, {
method: 'GET',
url: '/workspace/{wo... | /**
* @param data The data for the request.
* @param data.workspaceId
* @param data.monitorId
* @param data.statusName
* @returns unknown Successful response
* @throws ApiError
*/ | https://github.com/msgbyte/tianji/blob/0755f8419c557f8a1b3c89620695eb260ca0ae1b/packages/client-sdk/src/open/client/services.gen.ts#L848-L860 | 0755f8419c557f8a1b3c89620695eb260ca0ae1b |
tianji | github_2023 | msgbyte | typescript | MonitorService.monitorGetAllPages | public static monitorGetAllPages(data: $OpenApiTs['/workspace/{workspaceId}/monitor/getAllPages']['get']['req']): CancelablePromise<$OpenApiTs['/workspace/{workspaceId}/monitor/getAllPages']['get']['res'][200]> {
return __request(OpenAPI, {
method: 'GET',
url: '/workspace/{workspaceId}/m... | /**
* @param data The data for the request.
* @param data.workspaceId
* @returns unknown Successful response
* @throws ApiError
*/ | https://github.com/msgbyte/tianji/blob/0755f8419c557f8a1b3c89620695eb260ca0ae1b/packages/client-sdk/src/open/client/services.gen.ts#L868-L876 | 0755f8419c557f8a1b3c89620695eb260ca0ae1b |
tianji | github_2023 | msgbyte | typescript | MonitorService.monitorGetPageInfo | public static monitorGetPageInfo(data: $OpenApiTs['/monitor/getPageInfo']['get']['req']): CancelablePromise<$OpenApiTs['/monitor/getPageInfo']['get']['res'][200]> {
return __request(OpenAPI, {
method: 'GET',
url: '/monitor/getPageInfo',
query: {
slug: data.slu... | /**
* @param data The data for the request.
* @param data.slug
* @returns unknown Successful response
* @throws ApiError
*/ | https://github.com/msgbyte/tianji/blob/0755f8419c557f8a1b3c89620695eb260ca0ae1b/packages/client-sdk/src/open/client/services.gen.ts#L884-L892 | 0755f8419c557f8a1b3c89620695eb260ca0ae1b |
tianji | github_2023 | msgbyte | typescript | MonitorService.monitorCreatePage | public static monitorCreatePage(data: $OpenApiTs['/workspace/{workspaceId}/monitor/createStatusPage']['post']['req']): CancelablePromise<$OpenApiTs['/workspace/{workspaceId}/monitor/createStatusPage']['post']['res'][200]> {
return __request(OpenAPI, {
method: 'POST',
url: '/workspace/{wo... | /**
* @param data The data for the request.
* @param data.workspaceId
* @param data.requestBody
* @returns unknown Successful response
* @throws ApiError
*/ | https://github.com/msgbyte/tianji/blob/0755f8419c557f8a1b3c89620695eb260ca0ae1b/packages/client-sdk/src/open/client/services.gen.ts#L901-L911 | 0755f8419c557f8a1b3c89620695eb260ca0ae1b |
tianji | github_2023 | msgbyte | typescript | MonitorService.monitorEditPage | public static monitorEditPage(data: $OpenApiTs['/workspace/{workspaceId}/monitor/updateStatusPage']['patch']['req']): CancelablePromise<$OpenApiTs['/workspace/{workspaceId}/monitor/updateStatusPage']['patch']['res'][200]> {
return __request(OpenAPI, {
method: 'PATCH',
url: '/workspace/{w... | /**
* @param data The data for the request.
* @param data.workspaceId
* @param data.requestBody
* @returns unknown Successful response
* @throws ApiError
*/ | https://github.com/msgbyte/tianji/blob/0755f8419c557f8a1b3c89620695eb260ca0ae1b/packages/client-sdk/src/open/client/services.gen.ts#L920-L930 | 0755f8419c557f8a1b3c89620695eb260ca0ae1b |
tianji | github_2023 | msgbyte | typescript | MonitorService.monitorDeletePage | public static monitorDeletePage(data: $OpenApiTs['/workspace/{workspaceId}/monitor/deleteStatusPage']['delete']['req']): CancelablePromise<$OpenApiTs['/workspace/{workspaceId}/monitor/deleteStatusPage']['delete']['res'][200]> {
return __request(OpenAPI, {
method: 'DELETE',
url: '/workspa... | /**
* @param data The data for the request.
* @param data.workspaceId
* @param data.id
* @returns unknown Successful response
* @throws ApiError
*/ | https://github.com/msgbyte/tianji/blob/0755f8419c557f8a1b3c89620695eb260ca0ae1b/packages/client-sdk/src/open/client/services.gen.ts#L939-L950 | 0755f8419c557f8a1b3c89620695eb260ca0ae1b |
tianji | github_2023 | msgbyte | typescript | TelemetryService.telemetryAll | public static telemetryAll(data: $OpenApiTs['/workspace/{workspaceId}/telemetry/all']['get']['req']): CancelablePromise<$OpenApiTs['/workspace/{workspaceId}/telemetry/all']['get']['res'][200]> {
return __request(OpenAPI, {
method: 'GET',
url: '/workspace/{workspaceId}/telemetry/all',
... | /**
* @param data The data for the request.
* @param data.workspaceId
* @returns unknown Successful response
* @throws ApiError
*/ | https://github.com/msgbyte/tianji/blob/0755f8419c557f8a1b3c89620695eb260ca0ae1b/packages/client-sdk/src/open/client/services.gen.ts#L961-L969 | 0755f8419c557f8a1b3c89620695eb260ca0ae1b |
tianji | github_2023 | msgbyte | typescript | TelemetryService.telemetryInfo | public static telemetryInfo(data: $OpenApiTs['/workspace/{workspaceId}/telemetry/info']['get']['req']): CancelablePromise<$OpenApiTs['/workspace/{workspaceId}/telemetry/info']['get']['res'][200]> {
return __request(OpenAPI, {
method: 'GET',
url: '/workspace/{workspaceId}/telemetry/info',... | /**
* @param data The data for the request.
* @param data.workspaceId
* @param data.telemetryId
* @returns unknown Successful response
* @throws ApiError
*/ | https://github.com/msgbyte/tianji/blob/0755f8419c557f8a1b3c89620695eb260ca0ae1b/packages/client-sdk/src/open/client/services.gen.ts#L978-L989 | 0755f8419c557f8a1b3c89620695eb260ca0ae1b |
tianji | github_2023 | msgbyte | typescript | TelemetryService.telemetryAllEventCount | public static telemetryAllEventCount(data: $OpenApiTs['/workspace/{workspaceId}/telemetry/allEventCount']['get']['req']): CancelablePromise<$OpenApiTs['/workspace/{workspaceId}/telemetry/allEventCount']['get']['res'][200] | $OpenApiTs['/workspace/{workspaceId}/telemetry/allEventCount']['get']['res'][200]> {
ret... | /**
* @param data The data for the request.
* @param data.workspaceId
* @returns number Successful response
* @returns unknown Error response
* @throws ApiError
*/ | https://github.com/msgbyte/tianji/blob/0755f8419c557f8a1b3c89620695eb260ca0ae1b/packages/client-sdk/src/open/client/services.gen.ts#L998-L1006 | 0755f8419c557f8a1b3c89620695eb260ca0ae1b |
tianji | github_2023 | msgbyte | typescript | TelemetryService.telemetryEventCount | public static telemetryEventCount(data: $OpenApiTs['/workspace/{workspaceId}/telemetry/eventCount']['get']['req']): CancelablePromise<$OpenApiTs['/workspace/{workspaceId}/telemetry/eventCount']['get']['res'][200] | $OpenApiTs['/workspace/{workspaceId}/telemetry/eventCount']['get']['res'][200]> {
return __reques... | /**
* @param data The data for the request.
* @param data.workspaceId
* @param data.telemetryId
* @returns number Successful response
* @returns unknown Error response
* @throws ApiError
*/ | https://github.com/msgbyte/tianji/blob/0755f8419c557f8a1b3c89620695eb260ca0ae1b/packages/client-sdk/src/open/client/services.gen.ts#L1016-L1027 | 0755f8419c557f8a1b3c89620695eb260ca0ae1b |
tianji | github_2023 | msgbyte | typescript | TelemetryService.telemetryUpsert | public static telemetryUpsert(data: $OpenApiTs['/workspace/{workspaceId}/telemetry/upsert']['post']['req']): CancelablePromise<$OpenApiTs['/workspace/{workspaceId}/telemetry/upsert']['post']['res'][200]> {
return __request(OpenAPI, {
method: 'POST',
url: '/workspace/{workspaceId}/telemet... | /**
* @param data The data for the request.
* @param data.workspaceId
* @param data.requestBody
* @returns unknown Successful response
* @throws ApiError
*/ | https://github.com/msgbyte/tianji/blob/0755f8419c557f8a1b3c89620695eb260ca0ae1b/packages/client-sdk/src/open/client/services.gen.ts#L1036-L1046 | 0755f8419c557f8a1b3c89620695eb260ca0ae1b |
tianji | github_2023 | msgbyte | typescript | TelemetryService.telemetryDelete | public static telemetryDelete(data: $OpenApiTs['/workspace/{workspaceId}/telemetry/delete']['post']['req']): CancelablePromise<$OpenApiTs['/workspace/{workspaceId}/telemetry/delete']['post']['res'][200]> {
return __request(OpenAPI, {
method: 'POST',
url: '/workspace/{workspaceId}/telemet... | /**
* @param data The data for the request.
* @param data.workspaceId
* @param data.requestBody
* @returns unknown Successful response
* @throws ApiError
*/ | https://github.com/msgbyte/tianji/blob/0755f8419c557f8a1b3c89620695eb260ca0ae1b/packages/client-sdk/src/open/client/services.gen.ts#L1055-L1065 | 0755f8419c557f8a1b3c89620695eb260ca0ae1b |
tianji | github_2023 | msgbyte | typescript | TelemetryService.telemetryPageviews | public static telemetryPageviews(data: $OpenApiTs['/workspace/{workspaceId}/telemetry/pageviews']['get']['req']): CancelablePromise<$OpenApiTs['/workspace/{workspaceId}/telemetry/pageviews']['get']['res'][200]> {
return __request(OpenAPI, {
method: 'GET',
url: '/workspace/{workspaceId}/t... | /**
* @param data The data for the request.
* @param data.workspaceId
* @param data.telemetryId
* @param data.startAt
* @param data.endAt
* @param data.unit
* @param data.url
* @param data.country
* @param data.region
* @param data.city
* @param data.timezone
... | https://github.com/msgbyte/tianji/blob/0755f8419c557f8a1b3c89620695eb260ca0ae1b/packages/client-sdk/src/open/client/services.gen.ts#L1082-L1101 | 0755f8419c557f8a1b3c89620695eb260ca0ae1b |
tianji | github_2023 | msgbyte | typescript | TelemetryService.telemetryMetrics | public static telemetryMetrics(data: $OpenApiTs['/workspace/{workspaceId}/telemetry/metrics']['get']['req']): CancelablePromise<$OpenApiTs['/workspace/{workspaceId}/telemetry/metrics']['get']['res'][200]> {
return __request(OpenAPI, {
method: 'GET',
url: '/workspace/{workspaceId}/telemet... | /**
* @param data The data for the request.
* @param data.workspaceId
* @param data.telemetryId
* @param data.type
* @param data.startAt
* @param data.endAt
* @param data.url
* @param data.country
* @param data.region
* @param data.city
* @param data.timezone
... | https://github.com/msgbyte/tianji/blob/0755f8419c557f8a1b3c89620695eb260ca0ae1b/packages/client-sdk/src/open/client/services.gen.ts#L1118-L1137 | 0755f8419c557f8a1b3c89620695eb260ca0ae1b |
tianji | github_2023 | msgbyte | typescript | TelemetryService.telemetryStats | public static telemetryStats(data: $OpenApiTs['/workspace/{workspaceId}/telemetry/stats']['get']['req']): CancelablePromise<$OpenApiTs['/workspace/{workspaceId}/telemetry/stats']['get']['res'][200]> {
return __request(OpenAPI, {
method: 'GET',
url: '/workspace/{workspaceId}/telemetry/sta... | /**
* @param data The data for the request.
* @param data.workspaceId
* @param data.telemetryId
* @param data.startAt
* @param data.endAt
* @param data.unit
* @param data.url
* @param data.country
* @param data.region
* @param data.city
* @param data.timezone
... | https://github.com/msgbyte/tianji/blob/0755f8419c557f8a1b3c89620695eb260ca0ae1b/packages/client-sdk/src/open/client/services.gen.ts#L1154-L1173 | 0755f8419c557f8a1b3c89620695eb260ca0ae1b |
tianji | github_2023 | msgbyte | typescript | SurveyService.surveyAll | public static surveyAll(data: $OpenApiTs['/workspace/{workspaceId}/survey/all']['get']['req']): CancelablePromise<$OpenApiTs['/workspace/{workspaceId}/survey/all']['get']['res'][200]> {
return __request(OpenAPI, {
method: 'GET',
url: '/workspace/{workspaceId}/survey/all',
pat... | /**
* @param data The data for the request.
* @param data.workspaceId
* @returns unknown Successful response
* @throws ApiError
*/ | https://github.com/msgbyte/tianji/blob/0755f8419c557f8a1b3c89620695eb260ca0ae1b/packages/client-sdk/src/open/client/services.gen.ts#L1184-L1192 | 0755f8419c557f8a1b3c89620695eb260ca0ae1b |
tianji | github_2023 | msgbyte | typescript | SurveyService.surveyGet | public static surveyGet(data: $OpenApiTs['/workspace/{workspaceId}/survey/{surveyId}/get']['get']['req']): CancelablePromise<$OpenApiTs['/workspace/{workspaceId}/survey/{surveyId}/get']['get']['res'][200]> {
return __request(OpenAPI, {
method: 'GET',
url: '/workspace/{workspaceId}/survey... | /**
* @param data The data for the request.
* @param data.workspaceId
* @param data.surveyId
* @returns unknown Successful response
* @throws ApiError
*/ | https://github.com/msgbyte/tianji/blob/0755f8419c557f8a1b3c89620695eb260ca0ae1b/packages/client-sdk/src/open/client/services.gen.ts#L1201-L1210 | 0755f8419c557f8a1b3c89620695eb260ca0ae1b |
tianji | github_2023 | msgbyte | typescript | SurveyService.surveyCount | public static surveyCount(data: $OpenApiTs['/workspace/{workspaceId}/survey/{surveyId}/count']['get']['req']): CancelablePromise<$OpenApiTs['/workspace/{workspaceId}/survey/{surveyId}/count']['get']['res'][200] | $OpenApiTs['/workspace/{workspaceId}/survey/{surveyId}/count']['get']['res'][200]> {
return __reque... | /**
* @param data The data for the request.
* @param data.workspaceId
* @param data.surveyId
* @returns number Successful response
* @returns unknown Error response
* @throws ApiError
*/ | https://github.com/msgbyte/tianji/blob/0755f8419c557f8a1b3c89620695eb260ca0ae1b/packages/client-sdk/src/open/client/services.gen.ts#L1220-L1229 | 0755f8419c557f8a1b3c89620695eb260ca0ae1b |
tianji | github_2023 | msgbyte | typescript | SurveyService.surveyAllResultCount | public static surveyAllResultCount(data: $OpenApiTs['/workspace/{workspaceId}/survey/allResultCount']['get']['req']): CancelablePromise<$OpenApiTs['/workspace/{workspaceId}/survey/allResultCount']['get']['res'][200] | $OpenApiTs['/workspace/{workspaceId}/survey/allResultCount']['get']['res'][200]> {
return __re... | /**
* @param data The data for the request.
* @param data.workspaceId
* @returns number Successful response
* @returns unknown Error response
* @throws ApiError
*/ | https://github.com/msgbyte/tianji/blob/0755f8419c557f8a1b3c89620695eb260ca0ae1b/packages/client-sdk/src/open/client/services.gen.ts#L1238-L1246 | 0755f8419c557f8a1b3c89620695eb260ca0ae1b |
tianji | github_2023 | msgbyte | typescript | SurveyService.surveySubmit | public static surveySubmit(data: $OpenApiTs['/workspace/{workspaceId}/survey/{surveyId}/submit']['post']['req']): CancelablePromise<$OpenApiTs['/workspace/{workspaceId}/survey/{surveyId}/submit']['post']['res'][200] | $OpenApiTs['/workspace/{workspaceId}/survey/{surveyId}/submit']['post']['res'][200]> {
return ... | /**
* @param data The data for the request.
* @param data.workspaceId
* @param data.surveyId
* @param data.requestBody
* @returns string Successful response
* @returns unknown Error response
* @throws ApiError
*/ | https://github.com/msgbyte/tianji/blob/0755f8419c557f8a1b3c89620695eb260ca0ae1b/packages/client-sdk/src/open/client/services.gen.ts#L1257-L1268 | 0755f8419c557f8a1b3c89620695eb260ca0ae1b |
tianji | github_2023 | msgbyte | typescript | SurveyService.surveyCreate | public static surveyCreate(data: $OpenApiTs['/workspace/{workspaceId}/survey/create']['post']['req']): CancelablePromise<$OpenApiTs['/workspace/{workspaceId}/survey/create']['post']['res'][200]> {
return __request(OpenAPI, {
method: 'POST',
url: '/workspace/{workspaceId}/survey/create',
... | /**
* @param data The data for the request.
* @param data.workspaceId
* @param data.requestBody
* @returns unknown Successful response
* @throws ApiError
*/ | https://github.com/msgbyte/tianji/blob/0755f8419c557f8a1b3c89620695eb260ca0ae1b/packages/client-sdk/src/open/client/services.gen.ts#L1277-L1287 | 0755f8419c557f8a1b3c89620695eb260ca0ae1b |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.