feat:client id key ng
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
6bbc4e98a7
commit
9140b71679
|
|
@ -320,7 +320,7 @@ export default function CreateArticleForm() {
|
|||
createdBy: "345",
|
||||
style: "Informational",
|
||||
projectId: 2,
|
||||
clientId: "humasClientIdtest",
|
||||
clientId: "ngDLPPiorplznw2jTqVe3YFCz5xqKfUJ",
|
||||
lang: "id",
|
||||
};
|
||||
const res = await updateManualArticle(request);
|
||||
|
|
@ -341,7 +341,7 @@ export default function CreateArticleForm() {
|
|||
createdBy: "345",
|
||||
style: "Informational",
|
||||
projectId: 2,
|
||||
clientId: "humasClientIdtest",
|
||||
clientId: "ngDLPPiorplznw2jTqVe3YFCz5xqKfUJ",
|
||||
lang: "id",
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ const CustomEditor = dynamic(
|
|||
() => {
|
||||
return import("@/components/editor/custom-editor");
|
||||
},
|
||||
{ ssr: false }
|
||||
{ ssr: false },
|
||||
);
|
||||
|
||||
const writingStyle = [
|
||||
|
|
@ -104,7 +104,7 @@ export default function GenerateContentRewriteForm(props: {
|
|||
contextType: "article",
|
||||
lang: selectedLanguage,
|
||||
createdBy: "123123",
|
||||
clientId: "humasClientIdtest",
|
||||
clientId: "ngDLPPiorplznw2jTqVe3YFCz5xqKfUJ",
|
||||
};
|
||||
const res = await getGenerateRewriter(request);
|
||||
close();
|
||||
|
|
@ -266,8 +266,8 @@ export default function GenerateContentRewriteForm(props: {
|
|||
selectedId == id && isLoading
|
||||
? "warning"
|
||||
: selectedId == id
|
||||
? "success"
|
||||
: "default"
|
||||
? "success"
|
||||
: "default"
|
||||
}
|
||||
>
|
||||
<p className={selectedId == id ? "text-white" : "text-black"}>
|
||||
|
|
|
|||
|
|
@ -103,7 +103,7 @@ export default function GenerateSingleArticleForm(props: {
|
|||
connectToWeb: true,
|
||||
lang: selectedLanguage,
|
||||
pointOfView: "None",
|
||||
clientId: "",
|
||||
clientId: "ngDLPPiorplznw2jTqVe3YFCz5xqKfUJ",
|
||||
};
|
||||
const res = await getGenerateTitle(req);
|
||||
const data = res?.data?.data;
|
||||
|
|
@ -121,7 +121,7 @@ export default function GenerateSingleArticleForm(props: {
|
|||
connectToWeb: true,
|
||||
lang: selectedLanguage,
|
||||
pointOfView: "0",
|
||||
clientId: "",
|
||||
clientId: "ngDLPPiorplznw2jTqVe3YFCz5xqKfUJ",
|
||||
};
|
||||
loading();
|
||||
const res = await getGenerateKeywords(req);
|
||||
|
|
@ -148,7 +148,7 @@ export default function GenerateSingleArticleForm(props: {
|
|||
articleSize: selectedArticleSize,
|
||||
projectId: 2,
|
||||
createdBy: "123123",
|
||||
clientId: "humasClientIdtest",
|
||||
clientId: "ngDLPPiorplznw2jTqVe3YFCz5xqKfUJ",
|
||||
};
|
||||
const res = await generateDataArticle(request);
|
||||
close();
|
||||
|
|
@ -400,8 +400,8 @@ export default function GenerateSingleArticleForm(props: {
|
|||
selectedId == id && isLoading
|
||||
? "warning"
|
||||
: selectedId == id
|
||||
? "success"
|
||||
: "default"
|
||||
? "success"
|
||||
: "default"
|
||||
}
|
||||
>
|
||||
<p className={selectedId == id ? "text-white" : "text-black"}>
|
||||
|
|
|
|||
|
|
@ -72,7 +72,7 @@ const formSchema = z.object({
|
|||
additionalKeyword: z.string().min(1, {
|
||||
message: "Additional Keyword must be at least 2 characters.",
|
||||
}),
|
||||
})
|
||||
}),
|
||||
),
|
||||
});
|
||||
|
||||
|
|
@ -128,7 +128,7 @@ export default function GenerateBulkArticle(props: {
|
|||
projectId: 2,
|
||||
data: listData,
|
||||
createdBy: "123123",
|
||||
clientId: "humasClientIdtest",
|
||||
clientId: "ngDLPPiorplznw2jTqVe3YFCz5xqKfUJ",
|
||||
};
|
||||
|
||||
const res = await saveBulkArticle(request);
|
||||
|
|
@ -152,7 +152,7 @@ export default function GenerateBulkArticle(props: {
|
|||
connectToWeb: true,
|
||||
lang: selectedLanguage,
|
||||
pointOfView: "None",
|
||||
clientId: "",
|
||||
clientId: "ngDLPPiorplznw2jTqVe3YFCz5xqKfUJ",
|
||||
};
|
||||
setValue(`rows.${index}.title`, "process...");
|
||||
|
||||
|
|
@ -164,7 +164,7 @@ export default function GenerateBulkArticle(props: {
|
|||
|
||||
const generateKeywords = async (
|
||||
keyword: string | undefined,
|
||||
index: number
|
||||
index: number,
|
||||
) => {
|
||||
if (keyword) {
|
||||
const req = {
|
||||
|
|
@ -174,7 +174,7 @@ export default function GenerateBulkArticle(props: {
|
|||
connectToWeb: true,
|
||||
lang: selectedLanguage,
|
||||
pointOfView: "0",
|
||||
clientId: "",
|
||||
clientId: "ngDLPPiorplznw2jTqVe3YFCz5xqKfUJ",
|
||||
};
|
||||
setValue(`rows.${index}.additionalKeyword`, "process...");
|
||||
const res = await getGenerateKeywords(req);
|
||||
|
|
@ -394,7 +394,7 @@ export default function GenerateBulkArticle(props: {
|
|||
onClick={() =>
|
||||
generateTitle(
|
||||
getValues(`rows.${index}.mainKeyword`),
|
||||
index
|
||||
index,
|
||||
)
|
||||
}
|
||||
>
|
||||
|
|
@ -432,7 +432,7 @@ export default function GenerateBulkArticle(props: {
|
|||
onClick={() =>
|
||||
generateKeywords(
|
||||
getValues(`rows.${index}.mainKeyword`),
|
||||
index
|
||||
index,
|
||||
)
|
||||
}
|
||||
>
|
||||
|
|
|
|||
|
|
@ -96,7 +96,7 @@ export default function GenerateRewriteArticle(props: {
|
|||
context: contextType == "url" ? null : values.field1,
|
||||
style: selectedWritingSyle,
|
||||
sentiment: "Humorous",
|
||||
clientId: "humasClientIdtest",
|
||||
clientId: "ngDLPPiorplznw2jTqVe3YFCz5xqKfUJ",
|
||||
createdBy: "123123",
|
||||
contextType: contextType,
|
||||
urlContext: contextType === "url" ? values.field1 : null,
|
||||
|
|
|
|||
|
|
@ -106,7 +106,7 @@ export default function GenerateSingleArticle(props: {
|
|||
connectToWeb: true,
|
||||
lang: selectedLanguage,
|
||||
pointOfView: "None",
|
||||
clientId: "",
|
||||
clientId: "ngDLPPiorplznw2jTqVe3YFCz5xqKfUJ",
|
||||
};
|
||||
const res = await getGenerateTitle(req);
|
||||
const data = res?.data?.data;
|
||||
|
|
@ -124,7 +124,7 @@ export default function GenerateSingleArticle(props: {
|
|||
connectToWeb: true,
|
||||
lang: selectedLanguage,
|
||||
pointOfView: "0",
|
||||
clientId: "",
|
||||
clientId: "ngDLPPiorplznw2jTqVe3YFCz5xqKfUJ",
|
||||
};
|
||||
loading();
|
||||
const res = await getGenerateKeywords(req);
|
||||
|
|
@ -151,7 +151,7 @@ export default function GenerateSingleArticle(props: {
|
|||
articleSize: selectedArticleSize,
|
||||
projectId: 2,
|
||||
createdBy: "123123",
|
||||
clientId: "humasClientIdtest",
|
||||
clientId: "ngDLPPiorplznw2jTqVe3YFCz5xqKfUJ",
|
||||
};
|
||||
console.log("reqq", request);
|
||||
const res = await generateDataArticle(request);
|
||||
|
|
|
|||
|
|
@ -228,7 +228,7 @@ export default function FormArticle() {
|
|||
createdBy: "123432",
|
||||
style: "Informational",
|
||||
projectId: 2,
|
||||
clientId: "humasClientIdtest",
|
||||
clientId: "ngDLPPiorplznw2jTqVe3YFCz5xqKfUJ",
|
||||
lang: "id",
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ export default function TranscriptDraftTable(props: {
|
|||
const res = await getListTranscript({
|
||||
query: search || "",
|
||||
page: page,
|
||||
clientId: "humasClientIdTest",
|
||||
clientId: "ngDLPPiorplznw2jTqVe3YFCz5xqKfUJ",
|
||||
limit: 10,
|
||||
createdBy: null,
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue