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
{"openapi":"3.0.0","info":{"version":"2.0.0","title":"Medusa Storefront API","license":{"name":"MIT","url":"https://github.com/medusajs/medusa/blob/master/LICENSE"}},"servers":[{"url":"http://localhost:9000"},{"url":"https://api.medusajs.com"}],"tags":[{"name":"Auth","description":"Auth API routes allow you to manage a customer's authentication.\n"},{"name":"Carts","description":"A cart is a virtual shopping bag that customers can use to add items they want to purchase.\n\nA cart is then used to checkout and place an order.\n\nThese API routes allow customers to create and manage their cart, and place an order.\n","externalDocs":{"description":"How to implement cart functionality in a storefront.","url":"https://docs.medusajs.com/v2/resources/storefront-development/cart"},"x-associatedSchema":{"$ref":"#/components/schemas/StoreCart"}},{"name":"Collections","description":"A product collection organizes products into a collection for marketing purposes. For example, a summer collection.\n\nThese API routes allo |
This file has been truncated, but you can view the full file.
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
{ | |
"openapi": "3.0.0", | |
"info": { | |
"version": "2.0.0", | |
"title": "Medusa Storefront API", | |
"license": { | |
"name": "MIT", | |
"url": "https://github.com/medusajs/medusa/blob/master/LICENSE" | |
} | |
}, |
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
{ | |
"openapi": "3.0.2", | |
"info": { | |
"title": "Swagger Petstore - OpenAPI 3.0", | |
"description": "This is a sample Pet Store Server based on the OpenAPI 3.0 specification. You can find out more about\nSwagger at [http://swagger.io](http://swagger.io). In the third iteration of the pet store, we've switched to the design first approach!\nYou can now help us improve the API whether it's by making changes to the definition itself or to the code.\nThat way, with time, we can improve the API in general, and expose some of the new features in OAS3.\n\nSome useful links:\n- [The Pet Store repository](https://github.com/swagger-api/swagger-petstore)\n- [The source API definition for the Pet Store](https://github.com/swagger-api/swagger-petstore/blob/master/src/main/resources/openapi.yaml)", | |
"termsOfService": "http://swagger.io/terms/", | |
"contact": { | |
"email": "[email protected]" | |
}, | |
"license": { |
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
{"openapi":"3.0.2","info":{"title":"Swagger Petstore - OpenAPI 3.0","description":"This is a sample Pet Store Server based on the OpenAPI 3.0 specification. You can find out more about\nSwagger at [http://swagger.io](http://swagger.io). In the third iteration of the pet store, we've switched to the design first approach!\nYou can now help us improve the API whether it's by making changes to the definition itself or to the code.\nThat way, with time, we can improve the API in general, and expose some of the new features in OAS3.\n\nSome useful links:\n- [The Pet Store repository](https://github.com/swagger-api/swagger-petstore)\n- [The source API definition for the Pet Store](https://github.com/swagger-api/swagger-petstore/blob/master/src/main/resources/openapi.yaml)","termsOfService":"http://swagger.io/terms/","contact":{"email":"[email protected]"},"license":{"name":"Apache 2.0","url":"http://www.apache.org/licenses/LICENSE-2.0.html"},"version":"1.0.19"},"externalDocs":{"description":"Find out more about S |
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
// Builds according to dockerfile in directory | |
docker build $HOME/Desktop/dockerfile-two | |
// Removes all exited containers | |
docker rm $(docker ps --filter "status=exited" -q) | |
// Tags an image | |
docker tag 8ab71b445b80 juddey/chapel-ci-one:latest | |
// Removes all untagged images | |
docker rmi $(docker images | grep "^<none>" | awk "{print $3}") | |
docker run --name anything -it --privileged juddey/chapel-ci-one bash |
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
View Hierarchy: | |
+>DecorView{id=-1, visibility=VISIBLE, width=1080, height=1920, has-focus=true, has-focusable=true, has-window-focus=true, is-clickable=false, is-enabled=true, is-focused=false, is-focusable=false, is-layout-requested=false, is-selected=false, layout-params=WM.LayoutParams{(0,0)(fillxfill) sim=#10 ty=1 fl=#81810100 wanim=0x103045b vsysui=0x500 needsMenuKey=2}, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0, child-count=3} | |
| | |
+->LinearLayout{id=-1, visibility=VISIBLE, width=1080, height=1794, has-focus=true, has-focusable=true, has-window-focus=true, is-clickable=false, is-enabled=true, is-focused=false, is-focusable=false, is-layout-requested=false, is-selected=false, layout-params=android.widget.FrameLayout$LayoutParams@edc8d45, tag=null, root-is-layout-requested=false, has-input-connection=false, x=0.0, y=0.0, child-count=2} | |
| | |
+-->ViewStub{id=16909225, res-name=action_mode_bar_stub, visibility=GONE, width=0, height=0, has-focus=fal |
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 React from 'react' | |
import { types } from 'mobx-state-tree' | |
const Person = types | |
.model("person", { | |
name: types.optional(types.string, '') | |
}) | |
.actions(self => ({ | |
setName (name) { | |
self.name = name |
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 * as AbsintheSocket from '@absinthe/socket' | |
import { createAbsintheSocketLink } from '@absinthe/socket-apollo-link' | |
import { ApolloLink } from 'apollo-link' | |
import { Socket } from 'phoenix' | |
import { fetchAuth } from '~/services/Keychain' | |
export default class WebSocketLink extends ApolloLink { | |
token = null | |
constructor (url) { |
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 React, { useState } from 'react' | |
import { InputAdornment, Typography } from '@material-ui/core' | |
import Fade from '@material-ui/core/Fade' | |
import CircularProgress from '@material-ui/core/CircularProgress' | |
import { MdCheckCircle } from 'react-icons/md' | |
import { ErrorMessage } from 'formik' | |
import TextField from 'Components/TextField' | |
import { string } from 'yup' | |
import { useAsyncFn } from 'react-use' | |
import { useApolloClient } from '@apollo/react-hooks' |
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
array, binary, boolean, date, decimal, float, integer, map, naive_datetime, references, string, text, time, utc_datetime, uuid | |
https://devdocs.io/phoenix/ecto/ecto.schema |
NewerOlder