Skip to content

Commit

Permalink
mfsu
Browse files Browse the repository at this point in the history
  • Loading branch information
irsyadadl committed Aug 22, 2024
1 parent e91f4a4 commit 236ab86
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 31 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ Homestead.yaml
auth.json
npm-debug.log
yarn-error.log
.github_token
/.fleet
/.idea
/.vscode
12 changes: 0 additions & 12 deletions .idea/codeception.xml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/phpspec.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 0 additions & 10 deletions .idea/phpunit.xml

This file was deleted.

Binary file added bun.lockb
Binary file not shown.
35 changes: 32 additions & 3 deletions resources/js/ziggy.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,34 @@
const Ziggy = {"url":"http:\/\/inertia.ts.test","port":null,"defaults":{},"routes":{"sanctum.csrf-cookie":{"uri":"sanctum\/csrf-cookie","methods":["GET","HEAD"]},"home":{"uri":"\/","methods":["GET","HEAD"]},"about":{"uri":"about","methods":["GET","HEAD"]},"dashboard":{"uri":"dashboard","methods":["GET","HEAD"]},"profile.edit":{"uri":"profile","methods":["GET","HEAD"]},"profile.update":{"uri":"profile","methods":["PATCH"]},"profile.destroy":{"uri":"profile","methods":["DELETE"]},"register":{"uri":"register","methods":["GET","HEAD"]},"login":{"uri":"login","methods":["GET","HEAD"]},"password.request":{"uri":"forgot-password","methods":["GET","HEAD"]},"password.email":{"uri":"forgot-password","methods":["POST"]},"password.reset":{"uri":"reset-password\/{token}","methods":["GET","HEAD"],"parameters":["token"]},"password.store":{"uri":"reset-password","methods":["POST"]},"verification.notice":{"uri":"verify-email","methods":["GET","HEAD"]},"verification.verify":{"uri":"verify-email\/{id}\/{hash}","methods":["GET","HEAD"],"parameters":["id","hash"]},"verification.send":{"uri":"email\/verification-notification","methods":["POST"]},"password.confirm":{"uri":"confirm-password","methods":["GET","HEAD"]},"password.update":{"uri":"password","methods":["PUT"]},"logout":{"uri":"logout","methods":["POST"]}}};
const Ziggy = {
url: 'http://inertia.ts.test',
port: null,
defaults: {},
routes: {
'sanctum.csrf-cookie': { uri: 'sanctum/csrf-cookie', methods: ['GET', 'HEAD'] },
home: { uri: '/', methods: ['GET', 'HEAD'] },
about: { uri: 'about', methods: ['GET', 'HEAD'] },
dashboard: { uri: 'dashboard', methods: ['GET', 'HEAD'] },
'profile.edit': { uri: 'profile', methods: ['GET', 'HEAD'] },
'profile.update': { uri: 'profile', methods: ['PATCH'] },
'profile.destroy': { uri: 'profile', methods: ['DELETE'] },
register: { uri: 'register', methods: ['GET', 'HEAD'] },
login: { uri: 'login', methods: ['GET', 'HEAD'] },
'password.request': { uri: 'forgot-password', methods: ['GET', 'HEAD'] },
'password.email': { uri: 'forgot-password', methods: ['POST'] },
'password.reset': { uri: 'reset-password/{token}', methods: ['GET', 'HEAD'], parameters: ['token'] },
'password.store': { uri: 'reset-password', methods: ['POST'] },
'verification.notice': { uri: 'verify-email', methods: ['GET', 'HEAD'] },
'verification.verify': {
uri: 'verify-email/{id}/{hash}',
methods: ['GET', 'HEAD'],
parameters: ['id', 'hash']
},
'verification.send': { uri: 'email/verification-notification', methods: ['POST'] },
'password.confirm': { uri: 'confirm-password', methods: ['GET', 'HEAD'] },
'password.update': { uri: 'password', methods: ['PUT'] },
logout: { uri: 'logout', methods: ['POST'] }
}
}
if (typeof window !== 'undefined' && typeof window.Ziggy !== 'undefined') {
Object.assign(Ziggy.routes, window.Ziggy.routes);
Object.assign(Ziggy.routes, window.Ziggy.routes)
}
export { Ziggy };
export { Ziggy }

0 comments on commit 236ab86

Please sign in to comment.