234 attempt to fix js error Uncaught SyntaxError: Unexpected identifier 'hidden'

This commit is contained in:
2026-04-27 17:57:24 +03:00
parent 8a32a0d5f0
commit 74c073bd7e
149 changed files with 14361 additions and 8886 deletions
@@ -0,0 +1,17 @@
component extends="taffy.core.resource" taffy:uri="/echo/{id}" output="false" {
function get(required string id) output="false" {
return rep({ method: "GET", id: arguments.id });
}
function put(required string id, string name = "") output="false" {
return rep({ method: "PUT", id: arguments.id, name: arguments.name });
}
function delete(required string id) output="false" {
return rep({ method: "DELETE", id: arguments.id })
.withStatus(200)
.withHeaders({ "X-Deleted-Id": arguments.id });
}
}
@@ -0,0 +1,7 @@
component extends="taffy.core.resource" taffy:uri="/echo/{parentId}/child/{childId}" output="false" {
function get(required string parentId, required string childId) output="false" {
return rep({ method: "GET", parentId: arguments.parentId, childId: arguments.childId });
}
}
@@ -0,0 +1,12 @@
component extends="taffy.core.resource" taffy:uri="/echo" output="false" {
function get() output="false" {
return rep({ method: "GET", message: "echo" });
}
function post(string name = "" taffy_minlength="1" taffy_maxlength="255", string value = "" taffy_maxlength="500") output="false" {
return rep({ method: "POST", name: arguments.name, value: arguments.value })
.withStatus(201);
}
}