Home
last modified time | relevance | path

Searched refs:query (Results 1 – 25 of 320) sorted by relevance

12345678910>>...13

/expo/packages/expo-updates/android/src/androidTest/java/expo/modules/updates/db/
H A DUpdatesDatabaseMigrationTest.kt167 val cursorLastAccessed = db.query("SELECT DISTINCT last_accessed FROM `updates`") in testMigrate5To6()
175 val cursorLastAccessed2 = db.query("SELECT DISTINCT last_accessed FROM `updates`") in testMigrate5To6()
242 val allAssets = db.query("SELECT * FROM `assets`") in testMigrate6To7()
244 val assetsWithNullType = db.query("SELECT * FROM `assets` WHERE `type` IS NULL") in testMigrate6To7()
250 val allUpdates = db.query("SELECT * FROM `updates`") in testMigrate6To7()
312 db.query("SELECT DISTINCT `successful_launch_count` FROM `updates`") in testMigrate7To8()
315 db.query("SELECT DISTINCT `failed_launch_count` FROM `updates`") in testMigrate7To8()
439 val cursorAssetsPrecondition1 = db.query("SELECT * FROM `assets`") in testMigrate10To11()
453 val cursorAssets1 = db.query("SELECT * FROM `assets`") in testMigrate10To11()
481 val cursorUpdatesBefore = db.query("SELECT * FROM `updates`") in testMigrate11To12()
[all …]
/expo/packages/expo-secure-store/ios/
H A DSecureStoreModule.swift48 var query = query(with: key, options: options) in set() variable
51 query[kSecValueData as String] = valueData in set()
56 query[kSecAttrAccessible as String] = accessibility in set()
62 query[kSecAttrAccessControl as String] = accessOptions in set()
65 let status = SecItemAdd(query as CFDictionary, nil) in set()
78 var query = query(with: key, options: options) in update() variable
84 query[kSecUseOperationPrompt as String] = authPrompt in update()
97 var query = query(with: key, options: options) in searchKeyChain() variable
99 query[kSecMatchLimit as String] = kSecMatchLimitOne in searchKeyChain()
100 query[kSecReturnData as String] = kCFBooleanTrue in searchKeyChain()
[all …]
/expo/ios/versioned/sdk49/ExpoSecureStore/
H A DSecureStoreModule.swift48 var query = query(with: key, options: options) in set() variable
51 query[kSecValueData as String] = valueData in set()
56 query[kSecAttrAccessible as String] = accessibility in set()
62 query[kSecAttrAccessControl as String] = accessOptions in set()
65 let status = SecItemAdd(query as CFDictionary, nil) in set()
78 var query = query(with: key, options: options) in update() variable
84 query[kSecUseOperationPrompt as String] = authPrompt in update()
97 var query = query(with: key, options: options) in searchKeyChain() variable
99 query[kSecMatchLimit as String] = kSecMatchLimitOne in searchKeyChain()
100 query[kSecReturnData as String] = kCFBooleanTrue in searchKeyChain()
[all …]
/expo/docs/ui/components/CommandMenu/
H A Dutils.ts6 query: string,
7 fetcher: (query: string, version?: string) => Promise<Response>,
16 query: string,
31 params: `query=${query}&hitsPerPage=${hits}`,
39 export const getExpoDocsResults = (query: string, version?: string) => {
47 export const getRNDocsResults = (query: string) => {
50 query,
60 export const getDirectoryResults = (query: string) => {
154 export const addHighlight = (content: string, query: string) => {
155 const highlightStart = content.toLowerCase().indexOf(query.toLowerCase());
[all …]
H A DCommandMenu.tsx27 const [query, setQuery] = useState('');
34 getItemsAsync(query, getExpoDocsResults, setExpoDocsItems, version);
35 const getRNDocsItems = async () => getItemsAsync(query, getRNDocsResults, setRnDocsItems);
37 getItemsAsync(query, getDirectoryResults, setDirectoryItems);
40 setExpoItems(entries.filter(entry => entry.label.toLowerCase().includes(query.toLowerCase())));
69 useEffect(onQueryChange, [query]);
88 <Command.Input value={query} onValueChange={setQuery} placeholder="Search…" />
117 query={query}
136 query={query}
/expo/packages/expo-router/src/fork/__tests__/__snapshots__/
H A DextractPathFromURL.test.ios.ts.snap17 … Bare parses "exp://127.0.0.1:19000/--/test/path?query=param" 1`] = `"127.0.0.1:19000/--/test/path…
23 …ractExpoPathFromURL Bare parses "exp://127.0.0.1:19000?query=param" 1`] = `"127.0.0.1:19000?query=…
31 …parses "exp://exp.host/@test/test/--/test/path?query=param" 1`] = `"exp.host/@test/test/--/test/pa…
43 …athFromURL Bare parses "https://example.com/test/path?query=do+not+escape" 1`] = `"test/path?query
45 …xpoPathFromURL Bare parses "https://example.com/test/path?query=param" 1`] = `"test/path?query=par…
73 …romURL Expo Go parses "exp://127.0.0.1:19000/--/test/path?query=param" 1`] = `"test/path?query=par…
79 exports[`extractExpoPathFromURL Expo Go parses "exp://127.0.0.1:19000?query=param" 1`] = `"?query=p…
87 …RL Expo Go parses "exp://exp.host/@test/test/--/test/path?query=param" 1`] = `"test/path?query=par…
91 …po Go parses "exp://u.expo.dev/update/123abc/--/test/path?query=param" 1`] = `"test/path?query=par…
99 …FromURL Expo Go parses "https://example.com/test/path?query=do+not+escape" 1`] = `"test/path?query
[all …]
/expo/packages/expo-dev-launcher/bundle/queries/
H A DuseUpdatesForBranch.tsx5 import { useInfiniteQuery } from 'react-query';
21 const query = gql`
22 query getUpdates(
60 const response = await apiClient.request(query, variables);
80 const query = useInfiniteQuery(
96 const updates = query.data?.pages.flatMap((page) => page.updates) ?? [];
99 if (query.error) {
104 }, [query.error]);
107 ...query,
109 isRefreshing: query.isRefetching && !query.isFetchingNextPage,
[all …]
H A DuseChannelsForApp.tsx3 import { useQuery } from 'react-query';
9 const query = gql`
10 query getUpdates($appId: String!) {
32 const response = await apiClient.request(query, variables);
52 const query = useQuery(['channels', appId], () => getChannelsAsync(appId));
55 if (query.error && toastStack.getItems().length === 0) {
62 }, [query.error]);
64 return query;
H A DuseBranchesForApp.tsx6 import { useInfiniteQuery } from 'react-query';
15 const query = gql`
16 query getBranches(
130 const query = useInfiniteQuery(
157 if (query.error && isAuthenticated) {
163 const errorMessage = query.error.message;
175 }, [query.error, isAuthenticated]);
178 query.data?.pages
191 ...query,
195 isRefreshing: query.isRefetching && !query.isFetchingNextPage,
[all …]
/expo/packages/expo-notifications/build/
H A DNotificationPermissionsModule.js49 else if (typeof navigator !== 'undefined' && navigator?.permissions?.query) {
51 const query = await navigator.permissions.query({ name: 'notifications' });
52 return convertPermissionStatus(query.state);
/expo/packages/expo-router/src/fork/
H A DextractPathFromURL.ts56 if (!res.query || !res.query.url) {
59 const incomingUrl = res.query.url;
63 const qs = !res.query
65 : Object.entries(res.query as Record<string, string>)
/expo/packages/expo-notifications/src/
H A DNotificationPermissionsModule.ts63 } else if (typeof navigator !== 'undefined' && navigator?.permissions?.query) {
65 const query = await navigator.permissions.query({ name: 'notifications' }); constant
66 return convertPermissionStatus(query.state);
/expo/packages/@expo/cli/src/start/server/metro/inspector-proxy/
H A Dproxy.ts194 const { query } = parse(url ?? '', true); constant
196 deviceId: asString(query.device) || undefined,
197 deviceName: asString(query.name) || 'Unknown device name',
198 appName: asString(query.app) || 'Unknown app name',
203 const { query } = parse(url ?? '', true); constant
205 deviceId: asString(query.device),
206 pageId: asString(query.page),
207 debuggerType: asString(query.type) ?? undefined,
/expo/packages/expo-mail-composer/src/
H A DExpoMailComposer.web.ts35 const query = qs.stringify(email); constant
36 const queryComponent = query ? '?' + query : '';
/expo/packages/expo-mail-composer/build/
H A DExpoMailComposer.web.js29 const query = qs.stringify(email); constant
30 const queryComponent = query ? '?' + query : '';
/expo/docs/ui/components/CommandMenu/Items/
H A DExpoItem.tsx11 query: string;
15 export const ExpoItem = ({ item, onSelect, query }: Props) => {
23 dangerouslySetInnerHTML={{ __html: addHighlight(item.label, query) }}
H A DRNDirectoryItem.tsx12 query: string;
18 export const RNDirectoryItem = ({ item, onSelect, query }: Props) => {
30 dangerouslySetInnerHTML={{ __html: addHighlight(item.npmPkg, query) }}
/expo/docs/components/plugins/
H A DVersionedRedirectNotification.tsx11 if (router?.query) {
12 setVisible(router.query.hasOwnProperty(showForQuery));
14 }, [router?.query]);
/expo/packages/expo-dev-launcher/bundle/functions/
H A DgetUserProfileAsync.ts24 const query = gql` constant
47 const data = await apiClient.request(query);
H A DstartAuthSessionAsync.ts17 const { query } = url.parse(result.url, true); constant
18 const sessionSecret = decodeURIComponent(query['session_secret'] as string);
/expo/packages/@expo/metro-runtime/src/
H A DgetDevServer.ts24 const query = qs.parse(url);
27 location.origin + location.pathname + '?' + qs.stringify({ ...query, platform: 'web' })
/expo/packages/expo-linking/src/__tests__/__snapshots__/
H A DLinking-test.ts.snap.node107 exports[`parse parses "exp://127.0.0.1:8081/--/test/path?query=param" 1`] = `
112 "query": "param",
118 exports[`parse parses "exp://127.0.0.1:8081?query=param" 1`] = `
123 "query": "param",
138 exports[`parse parses "exp://exp.host/@test/test/--/test/path?query=param" 1`] = `
143 "query": "param",
169 exports[`parse parses "https://example.com/test/path?query=do+not+escape" 1`] = `
174 "query": "do not escape",
180 exports[`parse parses "https://example.com/test/path?query=param" 1`] = `
185 "query": "param",
/expo/packages/expo-router/src/getDevServer/
H A Dindex.ts25 const query = qs.parse(url); constant
31 qs.stringify({ ...query, platform: Platform.OS })
/expo/packages/expo-modules-core/ios/Tests/
H A DConvertiblesSpec.swift22 let query = "param=��" in spec() variable
28 expect(url.query(percentEncoded: false)) == query in spec()
30 expect(url.query) == "param=%F0%9F%A5%93" in spec()
36 let query = "param=%F0%9F%A5%93" in spec() variable
41 expect(url.query(percentEncoded: true)) == query in spec()
42 expect(url.query(percentEncoded: false)) == "param=��" in spec()
44 expect(url.query) == query in spec()
50 let query = "color=%230000ff" in spec() variable
54 expect(url.query) == query in spec()
78 let query = "param=#expo" in spec() variable
[all …]
/expo/ios/versioned/sdk49/ExpoModulesCore/ios/Tests/
H A DConvertiblesSpec.swift22 let query = "param=��" in spec() variable
28 expect(url.query(percentEncoded: false)) == query in spec()
30 expect(url.query) == "param=%F0%9F%A5%93" in spec()
36 let query = "param=%F0%9F%A5%93" in spec() variable
41 expect(url.query(percentEncoded: true)) == query in spec()
42 expect(url.query(percentEncoded: false)) == "param=��" in spec()
44 expect(url.query) == query in spec()
50 let query = "color=%230000ff" in spec() variable
54 expect(url.query) == query in spec()
78 let query = "param=#expo" in spec() variable
[all …]

12345678910>>...13