(Feat): Initial Commit
Some checks failed
Build & Test / build-test (push) Has been cancelled
Build & Test / swagger-codegen-cli (push) Has been cancelled
CodeQL / Analyze (go) (push) Has been cancelled

This commit is contained in:
2026-07-03 19:41:31 +05:30
commit 7e940c83a7
461 changed files with 45002 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
[
{
"relation": [
"delegate_permission/common.handle_all_urls"
],
"target": {
"namespace": "android_app",
"package_name": "test.at.aaa.b2b",
"sha256_cert_fingerprints": [
"BB:A6:3E:A7:91:F4:05:2C:6D:47:8B:1A:3F:C5:9E:0D:7B:2F:1A:E8:D5:6C:10:52:8B:F4:B7:A9:1D:C3:57:43"
]
}
}
]

View File

@@ -0,0 +1,18 @@
{
"applinks": {
"apps": [],
"details": [
{
"appID": "test.at.aaa.b2b",
"paths": [
"/api/v*/auth/register"
]
}
]
},
"webcredentials": {
"apps": [
"test.at.aaa.b2b"
]
}
}

View File

@@ -0,0 +1,30 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Account confirmation</title>
</head>
<body>
<div id="status">Processing request...</div>
<script>
function processConfirmation() {
let xhr = new XMLHttpRequest();
xhr.open('POST', "http://localhost:8080/api/v1/auth/register/c9182e0b-4a46-4825-9f10-56f04a8b1665", true);
xhr.onload = function () {
if (xhr.status >= 200 && xhr.status < 300) {
document.getElementById('status').textContent = 'Successfully confirmed account.';
} else {
document.getElementById('status').textContent = 'Failed to confirm, please try registering again.';
}
};
xhr.onerror = function () {
document.getElementById('status').textContent = 'Failed to confirm, please try registering again.';
};
xhr.send(JSON.stringify({}));
}
window.onload = processConfirmation;
</script>
</body>
</html>

View File

@@ -0,0 +1,8 @@
(types.GetUserInfoResponse) {
Email: (strfmt.Email) (len=17) user1@example.com,
Scopes: ([]string) (len=1) {
(string) (len=3) "app"
},
Sub: (*string)((len=36) "f6ede5d8-e22a-4ca5-aa12-67821865a3e5"),
UpdatedAt: <redacted>,
}

View File

@@ -0,0 +1,2 @@
(string) (len=12) "%Max.Muster%"
(string) (len=3) "Max"

View File

@@ -0,0 +1 @@
(string) (len=171) "SELECT * FROM \"users\" INNER JOIN app_user_profiles ON app_user_profiles.user_id=users.id WHERE (users.username ILIKE $1) AND (users.app_user_profiles.first_name ILIKE $2);"

View File

@@ -0,0 +1,2 @@
(string) (len=10) "%mus\\%ter%"
(string) (len=7) "%m\\_ax%"

View File

@@ -0,0 +1 @@
(string) (len=149) "SELECT * FROM \"users\" INNER JOIN app_user_profiles ON app_user_profiles.user_id=users.id WHERE (users.username ILIKE $1 AND users.username ILIKE $2);"

View File

View File

@@ -0,0 +1 @@
(string) (len=88) "SELECT * FROM \"users\" LEFT JOIN app_user_profiles ON app_user_profiles.user_id=users.id;"

View File

@@ -0,0 +1 @@
(string) (len=3) "Max"

View File

@@ -0,0 +1 @@
(string) (len=124) "SELECT * FROM \"users\" LEFT JOIN app_user_profiles ON app_user_profiles.user_id=users.id AND app_user_profiles.first_name=$1;"

View File

@@ -0,0 +1 @@
{"status":500,"title":"Internal Server Error","type":"generic"}

View File

@@ -0,0 +1,5 @@
(pq.StringArray) (len=3) {
(string) (len=3) "max",
(string) (len=6) "muster",
(string) (len=5) "peter"
}

View File

@@ -0,0 +1 @@
(string) (len=135) "SELECT * FROM \"users\" INNER JOIN app_user_profiles ON app_user_profiles.user_id=users.id WHERE (app_user_profiles.username <> all($1));"

View File

@@ -0,0 +1 @@
(string) (len=52) "{\"status\":404,\"title\":\"Not Found\",\"type\":\"generic\"}\n"

View File

@@ -0,0 +1 @@
(string) (len=181) "<html><body><h1>Page Not Found</h1><p>The page you are looking for does not exist. Did you mean to visit <a href=\"http://localhost:3000\">http://localhost:3000</a>?</p></body></html>"

View File

