AA

Results 175 comments of AA

@gaotian19981104 did you manage to find a workaround?

*.d.ts files are not included in the export

I just came across this bug. The only workaround to add a description for each value is to add a description to the enum itself. The risk of desynchronization during...

A native implementation comes out of the box: ```tsx import React, { useState, useCallback, useEffect } from 'react'; const useSize = (target: T) => { const [size, setSize] = useState();...

> > A native implementation comes out of the box: > > import React, { > > useState, > > useCallback, > > useEffect > > } from 'react'; >...

Here you go — should work, I think. ```tsx import React, { useState, useRef, useCallback, useEffect } from 'react'; const useRefSize = () => { const [size, setSize] = useState();...

Definitely, there needs to be some rollback mechanism to a working version or a full export of the API into a static JSON, so that it works without a server....

``` [2024-11-28 17:12:30.826] info: Strapi started successfully [2024-11-28 17:12:31.512] http: GET /admin/ (29 ms) 200 The file does not exist at "/www/strapi/node_modules/.strapi/vite/deps/chunk-ISNNHGRU.js?v=a22f69f4" which is in the optimize deps directory. The...

It seems like the auth methods are supposed to accept an `organizationId` parameter — but they currently don’t. Ideally, it should look like this: ```ts authenticateWithMagicAuth({ code, email, organizationId })...

Here's a working example of how to log in to a specific organization: ````ts import {StatusCodes} from 'http-status-codes'; import type { UserResponse, AuthenticationResponse, AuthenticateWithMagicAuthOptions, AuthenticateWithSessionCookieFailedResponse, AuthenticateWithSessionCookieSuccessResponse, } from '@workos-inc/node/lib/user-management/interfaces'; import...