Try fetching all heads but you'll need to enable it first firstteamcity.git.fetchAllHeads=true
It may also be worth checking if the remote repo is fine by using another client like tortoisegit?
These issues are due to H2 database engine changes in the new version. In the engine file, enable the H2 "LEGACY" mode by specifying this parameter: db.init.sql=SET MODE LEGACY
Also, the latest 3.15.13 release of SymmetricDS pays more attention to column sizes (TIMESTAMP). You can find it here: https://sourceforge.net/projects/symmetricds/files/symmetricds/symmetricds-3.15/
Good Afternoon,
Here at Futurex, we have a dedicated service offering for this exact scenario.
If you prefer not to click links here, simply Google AWS Marketplace and Futurex, scroll to the bottom and expand on "Futurex Key Management as a Service (KMaaS) for AWS Payment Cryptography"
Can also email [email protected] and will be routed to me and we can connect for additional discussion.
Best Regards, Jason
React native camera is depracated. Last update was 4 years ago. You can replace it with react-native-vision-camera
I have a solution similar to what @odima26 has said. What I did was went onto the web installer that I had downloaded. It listed the software I had downloaded
This includes:
I clicked on 'reconfigure', and set the default permissions again (I didn't really change anything). I had to enter my password which succeeded (which means I had been entering it correctly)
Now that the reconfiguration was complete, it started working well for me again!
idk if it helps or not, but i know that rnn and lstm require a fixed size input to process and move forward. we use ragged tensors bcoz it helps us to not change our data. most of the times we use embeddings along with rnn or lstm. now dk where exactly, but in one of these layers, some implicit padding is happening (i.e., even though shapes are different at the tart, but to process rnn/lstm e need same shape input and so tensor do some padding by itself, some intrnal mechanism of sorts) what i am trying to say is if you do not wish to use embeddings then you can try padding it yourself, you wouldn't need ragged tensor then, you can simply use normal tensor. or you can use embeddings. hope it was helpful to anyone, and i really hope that my explaination is correct, if it's wrong then pls lmk, i will take my answer down. thanks
Use "npm install --legacy-peer-deps" in the terminal.
I spent several days trying to resolve this issue, only to realize that the problem was due to using the Azure URL with 'http' instead of 'https'.
Create React App command is deprecated
Alternatively, you can use Vite. Simply run npm create vite@latest in your terminal and select your desired React configuration.
E.g:
/storage/emulated/0/Download/takeout-20250219T031418Z-001 (1)/Takeout/Google Fotos/user-generated-memory-titles.json
ForeignKey is a function so the (...) need to be instead of the =, your line needs to be:
parent_id = mapped_column(Integer, ForeignKey("account.id"))
During the local load test, the load docker container returned no response at some peaks. Memory is ok and looks like it happened because of 100% CPU utilization for some period
My questions are:
Distinguishing Normal Code from TVL Data: How can we design the parser to reliably differentiate between a TVL-structured segment and regular code? Handling Variable Lengths Robustly: What strategies or best practices would you recommend for dealing with scenarios where the length field might be misleading (e.g., too large or too small relative to the actual data available)? Especially when handling large datasets, what potential pitfalls should we be aware of, and how can we avoid issues with redundant or misinterpreted data?
You are trying to install syft 0.2.9 in Python 3.8 through pip. According to the Pypi page of syft 0.2.9, you should:
conda create -n pysyft python=3.7
conda activate pysyft
conda install jupyter notebook==5.7.8 tornado==4.5.3
syft 0.2.9 with Python 3.8, as they don't seem compatible:
Note: Use Python 3.6-3.7. Tensorflow does not support Python 3.8 hence it might lead to installation errors.
If after those two fixes it still doesn't work, you can add more details to your question
Not sure why this has solved the problem, but I deleted the code lines to clear the ComboBoxes within the sub UserForm SelPost before unloading the userForm and the issue disappeared.
If anyone can explain why this worked, please share.
The solution for me after months of searching was to not install dev packages in production.
Remove your vendor directory and install only the non-dev packages:
rm -rf vendor
composer install --prefer-dist --no-dev -o
After months of tangling with this error on and off, it was because I was setting NODE_ENV=production all along. I removed that and it worked.
Thank you! This was driving me crazy!
You can do this with a new function: fixest_data(x, sample = "estimation")
/testlink/lib/functions/common.phpna linha 1925
$grants[$r] = ($argsObj->user->hasRight($dbHandler,$r) == 'yes') ? 1 : 0; Esta correção resolve esse erro.
Essa resposta foi a que corrigiu o erro abaixo:
Fatal error: Uncaught Error: Call to a member function hasRight() on null in C:\xampp\htdocs\testlink\lib\functions\common.php:1925 Stack trace: #0 C:\xampp\htdocs\testlink\lib\functions\common.php(1643): getGrantSetWithExit(Object(database), Object(stdClass), Object(testproject), Array) #1 C:\xampp\htdocs\testlink\lib\usermanagement\userInfo.php(22): initUserEnv(Object(database), Object(stdClass)) #2 {main} thrown in C:\xampp\htdocs\testlink\lib\functions\common.php on line 1925
It looks like you're trying to visualize hierarchical data dynamically based on the most common terms, but you're running into Vega's lack of looping/recursion support. Your idea of using a doughnut chart with nested sections or a Sankey/tree-like structure makes sense, but Kibana and Vega's built-in tools may not handle this adaptively.
A couple of suggestions:
It’d be great to hear if others have found a way to handle this within Kibana/Vega itself.
В теме:
<WidgetStyle name="Fold" styleID="0" fgColor="FF6400" bgColor="000000" fontStyle="0" fontSize=""></WidgetStyle>
Меняйте "fgColor"
I'm also searching through the OpenSSL source code. I believe this is a list of all OpenSSL error types.
suvidha.js, type-safe simple to use.
Microsoft released a tool/feature called "wrap for Power Apps", which does exactly that.
As the question was posed quite some time ago, I believe it is worth sharing the info.
Link to Microsoft's announcement, 2021 Link to Microsoft Learn page
It looks like you're creating the message via json.dumps. This doesn't appear to work how the crypto.com docs indicate you should build it.
https://exchange-docs.crypto.com/exchange/v1/rest-ws/index.html#digital-signature
From here, it says you should create the message like this:
Next, do the following: method + id + api_key + parameter string + nonce
Your code probably won't produce this exact order. I'm guessing the confusion came from the instructions about the parameter string, which does have you simply alphabetically order the parameters. That can work for the parameter string but not the message which does define a specific order.
I found this article. Maybe it will help you:
https://christianhelle.com/2025/01/scalar-azure-authentication.html
Example: https://github.com/christianhelle/ScalarAzureAuthentication
your answer works for the wheelPicker but it needs SectionsWheelPicker. I have the same problem, I can't change the baground color.
Try changing http to https in action.
Those are the expectations of the standard library, not of somebodies code outside of that scope. It should be expected though that any library code that could be used outside of itself conforms to these requirements in order to make it easier on those using it. Internally however this is less important (though, something to strive for)
So, unless you are writing a library that passes this back to a user, a programmer, this isn't an issue.
You should however look into other possibilities, ensure it's not possible to implement a .now() function, if none found document that .now() is not implemented along with an explanation as to why, and if possible make sure a good error is presented if it's use is attempted.
To answer more concisely it depends on context. If it's internal, maintainable, and easily explainable then it's fine. If it can become external, isn't explainable, isn't maintainable, then no. Find a different way.
SELECT EXTRACT(DOW FROM NOW());
Is this topic still active? I need help with media projection. I don't know where I'm going wrong, in the logs I get media projection permission missing!
class MediaProjectionPermissionActivity : Activity() {
companion object {
private const val REQUEST_MEDIA_PROJECTION = 1001
}
private lateinit var mediaProjectionManager: MediaProjectionManager
private var hasInitService = false
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
mediaProjectionManager = getSystemService(Context.MEDIA_PROJECTION_SERVICE) as MediaProjectionManager
// Pokreni zahtev za dozvolu
val permissionIntent = mediaProjectionManager.createScreenCaptureIntent()
startActivityForResult(permissionIntent, REQUEST_MEDIA_PROJECTION)
}
override fun onActivityResult(requestCode: Int, resultCode: Int, data: Intent?) {
super.onActivityResult(requestCode, resultCode, data)
Log.d("MediaProjectionPermission", "ResultCode: $resultCode, Data: $data")
if (requestCode == REQUEST_MEDIA_PROJECTION) {
if (resultCode == Activity.RESULT_OK && data != null) {
Toast.makeText(this, "MediaProjection dozvoljen!", Toast.LENGTH_SHORT).show()
// Inicijalizuj servis samo ako već nije inicijalizovan
if (!hasInitService) {
initService(resultCode, data)
hasInitService = true
}
} else {
Toast.makeText(this, "MediaProjection odbijen!", Toast.LENGTH_SHORT).show()
}
}
finish() // Zatvori aktivnost nakon što je rezultat vraćen
}
private fun initService(resultCode: Int, data: Intent) {
val screenshotServiceIntent = Intent(this, ScreenshotService::class.java).apply {
putExtra("resultCode", resultCode)
putExtra("data", data)
}
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) {
// Ako je verzija Androida 12 (API 31) ili novija, koristimo foreground servis tip
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.S) {
screenshotServiceIntent.putExtra(
"foregroundServiceType",
1 // 1 je tip za "Media Projection"
)
}
startForegroundService(screenshotServiceIntent)
} else {
startService(screenshotServiceIntent)
}
}
}
The answer, as suggested by @caldazar was to define a provider in the scope, in this case adding the region, that was missing. Follow Getting error as "The scope is not valid., field: SCOPE_VALUE, parameter: CLOUDFRONT", in terraform to get more details about the solution
It seems that there is a bug in aspnet-codegenerator. See this issue on .NET's issue tracker.
I know this is old, but since I just ran into this, and in case anyone else runs across this, the answer is because the storageType.DeviceID is set to VIRTUAL_STORAGE_TYPE_DEVICE_VHD.
Per https://learn.microsoft.com/en-us/windows/win32/api/virtdisk/ns-virtdisk-virtual_storage_type:
add: public const int VIRTUAL_STORAGE_TYPE_DEVICE_ISO = 1;
change to: storageType.DeviceID = VIRTUAL_STORAGE_TYPE_DEVICE_ISO;
You have to update the library first. Because the previous library does not exist.
Before
implementation 'com.github.smarteist:autoimageslider:1.4.0'
After
implementation 'com.github.smarteist:Android-Image-Slider:1.4.0'
After replacing this it will work smoothly.
♥ Happy Coding ♥
Instead of -P12, use -P8, like this:
import music21
p = music21.pitch.Pitch('D-4')
print(p.transpose(-8))
Lograste realizar la integración de jitzy utilizando expo?
Look at this here https://github.com/flutter/flutter/issues/39814#issuecomment-528775495. It says you should:
./gradlew dependencies in project's android directory which downloaded missing path_provider dependencies.flutter clean then flutter run.For me the issue was that I had created the user via IAM, instead of using the button under SMTP Settings called "Create SMTP Credentials". If you're stuck and not sure what to try, you might try creating a new user using this method just to be sure. Adjust your region to be the same one as your sending domain. https://us-east-2.console.aws.amazon.com/ses
Preflight OPTIONS Request
findAllCandidat() {
return this.http.get<any[]>(${BASIC_URL}api/cvs/recrutement, { withCredentials: true });
}
Fixed CorsConfig
Update your CorsConfig class to explicitly allow allowedHeaders and allowedMethods:
@Configuration public class CorsConfig {
@Bean
public WebMvcConfigurer corsConfigurer() {
return new WebMvcConfigurer() {
@Override
public void addCorsMappings(CorsRegistry registry) {
registry.addMapping("/**")
.allowedOrigins("http://localhost:4200")
.allowedMethods("GET", "POST", "PUT", "DELETE", "OPTIONS")
.allowedHeaders("*");
}
};
}
}
The added mass can actually be computed using boundary element method. I have written a script to compute the full 6 x 6 matrix.https://github.com/mady181997/Added-Mass-BEM-/tree/main. See the repository you will need to first download stl and mesh properly in gmsh software export as stl and select the stl file after running the main file.
So you have cloned a repo and made some changes to build config, and want to test it without merging it into the main codebase,
you can run your project after changing the build config,
local changes in the code wont get updated in the online code repository, if you are using version control tools like github,
your code repo from which you cloned the project will only get updated if you push your changes to it via git.
I tried running the actual build command on the actual local codebase which prompts a question saying 'is this "project_name" project?'.
and to this,normally prompts wont pop when you are building a next/react project just make sure you are running the build command i.e
npm run build
or
yarn build
in a cmd terminal
Try clearing your chrome cache
The best way is to set FlagStatus=1 (tick mark against the email) and save it. Use the below code to flag the email Mark complete.
message.FlagStatus = 1
message.save()
Use : https://jsonxmlformatter.com/ Add it to you fav. it convers Json , XMl and do the merge and comparesion also.
Please check this link. (https://github.com/chiragkumar8/input-date-masking) I think it will be helpful for you.
From the documentation you can only access the default firestore database in storage rules.
Warning: Storage Rules can only access documents from the default Cloud Firestore database when multiple databases are active.
Enhance your website's branding with our Ace Remove Website Powered by Odoo module for Odoo 18. This easy-to-use tool lets you quickly remove the "Powered by Odoo" footer, giving your site a cleaner, more professional look. Check it out on the Odoo Apps Store: https://apps.odoo.com/apps/modules/18.0/ace_remove_website_powered_by_odoo
Most NOAA's models including GFS are available for free with the GribStream API.
"Hi, For me this wasn't the solution, after recreating the table (same statement) the copy activity worked." This solution did not work for me, anyone please suggest any other workaround.
AWS has this article to use defender metrics https://aws.amazon.com/blogs/iot/how-to-get-started-with-the-new-disconnected-duration-metric-in-aws-iot-device-defender/
I had the same problem. Following Bruno's reply, I tried several different launchers. While the Microsoft one seemed to solve the problem, none of the others did. Then I found a suggestion that the manifest file should be manifest.webmanifest and not manifest.json. I tried it and (touch wood) that has solved the problem for me.
I posted before rebooting. It works again. I'll have to play around and see what works and what doesn't. Sorry for the noise.
netsh wlan show interfaces | findstr SSID
This seemed to work for me: first you need to call sanctum but before calling sanctum add this line on your axios file axios.defaults.withCredentials = true; then call sanctum eg // axios .get( "http://localhost:9000/sanctum/csrf-cookie" ) .then((res) => toast.success("sanctum loaded successfully")); then now you can create a custom object export const axiosInstance = axios.create({ baseURL: "http://localhost:9000/api/", timeout: 100000, withXSRFToken: true, timeoutErrorMessage: "Server timeout", }); then use the instance to make other api calls eg register
jmap creates the heap dump file in the file system of the original container, found at /proc/1/root.
The current way I have gotten around this is by using coerce. This allows for transformation pre validation. Then when the invalid content is encountered it can be transformed into the correct one. You need to use create instead of assert though. The example is
const Struct = type({
parent: record(
string(),
coerce(type({ body: number() }), number(), (value) => ({ body: value })))
})
Unfortunately this still does not answer how to validate a partially dynamic type like this but still provides a work around at least
You could try creating database on terminal like this:
./odoo-bin --db_user=your_user --db_password=your_password --db_host=your_host --db_port=your_port -d new_database_name --init=base --stop-after-init
the babies in the bus go round
I did this in Python where you would read the file into a dataframe and then add whatever column you want. However, when you save new parquet file, the size of the file changed (much less) and then I was not able to read the new file with new columns in AWS Glue. It seems that new file gets compressed even if you specify no compression. Another way I found this can be done is to save files as csv - size was slightly bigger than parequet since you added more column(s). Then read csv's in Glue. Another way is to resave as JSON however this type of file if not compressed ended up being 4x (column names in each row) or 2x (first row column names only) larger than parquet due to the nature of the JSON. I wish there was a better way to deal with parquet files rather then simply saying you just read these types of files and that's it.
For those having the same issue despite setting up the Apple Pay certificate in the Stripe dashboard, you need to ensure that your StripeProvider has stripeAccountId set. You can find this in your account settings. I initially had this missing, which caused this error to occur.
<StripeProvider
// -- THIS WAS MISSING! --
stripeAccountId={...}
// --
publishableKey={...}
merchantIdentifier={...}
urlScheme={...}
>
...
</StripeProvider>
I also had this problem, and what ended up getting me on the right path is N.Chipper's answer, but I want to add a caveat.
His NGINX example would not work because the retries there do not repeat 10 times for example. What they do is they pass it forward to the next server. There are hacky ways to get around that by making an infinite loop reffering to nginx from inside nginx, and then limiting that, but it's not great, and you have less control over timeouts.
In Traefik it also does not work. This is what they say in the docs: As soon as the server answers, the middleware stops retrying, regardless of the response status.
So if a server responds with 502, it passes it forward.
The only solution that worked was the Caddy example provided there.
Use : https://jsonxmlformatter.com/ Add it to you fav. it convers Json , XMl and do the merge and comparesion also.
by default nginx image is running on port 80 not 8080
Resolved!
I was facing a "400 Bad Request" error while trying to place market orders using the Binance Testnet API. After double-checking my API keys, request parameters, and signature generation, I finally discovered the issue: the system time on my Windows machine was not accurate.
Binance requires an exact timestamp when sending requests, as it's used for validating the HMAC SHA256 signature. If the system clock is even a few seconds off, the generated signature becomes invalid, leading to a 400 Bad Request error.
ptbtime1.ptb.de
This is one of the Physikalisch-Technische Bundesanstalt (PTB) time servers, known for its high precision.
Thanks!!
For me the solution was to change two entries in the file: "C:\Users\Username\.android\avd\emulatorname.avd\config.ini"
hw.gpu.enabled = no
hw.gpu.mode = off
because I don't have a graphics card.
You can just use: background-image: none !important;
import { persistor } from './store'
const handleLogout = () => {
dispatch({ type: 'LOGOUT' })
persistor.purge();
}
I ended up just deleting the lines where it wanted to import the analyzers in the csproj
I have no answer. I often use Printscreen to illustrate a problem. In the past Microsoft changes the Printscreen folder whenever they wish. Now there is no folder. Now I have to clip the area and save it by hand. Microsoft help was more then useless and wasted my time.
import { persistor } from './store'
const handleLogout = () => {
dispatch({ type: 'LOGOUT' })
persistor.purge();
}
To quickly create a thread that doesn't require access to program components I use BeginThread, and to work with updating components, I use TThread.
As of 2025, for Windows DBeaver 24.1.5, the Word Wrap toggle is in the top pan button "Window" > "Editor" > "Toggle Word Wrap":
link to image screenshot, but it looks like the answer by Codistan from Apr 27, 2023
MB it`s a bit late, but now you can use "Bouncer" or/and "token.abilities" to control which data and actions should be available to active/inactive users.
android\gradle\wrapper\gradle-wrapper.propertiesandroid\settings.gradle, line com.android.applicationflutter doctor -vAndroid toolchain" sectionMe too, can't find a solution.😫
Can you create a code sandbox to showcase your issue? I assume that the problem is coming from the way you modify formData, I used to get some similar problem when changing property of an object. Maybe try to move the initialState out of the component and console.log registered.name to see it has the data you need? For now, I don't have much info from your code so I'm not sure if you accidentally modified/re-assigned it incorrectly.
Also, a suggestion for the Input component I think that you should keep key stable, key={props.id + errors.length} using this may cause your component to have some unnecessary re-rendering.
In my case I have problems trying to use a version of ruby. I do all the steps described but when I check ruby -v I get the version that is installed by the repositories.
The thing is that when I try to run bundle install
This is what it returns:
Your Ruby version is 3.0.2, but your Gemfile specified >= 3.1.0, < 3.4.0
However when I run this command rbenv versions
this is what it returns:
system
Anyway, I really can't find a solution to my problem. Thank you very much for your attention.
You could use history.nvim for a more VSCode like experience similar to Control+Tab.
You need to wrap the button inside an tag to make it a clickable link. Also, your CSS has an incorrect @import inside the background-image property—remove that part. Here’s the corrected code:
<html>
<head>
<title>Button Link</title>
<style>
.butn {
background-image: url("https://static1.squarespace.com/static/54da7941e4b0e25dc3648a4f/t/59640885b3db2b282c21c56e/1499728005971/zero_state%40300x-8.png");
width: 555px;
height: 170px;
display: block;
}
.butn:active {
background-image: url('https://static1.squarespace.com/static/54da7941e4b0e25dc3648a4f/t/5964090b6b8f5bf77b28504f/1499728139538/hover_state%40300x-8.png');
}
</style>
</head>
<body>
<a href="https://example.com">
<div class="butn"></div>
</a>
</body>
</html>
@DynamoDBTypeConvertedEnum was used in the AWS SDK for Java v1 with the DynamoDB Object Mapper. However, in AWS SDK for Java v2, this annotation is no longer needed because DynamoDB Enhanced Client provides built-in support for enums.
The latest version uses log4j2 2.17.2. Moving to the latest Rundeck version solves that issue and many others.
Here you can see all CVE reported.
Try edit tsconfig.json:
"compilerOptions": {
"paths": {
"react": ["./node_modules/@types/react"]
}
}
The most elegant way for Windows desktop apps (.NET 9), to set the initial app size and position (1/3-2/3) based on the users screen size, goes like this. Be sure to edit the App.xaml.cs in the base map, not the file in the platforms maps. Edit the code there like this:
protected override Window CreateWindow(IActivationState? activationState)
{
// App start-window size derived from screen properties
double screenWidth = DeviceDisplay.MainDisplayInfo.Width; // the user screen
double screenHeight = DeviceDisplay.MainDisplayInfo.Height;
double appWidth = screenWidth / 2.35d; // the app screen
double appHeight = screenHeight / 2.35d;
return new Window(new AppShell())
{
Width = appWidth,
Height = appHeight,
X = (screenWidth - appWidth) / 2.0d, // center horizontal
Y = (screenHeight - appHeight) / 3.0d, // 1/3 vertical
};
}
Do not forget to comment out the existing CreateWindow(...).
"@emotion/cache": "11.11.0",
"@emotion/react": "11.11.1",
"@emotion/styled": "11.11.0",
"@mui/material": "5.14.5",
If you encounter the issue of Uncaught TypeError: defaultShouldForwardProp is not a function, please try using the versions mentioned above
The answer posted by @engineersmnky is the correct solution.
You could use already existing functions to achieve the same, here are my preferred ones:
from math import gcd
from functools import reduce
import numpy as np
lst = [14, 21, 28]
print(reduce(gcd, lst)) # prints "7"
print(np.gcd.reduce(lst)) # prints "7"
No package needed and dealing with the fact that you have a vector of such strings:
v=c("ABC_EFG_HIG_ADF_AKF","ADF_AKF_MNB_RRR")
sapply(strsplit(v,"_"),"[",3)
# [1] "HIG" "MNB"
thank you very much, thats help me.
In my case import of some @storybook v8 produces 400+ errors in declaration:true mode. Removed storybook-related files from compilation - errors gone.
A variable only begins with letters and underscore rather than digits since 4m means 4 multiplied by m in Math. Variables don't conflict with mathematical expressions. We use 3e16 to mean 30,000,000,000,000,000.
The black lines show up because you use geom_col(color = "black") you can make them the same color as your fill using geom_col(aes(color = comp)). This way they are still there, but not visible. An alternative would be geom_col(color = NA) which would make the borders invisible.
I'm still not sure exactly why, but this has fixed itself. I'm pretty sure I was running the exact same command, with the exact same .dll when it didn't work as when it earlier did, but other changes seem to have resolved it.
Have you found a solution for this? I currently have the same problem :D
Just in case; Mainly for ones who ends up in this article without reading other docs:
You need to put IRB.conf[:USE_PAGER] = false into your .irbrc.
Also, it is now documented here https://github.com/ruby/irb/blob/master/doc/Configurations.md#hash-irbconf.
I tride do chang to different action from this link https://github.com/marketplace/actions/publish-github-release-artifacts there no siple way to publish a release HTML files from proccesed folder?
name: Release HTML Files
on:
push:
tags:
- "v*"
jobs:
build:
name: Build Presets
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
name: checkout GITHUB code
- name: Pobranie numeru wersji z taga
id: get_version
run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV
- run: scripts/process_presets.sh .
name: process HTML
- run: ls tmp/
name: List Files
- name: Upload ARMADA to Release
uses: SierraSoftworks/[email protected]
with:
token: ${{ github.token }}
overwrite: 'true'
files: "tmp/*.html"
restart metro with clear cache helped
react-native start --clear-cache
This works:
$validation = \Config\Services::validation();
$validation->setRules([
'field1' => 'required|max_length[20]',
'array1' => 'required',
'array1.*' => 'required|numeric',
'array1_keys.*' => 'required|numeric',
'array1_count' => 'required|numeric|greater_than_equal_to[1]|less_than_equal_to[50]'
]);
$to_validate = $this->request->getPost();
$to_validate["array1_keys"] = array_keys($to_validate['array1'] ?? []);
$to_validate["array1_count"] = count($to_validate["array1_keys"]);
if (! $validation->run($to_validate)) {
return $this->failValidationErrors($validation->getErrors());
}
That said it is hardly elegant so I will happily upvote a more concise alternative.
I'm still new to Typescript but this is what I found -
You can see the types in the GitHub here: https://github.com/TanStack/table/blob/main/packages/table-core/src/types.ts
And how they are use for a table here: https://github.com/TanStack/table/blob/main/packages/table-core/src/core/table.ts#L63