Skip to content

Commit fc23732

Browse files
Pavelcabljac
authored andcommitted
feat(firestore-translate-text): temporarily disable backfill
1 parent cab5f4c commit fc23732

File tree

3 files changed

+29
-26
lines changed

3 files changed

+29
-26
lines changed

firestore-translate-text/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## Version 0.1.16
2+
3+
fix - temporarily disable backfill feature
4+
15
## Version 0.1.15
26

37
fix - handle array values correctly in backfill

firestore-translate-text/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ To install an extension, your project must be on the [Blaze (pay as you go) plan
7979

8080
* **fstranslate:** Listens for writes of new strings to your specified Cloud Firestore collection, translates the strings, then writes the translated strings back to the same document.
8181

82-
* **fstranslatebackfill:** Searches your specified Cloud Firestore collection for existing documents, translates the strings into any missing languages, then writes the translated strings back to the same document.
82+
<!-- * **fstranslatebackfill:** Searches your specified Cloud Firestore collection for existing documents, translates the strings into any missing languages, then writes the translated strings back to the same document. -->
8383

8484

8585

firestore-translate-text/extension.yaml

Lines changed: 24 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
# limitations under the License.
1414

1515
name: firestore-translate-text
16-
version: 0.1.15
16+
version: 0.1.16
1717
specVersion: v1beta
1818

1919
tags: [ai]
@@ -130,19 +130,19 @@ params:
130130
default: languages
131131
required: false
132132

133-
- param: DO_BACKFILL
134-
label: Translate existing documents?
135-
description: >
136-
Should existing documents in the Firestore collection be translated as
137-
well? If you've added new languages since a document was translated, this
138-
will fill those in as well.
139-
type: select
140-
required: true
141-
options:
142-
- label: Yes
143-
value: true
144-
- label: No
145-
value: false
133+
# - param: DO_BACKFILL
134+
# label: Translate existing documents?
135+
# description: >
136+
# Should existing documents in the Firestore collection be translated as
137+
# well? If you've added new languages since a document was translated, this
138+
# will fill those in as well.
139+
# type: select
140+
# required: true
141+
# options:
142+
# - label: Yes
143+
# value: true
144+
# - label: No
145+
# value: false
146146

147147
events:
148148
- type: firebase.extensions.firestore-translate-text.v1.onStart
@@ -164,14 +164,13 @@ events:
164164
description:
165165
Occurs when the function is settled. Provides no customized data other
166166
than the context.
167-
168-
lifecycleEvents:
169-
onInstall:
170-
function: fstranslatebackfill
171-
processingMessage: "Translating existing documents in ${COLLECTION_PATH}"
172-
onUpdate:
173-
function: fstranslatebackfill
174-
processingMessage: "Translating existing documents in ${COLLECTION_PATH}"
175-
onConfigure:
176-
function: fstranslatebackfill
177-
processingMessage: "Translating existing documents in ${COLLECTION_PATH}"
167+
# lifecycleEvents:
168+
# onInstall:
169+
# function: fstranslatebackfill
170+
# processingMessage: "Translating existing documents in ${COLLECTION_PATH}"
171+
# onUpdate:
172+
# function: fstranslatebackfill
173+
# processingMessage: "Translating existing documents in ${COLLECTION_PATH}"
174+
# onConfigure:
175+
# function: fstranslatebackfill
176+
# processingMessage: "Translating existing documents in ${COLLECTION_PATH}"

0 commit comments

Comments
 (0)