Additional information or tagline
A brief description of your project, what it is used for and how does life get awesome when someone starts to use it.
| version: "3" | |
| services: | |
| dev-gam-app-postgres-compose: | |
| image: postgres | |
| environment: | |
| POSTGRES_PASSWORD: "Postgres2019!" | |
| ports: | |
| - "15432:5432" | |
| volumes: |
| ": | |
| " ███▄ █ ▓█████ ▒█████ ██▒ █▓ ██▓ ███▄ ▄███▓ | |
| " ██ ▀█ █ ▓█ ▀ ▒██▒ ██▒▓██░ █▒▓██▒▓██▒▀█▀ ██▒ | |
| " ▓██ ▀█ ██▒▒███ ▒██░ ██▒ ▓██ █▒░▒██▒▓██ ▓██░ | |
| " ▓██▒ ▐▌██▒▒▓█ ▄ ▒██ ██░ ▒██ █░░░██░▒██ ▒██ | |
| " ▒██░ ▓██░░▒████▒░ ████▓▒░ ▒▀█░ ░██░▒██▒ ░██▒ | |
| " ░ ▒░ ▒ ▒ ░░ ▒░ ░░ ▒░▒░▒░ ░ ▐░ ░▓ ░ ▒░ ░ ░ | |
| " ░ ░░ ░ ▒░ ░ ░ ░ ░ ▒ ▒░ ░ ░░ ▒ ░░ ░ ░ | |
| " ░ ░ ░ ░ ░ ░ ░ ▒ ░░ ▒ ░░ ░ | |
| " ░ ░ ░ ░ ░ ░ ░ ░ |
| { | |
| "tsserver.npm": "/usr/bin/npm", | |
| "npm.binPath": "/usr/bin/npm", | |
| "coc.preferences.formatOnSaveFiletypes": [ | |
| "javascript", | |
| "typescript", | |
| "typescriptreact", | |
| "json", | |
| "javascriptreact", | |
| "typescript.tsx", |
| /* | |
| ##Device = Desktops | |
| ##Screen = 1281px to higher resolution desktops | |
| */ | |
| @media (min-width: 1281px) { | |
| //CSS | |
Poderia me dar uma exemplo de valueObject de um produto em typescript
Claro, aqui está um exemplo simples de um Value Object em TypeScript para um produto:
class ProductId {
private readonly id: string;| Math.floor(Math.random() * 1000000).toString().padStart(6,'0') |
| { | |
| "Create a new Database": { | |
| "prefix": "sqlCreateDatabase", | |
| "body": [ | |
| "-- Create a new database called '${1:DatabaseName}'", | |
| "-- Connect to the 'master' database to run this snippet", | |
| "USE master", | |
| "GO", | |
| "-- Create the new database if it does not exist already", | |
| "IF NOT EXISTS (", |
| using System.Linq; | |
| using System.Reflection; | |
| using Microsoft.EntityFrameworkCore.Query; | |
| using Microsoft.EntityFrameworkCore.Query.Internal; | |
| using Microsoft.EntityFrameworkCore.Query.Expressions; | |
| using Microsoft.EntityFrameworkCore.Query.Sql; | |
| using static Microsoft.EntityFrameworkCore.DbLoggerCategory; | |
| has context menu | |