Compare commits

...

4 Commits

Author SHA1 Message Date
daedalus
47ed9f40a8 3.0.1 2023-11-01 19:02:22 -04:00
daedalus
8eeac9a748 fix(docs quickstart): add required name and missing semi color 2023-11-01 19:02:22 -04:00
daedalus
ba64fede45
fix(LogListView): logs should be in desc order (#46) 2023-11-01 18:59:47 -04:00
daedalus
d185e7e420
chore(npm): remove docs from bundle (#44) 2023-09-19 21:00:06 -04:00
5 changed files with 23 additions and 19 deletions

View File

@ -20,3 +20,6 @@ npm-debug.log
# github
.github
# docs
docs

View File

@ -13,7 +13,7 @@ export const useLogs = () => {
return useQuery({
queryKey: [PLUGIN_ID, 'logs'],
queryFn: function () {
return get(`/${PLUGIN_ID}/logs`, { params: { pagination: { page } } });
return get(`/${PLUGIN_ID}/logs`, { params: { sort: ['id:desc'], pagination: { page } } });
},
select: function ({ data }) {
return { ...data } || false;

View File

@ -30,9 +30,10 @@ module.exports = ({ env }) => ({
config: {
builds: [
{
url: 'https://link-to-hit-on-trigger.com'
name: 'manual-build',
url: 'https://link-to-hit-on-trigger.com',
trigger: {
type: 'manual'
type: 'manual',
},
},
],

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "strapi-plugin-website-builder",
"version": "3.0.0",
"version": "3.0.1",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "strapi-plugin-website-builder",
"version": "3.0.0",
"version": "3.0.1",
"license": "MIT",
"dependencies": {
"axios": "^1.5.0",

View File

@ -1,7 +1,7 @@
{
"$schema": "https://json.schemastore.org/package",
"name": "strapi-plugin-website-builder",
"version": "3.0.0",
"version": "3.0.1",
"description": "A plugin for Strapi Headless CMS that provides the ability to trigger website builds manually, periodically or through model events.",
"scripts": {
"lint:fix": "eslint --fix \"./**/*.{js,yml}\"",