mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-24 12:43:05 +00:00
42 lines
594 B
JavaScript
42 lines
594 B
JavaScript
/**
|
|
* Copyright (c) 2013-present, Facebook, Inc.
|
|
*
|
|
* @emails react-core
|
|
* @flow
|
|
*/
|
|
|
|
export type Author = {
|
|
name: string,
|
|
url: string,
|
|
};
|
|
|
|
export type Node = {
|
|
excerpt: string,
|
|
fields: {
|
|
date?: string,
|
|
path: string,
|
|
redirect: string,
|
|
slug: string,
|
|
},
|
|
frontmatter: {
|
|
author?: Array<Author>,
|
|
next?: string,
|
|
prev?: string,
|
|
title: string,
|
|
},
|
|
html: string,
|
|
id: string,
|
|
};
|
|
|
|
export type Edge = {
|
|
node: Node,
|
|
};
|
|
|
|
export type allMarkdownRemarkData = {
|
|
allMarkdownRemark: {
|
|
edges: Array<Edge>,
|
|
},
|
|
};
|
|
|
|
export type markdownRemarkData = Node;
|