@@ -0,0 +1,10 @@
(int) 123
(string) (len=22) "max.muster@example.org"
(string) (len=3) "Max"
(string) (len=6) "Muster"
(string) (len=7) "Austria"
(*pq.StringArray)((len=2) {
(string) (len=3) "app",
(string) (len=9) "user_info"
})
(int) 42

View File

@@ -0,0 +1 @@
(string) (len=247) "SELECT * FROM \"users\" WHERE (id = $1 OR username = $2 OR (users.profile->>'firstName' = $3 AND users.profile->>'lastName' = $4 AND users.profile->>'country' = $5 AND users.profile->'scopes' <@ to_jsonb($6::text[]) AND users.profile->>'age' = $7));"

View File

@@ -0,0 +1,89 @@
(*scaffold.StorageResource)({
Name: (string) (len=12) "TestResource",
Fields: ([]scaffold.Field) (len=14) {
(scaffold.Field) {
Name: (string) (len=2) "ID",
Type: (scaffold.FieldType) {
Name: (string) (len=6) "string"
}
},
(scaffold.Field) {
Name: (string) (len=12) "NumericField",
Type: (scaffold.FieldType) {
Name: (string) (len=13) "types.Decimal"
}
},
(scaffold.Field) {
Name: (string) (len=16) "NumericNullField",
Type: (scaffold.FieldType) {
Name: (string) (len=17) "types.NullDecimal"
}
},
(scaffold.Field) {
Name: (string) (len=12) "IntegerField",
Type: (scaffold.FieldType) {
Name: (string) (len=3) "int"
}
},
(scaffold.Field) {
Name: (string) (len=16) "IntegerNullField",
Type: (scaffold.FieldType) {
Name: (string) (len=8) "null.Int"
}
},
(scaffold.Field) {
Name: (string) (len=9) "BoolField",
Type: (scaffold.FieldType) {
Name: (string) (len=4) "bool"
}
},
(scaffold.Field) {
Name: (string) (len=13) "BoolNullField",
Type: (scaffold.FieldType) {
Name: (string) (len=9) "null.Bool"
}
},
(scaffold.Field) {
Name: (string) (len=12) "DecimalField",
Type: (scaffold.FieldType) {
Name: (string) (len=13) "types.Decimal"
}
},
(scaffold.Field) {
Name: (string) (len=16) "DecimalNullField",
Type: (scaffold.FieldType) {
Name: (string) (len=17) "types.NullDecimal"
}
},
(scaffold.Field) {
Name: (string) (len=9) "TextField",
Type: (scaffold.FieldType) {
Name: (string) (len=6) "string"
}
},
(scaffold.Field) {
Name: (string) (len=13) "TextNullField",
Type: (scaffold.FieldType) {
Name: (string) (len=11) "null.String"
}
},
(scaffold.Field) {
Name: (string) (len=21) "TimtestamptzNullField",
Type: (scaffold.FieldType) {
Name: (string) (len=9) "null.Time"
}
},
(scaffold.Field) {
Name: (string) (len=9) "CreatedAt",
Type: (scaffold.FieldType) {
Name: (string) (len=9) "time.Time"
}
},
(scaffold.Field) {
Name: (string) (len=9) "UpdatedAt",
Type: (scaffold.FieldType) {
Name: (string) (len=9) "time.Time"
}
}
}
})

View File

@@ -0,0 +1 @@
(httperrors.HTTPValidationError) HTTPValidationError 400 (generic): Bad Request - Validation: currentPassword (in body): currentPassword in body should be at least 1 chars long

View File

@@ -0,0 +1 @@
(httperrors.HTTPValidationError) HTTPValidationError 400 (generic): Bad Request - Validation: newPassword (in body): newPassword in body should be at least 1 chars long

View File

@@ -0,0 +1 @@
(httperrors.HTTPValidationError) HTTPValidationError 400 (generic): Bad Request - Validation: currentPassword (in body): currentPassword in body is required

View File

@@ -0,0 +1 @@
(httperrors.HTTPValidationError) HTTPValidationError 400 (generic): Bad Request - Validation: newPassword (in body): newPassword in body is required

View File

@@ -0,0 +1 @@
(httperrors.HTTPValidationError) HTTPValidationError 400 (generic): Bad Request - Validation: username (in body): username in body should be at least 1 chars long

View File

@@ -0,0 +1 @@
(httperrors.HTTPValidationError) HTTPValidationError 400 (generic): Bad Request - Validation: username (in body): username in body must be of type email: "definitely not an email"

View File

@@ -0,0 +1 @@
(httperrors.HTTPValidationError) HTTPValidationError 400 (generic): Bad Request - Validation: username (in body): username in body is required

View File

@@ -0,0 +1 @@
(httperrors.HTTPValidationError) HTTPValidationError 400 (generic): Bad Request - Validation: password (in body): password in body should be at least 1 chars long

