You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rewrite^/docs/(?!(?:[a-zA-Z][a-zA-Z]|_next|img)(?:/|$))(.*)$ $scheme://$http_host/docs/en/$1 permanent; # Redirect to `/en` if no language in URL and not an asset URL
47
+
# Redirect to `/en` if no language in URL and not an asset URL
Copy file name to clipboardExpand all lines: website/pages/ar/cookbook/near.mdx
+4-4
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@ title: بناء Subgraphs على NEAR
37
37
38
38
**schema.graphql:** a schema file that defines what data is stored for your subgraph, and how to query it via GraphQL. The requirements for NEAR subgraphs are covered by [the existing documentation](/developing/creating-a-subgraph#the-graphql-schema).
39
39
40
-
**AssemblyScript Mappings:**[AssemblyScript code](/developing/assemblyscript-api) that translates from the event data to the entities defined in your schema. NEAR support introduces NEAR-specific data types and new JSON parsing functionality.
40
+
**AssemblyScript Mappings:**[AssemblyScript code](/developing/graph-ts/api) that translates from the event data to the entities defined in your schema. NEAR support introduces NEAR-specific data types and new JSON parsing functionality.
41
41
42
42
During subgraph development there are two key commands:
43
43
@@ -98,7 +98,7 @@ Schema definition describes the structure of the resulting subgraph database and
98
98
99
99
تمت كتابة المعالجات(handlers) الخاصة بمعالجة الأحداث بـ[ AssemblyScript ](https://www.assemblyscript.org/).
100
100
101
-
NEAR indexing introduces NEAR-specific data types to the [AssemblyScript API](/developing/assemblyscript-api).
101
+
NEAR indexing introduces NEAR-specific data types to the [AssemblyScript API](/developing/graph-ts/api).
102
102
103
103
```typescript
104
104
@@ -165,9 +165,9 @@ These types are passed to block & receipt handlers:
165
165
- معالجات الكتلة ستتلقى`Block`
166
166
- معالجات الاستلام ستتلقى`ReceiptWithOutcome`
167
167
168
-
Otherwise, the rest of the [AssemblyScript API](/developing/assemblyscript-api) is available to NEAR subgraph developers during mapping execution.
168
+
Otherwise, the rest of the [AssemblyScript API](/developing/graph-ts/api) is available to NEAR subgraph developers during mapping execution.
169
169
170
-
This includes a new JSON parsing function - logs on NEAR are frequently emitted as stringified JSONs. A new `json.fromString(...)` function is available as part of the [JSON API](/developing/assemblyscript-api#json-api) to allow developers to easily process these logs.
170
+
This includes a new JSON parsing function - logs on NEAR are frequently emitted as stringified JSONs. A new `json.fromString(...)` function is available as part of the [JSON API](/developing/graph-ts/api#json-api) to allow developers to easily process these logs.
Copy file name to clipboardExpand all lines: website/pages/ar/developing/creating-a-subgraph.mdx
+1-1
Original file line number
Diff line number
Diff line change
@@ -1477,7 +1477,7 @@ The file data source must specifically mention all the entity types which it wil
1477
1477
1478
1478
#### Create a new handler to process files
1479
1479
1480
-
This handler should accept one `Bytes` parameter, which will be the contents of the file, when it is found, which can then be processed. This will often be a JSON file, which can be processed with `graph-ts` helpers ([documentation](/developing/assemblyscript-api/#json-api)).
1480
+
This handler should accept one `Bytes` parameter, which will be the contents of the file, when it is found, which can then be processed. This will often be a JSON file, which can be processed with `graph-ts` helpers ([documentation](/developing/graph-ts/api/#json-api)).
1481
1481
1482
1482
The CID of the file as a readable string can be accessed via the `dataSource` as follows:
Copy file name to clipboardExpand all lines: website/pages/ar/developing/unit-testing-framework.mdx
+1-1
Original file line number
Diff line number
Diff line change
@@ -1368,7 +1368,7 @@ The log output includes the test run duration. Here's an example:
1368
1368
1369
1369
> Critical: Could not create WasmInstance from valid module with context: unknown import: wasi_snapshot_preview1::fd_write has not been defined
1370
1370
1371
-
This means you have used `console.log`in your code, which is not supported by AssemblyScript. Please consider using the [Logging API](/developing/assemblyscript-api/#logging-api)
1371
+
This means you have used `console.log`in your code, which is not supported by AssemblyScript. Please consider using the [Logging API](/developing/graph-ts/api/#logging-api)
Copy file name to clipboardExpand all lines: website/pages/cs/cookbook/near.mdx
+4-4
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@ Definice podgrafů má tři aspekty:
37
37
38
38
**schema.graphql:** soubor se schématem, který definuje, jaká data jsou uložena pro váš podgraf, a jak je možné je dotazovat pomocí GraphQL. Požadavky na podgrafy NEAR jsou pokryty [existující dokumentací](/developing/creating-a-subgraph#the-graphql-schema).
39
39
40
-
**Mapování v jazyce AssemblyScript:**[Kód jazyka AssemblyScript](/developing/assemblyscript-api), který převádí data událostí na entity definované ve vašem schématu. Podpora NEAR zavádí datové typy specifické pro NEAR a nové funkce pro parsování JSON.
40
+
**Mapování v jazyce AssemblyScript:**[Kód jazyka AssemblyScript](/developing/graph-ts/api), který převádí data událostí na entity definované ve vašem schématu. Podpora NEAR zavádí datové typy specifické pro NEAR a nové funkce pro parsování JSON.
41
41
42
42
Při vývoji podgrafů existují dva klíčové příkazy:
43
43
@@ -98,7 +98,7 @@ Definice schématu popisuje strukturu výsledné databáze podgrafů a vztahy me
98
98
99
99
Obslužné programy pro zpracování událostí jsou napsány v jazyce [AssemblyScript](https://www.assemblyscript.org/).
100
100
101
-
Indexování NEAR zavádí do rozhraní [AssemblyScript API](/developing/assemblyscript-api) datové typy specifické pro NEAR.
101
+
Indexování NEAR zavádí do rozhraní [AssemblyScript API](/developing/graph-ts/api) datové typy specifické pro NEAR.
102
102
103
103
```typescript
104
104
@@ -165,9 +165,9 @@ Tyto typy jsou předány do block & obsluha účtenek:
165
165
- Obsluhy bloků obdrží `Block`
166
166
- Obsluhy příjmu obdrží `ReceiptWithOutcome`
167
167
168
-
Jinak je zbytek [AssemblyScript API](/developing/assemblyscript-api) dostupný vývojářům podgrafů NEAR během provádění mapování.
168
+
Jinak je zbytek [AssemblyScript API](/developing/graph-ts/api) dostupný vývojářům podgrafů NEAR během provádění mapování.
169
169
170
-
To zahrnuje novou funkci parsování JSON - záznamy na NEAR jsou často vysílány ve formě zřetězených JSON. Nová funkce `json.fromString(...)` je k dispozici jako součást [JSON API](/developing/assemblyscript-api#json-api), které umožňuje vývojářům snadno zpracovávat tyto záznamy.
170
+
To zahrnuje novou funkci parsování JSON - záznamy na NEAR jsou často vysílány ve formě zřetězených JSON. Nová funkce `json.fromString(...)` je k dispozici jako součást [JSON API](/developing/graph-ts/api#json-api), které umožňuje vývojářům snadno zpracovávat tyto záznamy.
Copy file name to clipboardExpand all lines: website/pages/cs/developing/creating-a-subgraph.mdx
+1-1
Original file line number
Diff line number
Diff line change
@@ -1477,7 +1477,7 @@ The file data source must specifically mention all the entity types which it wil
1477
1477
1478
1478
#### Vytvoření nové obslužné pro zpracování souborů
1479
1479
1480
-
This handler should accept one `Bytes` parameter, which will be the contents of the file, when it is found, which can then be processed. This will often be a JSON file, which can be processed with `graph-ts` helpers ([documentation](/developing/assemblyscript-api/#json-api)).
1480
+
This handler should accept one `Bytes` parameter, which will be the contents of the file, when it is found, which can then be processed. This will often be a JSON file, which can be processed with `graph-ts` helpers ([documentation](/developing/graph-ts/api/#json-api)).
1481
1481
1482
1482
CID souboru jako čitelný řetězec lze získat prostřednictvím `dataSource` následujícím způsobem:
Copy file name to clipboardExpand all lines: website/pages/cs/developing/unit-testing-framework.mdx
+1-1
Original file line number
Diff line number
Diff line change
@@ -1368,7 +1368,7 @@ Výstup protokolu obsahuje dobu trvání test. Zde je příklad:
1368
1368
1369
1369
> Kritické: Nelze vytvořit WasmInstance z platného modulu s kontextem: neznámý import: wasi_snapshot_preview1::fd_write nebyl definován
1370
1370
1371
-
To znamená, že jste ve svém kódu použili `console.log`, což není podporováno jazykem AssemblyScript. Zvažte prosím použití [Logging API](/developing/assemblyscript-api/#logging-api)
1371
+
To znamená, že jste ve svém kódu použili `console.log`, což není podporováno jazykem AssemblyScript. Zvažte prosím použití [Logging API](/developing/graph-ts/api/#logging-api)
Copy file name to clipboardExpand all lines: website/pages/de/cookbook/near.mdx
+4-4
Original file line number
Diff line number
Diff line change
@@ -37,7 +37,7 @@ There are three aspects of subgraph definition:
37
37
38
38
**schema.graphql:** a schema file that defines what data is stored for your subgraph, and how to query it via GraphQL. The requirements for NEAR subgraphs are covered by [the existing documentation](/developing/creating-a-subgraph#the-graphql-schema).
39
39
40
-
**AssemblyScript Mappings:**[AssemblyScript code](/developing/assemblyscript-api) that translates from the event data to the entities defined in your schema. NEAR support introduces NEAR-specific data types and new JSON parsing functionality.
40
+
**AssemblyScript Mappings:**[AssemblyScript code](/developing/graph-ts/api) that translates from the event data to the entities defined in your schema. NEAR support introduces NEAR-specific data types and new JSON parsing functionality.
41
41
42
42
During subgraph development there are two key commands:
43
43
@@ -98,7 +98,7 @@ Schema definition describes the structure of the resulting subgraph database and
98
98
99
99
Die Handler für die Ereignisverarbeitung sind in [AssemblyScript](https://www.assemblyscript.org/) geschrieben.
100
100
101
-
NEAR indexing introduces NEAR-specific data types to the [AssemblyScript API](/developing/assemblyscript-api).
101
+
NEAR indexing introduces NEAR-specific data types to the [AssemblyScript API](/developing/graph-ts/api).
102
102
103
103
```typescript
104
104
@@ -165,9 +165,9 @@ These types are passed to block & receipt handlers:
165
165
- Block handlers will receive a `Block`
166
166
- Receipt handlers will receive a `ReceiptWithOutcome`
167
167
168
-
Otherwise, the rest of the [AssemblyScript API](/developing/assemblyscript-api) is available to NEAR subgraph developers during mapping execution.
168
+
Otherwise, the rest of the [AssemblyScript API](/developing/graph-ts/api) is available to NEAR subgraph developers during mapping execution.
169
169
170
-
This includes a new JSON parsing function - logs on NEAR are frequently emitted as stringified JSONs. A new `json.fromString(...)` function is available as part of the [JSON API](/developing/assemblyscript-api#json-api) to allow developers to easily process these logs.
170
+
This includes a new JSON parsing function - logs on NEAR are frequently emitted as stringified JSONs. A new `json.fromString(...)` function is available as part of the [JSON API](/developing/graph-ts/api#json-api) to allow developers to easily process these logs.
Copy file name to clipboardExpand all lines: website/pages/de/developing/creating-a-subgraph.mdx
+1-1
Original file line number
Diff line number
Diff line change
@@ -1477,7 +1477,7 @@ The file data source must specifically mention all the entity types which it wil
1477
1477
1478
1478
#### Create a new handler to process files
1479
1479
1480
-
This handler should accept one `Bytes` parameter, which will be the contents of the file, when it is found, which can then be processed. This will often be a JSON file, which can be processed with `graph-ts` helpers ([documentation](/developing/assemblyscript-api/#json-api)).
1480
+
This handler should accept one `Bytes` parameter, which will be the contents of the file, when it is found, which can then be processed. This will often be a JSON file, which can be processed with `graph-ts` helpers ([documentation](/developing/graph-ts/api/#json-api)).
1481
1481
1482
1482
The CID of the file as a readable string can be accessed via the `dataSource` as follows:
0 commit comments