URL: /companies
{
"data": [
{
"id": "ABCDE",
"type": "company",
"attributes": {
"name": "ABCDE Inc"
},
jobs: | |
job_name: | |
name: Job Name | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Publish Gateway Releases | |
uses: thefrontside/actions/publish-gateways@master | |
with: | |
npm_publish: npm run my-script |
URL: /companies
{
"data": [
{
"id": "ABCDE",
"type": "company",
"attributes": {
"name": "ABCDE Inc"
},
import { execute, call } from 'effection'; | |
// One of the things that struck me was that when I was doing the | |
// implementation for the `enqueue` function in the task constraining | |
// functions | |
// (https://gist.github.com/cowboyd/19122da0c59c674cdea86cf6d70e9c75), | |
// was the eventual form it took. | |
// | |
// Like the other task constructors, it returned a function. Let's |
import { ReactDOM } from 'react-dom'; | |
import { useTask, useRender } from 'concurrent-react'; | |
const { TaskContext, perform } = useTask(function *(rootElement) { | |
const render = useRender(ReactDOM); | |
while (true) { | |
yield render(<MyApp />, rootElement); | |
} | |
}); |
(CycleText "FlutterScript" "is" "Cool" | |
textStyle: (TextStyle | |
fontSize: 40.0 | |
color: (color “red”) | |
)) |
version: 2.1 | |
executors: | |
ios: | |
macos: | |
xcode: "10.1.0" | |
environment: | |
NS_SKIP_ENV_CHECK: "true" | |
android: |
type ID = string | number; | |
interface Field { | |
name: string; | |
id: ID; | |
required?: boolean; | |
} | |
interface TextField extends Field { | |
type: "Text"; |
describe("composed microstates", () => { | |
let person: Person; | |
class Person { | |
name: StringType = child(StringType); | |
} | |
beforeEach(() => { | |
person = create(Person); | |
}); | |
it('has person be of Person type', () => { | |
expectType<Person>(person); |
import { Observable } from "rxjs"; | |
import { valueOf } from 'microstates' | |
import { diff } from 'deep-object-diff' | |
export const logDiff = (name: string) => <T>(source: Observable<T>) => | |
new Observable<T>(observer => { | |
let last: any; | |
return source.subscribe({ | |
next(x) { | |
console.log(name, diff(valueOf(last), valueOf(x))); |
export const zoneOperator = (zone: NgZone) => <T>(source: Observable<T>) => | |
new Observable<T>(observer => | |
source.subscribe({ | |
next(x) { | |
zone.run(() => observer.next(x)); | |
}, | |
error(err) { | |
observer.error(err); | |
}, | |
complete() { |