View File

@@ -0,0 +1 @@
(httperrors.HTTPValidationError) HTTPValidationError 400 (generic): Bad Request - Validation: token (in body): token in body must be of type uuid4: ""

View File

@@ -0,0 +1 @@
(httperrors.HTTPValidationError) HTTPValidationError 400 (generic): Bad Request - Validation: token (in body): token in body must be of type uuid4: "definitelydoesnotexist"

View File

@@ -0,0 +1 @@
(httperrors.HTTPValidationError) HTTPValidationError 400 (generic): Bad Request - Validation: password (in body): password in body is required

View File

@@ -0,0 +1 @@
(httperrors.HTTPValidationError) HTTPValidationError 400 (generic): Bad Request - Validation: token (in body): token in body is required

View File

@@ -0,0 +1,6 @@
(types.PostLoginResponse) {
AccessToken: <redacted>,
ExpiresIn: (*int64)(86400),
RefreshToken: <redacted>,
TokenType: (*string)((len=6) "bearer")
}

View File

@@ -0,0 +1 @@
(httperrors.HTTPValidationError) HTTPValidationError 400 (generic): Bad Request - Validation: password (in body): password in body should be at least 1 chars long

View File

@@ -0,0 +1 @@
(httperrors.HTTPValidationError) HTTPValidationError 400 (generic): Bad Request - Validation: username (in body): username in body should be at least 1 chars long

View File

@@ -0,0 +1 @@
(httperrors.HTTPValidationError) HTTPValidationError 400 (generic): Bad Request - Validation: username (in body): username in body must be of type email: "definitely not an email"

View File

@@ -0,0 +1 @@
(httperrors.HTTPValidationError) HTTPValidationError 400 (generic): Bad Request - Validation: password (in body): password in body is required

View File

@@ -0,0 +1 @@
(httperrors.HTTPValidationError) HTTPValidationError 400 (generic): Bad Request - Validation: username (in body): username in body is required

View File

@@ -0,0 +1 @@
(httperrors.HTTPValidationError) HTTPValidationError 400 (generic): Bad Request - Validation: refresh_token (in body): refresh_token in body must be of type uuid4: "not my refresh token"

View File

@@ -0,0 +1 @@
(httperrors.HTTPValidationError) HTTPValidationError 400 (generic): Bad Request - Validation: refresh_token (in body): refresh_token in body must be of type uuid4: ""

View File

@@ -0,0 +1 @@
(httperrors.HTTPValidationError) HTTPValidationError 400 (generic): Bad Request - Validation: refresh_token (in body): refresh_token in body must be of type uuid4: "not a valid token"

View File

@@ -0,0 +1 @@
(httperrors.HTTPValidationError) HTTPValidationError 400 (generic): Bad Request - Validation: refresh_token (in body): refresh_token in body is required

View File

@@ -0,0 +1 @@
(httperrors.HTTPValidationError) HTTPValidationError 400 (generic): Bad Request - Validation: password (in body): password in body should be at least 1 chars long

View File

@@ -0,0 +1 @@
(httperrors.HTTPValidationError) HTTPValidationError 400 (generic): Bad Request - Validation: username (in body): username in body should be at least 1 chars long

View File

@@ -0,0 +1 @@
(httperrors.HTTPValidationError) HTTPValidationError 400 (generic): Bad Request - Validation: username (in body): username in body must be of type email: "definitely not an email"

View File

@@ -0,0 +1 @@
(httperrors.HTTPValidationError) HTTPValidationError 400 (generic): Bad Request - Validation: password (in body): password in body is required

View File

@@ -0,0 +1 @@
(httperrors.HTTPValidationError) HTTPValidationError 400 (generic): Bad Request - Validation: username (in body): username in body is required

View File

@@ -0,0 +1,8 @@
(*types.GetUserInfoResponse)({
Email: <redacted>,
Scopes: ([]string) (len=1) {
(string) (len=3) "app"
},
Sub: (*string)((len=36) "f6ede5d8-e22a-4ca5-aa12-67821865a3e5"),
UpdatedAt: <redacted>,
})

View File

@@ -0,0 +1,8 @@
{
"email": <redacted>,
"scopes": [
"app"
],
"sub": "f6ede5d8-e22a-4ca5-aa12-67821865a3e5",
"updated_at": <redacted>,
}

View File

@@ -0,0 +1,7 @@
(struct { A string; B int; C bool; D *string }) {
A: (string) (len=3) "foo",
B: (int) 1,
C: (bool) true,
D: (*string)((len=3) "bar")
}
(string) (len=12) "Hello World!"

View File

