Compare commits

..

No commits in common. "master" and "3.0.0" have entirely different histories.

5 changed files with 19 additions and 23 deletions

View File

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

View File

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

View File

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

4
package-lock.json generated
View File

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

View File

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