PluginProbe
Extendify / 1.9.0
Extendify v1.9.0
3.2.0 3.1.6 3.1.5 3.1.4 3.1.3 3.1.2 3.1.1 3.1.0 3.0.6 3.0.5 3.0.4 trunk 0.1.0 0.10.0 0.10.1 0.10.2 0.11.0 0.11.1 0.2.0 0.3.0 0.3.1 0.4.0 0.5.0 0.6.0 0.7.0 All 126 releases
extendify / src / Library / api / General.js

General.js in Extendify 1.9.0, at src/Library/api/General.js

19 lines 529 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 import { useTemplatesStore } from '@library/state/Templates'
2 import { useUserStore } from '@library/state/User'
3 import { Axios as api } from './axios'
4
5 export const General = {
6 metaData() {
7 return api.get('meta-data')
8 },
9 ping(action) {
10 const categories =
11 useTemplatesStore.getState()?.searchParams?.taxonomies ?? []
12 return api.post('simple-ping', {
13 action,
14 categories,
15 sdk_partner: useUserStore.getState()?.sdkPartner ?? '',
16 })
17 },
18 }
19