@@ -0,0 +1,19 @@
{
"ID": <redacted>,
"A": "foo",
"B": 1,
"C": true,
"D": {
"Foo": "skip me",
"Bar": 3
},
"E": [
"skip me",
"skip me too"
],
"F": {
"skip me": 1,
"skip me three": 3,
"skip me too": 2
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.6 KiB

View File

@@ -0,0 +1,7 @@
(struct { A string; B int; C bool; D *string }) {
A: (string) (len=3) "foo",
B: (int) 1,
C: (bool) true,
D: (*string)((len=3) "bar")
}
(string) (len=12) "Hello World!"

View File

@@ -0,0 +1,7 @@
(struct { ID string; A string; B int; C bool; D *string }) {
ID: <redacted>,
A: (string) (len=3) "foo",
B: (int) 1,
C: (bool) true,
D: (*string)((len=3) "bar")
}

View File

@@ -0,0 +1,9 @@
(struct { ID string; A string; B int; C bool; D interface {}; E []string; F map[string]int }) {
ID: <redacted>,
A: (string) (len=3) "foo",
B: (int) 1,
C: (bool) true,
D: (struct { Foo string; Bar int }) { <redacted> },
E: ([]string) (len=2) { <redacted> },
F: (map[string]int) (len=3) { <redacted> }
}

View File

@@ -0,0 +1,10 @@
(struct { ID string; OtherIDStr string; OtherIDInt int; OtherIDBool bool; OtherIDPTR *string; OtherIDStruct struct { ID string } }) {
ID: <redacted>,
OtherIDStr: (string) (len=6) "id str",
OtherIDInt: (int) 4,
OtherIDBool: (bool) true,
OtherIDPTR: (*string)((len=10) "ID str ptr"),
OtherIDStruct: (struct { ID string }) {
ID: <redacted>,
}
}

View File

@@ -0,0 +1,6 @@
(struct { A string; B int; C bool; D *string }) {
A: (string) (len=3) "foo",
B: (int) 1,
C: (bool) true,
D: (*string)((len=3) "bar")
}

View File

@@ -0,0 +1 @@
(string) (len=12) "Hello World!"

View File

@@ -0,0 +1,7 @@
(struct { ID string; A string; B int; C bool; D *string }) {
ID: <redacted>,
A: (string) (len=3) "foo",
B: (int) 1,
C: (bool) true,
D: (*string)((len=3) "bar")
}

View File

@@ -0,0 +1,7 @@
(struct { A string; B int; C bool; D *string }) {
A: (string) (len=2) "fo",
B: (int) 1,
C: (bool) true,
D: (*string)((len=3) "bar")
}
(string) (len=12) "Hello World!"

View File

@@ -0,0 +1,5 @@
(pq.StringArray) (len=3) {
(string) (len=3) "max",
(string) (len=6) "muster",
(string) (len=5) "peter"
}

View File

@@ -0,0 +1 @@
(string) (len=134) "SELECT * FROM \"users\" INNER JOIN app_user_profiles ON app_user_profiles.user_id=users.id WHERE (app_user_profiles.username = any($1));"

View File

@@ -0,0 +1 @@
(string) (len=37) "https://example.org/users/123/profile"

View File

@@ -0,0 +1 @@
(string) (len=55) "SELECT * FROM \"users\" WHERE (users.profile::text = $1);"

View File

@@ -0,0 +1,14 @@
(string) (len=3) "Max"
(string) (len=6) "Muster"
(string) (len=7) "Austria"
(*pq.StringArray)((len=2) {
(string) (len=3) "app",
(string) (len=9) "user_info"
})
(int) 42
(pq.GenericArray) {
A: ([2]string) (len=2) {
(string) (len=15) "+1 206 555 0100",
(string) (len=16) "+44 113 496 0000"
}
}

View File

@@ -0,0 +1,8 @@
(string) (len=3) "Max"
(string) (len=6) "Muster"
(string) (len=7) "Austria"
(*pq.StringArray)((len=2) {
(string) (len=3) "app",
(string) (len=9) "user_info"
})
(int) 42

View File

@@ -0,0 +1 @@
(string) (len=217) "SELECT * FROM \"users\" WHERE (users.profile->>'firstName' = $1 AND users.profile->>'lastName' = $2 AND users.profile->>'country' = $3 AND users.profile->'scopes' <@ to_jsonb($4::text[]) AND users.profile->>'age' = $5);"

View File

@@ -0,0 +1 @@
(string) (len=275) "SELECT * FROM \"users\" WHERE (users.profile->>'firstName' = $1 AND users.profile->>'lastName' = $2 AND users.profile->>'country' = $3 AND users.profile->'scopes' <@ to_jsonb($4::text[]) AND users.profile->>'age' = $5 AND users.profile->'phoneNumbers' <@ to_jsonb($6::text[]));"