This file contains hidden or 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
| DO $$ | |
| DECLARE | |
| seq_name TEXT; | |
| tbl_name TEXT; | |
| col_name TEXT; | |
| max_id BIGINT; | |
| BEGIN | |
| FOR seq_name, tbl_name, col_name IN | |
| SELECT | |
| s.relname AS seq_name, |
This file contains hidden or 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
| // src/api/post/routes/custom-post.ts | |
| module.exports = { | |
| routes: [ | |
| { | |
| method: 'GET', | |
| path: '/posts/slug/:slug', | |
| handler: 'post.findOneBySlug', | |
| config: { | |
| policies: [], |
This file contains hidden or 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
| import { z } from 'zod'; | |
| const MAX_FILE_SIZE = 1024 * 1024 * 1; | |
| const ACCEPTED_IMAGE_MIME_TYPES = [ | |
| 'image/jpeg', | |
| 'image/jpg', | |
| 'image/png', | |
| ]; | |
| export const imageSchema = z.object({ |
This file contains hidden or 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
| /* /index.html 200 |
This file contains hidden or 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
| <IfModule mod_rewrite.c> | |
| RewriteEngine On | |
| RewriteBase /subdirectory | |
| RewriteRule ^index\.html$ - [L] | |
| RewriteCond %{REQUEST_FILENAME} !-f | |
| RewriteCond %{REQUEST_FILENAME} !-d | |
| RewriteCond %{REQUEST_FILENAME} !-l | |
| RewriteRule . /index.html [L] | |
| </IfModule> |
This file contains hidden or 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
| [Desktop Entry] | |
| Name=Postman | |
| GenericName=Postman Client | |
| Exec=/opt/Postman/app/Postman %u | |
| Icon=/opt/Postman/app/icons/icon_128x128.png |