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
class App extends Component { | |
constructor(props) { | |
super(props); | |
this.state = { | |
newTodo: "", | |
todos: [ | |
{ | |
id: 1, | |
name: "Todo 1", | |
dueDate: new Date() |
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
<?php | |
namespace Application\Migrations; | |
use Doctrine\DBAL\Schema\Schema; | |
use CapCollectif\IdToUuid\IdToUuidMigration; | |
class VersionXYZ extends IdToUuidMigration | |
{ | |
public function postUp(Schema $schema) |
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
+------------------------+-------------------------+ | |
| TABLE_NAME | COLUMN_NAME | | |
+------------------------+-------------------------+ | |
| proposition | author_id | | |
| vote | author_id | | |
---------------------------------------------------- |
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
import { NextRequest, NextResponse } from 'next/server'; | |
import * as base64Url from './encoding/base64Url'; | |
/** | |
* Necessary to verify the signature of a request. | |
*/ | |
type ReceiverConfig = { | |
/** | |
* The current signing key. Get it from `https://console.upstash.com/qstash | |
*/ |
OlderNewer