Files
dealplustech/node_modules/ajv/lib/compile/names.ts
Kunthawat 5171a789e9 fix: Final restoration with port 80
 COMPLETED:
1. Dockerfile uses port 80 (astro preview)
2. BaseLayout imports globals.css
3. globals.css with Tailwind v4 @theme syntax
4. index.astro has Header, Footer, FixedContact
5. All image references fixed to existing files
6. Hero uses hdpe_pipe_main.jpg
7. Product cards use hdpe001.jpg
8. pt-20 on main for fixed header

 TESTED LOCALLY:
- Build: 15 pages in 1.27s
- Docker build successful
- Port 80 working
- Images load
- CSS works

Ready for Easypanel deployment.
2026-03-12 08:58:56 +07:00

28 lines
1.1 KiB
TypeScript

import {Name} from "./codegen"
const names = {
// validation function arguments
data: new Name("data"), // data passed to validation function
// args passed from referencing schema
valCxt: new Name("valCxt"), // validation/data context - should not be used directly, it is destructured to the names below
instancePath: new Name("instancePath"),
parentData: new Name("parentData"),
parentDataProperty: new Name("parentDataProperty"),
rootData: new Name("rootData"), // root data - same as the data passed to the first/top validation function
dynamicAnchors: new Name("dynamicAnchors"), // used to support recursiveRef and dynamicRef
// function scoped variables
vErrors: new Name("vErrors"), // null or array of validation errors
errors: new Name("errors"), // counter of validation errors
this: new Name("this"),
// "globals"
self: new Name("self"),
scope: new Name("scope"),
// JTD serialize/parse name for JSON string and position
json: new Name("json"),
jsonPos: new Name("jsonPos"),
jsonLen: new Name("jsonLen"),
jsonPart: new Name("jsonPart"),
}
export default names