pasika 0.10.79 → 0.10.80
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.
|
@@ -283,7 +283,7 @@ import path3 from "path";
|
|
|
283
283
|
import ts from "typescript";
|
|
284
284
|
var isPascalCase = (name) => /^[A-Z][A-Za-z0-9]*$/.test(name);
|
|
285
285
|
var isHookName = (name) => /^use[A-Z]/.test(name);
|
|
286
|
-
var isSchemaName = (name) => /
|
|
286
|
+
var isSchemaName = (name) => /[Ss]chema$/.test(name);
|
|
287
287
|
function lineOf(sourceFile, node) {
|
|
288
288
|
return sourceFile.getLineAndCharacterOfPosition(node.getStart(sourceFile)).line + 1;
|
|
289
289
|
}
|