{"id":85905,"date":"2020-05-14T20:34:09","date_gmt":"2020-05-14T12:34:09","guid":{"rendered":"http:\/\/4563.org\/?p=85905"},"modified":"2020-05-14T20:34:09","modified_gmt":"2020-05-14T12:34:09","slug":"reactjs-typescript-%e4%b8%ad%e5%ae%9a%e4%b9%89-action-type-%e6%97%b6%ef%bc%8c%e7%bb%8f%e5%b8%b8%e7%9c%8b%e5%88%b0%e4%b8%80%e7%a7%8d%e4%bd%bf%e7%94%a8%e6%96%b9%e6%b3%95%ef%bc%8c-type-const","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=85905","title":{"rendered":"reactjs, typescript \u4e2d\u5b9a\u4e49 action type \u65f6\uff0c\u7ecf\u5e38\u770b\u5230\u4e00\u79cd\u4f7f\u7528\u65b9\u6cd5\uff0c type &amp; const \u7528\u540c\u4e00\u4e2a\u540d\u5b57\uff0c\u4e0d\u77e5\u5176\u6df1\u610f\uff1f"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  reactjs, typescript \u4e2d\u5b9a\u4e49 action type \u65f6\uff0c\u7ecf\u5e38\u770b\u5230\u4e00\u79cd\u4f7f\u7528\u65b9\u6cd5\uff0c type &amp; const \u7528\u540c\u4e00\u4e2a\u540d\u5b57\uff0c\u4e0d\u77e5\u5176\u6df1\u610f\uff1f               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : yazoox <\/span>  <span><i><\/i> 4<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<pre><code>export type INSTALL_PLUGIN_DIALOG = \"Feature.INSTALL_PLUGIN_DIALOG\"; export const INSTALL_PLUGIN_DIALOG: INSTALL_PLUGIN_DIALOG = \"Feature.INSTALL_PLUGIN_DIALOG\"; <\/code><\/pre>\n<p>\u5982\u4e0a\u6240\u793a\u3002\u5148\u5b9a\u4e49\u4e86\u4e00\u4e2a type INSTALL_PLUGIN_DIALOG\uff0c\u5176\u503c\u53ef\u80fd\u662f\u5c31\u662f\u5b83\u81ea\u5df1\u201cINSTALL_PLUGIN_DIALOG\u201d\uff0c \u6216\u8005\u4e00\u79cd\u53d8\u5f62\u201cFeature.INSTALL_PLUGIN_DIALOG&#8221;\u3002<\/p>\n<p>\u7136\u540e\uff0c\u53c8\u5b9a\u4e49\u4e86\u4e00\u4e2a const\uff0c\u540d\u5b57\u548c\u7c7b\u578b\u4e00\u6a21\u4e00\u6837\uff0c\u7136\u540e\u8fd9\u4e2a const \u7684\u503c\u548c\u4e0a\u9762\u7c7b\u578b\u5b9a\u4e49\u7684\u90a3\u4e2a\u503c\u4e5f\u662f\u4e00\u6a21\u4e00\u6837\u3002<\/p>\n<p>\u5173\u952e\u662f\u8fd9\u4e2a type \u548c const \u8fd8\u90fd export \u4e86\u3002\u90a3\u4e48, \u5728\u5176\u5b83\u6587\u4ef6\u91cc\u9762 import {INSTALL_PLUGIN_DIALOG} from &#8220;&lt;file_name&gt;&#8221;\uff0c\u5230\u5e95\u5f15\u5165\u7684\u662f type \u8fd8\u662f const \u5462\uff1f<\/p>\n<p>\u8fd9&#8230;&#8230; \u8fd9\u4e48\u6298\u817e\uff0c\u76ee\u7684\u662f\u4f55\uff1f\u6216\u8005\u6362\u4e2a\u8bf4\u6cd5\uff0c\u4f18\u70b9\u662f\u4ec0\u4e48\uff1f<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>18<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"1501704\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Jeremial <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6211\u7406\u89e3\u662f\u7528\u7684\u65f6\u5019, \u5982\u679c\u5728\u5192\u53f7\u540e\u9762\u662f\u5f53\u505a\u7c7b\u578b\u6765\u7528, \u5176\u4ed6\u60c5\u51b5\u5f53\u505a\u503c\u6765\u7528.                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1501705\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Hypn0s <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u7c7b\u578b\u662f\u53ef\u4f20\u9012\u7684\uff0c\u4e0d\u7136\u7ecf\u8fc7\u51fd\u6570\u5012\u4e00\u624b\u5c31\u662f\u666e\u901a\u7684 string \u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1501706\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : wszgrcy <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             jquery \u51fd\u6570\u548c jquery \u5bf9\u8c61\uff0c\u5e94\u8be5\u597d\u7406\u89e3\u5427\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1501707\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : mxT52CRuqR6o5 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e3a\u4e86\u663e\u5f0f\u544a\u8bc9 typescript \u7c7b\u578b\u7cfb\u7edf\u8fd9\u4e2a\u53d8\u91cf\u662f\u4e2a\u5185\u5bb9\u7279\u5b9a\u7684\u5b57\u7b26\u4e32\uff0c\u800c\u4e0d\u662f\u5355\u7eaf\u7684 string \u3002<br \/>\u6709\u5176\u4ed6\u5199\u6cd5\u53ef\u4ee5\u66f4\u7b80\u5355\u7684\u8fbe\u5230\u76ee\u7684                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1501708\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : namelosw <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e00\u4e2a\u662f\u7c7b\u578b(type)\uff0c\u4e00\u4e2a\u662f\u503c(term)\u3002\u6709\u7684\u5730\u65b9\u6bd4\u5982\u6cdb\u578b\u6216\u8005\u7b7e\u540d\u9700\u8981 type \u7684\u65f6\u5019\u5c31\u4f20 type\uff0c\u9700\u8981\u503c\u7684\u65f6\u5019\u4f20\u7684\u662f const \u3002TypeScript \u81ea\u5df1\u80fd\u6309\u4e0a\u4e0b\u6587\u7406\u89e3\uff0c\u6240\u4ee5\u540c\u540d\u7684\u65f6\u5019\u5b83\u81ea\u5df1\u5c31\u8003\u773c\u529b\u89c1\u5224\u65ad\u4e86\u3002<\/p>\n<p>\u6bd4\u5982 type Action = INSTALL_PLUGIN_DIALOG | OTHER_ACTION\uff0c\u8fd9\u65f6\u5019\u7528\u7684\u5c31\u662f type \u3002<br \/>\u6bd4\u5982 if (action.type === INSTALL_PLUGIN_DIALOG)\uff0c\u8fd9\u65f6\u5019\u7528\u7684\u5c31\u662f term \u3002<br \/>\u5c11\u4e86\u4e00\u4e2a\u8fd9\u4e24\u4e2a\u5c31\u4f1a\u7ea2\u4e00\u534a\u3002<\/p>\n<p>\u7406\u8bba\u4e0a\u672c\u6765\u5176\u5b9e\u5199\u4e00\u4e2a const INSTALL_PLUGIN_DIALOG \u5c31\u884c\uff0c\u4f46\u662f TypeScript \u4e3a\u4e86\u8ba9\u5927\u90e8\u5206\u4eba\u4e0d\u4f1a\u89c9\u5f97\u7279\u522b\u5947\u602a\uff0c\u6240\u4ee5\u628a\u8fd9\u4e2a\u7c7b\u578b\u63a8\u65ad\u6cdb\u5316\u4e86\uff0c\u5bfc\u81f4\u8fd9\u4e2a case \u5199\u8d77\u6765\u53cd\u800c\u9ebb\u70e6\u3002<br \/>\u4f60\u53ef\u4ee5\u60f3\u8c61\u5e73\u884c\u5b87\u5b99\u6709\u4e2a\u53e6\u5916\u7684 TypeScript \u7248\u672c\u53ef\u4ee5\u8fd9\u6837\u5199\uff1a<br \/>const INSTALL_PLUGIN_DIALOG = &#8220;Feature.INSTALL_PLUGIN_DIALOG&#8221;<br \/>type Action = typeof INSTALL_PLUGIN_DIALOG | typeof OTHER_ACTION<\/p>\n<p>\u4f46\u662f\u5b9e\u9645\u4e0a\u8fd9\u6837\u5199\u4e0d\u884c\uff0c\u56e0\u4e3a typeof INSTALL_PLUGIN_DIALOG \u8fd4\u56de\u7684\u7c7b\u578b\u662f string \u800c\u4e0d\u662f&#8221;Feature.INSTALL_PLUGIN_DIALOG&#8221;<\/p>\n<p>\u4ece\u5177\u4f53\u5230\u5bbd\u6cdb\u7684\u89d2\u5ea6\u6765\u770b\uff0c&#8221;Feature.INSTALL_PLUGIN_DIALOG&#8221;\u662f\u4e00\u4e2a string\uff0c\u800c string \u662f\u4e00\u4e2a Object \u3002\u7528\u6781\u7aef\u7684\u89d2\u5ea6\u770b\uff0c\u4e0d\u7136 typeof INSTALL_PLUGIN_DIALOG \u5e94\u8be5\u662f&#8221;Feature.INSTALL_PLUGIN_DIALOG&#8221;\uff0c\u4e0d\u7136\u5e94\u8be5\u662f Object \u3002\u4f46\u662f\u5b9e\u8df5\u4e0a\u8fd8\u662f\u63a8\u65ad\u6210 string \u6bd4\u8f83\u597d\u7528\uff0c\u7279\u522b\u662f\u4f5c\u4e3a\u51fd\u6570\u8fd4\u56de\u503c\u7684\u8bdd\uff0c\u5982\u679c\u50cf\u4e0a\u9762\u5047\u8bbe\u7684\u63a8\u65ad\u6210\u5177\u4f53\u5b57\u7b26\u4e32\uff0c\u90a3\u51e0\u4e4e\u6bcf\u4e2a\u8fd4\u56de\u5b57\u7b26\u4e32\u5b57\u9762\u91cf\u7684\u51fd\u6570\u90fd\u8981\u624b\u5199\u7b7e\u540d\u624d\u884c\u3002<\/p>\n<p>\u6240\u4ee5\u56e0\u4e3a\u6211\u4eec\u6ca1\u6709\u7528\u5e73\u884c\u5b87\u5b99\u7684\u7248\u672c\uff0c\u5c31\u53ea\u80fd\u5199\u4e24\u904d\u4e86\u3002                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1501709\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : vanishcode <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             !()[https:\/\/p4.ssl.qhimg.com\/t01fde1cdffa3a6c5f3.png]<\/p>\n<p>\u7f16\u8bd1\u540e<\/p>\n<p>!()[https:\/\/p0.ssl.qhimg.com\/t01880cdfcbf79d037f.png]<\/p>\n<p>\u8fd9\u4e2a\u4f8b\u5b50\u53ef\u80fd\u4e0d\u662f\u5f88\u4e25\u8c28                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1501710\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : momocraft <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u53ef\u80fd\u6ca1\u7279\u522b\u76ee\u7684, \u53ea\u662f\u914d\u5408\u8bbe\u8ba1<\/p>\n<p>TS \u8bbe\u8ba1 value \u548c type \u662f\u4e0d\u540c namespace. <\/p>\n<p>\u53e6\u4e00\u4e2a\u4f8b\u5b50: export class A \u7684\u65f6\u5019\u5176\u5b9e\u4e5f\u540c\u65f6 export \u4e86 value (constructor) \u548c type (instance)                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1501711\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : SilentDepth <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             TypeScript \u6709\u4e24\u4e2a\u6807\u8bc6\u7b26\u7a7a\u95f4\uff0c\u4e00\u4e2a\u662f\u666e\u901a ES \u7684\uff0c\u4e00\u4e2a\u662f TS \u7c7b\u578b\u7684\u3002\u4e24\u4e2a\u7a7a\u95f4\uff08\u901a\u5e38\uff09\u4e92\u4e0d\u5f71\u54cd\uff0c\u4e5f\u65e0\u6cd5\u76f4\u63a5\u4ea4\u4e92\u3002\u4e8e\u662f\u5f53\u4f60\u60f3\u628a &#8220;Feature.INSTALL_PLUGIN_DIALOG&#8221; \u8fd9\u4e2a\u5b57\u7b26\u4e32\u503c\u5355\u72ec\u4f5c\u4e3a\u7c7b\u578b\uff08\u800c\u4e0d\u662f\u89c6\u4e3a\u666e\u901a\u7684\u5b57\u7b26\u4e32\uff09\u65f6\u5c31\u9700\u8981\u90a3\u4e48\u5199\u4e86\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1501712\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : bnm965321 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e0a\u6709\u51e0\u4f4d\u6ca1\u6709\u770b\u61c2\uff0c\u4e3b\u8bf4\u7684\u662f \u7c7b\u578b\u540d \/\u53d8\u91cf\u540d \u662f\u4e00\u6837\u7684\u3002<\/p>\n<p> \u8fd9\u79cd\u7528\u6cd5\u771f\u7684\u89c1\u8fc7\u6bd4\u8f83\u5c11\uff0c\u5f88\u591a\u4ee3\u7801\u7684 type \u662f\u7528\u5308\u7259\u5229\u547d\u540d\u6cd5                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1501713\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : yazoox <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @bnm965321 \u5144\u5f1f\uff0c\u80fd\u591a\u5206\u4eab\u4e00\u4e9b\u4e48\uff1f<br \/>\u53ef\u80fd\u6211\u4eec\u8fd9\u8fb9\u7684\u5df2\u6709\u9879\u76ee\uff0c\u5c31\u662f\u8fd9\u4e48\u547d\u540d\u7684\u3002\u4e0d\u77e5\u9053\u4f60\u4eec\u6709\u6ca1\u6709\u5176\u5b83\u7684\u547d\u540d\u65b9\u6cd5\uff0c\u6216\u8bb8\u66f4\u5bb9\u6613\u9605\u8bfb\u548c\u7406\u89e3\u4e00\u4e9b\u3002<\/p>\n<p>thx.                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1501714\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : yazoox <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @mxT52CRuqR6o5 \u5144\u5f1f\uff0c\u80fd\u591a\u5206\u4eab\u4e00\u70b9\uff0c\u4f60\u63d0\u5230\u7684\u201c\u6709\u5176\u4ed6\u5199\u6cd5\u53ef\u4ee5\u66f4\u7b80\u5355\u7684\u8fbe\u5230\u76ee\u7684\u201d\u4e48\uff1f<br \/>thx                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1501715\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : bnm965321 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @yazoox \u53ef\u4ee5\u53c2\u8003\u5fae\u8f6f FluentUI \u7684\u4ee3\u7801\uff0c\u4ed6\u4eec\u662f\u7528\u5308\u7259\u5229\u547d\u540d\u6cd5\uff0c\u7b2c\u4e00\u4e2a\u5927\u5199\u7684\u5b57\u6bcd\u4ee3\u8868\u7c7b\u578b\u7684\u79cd\u7c7b\u3002\u4e00\u822c action type \u5c31\u662f AActionName<\/p>\n<p>https:\/\/developer.microsoft.com\/en-us\/fluentui#\/controls\/web\/button                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1501716\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : mxT52CRuqR6o5 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             &#8220;`<br \/>export const INSTALL_PLUGIN_DIALOG = &#8220;Feature.INSTALL_PLUGIN_DIALOG&#8221; as const;<br \/>&#8220;`                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1501717\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : mxT52CRuqR6o5 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @yazoox <br \/>export const INSTALL_PLUGIN_DIALOG = &#8220;Feature.INSTALL_PLUGIN_DIALOG&#8221; as const;<br \/>export type INSTALL_PLUGIN_DIALOG = typeof INSTALL_PLUGIN_DIALOG;<\/p>\n<p>\u524d\u9762\u90a3\u4e2a\u56de\u590d\u5c11\u4e86\u4e00\u53e5\uff0c\u5c11\u4e0b\u9762\u90a3\u53e5\u5bf9\u5916\u4f7f\u7528\u8bed\u4e49\u6709\u4e9b\u533a\u522b                                                            <\/p><\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1501718\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Austaras <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8fd9\u4e2a\u662f\u53e4\u4ee3\u7684\u505a\u6cd5, \u5f53\u4ee3\u76f4\u63a5 as const \u5c31 i \u5b8c\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1501719\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : azh7138m <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u4e0a\u5206\u6790\u7684\u633a\u597d\u3002\u3002\u3002<br \/>\u53ef\u662f as const \u51fa\u6765\u5927\u534a\u5e74\u4e86\u3002\u3002\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1501720\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : Exin <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u8fd9\u505a\u6cd5\u4e00\u70b9\u4e5f\u4e0d\u5c11\u89c1\uff0c\u5982\u679c OOP \u7684\u8bdd\uff0c\u6bcf\u4e2a class \u90fd\u65e2\u662f type \u4e5f\u662f term \u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"1501721\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : weixiangzhe <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             typescript \u91cc\u6709 const xxx = xxx as const \u52a0\u4e00                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>reactjs, typescri&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/85905"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=85905"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/85905\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=85905"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=85905"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=85905"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}