renamed to tibi-svelte-starter
This commit is contained in:
@@ -15,7 +15,7 @@ var utils = require("../lib/utils")
|
||||
}
|
||||
}
|
||||
|
||||
/** @type {import('wmbasic-api-types').HookResponse} */
|
||||
/** @type {import('tibi-types').HookResponse} */
|
||||
// @ts-ignore
|
||||
var response = null
|
||||
return response
|
||||
|
||||
@@ -11,7 +11,7 @@ var utils = require("../lib/utils")
|
||||
(context.data.firstname && context.data.lastname && " ") +
|
||||
(context.data.lastname || "")
|
||||
|
||||
context.mail({
|
||||
context.smtp.sendMail({
|
||||
to: config.operatorEmail,
|
||||
from: emailFrom,
|
||||
fromName: emailFromName,
|
||||
@@ -27,7 +27,7 @@ var utils = require("../lib/utils")
|
||||
})
|
||||
}
|
||||
|
||||
/** @type {import('wmbasic-api-types').HookResponse} */
|
||||
/** @type {import('tibi-types').HookResponse} */
|
||||
// @ts-ignore
|
||||
var response = null
|
||||
return response
|
||||
|
||||
@@ -22,7 +22,7 @@ function randomToken() {
|
||||
|
||||
/**
|
||||
*
|
||||
* @param {import('wmbasic-api-types').HookContext} c
|
||||
* @param {import('tibi-types').HookContext} c
|
||||
* @returns {boolean}
|
||||
*/
|
||||
function isPublicToken(c) {
|
||||
@@ -34,7 +34,7 @@ function isPublicToken(c) {
|
||||
|
||||
/**
|
||||
*
|
||||
* @param {import('wmbasic-api-types').HookContext} c
|
||||
* @param {import('tibi-types').HookContext} c
|
||||
* @returns {boolean}
|
||||
*/
|
||||
function isSsrToken(c) {
|
||||
@@ -46,7 +46,7 @@ function isSsrToken(c) {
|
||||
|
||||
/**
|
||||
*
|
||||
* @param {import('wmbasic-api-types').HookContext} c
|
||||
* @param {import('tibi-types').HookContext} c
|
||||
* @param {string} filename
|
||||
* @returns {string}
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user