@rizom/brain 0.2.0-alpha.289 → 0.2.0-alpha.290
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/brain.js +38 -38
- package/dist/chunks/{app-dwzb3tnp.js → app-jpp8918r.js} +2 -2
- package/dist/chunks/{blog-post-adapter-d8pqw69s.js → blog-post-adapter-e9qeze9e.js} +2 -2
- package/dist/chunks/{index-676p6zgc.js → index-0ndfnbbq.js} +2 -2
- package/dist/chunks/{index-eshm19g0.js → index-1hbp5mpx.js} +33 -33
- package/dist/chunks/{index-eshm19g0.js.map → index-1hbp5mpx.js.map} +4 -4
- package/dist/chunks/{index-me044pff.js → index-2hgkq47h.js} +3 -3
- package/dist/chunks/{index-582snmtn.js → index-bcgyg336.js} +2 -2
- package/dist/chunks/{index-pzmewstp.js → index-p9wd2y2n.js} +3 -3
- package/dist/chunks/{index-pzmewstp.js.map → index-p9wd2y2n.js.map} +1 -1
- package/dist/chunks/{index-z7me3bpa.js → index-w0sageef.js} +2 -2
- package/dist/chunks/{linkedin-template-y9kkzwcn.js → linkedin-template-fdyh5wzt.js} +2 -2
- package/dist/chunks/{rss-datasource-bcar45fw.js → rss-datasource-gbta7yt5.js} +2 -2
- package/dist/entities.js +1 -1
- package/dist/index.js +1 -1
- package/dist/interfaces.js +1 -1
- package/dist/model.d.ts +10 -0
- package/dist/model.js +39 -39
- package/dist/model.js.map +1 -1
- package/dist/plugins.js +1 -1
- package/dist/services.js +1 -1
- package/package.json +1 -1
- /package/dist/chunks/{app-dwzb3tnp.js.map → app-jpp8918r.js.map} +0 -0
- /package/dist/chunks/{blog-post-adapter-d8pqw69s.js.map → blog-post-adapter-e9qeze9e.js.map} +0 -0
- /package/dist/chunks/{index-676p6zgc.js.map → index-0ndfnbbq.js.map} +0 -0
- /package/dist/chunks/{index-me044pff.js.map → index-2hgkq47h.js.map} +0 -0
- /package/dist/chunks/{index-582snmtn.js.map → index-bcgyg336.js.map} +0 -0
- /package/dist/chunks/{index-z7me3bpa.js.map → index-w0sageef.js.map} +0 -0
- /package/dist/chunks/{linkedin-template-y9kkzwcn.js.map → linkedin-template-fdyh5wzt.js.map} +0 -0
- /package/dist/chunks/{rss-datasource-bcar45fw.js.map → rss-datasource-gbta7yt5.js.map} +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{qa as a,ra as b}from"./index-
|
|
2
|
+
import{qa as a,ra as b}from"./index-2hgkq47h.js";import"./index-fmn5hxdk.js";import"./index-1hbp5mpx.js";import"./index-e9k9xkwe.js";import"./index-msyn1rxk.js";import"./index-6y6w69yf.js";import"./index-mr9h7gd6.js";import"./index-evs9rvr6.js";export{a as STARTUP_CHECK_API_KEY,b as App};
|
|
3
3
|
|
|
4
4
|
//# debugId=F7C0E8A2692C9D3464756E2164756E21
|
|
5
|
-
//# sourceMappingURL=app-
|
|
5
|
+
//# sourceMappingURL=app-jpp8918r.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{D as a,E as b}from"./index-
|
|
2
|
+
import{D as a,E as b}from"./index-0ndfnbbq.js";import"./index-w0sageef.js";import"./index-1hbp5mpx.js";import"./index-e9k9xkwe.js";import"./index-msyn1rxk.js";import"./index-6y6w69yf.js";import"./index-mr9h7gd6.js";import"./index-evs9rvr6.js";export{b as blogPostAdapter,a as BlogPostAdapter};
|
|
3
3
|
|
|
4
4
|
//# debugId=C30C2A033584700D64756E2164756E21
|
|
5
|
-
//# sourceMappingURL=blog-post-adapter-
|
|
5
|
+
//# sourceMappingURL=blog-post-adapter-e9qeze9e.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{H as v,I as G}from"./index-
|
|
2
|
+
import{H as v,I as G}from"./index-w0sageef.js";import{Oa as z,Qc as D}from"./index-1hbp5mpx.js";class H extends D{constructor(){super({entityType:"post",purpose:"A long-form published article, essay, or blog post written for an audience.",schema:G,frontmatterSchema:v,supportsCoverImage:!0})}toMarkdown(j){let q=this.extractBody(j.content);try{let x=this.parseFrontMatter(j.content,v),I={...x,slug:x.slug??j.metadata.slug};return this.buildMarkdown(q,I)}catch{return q}}fromMarkdown(j){let q=this.parseFrontMatter(j,v),x=q.slug??z(q.title);return{content:j,entityType:"post",metadata:{title:q.title,slug:x,status:q.status,publishedAt:q.publishedAt,seriesName:q.seriesName,seriesIndex:q.seriesIndex}}}parsePostFrontmatter(j){return this.parseFrontMatter(j.content,v)}createPostContent(j,q){return this.buildMarkdown(q,j)}buildStub(j){let q={title:j.title,slug:j.id,status:"generating",excerpt:"",author:"AI"};return{content:this.buildMarkdown("",q),metadata:{title:j.title,slug:j.id,status:"generating"}}}}var M=new H;
|
|
3
3
|
export{H as D,M as E};
|
|
4
4
|
|
|
5
5
|
//# debugId=32F177BC7774F70964756E2164756E21
|
|
6
|
-
//# sourceMappingURL=index-
|
|
6
|
+
//# sourceMappingURL=index-0ndfnbbq.js.map
|