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
""" Generates SQL tables for Cards and Rows """ | |
from django.db import models | |
class Card(models.Model): | |
""" A bingo card with 5 rows. """ | |
created_on = models.DateTimeField(auto_now_add=True) | |
def __str__(self): | |
return "Card: " + str(self.id) + ", " + str(self.created_on) |
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 { actionTypes } from './actionTypes'; | |
import { action as act } from 'typesafe-actions' | |
import { getCards } from '../webservices/bingoService'; | |
import { Reducer, AnyAction } from 'redux' | |
import { Dispatch } from 'react'; | |
import { danger, clear } from './messages'; | |
/* Card Interface */ | |
export interface ICardArray { |
NewerOlder