1import{a as e}from"./TlB3nTm7.js";import{n as t}from"./CtXUZz7X.js";import{D as n}from"./BsOGn2F3.js";import{t as r}from"./CCYRojhJ.js";import{t as i}from"./DO1OS0wm2.js";var a=class extends r{topic;constructor(e){super(),this.topic=e}get parameters(){return{query:`mutations/bbs/createBbsTopic`,data:{bbsCategoryId:this.topic.bbsCategoryId,title:this.topic.title,description:this.topic.description}}}get fatalErrorPaths(){return[`createBbsTopic`,`createBbsTopic.bbsTopic`]}decode(e){return{topic:new n(e.createBbsTopic.bbsTopic)}}},o=t(`topics`,{state:()=>({topics:[],totalCount:0}),getters:{$api(){let{$api:t}=e();return t}},actions:{setTopics(e){this.topics=e.nodes,this.totalCount=e.totalCount},async requestCreateTopic(e){let t=new a(e);return{topic:(await this.$api.request(t)).topic,message:i(t.parameters)}}}});export{o as t};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.