-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from enflujo/actualizar
Actualizar
- Loading branch information
Showing
27 changed files
with
1,295 additions
and
782 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
674 changes: 674 additions & 0 deletions
674
extensions/.registry/9bde3cf6-c3bd-4bbf-befe-e65294d4b632/LICENSE.txt
Large diffs are not rendered by default.
Oops, something went wrong.
40 changes: 40 additions & 0 deletions
40
extensions/.registry/9bde3cf6-c3bd-4bbf-befe-e65294d4b632/README.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
# WP Slug Interface | ||
|
||
WordPress alike slug/permalink interface | ||
|
||
 | ||
|
||
## Installation | ||
|
||
In your Directus installation root | ||
|
||
```bash | ||
npm install directus-extension-wpslug-interface | ||
``` | ||
|
||
Restart directus | ||
|
||
## How to use | ||
|
||
1. Create new standard field with String type | ||
2. For interface select **Slug** | ||
|
||
## FAQ | ||
|
||
### What does the update "Create" and "Update" options do? | ||
|
||
Simply these options enables/disables the automatic update based on content change. | ||
|
||
- Having "On Create" will enable automattic updating when creating new item. | ||
- Having "On Update" will enable automattic updating when editing existing item. | ||
|
||
It's possible to have both, one or none, depending of your needs. | ||
|
||
### There is magic wand appearing | ||
|
||
The magic stick button appears when the automatic updates are disabled, but there is content change so the field is | ||
differing from the template. When clicked, the automatic update will be executed. | ||
|
||
### Does this works when performing changes throught the API? | ||
|
||
No, this is just an interface. It works only on Directus App |
48 changes: 48 additions & 0 deletions
48
extensions/.registry/9bde3cf6-c3bd-4bbf-befe-e65294d4b632/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
{ | ||
"name": "directus-extension-wpslug-interface", | ||
"version": "1.1.0", | ||
"author": { | ||
"email": "[email protected]", | ||
"name": "Adrian Dimitrov" | ||
}, | ||
"license": "gpl-3.0", | ||
"keywords": [ | ||
"directus", | ||
"directus-extension", | ||
"directus-custom-interface", | ||
"permalink", | ||
"slug", | ||
"wordpress permalink" | ||
], | ||
"directus:extension": { | ||
"type": "interface", | ||
"path": "dist/index.js", | ||
"source": "src/index.ts", | ||
"host": "^v9.9.0", | ||
"hidden": false | ||
}, | ||
"files": [ | ||
"dist" | ||
], | ||
"scripts": { | ||
"build": "directus-extension build", | ||
"dev": "directus-extension build --no-minify --watch" | ||
}, | ||
"devDependencies": { | ||
"@directus/extensions-sdk": "^9.10.0", | ||
"@sindresorhus/slugify": "^2.1.0", | ||
"directus-codestyle": "dimitrov-adrian/directus-codestyle", | ||
"micromustache": "^8.0.3", | ||
"typescript": "^4.6.4" | ||
}, | ||
"prettier": "directus-codestyle/prettier", | ||
"stylelint": { | ||
"extends": "directus-codestyle/stylelint" | ||
}, | ||
"eslintConfig": { | ||
"extends": "./node_modules/directus-codestyle/.eslintrc.js", | ||
"parserOptions": { | ||
"sourceType": "module" | ||
} | ||
} | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.